zhuyifei1999 created this task. zhuyifei1999 added a subscriber: zhuyifei1999. zhuyifei1999 added projects: pywikibot-core, Pywikibot-General. zhuyifei1999 changed Security from none to none.
TASK DESCRIPTION Just a random move log entry from de wikipedia:
$ python pwb.py shell -family:wikipedia -lang:en ``` Welcome to the Pywikibot interactive shell!
import pywikibot s = pywikibot.Site("de") s
Site("de", "wikipedia")
pg = pywikibot.Page(s, u"Fußballnationalmannschaft von Montserrat") for log in s.logevents(logtype="move", page=pg, total=1): print log.new_title().site
... wikipedia:en ``` "wikipedia:de" is the expected instead of "wikipedia:en" in the last line.
TASK DETAIL https://phabricator.wikimedia.org/T75723
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
To: zhuyifei1999 Cc: pywikipedia-bugs, zhuyifei1999, jayvdb
XZise added a subscriber: XZise. XZise added a comment.
Hmm it should fail everytime as MoveEntry.new_title does not supply a Site.
TASK DETAIL https://phabricator.wikimedia.org/T75723
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
To: XZise Cc: pywikipedia-bugs, zhuyifei1999, XZise, jayvdb
XZise added a comment.
Okay testing it for myself it does only output that one entry (I thought the ... meant that you had cut previous entries).
TASK DETAIL https://phabricator.wikimedia.org/T75723
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
To: XZise Cc: pywikipedia-bugs, zhuyifei1999, XZise, jayvdb
XZise claimed this task.
TASK DETAIL https://phabricator.wikimedia.org/T75723
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
To: XZise Cc: pywikipedia-bugs, zhuyifei1999, XZise, jayvdb
XZise added a comment.
For whatever reason this is not notified here, but I've uploaded a patch regarding this: https://gerrit.wikimedia.org/r/175414/
TASK DETAIL https://phabricator.wikimedia.org/T75723
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
To: XZise Cc: pywikipedia-bugs, zhuyifei1999, XZise, jayvdb
gerritbot added a comment.
Change 175414 merged by jenkins-bot: [FIX] Logentries: Use the query's site argument
[[https://gerrit.wikimedia.org/r/175414]]
TASK DETAIL https://phabricator.wikimedia.org/T75723
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
To: XZise, gerritbot Cc: pywikipedia-bugs, zhuyifei1999, XZise, jayvdb
zhuyifei1999 closed this task as "Resolved". zhuyifei1999 added a comment.
Seem fixed. Original input gives "wikipedia:de" as output.
TASK DETAIL https://phabricator.wikimedia.org/T75723
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
To: XZise, zhuyifei1999 Cc: pywikipedia-bugs, zhuyifei1999, XZise, jayvdb
pywikipedia-bugs@lists.wikimedia.org