Last modified: 2006-07-11 19:43:19 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
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