Lokal_Profil created this task.
Lokal_Profil added a project: Pywikibot.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.

TASK DESCRIPTION
  In T104864: [breaking change] Page.namespace() gives inconsistent result 
<https://phabricator.wikimedia.org/T104864> `Link.namespace` and 
`Page.namespace()` were changed to always returns a `pywikibot.Namespace`. 
While that code change happened in 2016 the documentation correcting the return 
type (previously `int`) wasn't changed until 2018 (in  gerrit:444786 
<https://gerrit.wikimedia.org/r/444786>).
  
  Inbetween it seems as though `WikibasePage.namespace()` was introduced and 
this does in fact return an `int`. It should probably be updated to also return 
a Namespace object, that will however likely be a breaking change.

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

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

To: Lokal_Profil
Cc: Aklapper, pywikibot-bugs-list, Lokal_Profil, Viztor, DannyS712, Wenyi, 
Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Avicennasis, mys_721tx, jayvdb, Dalba, 
Masti, Alchimista, Rxy
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to