Last modified: 2008-10-08 19:35:10 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T17893, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 15893 - Special:ParserDiffTest not rendering target pagename as link
Special:ParserDiffTest not rendering target pagename as link
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-10-08 15:51 UTC by Przemek Piotrowski
Modified: 2008-10-08 19:35 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Przemek Piotrowski 2008-10-08 15:51:28 UTC
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'];
Comment 1 Jack Phoenix 2008-10-08 19:35:10 UTC
Fixed in r41850.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links