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: Pywikipedia-bugs@lists.wikimedia.org Reporter: valhallasw@arctus.nl 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.
https://bugzilla.wikimedia.org/show_bug.cgi?id=59223
--- Comment #1 from Gerrit Notification Bot gerritadmin@wikimedia.org --- Change 105436 had a related patch set uploaded by Xqt: (bug 59223) Page.title(asLink=True) accepts a site object "insite",
https://gerrit.wikimedia.org/r/105436
https://bugzilla.wikimedia.org/show_bug.cgi?id=59223
Gerrit Notification Bot gerritadmin@wikimedia.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |PATCH_TO_REVIEW
https://bugzilla.wikimedia.org/show_bug.cgi?id=59223
xqt info@gno.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |info@gno.de Assignee|Pywikipedia-bugs@lists.wiki |info@gno.de |media.org |
pywikipedia-bugs@lists.wikimedia.org