Last modified: 2008-06-09 23:54:26 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 T14311, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 12311 - Previewing on Special:Undelete displays first line incorrectly if list item
Previewing on Special:Undelete displays first line incorrectly if list item
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
unspecified
All All
: Normal trivial (vote)
: ---
Assigned To: Nobody - You can work on this!
http://en.wikipedia.org/w/index.php?t...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-12-15 03:29 UTC by RockMFR
Modified: 2008-06-09 23:54 UTC (History)
0 users

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


Attachments
patch to SpecialUndelete.php (496 bytes, patch)
2008-06-09 21:41 UTC, RockMFR
Details

Description RockMFR 2007-12-15 03:29:45 UTC
If the first line of a deleted revision uses list wiki markup (i.e., "*blahblahblah"), previewing that revision will display an asterisk followed by whatever else is on that line, rather than displaying it as a list.
Comment 1 RockMFR 2008-06-09 21:41:59 UTC
Created attachment 4969 [details]
patch to SpecialUndelete.php

Looks like the bug was introduced in r19095; addWikiTextTitleTidy uses $linestart as the third parameter, as opposed to addPrimaryWikiText which uses $cache. Simple!
Comment 2 Brion Vibber 2008-06-09 23:54:26 UTC
Thanks for the patch! Applied on r36114

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


Navigation
Links