Page MenuHomePhabricator

Special:ParserDiffTest not rendering target pagename as link
Closed, ResolvedPublic

Description

Author: ppiotr

Description:
Pagename is properly inserted into the message of the "Comparing parser output from [[$1]]" line but the [[ ]] chars are being literally printed out to the page, and not being turned into a link.

This is making various newParser projects a pain to debug because it hard to get back to the page your looking at.

Patch:

  • ParserDiffTest_body.php (revision 2516)

+++ ParserDiffTest_body.php (working copy)
@@ -43,7 +43,7 @@

        return;
}
  • $comparing = wfMsg( 'pdt_comparing_page', htmlspecialchars( $title->getPrefixedText() ) );

+ $comparing = wfMsgExt( 'pdt_comparing_page', array('parse'), htmlspecialchars( $title->getPrefixedText() ) );

}
 
$oldClass = $wgPDT_OldConf['class'];

Version: unspecified
Severity: normal

Details

Reference
bz15893

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:19 PM
bzimport set Reference to bz15893.
bzimport added a subscriber: Unknown Object (MLST).