r13948 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r13947‎ | r13948 | r13949 >
Date:23:24, 29 April 2006
Author:brion
Status:old
Tags:
Comment:
* (bug 5757) Fix premature cutoff in LanguageConverter with extra end markers
Modified paths:
  • /trunk/phase3/RELEASE-NOTES (modified) (history)
  • /trunk/phase3/languages/LanguageConverter.php (modified) (history)

Diff [purge]

Index: trunk/phase3/RELEASE-NOTES
@@ -149,6 +149,7 @@
150150 * (bug 5565) Add a class attribute to the table on Special:Allpages
151151 * "lang=xx" option for parser test cases to set content language
152152 * (bug 5764) Friulian translation updated
 153+* (bug 5757) Fix premature cutoff in LanguageConverter with extra end markers
153154
154155
155156 == Compatibility ==
Index: trunk/phase3/languages/LanguageConverter.php
@@ -262,7 +262,7 @@
263263 $tfirst = array_shift($tarray);
264264 $text = $this->autoConvert($tfirst);
265265 foreach($tarray as $txt) {
266 - $marked = explode($this->mMarkup['end'], $txt);
 266+ $marked = explode($this->mMarkup['end'], $txt, 2);
267267 $flags = array();
268268 $tt = explode($this->mMarkup['flagsep'], $marked[0], 2);
269269

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r13946add parser test case for bug 5757...brion22:50, 29 April 2006

Status & tagging log