Lyumn has uploaded a new change for review.

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


Change subject: create parser test branch
......................................................................

create parser test branch

Change-Id: I9dfed5f0d8e2cbb766a8b695551891da9f3e40fb
---
M ProofreadPage.body.php
M ProofreadPage.php
2 files changed, 11 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/ProofreadPage 
refs/changes/85/96185/1

diff --git a/ProofreadPage.body.php b/ProofreadPage.body.php
index ce48fc4..09700c1 100644
--- a/ProofreadPage.body.php
+++ b/ProofreadPage.body.php
@@ -1265,4 +1265,14 @@
                $list[self::getIndexNamespaceId() + 1] = 'Index_talk';
                return true;
        }
+       
+       /**
+        * Manages  Parser test table
+        */             
+
+       public static function onParserTestTables( &$tables ) {
+               $tables[] = 'pr_index';
+               return true;
+       }
+
 }
diff --git a/ProofreadPage.php b/ProofreadPage.php
index f989e27..da84e84 100644
--- a/ProofreadPage.php
+++ b/ProofreadPage.php
@@ -153,6 +153,7 @@
 $wgHooks['LinksUpdateConstructed'][] = 
'ProofreadPage::onLinksUpdateConstructed';
 $wgHooks['CustomEditor'][] = 'ProofreadPage::onCustomEditor';
 $wgHooks['CanonicalNamespaces'][] = 'ProofreadPage::addCanonicalNamespaces';
+$wgHooks['ParserTestTables'][] = 'ProofreadPage::onParserTestTables';
 
 
 /**

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I9dfed5f0d8e2cbb766a8b695551891da9f3e40fb
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/ProofreadPage
Gerrit-Branch: master
Gerrit-Owner: Lyumn <[email protected]>

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

Reply via email to