r50260 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r50259‎ | r50260 | r50261 >
Date:13:58, 6 May 2009
Author:robin
Status:ok
Tags:
Comment:
fix recent changes for anonymous users (displayed nothing, now displays normal RC)
Modified paths:
  • /trunk/extensions/WikimediaIncubator/TestWikiRC.php (modified) (history)
  • /trunk/extensions/WikimediaIncubator/WikimediaIncubator.php (modified) (history)

Diff [purge]

Index: trunk/extensions/WikimediaIncubator/WikimediaIncubator.php
@@ -9,14 +9,14 @@
1010 $wgExtensionCredits['other'][] = array(
1111 'name' => 'Wikimedia Incubator',
1212 'author' => 'SPQRobin',
13 - 'version' => '2.1.2',
 13+ 'version' => '2.1.3',
1414 'url' => 'http://www.mediawiki.org/wiki/Extension:WikimediaIncubator',
1515 'description' => 'Test wiki features for Wikimedia Incubator',
1616 'descriptionmsg' => 'wminc-desc',
1717 );
1818
1919 /* Config */
20 -$wmincEnableAutoTestWiki = false;
 20+$wmincEnableAutoTestWiki = true;
2121 $wmincPref = 'incubatortestwiki'; /* Name of the preference */
2222 $wgGroupPermissions['*']['viewuserlang'] = false;
2323 $wgGroupPermissions['sysop']['viewuserlang'] = true;
Index: trunk/extensions/WikimediaIncubator/TestWikiRC.php
@@ -13,7 +13,7 @@
1414 $opts->setValue( 'rc-testwiki-project', $projectvalue );
1515 $opts->add( 'rc-testwiki-code', false );
1616 $opts->setValue( 'rc-testwiki-code', $codevalue );
17 - if ( $projectvalue == 'none' ) {
 17+ if ( $projectvalue == 'none' OR $projectvalue == '' ) {
1818 // If "none" is selected, display normal recent changes
1919 return true;
2020 } elseif ( $projectvalue == 'inc' ) {

Status & tagging log