Interlanguage links should not be rendered

Bug #308096 reported by GreenReaper
2
Affects Status Importance Assigned to Milestone
Wikipedia Dump Reader
Fix Committed
Undecided
Unassigned

Bug Description

Some cross-namespace links ( [[:X:Y]] or [[X:Y]], or their piped variants) are actually interlanguage links, and should not be rendered.

It can probably be assumed that all links with a namespace that matches one on the ISO 639-1 list ( http://www.loc.gov/standards/iso639-2/php/code_list.php ) are interlanguage links.

Tags: rendering
Revision history for this message
Benjamin Thyreau (benji2) wrote :

Hi,
Thanks for the bugreport.
Altough namespace is not supported now, i just comitted a quick change to drop the boring language list, which is, indeed, useless. I didn't check for all the language linked by ISO, as it didn't match exactly, and rely on a regex at the end instead.

Changed in wikipediadumpreader:
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.