Index: trunk/extensions/UsabilityInitiative/OptIn/SpecialOptIn.php |
— | — | @@ -20,7 +20,10 @@ |
21 | 21 | if ( $wgUser->isAnon() ) { |
22 | 22 | $url = SpecialPage::getTitleFor( 'Userlogin' )->getFullURL( |
23 | 23 | array( 'returnto' => $this->getTitle()->getPrefixedUrl() ) ); |
| 24 | + $wgOut->addHTML( Xml::openElement( 'div', |
| 25 | + array( 'class' => 'plainlinks' ) ) ); |
24 | 26 | $wgOut->addWikiText( wfMsg( 'optin-needlogin', $url ) ); |
| 27 | + $wgOut->addHTML( Xml::closeElement( 'div' ) ); |
25 | 28 | return; |
26 | 29 | } |
27 | 30 | |
Index: trunk/extensions/UsabilityInitiative/OptIn/OptIn.i18n.php |
— | — | @@ -15,7 +15,7 @@ |
16 | 16 | 'optin' => 'OptIn', |
17 | 17 | 'optin-desc' => 'Allow users to opt-in to the Usability Initiative\'s usability enhancements', |
18 | 18 | 'optin-title' => 'Usability Intitiative enhancements', |
19 | | - 'optin-needlogin' => '<div class="plainlinks">You need to [$1 log in] to opt-in to the Usability Initiative\'s usability enhancements.</div>', |
| 19 | + 'optin-needlogin' => 'You need to [$1 log in] to opt-in to the Usability Initiative\'s usability enhancements.', |
20 | 20 | 'optin-intro' => 'The Wikipedia Usability Initiative has developed a new skin and a new edit toolbar intended to enhance the usability of Wikipedia. These enhancements have not been enabled for all users yet, but you can opt-in to them by clicking the button below.', |
21 | 21 | 'optin-success-in' => 'You have successfully opted in to the Usability Initiative\'s usability enhancements. You can opt back out at any time by clicking the button below.', |
22 | 22 | 'optin-success-out' => 'You have successfully opted out of the Usability Initiative\'s usability enhancements. You can opt back in at any time by clicking the button below.', |