Revision: 50741 Author: siebrand Date: 2009-05-18 19:25:12 +0000 (Mon, 18 May 2009)
Log Message: ----------- * add right- message * remove trailing whitespace, update indentation, stylize.php * bump version Modified Paths: -------------- trunk/extensions/WikimediaIncubator/IncubatorTest.php trunk/extensions/WikimediaIncubator/SpecialViewUserLang.php trunk/extensions/WikimediaIncubator/WikimediaIncubator.i18n.php trunk/extensions/WikimediaIncubator/WikimediaIncubator.php Modified: trunk/extensions/WikimediaIncubator/IncubatorTest.php =================================================================== --- trunk/extensions/WikimediaIncubator/IncubatorTest.php 2009-05-18 19:19:12 UTC (rev 50740) +++ trunk/extensions/WikimediaIncubator/IncubatorTest.php 2009-05-18 19:25:12 UTC (rev 50741) @@ -105,13 +105,13 @@ if ( self::NormalPrefix() ) { global $wgUser; $suggest = self::DisplayPrefixedTitle( $wgTitle->getText(), $wgTitle->getNsText() ); - if( !$wgTitle->exists() ) { // Creating a page, so suggest to create a prefixed page + if ( !$wgTitle->exists() ) { // Creating a page, so suggest to create a prefixed page $warning .= ' <span id="wminc-warning-suggest">' . wfMsg( 'wminc-warning-suggest', $suggest ) . '</span>'; - } elseif( $wgUser->isAllowed( 'move' ) ) { // Page exists, so suggest to move + } elseif ( $wgUser->isAllowed( 'move' ) ) { // Page exists, so suggest to move $warning .= ' <span id="wminc-warning-suggest-move" class="plainlinks">' - . wfMsg( 'wminc-warning-suggest-move', $suggest, urlencode($suggest), urlencode($wgTitle) ) + . wfMsg( 'wminc-warning-suggest-move', $suggest, urlencode( $suggest ), urlencode( $wgTitle ) ) . '</span>'; } } Modified: trunk/extensions/WikimediaIncubator/SpecialViewUserLang.php =================================================================== --- trunk/extensions/WikimediaIncubator/SpecialViewUserLang.php 2009-05-18 19:19:12 UTC (rev 50740) +++ trunk/extensions/WikimediaIncubator/SpecialViewUserLang.php 2009-05-18 19:25:12 UTC (rev 50741) @@ -2,7 +2,7 @@ /** * Provides a special page to look up user language and test wiki * This can be useful e.g. when a user has a problem with the preference system, -* so the test wiki/language information can be easily looked up + * so the test wiki/language information can be easily looked up * * Based on code from extension LookupUser made by Tim Starling * Modified: trunk/extensions/WikimediaIncubator/WikimediaIncubator.i18n.php =================================================================== --- trunk/extensions/WikimediaIncubator/WikimediaIncubator.i18n.php 2009-05-18 19:19:12 UTC (rev 50740) +++ trunk/extensions/WikimediaIncubator/WikimediaIncubator.i18n.php 2009-05-18 19:25:12 UTC (rev 50741) @@ -22,6 +22,7 @@ 'wminc-warning-unprefixed' => "'''Warning:''' The page you are editing is unprefixed!", 'wminc-warning-suggest' => 'You can create a page at [[$1]].', 'wminc-warning-suggest-move' => 'You can [{{fullurl:Special:MovePage/$3|wpNewTitle=$2}} move this page to $1].', + 'right-viewuserlang' => 'View [[Special:ViewUserLang|user language and test wiki]]', ); /** Message documentation (Message documentation) Modified: trunk/extensions/WikimediaIncubator/WikimediaIncubator.php =================================================================== --- trunk/extensions/WikimediaIncubator/WikimediaIncubator.php 2009-05-18 19:19:12 UTC (rev 50740) +++ trunk/extensions/WikimediaIncubator/WikimediaIncubator.php 2009-05-18 19:25:12 UTC (rev 50741) @@ -10,7 +10,7 @@ 'path' => __FILE__, 'name' => 'Wikimedia Incubator', 'author' => 'SPQRobin', - 'version' => '2.1.3', + 'version' => '2.1.4', 'url' => 'http://www.mediawiki.org/wiki/Extension:WikimediaIncubator', 'description' => 'Test wiki features for Wikimedia Incubator', 'descriptionmsg' => 'wminc-desc', _______________________________________________ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs