Framawiki created this task. Framawiki added a project: Pywikibot-core. Herald added subscribers: pywikibot-bugs-list, Aklapper. |
TASK DESCRIPTION
Hello, about this edit :
>>> p = pywikibot.Page(pywikibot.Site('fr', 'wikipedia'), 'Test') >>> t = pywikibot.Page(pywikibot.Site('test', 'wikipedia'), 'user:Framawiki/Brouillon') >>> t.text += p.title(asLink=True) >>> t.save() Page [[test:User:Framawiki/Brouillon]] saved
And I obtain just [[Test]] and not [[:fr:Test]].
.title(asLink=True) should give a way to return an interwiki link.
TASK DETAIL
EMAIL PREFERENCES
To: Framawiki
Cc: Aklapper, pywikibot-bugs-list, Framawiki, MayS, Mdupont, JJMC89, jayvdb, Alchimista, Rxy
Cc: Aklapper, pywikibot-bugs-list, Framawiki, MayS, Mdupont, JJMC89, jayvdb, Alchimista, Rxy
_______________________________________________ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs