Wikia code/includes/Namespace.php

--- D:\Programming\SVN\mediawiki\branches\REL1_16\phase3\includes\Namespace.php	2011-07-18 22:31:28.228515600 +0100
+++ D:\Programming\SVN\wikia\trunk\includes\Namespace.php	2011-08-17 15:28:46.588867200 +0100
@@ -60,7 +60,9 @@
 	 */
 	public static function isMovable( $index ) {
 		global $wgAllowImageMoving;
-		return !( $index < NS_MAIN || ($index == NS_FILE && !$wgAllowImageMoving)  || $index == NS_CATEGORY );
+		$result = !( $index < NS_MAIN || ($index == NS_FILE && !$wgAllowImageMoving)  || $index == NS_CATEGORY );
+		wfRunHooks( 'MWNamespace:isMovable', array( &$result, $index ) );
+		return $result;
 	}
 
 	/**