Last modified: 2010-05-15 15:37:34 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 T4857, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 2857 - ";", ":", "#", and "*" are being parsed inside <pre>
";", ":", "#", and "*" are being parsed inside <pre>
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
1.5.x
All All
: Highest normal with 3 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
http://commons.wikimedia.org/w/index....
: need-parsertest
: 2887 2932 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-07-14 14:18 UTC by Sérgio
Modified: 2010-05-15 15:37 UTC (History)
2 users (show)

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


Attachments

Description Sérgio 2005-07-14 14:18:28 UTC
dt and dd wiki tags (; and :) are being parsed even if they are inside of <pre>

Cheers,
Comment 1 Sérgio 2005-07-14 17:36:33 UTC
(In reply to comment #0)
> dt and dd wiki tags (; and :) are being parsed even if they are inside of <pre>
> 
> Cheers,

That also goes for lists (* and #).

Cheers,
Comment 2 T. Gries 2005-07-14 18:20:23 UTC
I also wanted to file these problems

<pre>
#line1
line2
line3
</pre>

is currently not correctly rendered (CVS)

I raised priority, because this will brake hundreds of pages...
Comment 3 Chris McKenna 2005-07-14 23:35:00 UTC
I have created a test page showing the rendering errors at 
http://en.wikipedia.org/wiki/User:Thryduulf/workspace

for a real-life example see http://tinyurl.com/celev (en:WP:FPC)
(the nominate and support line should be inside the <pre> box


note that as a workaround changing <pre>...</pre> to 
<pre><nowiki>...</nowiki></pre> appears to work - see my test
page and the following revision at WP:FPC
Comment 4 Chris McKenna 2005-07-14 23:38:11 UTC
just to make it explicit lists using * as well as : or # are also being rendered.
Comment 5 Antoine "hashar" Musso (WMF) 2005-07-15 00:05:52 UTC
Most probably related to bug 785 fix :/
Comment 6 Antoine "hashar" Musso (WMF) 2005-07-15 02:27:05 UTC
Reverted part of 785 bug fix. Not sure why I though the part
was useless and deserved to be removed :o)
Comment 7 Antoine "hashar" Musso (WMF) 2005-07-17 19:22:33 UTC
*** Bug 2887 has been marked as a duplicate of this bug. ***
Comment 8 Brion Vibber 2005-07-22 09:29:52 UTC
*** Bug 2932 has been marked as a duplicate of this bug. ***
Comment 9 Brion Vibber 2005-07-22 09:31:54 UTC
Comment from dupe bug 2932:

This change:
r1=1.476&r2=1.477">http://cvs.sourceforge.net/viewcvs.py/wikipedia/phase3/includes/Parser.php?r1=1.476&r2=1.477

is broken.

<pre>
# This line starts with a hash.
</pre>

gets rendered as
+-------------------------------------+
|  1. This line starts with a hash    |
+-------------------------------------+
Comment 10 JeLuF 2005-07-22 22:15:01 UTC
Fixed in Parser.php, rev 1.482
Testcases for bug 785 still work fine. Not sure that this will be the final
word, though.

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


Navigation
Links