Merge "Comment out getSubpagesForPrefixSearch of Special:Tags"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Mon, 14 Dec 2015 00:22:51 +0000 (00:22 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Mon, 14 Dec 2015 00:22:51 +0000 (00:22 +0000)
1  2 
includes/specials/SpecialTags.php

@@@ -392,7 -392,7 +392,7 @@@ class SpecialTags extends SpecialPage 
                $func = $activate ? 'canActivateTag' : 'canDeactivateTag';
                $result = ChangeTags::$func( $tag, $user );
                if ( !$result->isGood() ) {
 -                      $out->wrapWikiMsg( "<div class=\"error\">\n$1" . $result->getWikiText() .
 +                      $out->addWikiText( "<div class=\"error\">\n" . $result->getWikiText() .
                                "\n</div>" );
                        if ( !$result->isOK() ) {
                                return;
         * @return string[] subpages
         */
        public function getSubpagesForPrefixSearch() {
+               // The subpages does not have an own form, so not listing it at the moment
                return array(
-                       'delete',
-                       'activate',
-                       'deactivate',
-                       'create',
+                       // 'delete',
+                       // 'activate',
+                       // 'deactivate',
+                       // 'create',
                );
        }