r31818 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r31817‎ | r31818 | r31819 >
Date:20:54, 11 March 2008
Author:erik
Status:old
Tags:
Comment:
make custom namespace handlers unmovable for now.
Modified paths:
  • /branches/wikidata/includes/Namespace.php (modified) (history)

Diff [purge]

Index: branches/wikidata/includes/Namespace.php
@@ -175,7 +175,9 @@
176176 * @return bool
177177 */
178178 function isMovable() {
179 - return $this->isMovable;
 179+ #return $this->isMovable;
 180+ # FIXME: This means that classes with custom handlers are assumed to never be movable
 181+ return $this->isMovable && empty($this->handlerClass);
180182 }
181183
182184 /**

Status & tagging log