jenkins-bot has submitted this change and it was merged.

Change subject: StripState no more needs a prefix
......................................................................


StripState no more needs a prefix

Since MediaWiki 1.26 (12571bde2), StripState ignores the marker passed
to it and uses a static one instead. Remove the custom prefix from
construction.

Bug: T93726
Change-Id: Ieb032e64f4a1eb5f49a7059f006302ed6ddf6576
---
M Variables.php
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Krinkle: Looks good to me, approved
  Paladox: Looks good to me, but someone else must approve
  jenkins-bot: Verified



diff --git a/Variables.php b/Variables.php
index 500392e..0b42017 100644
--- a/Variables.php
+++ b/Variables.php
@@ -384,7 +384,7 @@
         */
        function requestFinalizedVar( Parser &$parser, $varName, $defaultVal = 
'' ) {
                if( $this->mFinalizedVarsStripState === null ) {
-                       $this->mFinalizedVarsStripState = new StripState( 
$parser->mUniqPrefix );
+                       $this->mFinalizedVarsStripState = new StripState;
                }
                $id = count( $this->mFinalizedVars );
                /*

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ieb032e64f4a1eb5f49a7059f006302ed6ddf6576
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/Variables
Gerrit-Branch: master
Gerrit-Owner: Hashar <[email protected]>
Gerrit-Reviewer: Hashar <[email protected]>
Gerrit-Reviewer: Jforrester <[email protected]>
Gerrit-Reviewer: Krinkle <[email protected]>
Gerrit-Reviewer: Legoktm <[email protected]>
Gerrit-Reviewer: Ori.livneh <[email protected]>
Gerrit-Reviewer: Paladox <[email protected]>
Gerrit-Reviewer: Reedy <[email protected]>
Gerrit-Reviewer: Tim Starling <[email protected]>
Gerrit-Reviewer: Umherirrender <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to