Tpt has uploaded a new change for review.

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


Change subject: Should fix an issue where qualityX classes are not add to links
......................................................................

Should fix an issue where qualityX classes are not add to links

Change-Id: Ic7b371a9e76d9cc90f04abe32d46838372d35ec2
---
M ProofreadPage.body.php
1 file changed, 2 insertions(+), 2 deletions(-)


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

diff --git a/ProofreadPage.body.php b/ProofreadPage.body.php
index 9089369..ff098b6 100644
--- a/ProofreadPage.body.php
+++ b/ProofreadPage.body.php
@@ -226,10 +226,10 @@
         * @param $colours array
         */
        private static function getLinkColours( $page_ids, &$colours ) {
-               global $wgTitle;
+               global $wgParser;
 
                $page_namespace_id = self::getPageNamespaceId();
-               $in_index_namespace = $wgTitle->inNamespace( 
self::getIndexNamespaceId() );
+               $in_index_namespace = $wgParser->getTitle()->inNamespace( 
self::getIndexNamespaceId() );
 
                $values = array();
                foreach ( $page_ids as $id => $pdbk ) {

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic7b371a9e76d9cc90f04abe32d46838372d35ec2
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/ProofreadPage
Gerrit-Branch: master
Gerrit-Owner: Tpt <thoma...@hotmail.fr>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to