Index: trunk/extensions/MobileFrontend/MobileFrontend.i18n.php |
— | — | @@ -59,7 +59,7 @@ |
60 | 60 | 'mobile-frontend-featured-article' => 'Today\'s Featured Article', |
61 | 61 | 'mobile-frontend-news-items' => 'In The News', |
62 | 62 | 'mobile-frontend-leave-feedback-title' => 'Leave feedback about Mobile Frontend', |
63 | | - 'mobile-frontend-leave-feedback-notice' => 'Your feedback will be posted publicly, along with your user name, browser version and operating system to the page $1', |
| 63 | + 'mobile-frontend-leave-feedback-notice' => 'Your feedback will be posted publicly, along with your user name, browser version and operating system to the page "$1"', |
64 | 64 | 'mobile-frontend-leave-feedback-subject' => 'Subject', |
65 | 65 | 'mobile-frontend-leave-feedback-message' => 'Message', |
66 | 66 | 'mobile-frontend-leave-feedback-cancel' => 'Cancel', |
Index: trunk/extensions/MobileFrontend/MobileFrontend.php |
— | — | @@ -65,7 +65,7 @@ |
66 | 66 | ); |
67 | 67 | |
68 | 68 | class ExtMobileFrontend { |
69 | | - const VERSION = '0.5.54'; |
| 69 | + const VERSION = '0.5.55'; |
70 | 70 | |
71 | 71 | /** |
72 | 72 | * @var DOMDocument |
— | — | @@ -208,9 +208,8 @@ |
209 | 209 | foreach ( self::$messageKeys as $messageKey ) { |
210 | 210 | |
211 | 211 | if ( $messageKey == 'mobile-frontend-leave-feedback-notice' ) { |
212 | | - $scriptUrl = wfScript(); |
213 | 212 | $linkText = wfMsg( 'mobile-frontend-leave-feedback-link-text' ); |
214 | | - self::$messages[$messageKey] = wfMsg( $messageKey, ""<a href=\"{$scriptUrl}?title=MobileFrontend_Extension_Feedback\" target=\"_blank\">{$linkText}</a>"" ); |
| 213 | + self::$messages[$messageKey] = wfMsg( $messageKey, Html::element( 'a', array( 'href' => Title::newFromText( 'MobileFrontend Extension Feedback' )->getFullURL(), 'target' => '_blank' ), $linkText ) ); |
215 | 214 | } else { |
216 | 215 | self::$messages[$messageKey] = wfMsg( $messageKey ); |
217 | 216 | } |
— | — | @@ -491,7 +490,6 @@ |
492 | 491 | |
493 | 492 | $title = self::$messages['mobile-frontend-leave-feedback-title']; |
494 | 493 | $notice = self::$messages['mobile-frontend-leave-feedback-notice']; |
495 | | - $linkText = self::$messages['mobile-frontend-leave-feedback-link-text']; |
496 | 494 | $subject = self::$messages['mobile-frontend-leave-feedback-subject']; |
497 | 495 | $message = self::$messages['mobile-frontend-leave-feedback-message']; |
498 | 496 | $cancel = self::$messages['mobile-frontend-leave-feedback-cancel']; |