https://bugzilla.wikimedia.org/show_bug.cgi?id=55204

Ricordisamoa <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://bugzilla.wikimedia.
                   |                            |org/show_bug.cgi?id=55298
            Summary|[[en:Blah|Blah]] isn't an   |[[en:Blah|Blah]] isn't an
                   |interwiki.                  |interwiki

--- Comment #2 from Ricordisamoa <[email protected]> ---
texlib.getLanguageLinks() has always caught pipe characters, and
https://www.mediawiki.org/wiki/Special:Code/pywikipedia/43 made clear that the
first part should have been ignored.

Adding '\|' to the regex would solve the problem for interwiki.py, but I'm
afraid this would break other scripts. So, maybe is it safer to add an optional
argument to avoid catching piped links?

I am tempted by raising Severity...

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to