Tpt has uploaded a new change for review.

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


Change subject: no message
......................................................................

no message

Change-Id: Icc2a3a39db8471a630229fcb699416475295865d
---
M includes/index/ProofreadIndexPage.php
1 file changed, 1 insertion(+), 0 deletions(-)


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

diff --git a/includes/index/ProofreadIndexPage.php 
b/includes/index/ProofreadIndexPage.php
index a0304a3..94b4ddd 100644
--- a/includes/index/ProofreadIndexPage.php
+++ b/includes/index/ProofreadIndexPage.php
@@ -402,6 +402,7 @@
                        return null;
                }
 
+               //we can't use the parser here because it replace tags like 
<references /> by strange UIDs
                $params = $this->getIndexEntriesForHeaderAsTemplateParams() + 
$otherParams;
                return preg_replace_callback( '/{\{\{(.*)(\|(.*))?\}\}\}/U', 
function( $matches ) use ( $params ) {
                        $paramKey = trim( strtolower( $matches[1] ) );

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Icc2a3a39db8471a630229fcb699416475295865d
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