* Make image moving no longer experimental
authorVictor Vasiliev <vasilievvv@users.mediawiki.org>
Thu, 10 Jul 2008 20:28:52 +0000 (20:28 +0000)
committerVictor Vasiliev <vasilievvv@users.mediawiki.org>
Thu, 10 Jul 2008 20:28:52 +0000 (20:28 +0000)
RELEASE-NOTES
includes/DefaultSettings.php
includes/Namespace.php

index 9e60525..5f01b30 100644 (file)
@@ -129,7 +129,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
   and local one
 * Update documentation links in auto-generated LocalSettings.php
 * (bug 13584) The new hook SkinTemplateToolboxEnd was added.
-* (bug 709) Cannot rename/move images and other media files [EXPERIMENTAL]
+* (bug 709) Cannot rename/move images and other media files
 * Custom rollback summaries now accept the same arguments as the default message
 * (bug 12542) Added hooks for expansion of Special:Listusers
 * Drop-down AJAX search suggestions (turn on $wgEnableMWSuggest) 
index cc49ba6..b7de276 100644 (file)
@@ -1550,9 +1550,6 @@ $wgAllowExternalImages = false;
   */
 $wgAllowExternalImagesFrom = '';
 
-/** Allows to move images and other media files. Experemintal, not sure if it always works */
-$wgAllowImageMoving = false;
-
 /** Disable database-intensive features */
 $wgMiserMode = false;
 /** Disable all query pages if miser mode is on, not just some */
index 7c7b7de..8dd52b9 100644 (file)
@@ -52,8 +52,7 @@ class MWNamespace {
         * @return bool
         */
        public static function isMovable( $index ) {
-               global $wgAllowImageMoving;
-               return !( $index < NS_MAIN || ($index == NS_IMAGE && !$wgAllowImageMoving)  || $index == NS_CATEGORY );
+               return !( $index < NS_MAIN || $index == NS_CATEGORY );
        }
 
        /**