Hashar has uploaded a new change for review.
https://gerrit.wikimedia.org/r/275396
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.
Change-Id: Ieb032e64f4a1eb5f49a7059f006302ed6ddf6576
---
M Variables.php
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Variables
refs/changes/96/275396/1
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: newchange
Gerrit-Change-Id: Ieb032e64f4a1eb5f49a7059f006302ed6ddf6576
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Variables
Gerrit-Branch: master
Gerrit-Owner: Hashar <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits