Mattflaschen has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/186395

Change subject: Live hack to allow repair of page in wrong namespace
......................................................................

Live hack to allow repair of page in wrong namespace

Bug: T87396
Change-Id: I133de960f7a0386005e3ae93f593a9de91b8f5b5
---
M Hooks.php
M includes/TalkpageManager.php
2 files changed, 6 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Flow 
refs/changes/95/186395/1

diff --git a/Hooks.php b/Hooks.php
index 423a7b5..4567c3c 100644
--- a/Hooks.php
+++ b/Hooks.php
@@ -1117,7 +1117,7 @@
         * @return bool
         */
        public static function onNamespaceIsMovable( $namespace, &$movable ) {
-               $movable &= $namespace !== NS_TOPIC;
+               //$movable &= $namespace !== NS_TOPIC;
                return true;
        }
 }
diff --git a/includes/TalkpageManager.php b/includes/TalkpageManager.php
index b3c4a04..2354031 100644
--- a/includes/TalkpageManager.php
+++ b/includes/TalkpageManager.php
@@ -78,6 +78,11 @@
                        return false;
                }
 
+               // XXX: Live hack to repair problem from before we had the 
below check (last two lines),
+               if ( $title->getNamespace() === NS_TOPIC && $title->getDBkey() 
=== 'Kuttiattoor_Thittayil_Sree_Daivathar_Temple' ) {
+                       return false;
+               }
+
                if ( $title->isRedirect() ) {
                        return false;
                }

-- 
To view, visit https://gerrit.wikimedia.org/r/186395
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I133de960f7a0386005e3ae93f593a9de91b8f5b5
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Flow
Gerrit-Branch: master
Gerrit-Owner: Mattflaschen <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to