Wikia code/includes/Namespace.php
Appearance
< Wikia code | includes
This page is obsolete. It is being retained for archival purposes. It may document extensions or features that are obsolete and/or no longer supported. Do not rely on the information here being up-to-date. The information shown below refers to the now unmaintained 1.16 MediaWiki release. The current stable release number is 1.42.3. |
--- 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;
}
/**