Last modified: 2014-01-04 12:57:10 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T61223, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 59223 - Page.title(asLink=True) bases link format on config.mylang and config.family instead of a parameter
Page.title(asLink=True) bases link format on config.mylang and config.family ...
Status: RESOLVED FIXED
Product: Pywikibot
Classification: Unclassified
General (Other open bugs)
core-(2.0)
All All
: Unprioritized normal
: ---
Assigned To: xqt
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-01-02 19:42 UTC by Merlijn van Deen (test)
Modified: 2014-01-04 12:57 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Merlijn van Deen (test) 2014-01-02 19:42:56 UTC
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.
Comment 1 Gerrit Notification Bot 2014-01-04 12:47:32 UTC
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
Comment 2 Gerrit Notification Bot 2014-01-04 12:56:27 UTC
Change 105436 merged by jenkins-bot:
(bug 59223) Page.title(asLink=True) accepts a site object "insite",

https://gerrit.wikimedia.org/r/105436

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links