r18946 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r18945‎ | r18946 | r18947 >
Date:00:51, 8 January 2007
Author:brion
Status:old
Tags:
Comment:
Add 'Template namespace initialisation script' to list of reserved usernames.
Was used for the MediaWiki->Template namespace moves in the 1.2 to 1.3 upgrade process.
Modified paths:
  • /trunk/phase3/includes/DefaultSettings.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/DefaultSettings.php
@@ -2321,7 +2321,12 @@
23222322 * Array of usernames which may not be registered or logged in from
23232323 * Maintenance scripts can still use these
23242324 */
2325 -$wgReservedUsernames = array( 'MediaWiki default', 'Conversion script', 'Maintenance script' );
 2325+$wgReservedUsernames = array(
 2326+ 'MediaWiki default', // Default 'Main Page' and MediaWiki: message pages
 2327+ 'Conversion script', // Used for the old Wikipedia software upgrade
 2328+ 'Maintenance script', // ... maintenance/edit.php uses this?
 2329+ 'Template namespace initialisation script', // Used in 1.2->1.3 upgrade
 2330+);
23262331
23272332 /**
23282333 * MediaWiki will reject HTMLesque tags in uploaded files due to idiotic browsers which can't