https://bugzilla.wikimedia.org/show_bug.cgi?id=44968
Web browser: ---
Bug ID: 44968
Summary: SpecialItemByTitle must not use Title object to
represent remote title.
Product: MediaWiki extensions
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: WikidataRepo
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected],
[email protected]
Classification: Unclassified
Mobile Platform: ---
SpecialItemByTitle takes a page title from another wiki as one of its
parameters. It then uses a Title object to represent this internally - but that
is dangerous and misleading. The rules for titles on the local wiki are not the
same as the ones on the target wiki. A title containing a : may be in a well
known namespace in one but not the other wiki, changing the canonical name
utterly.
Instead, SpecialItemByTitle should use a SiteLink object to represent the title
and target wiki internally. Title normalization requires an API call to the
target wiki, and should thus be optional (or disabled).
--
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l