From: Victor Vasiliev Date: Thu, 10 Jul 2008 20:28:52 +0000 (+0000) Subject: * Make image moving no longer experimental X-Git-Tag: 1.31.0-rc.0~46561 X-Git-Url: http://git.cyclocoop.org//%27%40script%40/%27?a=commitdiff_plain;h=75bebd2364a154f200e0dc8833f7d9abcd03ac96;p=lhc%2Fweb%2Fwiklou.git * Make image moving no longer experimental --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 9e6052560d..5f01b30acd 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -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) diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index cc49ba6f34..b7de276ae4 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -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 */ diff --git a/includes/Namespace.php b/includes/Namespace.php index 7c7b7dedd3..8dd52b9b31 100644 --- a/includes/Namespace.php +++ b/includes/Namespace.php @@ -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 ); } /**