zhuyifei1999 created this task.
zhuyifei1999 added subscribers: Aklapper, Liuxinyu970226, liangent, Xqt, JAnD, 
Legoktm, jayvdb, Ladsgroup, zhuyifei1999, pywikipedia-bugs.
zhuyifei1999 added projects: pywikibot-compat, pywikibot-core, 
Pywikibot-General.

TASK DESCRIPTION
  Technically a non-existent page is a "301 Moved Permanently"-type redirect to 
an existent page in a different variant (unless there is no such page). This 
affects wikis with LanguageConverter, including zh.wikipedia.
  Eg. [[https://zh.wikipedia.org/wiki/匙吻鲟|zh:匙吻鲟]] 
([[https://zh.wikipedia.org/w/index.php?title=匙吻鲟&redirect=no|redirect=no 
link]]) is a redirect to [[https://zh.wikipedia.org/wiki/匙吻鱘|zh:匙吻鱘]], but 
pywikibot considers the former as an non-existent page without any information 
on the latter:
  ```
  tools.yifeibot@tools-bastion-02:~/pywikibot$ git status
  On branch master
  Your branch is up-to-date with 'origin/master'.
  
  Untracked files:
    (use "git add <file>..." to include in what will be committed)
  
  <a list of files removed>
  
  nothing added to commit but untracked files present (use "git add" to track)
  tools.yifeibot@tools-bastion-02:~/pywikibot$ python pwb.py shell
  Welcome to the Pywikibot interactive shell!
  >>> import pywikibot
  >>> pywikibot.Page(pywikibot.Site("zh", "wikipedia"), u"匙吻鲟").exists()
  False
  >>> pywikibot.Page(pywikibot.Site("zh", "wikipedia"), u"匙吻鱘").exists()
  True
  ```

TASK DETAIL
  https://phabricator.wikimedia.org/T101597

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: zhuyifei1999
Cc: pywikipedia-bugs, zhuyifei1999, Ladsgroup, jayvdb, Legoktm, JAnD, Xqt, 
liangent, Liuxinyu970226, Aklapper, Anshoe



_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to