https://bugzilla.wikimedia.org/show_bug.cgi?id=59223
Web browser: ---
Bug ID: 59223
Summary: Page.title(asLink=True) bases link format on
config.mylang and config.family instead of a parameter
Product: Pywikibot
Version: core (2.0)
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: General
Assignee: [email protected]
Reporter: [email protected]
Classification: Unclassified
Mobile Platform: ---
Currently, Page.title(asLink=True) bases it's format on the 'current site':
[[wp:en:page]] will be rendered as [[page]] if the current site is enwiki, but
as [[wp:en:page]] if the current site is nlwiktionary.
However, this is not necessarily what we want -- we want to use the link /on
some page/ which may or may not be the 'current site'. Page.title should
therefore take a Site object to override this behavior.
--
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