r60667 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r60666‎ | r60667 | r60668 >
Date:15:49, 5 January 2010
Author:ialex
Status:deferred
Tags:
Comment:
* scripts/writePHP.php now uses NS_FILE and NS_FILE_TALK rather than NS_IMAGE and NS_IMAGE_TALK
Modified paths:
  • /trunk/extensions/Configure/CHANGELOG (modified) (history)
  • /trunk/extensions/Configure/Configure.php (modified) (history)
  • /trunk/extensions/Configure/scripts/writePHP.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Configure/CHANGELOG
@@ -1,6 +1,10 @@
22 This file lists changes on this extension.
33 Localisation updates are done on betawiki and aren't listed here.
44
 5+0.15.2 - 5 January 2010
 6+ scripts/writePHP.php now uses NS_FILE and NS_FILE_TALK rather than NS_IMAGE
 7+ and NS_IMAGE_TALK
 8+
59 0.15.1 - 30 December 2009
610 * scripts/manage.php now adds a reason while reverting to a version.
711 * fixed a bug introduced in 0.14.19, Special:ViewConfig was unable to display
Index: trunk/extensions/Configure/scripts/writePHP.php
@@ -155,7 +155,7 @@
156156 protected function writeSettings( $version ){
157157 global $wgConf, $IP;
158158 if( $this->hasOption( 'wiki' ) )
159 - $wiki = $this->getOption('wiki' );
 159+ $wiki = $this->getOption( 'wiki' );
160160 else
161161 $wiki = $wgConf->getWiki();
162162 if( $version ){
@@ -239,8 +239,8 @@
240240 3 => 'NS_USER_TALK',
241241 4 => 'NS_PROJECT',
242242 5 => 'NS_PROJECT_TALK',
243 - 6 => 'NS_IMAGE',
244 - 7 => 'NS_IMAGE_TALK',
 243+ 6 => 'NS_FILE',
 244+ 7 => 'NS_FILE_TALK',
245245 8 => 'NS_MEDIAWIKI',
246246 9 => 'NS_MEDIAWIKI_TALK',
247247 10 => 'NS_TEMPLATE',
Index: trunk/extensions/Configure/Configure.php
@@ -18,7 +18,7 @@
1919 'url' => 'http://www.mediawiki.org/wiki/Extension:Configure',
2020 'description' => 'Allow authorised users to configure the wiki via a web-based interface',
2121 'descriptionmsg' => 'configure-desc',
22 - 'version' => '0.15.1',
 22+ 'version' => '0.15.2',
2323 );
2424
2525 # Configuration part

Status & tagging log