r44928 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r44927‎ | r44928 | r44929 >
Date:11:59, 23 December 2008
Author:raymond
Status:ok
Tags:
Comment:
* (bug 13835) Fix rendering of {{filepath:Wiki.png|nowiki}}
Patch by Olaf Lenz
Modified paths:
  • /trunk/phase3/CREDITS (modified) (history)
  • /trunk/phase3/RELEASE-NOTES (modified) (history)
  • /trunk/phase3/includes/parser/CoreParserFunctions.php (modified) (history)

Diff [purge]

Index: trunk/phase3/CREDITS
@@ -71,6 +71,7 @@
7272 * Mormegil
7373 * Nathan Larson
7474 * Nikolaos S. Karastathis
 75+* Olaf Lenz
7576 * Paul Copperman
7677 * RememberTheDot
7778 * ST47
Index: trunk/phase3/includes/parser/CoreParserFunctions.php
@@ -349,7 +349,7 @@
350350 if( $file ) {
351351 $url = $file->getFullUrl();
352352 if( $option == 'nowiki' ) {
353 - return "<nowiki>$url</nowiki>";
 353+ return array( $url, 'nowiki' => true );
354354 }
355355 return $url;
356356 } else {
Index: trunk/phase3/RELEASE-NOTES
@@ -446,8 +446,8 @@
447447 * (bug 16026) revision-info, revision-info-current, cannotdelete,
448448 redirectedfrom and historywarning messages now use Wiki text rather than raw
449449 HTML markup
 450+* (bug 13835) Fix rendering of {{filepath:Wiki.png|nowiki}}
450451
451 -
452452 === API changes in 1.14 ===
453453
454454 * Registration time of users registered before the DB field was created is now

Status & tagging log