Last modified: 2006-07-11 19:43:19 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 T6053, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 4053 - Words in the wikitext get merged into the every second category when linkprefix is turned on.
Words in the wikitext get merged into the every second category when linkpref...
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
1.6.x
All All
: Normal trivial (vote)
: ---
Assigned To: Nobody - You can work on this!
: need-parsertest, parser
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-11-23 05:55 UTC by Ævar Arnfjörð Bjarmason
Modified: 2006-07-11 19:43 UTC (History)
0 users

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


Attachments

Description Ævar Arnfjörð Bjarmason 2005-11-23 05:55:38 UTC
Given input like the following when $wgContLang->linkPrefixExtension() returns a
true value:

"""
word

[[Category:Category1]]
[[Category:Category2]]
[[Category:Category3]]
[[Category:Category4]]
[[Category:Category5]]
[[Category:Category6]]
"""

The following output will be produced:
"""
Categories: Category1 | wordCategory2 | Category3 | wordCategory4 | Category5 |
wordCategory6
"""

This can be fixed by removing line 1432 of Parser.php ($s = rtrim($s . "\n"); #
bug 87) but of course that produced other problems.
Comment 1 Antoine "hashar" Musso (WMF) 2006-07-11 19:43:19 UTC
Looks fixed using:

-------------------
word[[Category:Category1]]
[[Category:Category2]]
[[Category:Category3]]
[[Category:Category4]]
[[Category:Category5]]
[[Category:Category6]]
--------------------


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


Navigation
Links