Catrope has uploaded a new change for review.
https://gerrit.wikimedia.org/r/316035
Change subject: convertToText: Unbreak signatures that contain double braces
({{)
......................................................................
convertToText: Unbreak signatures that contain double braces ({{)
We never initialized $wgParser, so if getUserSig() tried to do
double-brace expansion, braceSubstitution() would try to use
mSubstWords which hadn't been intialized.
Change-Id: I346c49f337a9a4f959061cfb9ff7fcc7e3662bc4
---
M maintenance/convertToText.php
1 file changed, 1 insertion(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Flow
refs/changes/35/316035/1
diff --git a/maintenance/convertToText.php b/maintenance/convertToText.php
index 66cda4e..36d1e97 100644
--- a/maintenance/convertToText.php
+++ b/maintenance/convertToText.php
@@ -187,6 +187,7 @@
// Force unstub
StubObject::unstub( $wgParser );
+ $wgParser->firstCallInit();
$timestamp = MWTimestamp::getLocalInstance( $timestamp );
$ts = $timestamp->format( 'YmdHis' );
--
To view, visit https://gerrit.wikimedia.org/r/316035
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I346c49f337a9a4f959061cfb9ff7fcc7e3662bc4
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Flow
Gerrit-Branch: master
Gerrit-Owner: Catrope <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits