Pwirth has submitted this change and it was merged.

Change subject: PageTemplates: Added message parsing
......................................................................


PageTemplates: Added message parsing

The key 'bs-pagetemplates-choose-template' could not contain WikiText. Now
it can.

See also https://gerrit.wikimedia.org/r/#/c/186348/

Change-Id: I859b3860e36fa320885f710e96d01235f5f9e3e7
---
M PageTemplates/PageTemplates.class.php
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Pwirth: Verified; Looks good to me, approved



diff --git a/PageTemplates/PageTemplates.class.php 
b/PageTemplates/PageTemplates.class.php
index deb06c8..8b74443 100644
--- a/PageTemplates/PageTemplates.class.php
+++ b/PageTemplates/PageTemplates.class.php
@@ -226,7 +226,7 @@
 
                // There is always one template for empty page it is added some 
lines beneath that
                $iCount = $dbr->numRows( $res ) + 1;
-               $sOut = wfMessage( 'bs-pagetemplates-choose-template', $iCount 
)->text();
+               $sOut = wfMessage( 'bs-pagetemplates-choose-template', $iCount 
)->parse();
                $sOutAll = '';
                $oTargetNsTitle = null;
 

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I859b3860e36fa320885f710e96d01235f5f9e3e7
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/BlueSpiceExtensions
Gerrit-Branch: REL1_23
Gerrit-Owner: Robert Vogel <[email protected]>
Gerrit-Reviewer: Pwirth <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to