r37530 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r37529‎ | r37530 | r37531 >
Date:20:28, 10 July 2008
Author:vasilievvv
Status:old
Tags:
Comment:
* Make image moving no longer experimental
Modified paths:
  • /trunk/phase3/RELEASE-NOTES (modified) (history)
  • /trunk/phase3/includes/DefaultSettings.php (modified) (history)
  • /trunk/phase3/includes/Namespace.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Namespace.php
@@ -52,8 +52,7 @@
5353 * @return bool
5454 */
5555 public static function isMovable( $index ) {
56 - global $wgAllowImageMoving;
57 - return !( $index < NS_MAIN || ($index == NS_IMAGE && !$wgAllowImageMoving) || $index == NS_CATEGORY );
 56+ return !( $index < NS_MAIN || $index == NS_CATEGORY );
5857 }
5958
6059 /**
Index: trunk/phase3/includes/DefaultSettings.php
@@ -1550,9 +1550,6 @@
15511551 */
15521552 $wgAllowExternalImagesFrom = '';
15531553
1554 -/** Allows to move images and other media files. Experemintal, not sure if it always works */
1555 -$wgAllowImageMoving = false;
1556 -
15571554 /** Disable database-intensive features */
15581555 $wgMiserMode = false;
15591556 /** Disable all query pages if miser mode is on, not just some */
Index: trunk/phase3/RELEASE-NOTES
@@ -129,7 +129,7 @@
130130 and local one
131131 * Update documentation links in auto-generated LocalSettings.php
132132 * (bug 13584) The new hook SkinTemplateToolboxEnd was added.
133 -* (bug 709) Cannot rename/move images and other media files [EXPERIMENTAL]
 133+* (bug 709) Cannot rename/move images and other media files
134134 * Custom rollback summaries now accept the same arguments as the default message
135135 * (bug 12542) Added hooks for expansion of Special:Listusers
136136 * Drop-down AJAX search suggestions (turn on $wgEnableMWSuggest)

Status & tagging log