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

John Mark Vandenberg <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
            Version|unspecified                 |compat (1.0)

--- Comment #3 from John Mark Vandenberg <[email protected]> ---
The patch is against compat, but core has the same problem.

Core now has a Namespace class, which captures the canonical namespaces data of
the wiki.  Relevant code at:
https://git.wikimedia.org/blob/pywikibot%2Fcore.git/9b67ec1424d160d1968ef3f3da9f179675d68070/pywikibot%2Fsite.py#L131
https://git.wikimedia.org/blob/pywikibot%2Fcore.git/9b67ec1424d160d1968ef3f3da9f179675d68070/pywikibot%2Fsite.py#L577

The Namespace class isnt utilised in the old link parsing algorithms.  There
are a few core changesets related to this problem:
https://gerrit.wikimedia.org/r/#/c/150872/ - Link normalization
https://gerrit.wikimedia.org/r/#/c/148337/ - force using namespace param;
ignore namespace in title

-- 
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