Page MenuHomePhabricator

Remove reference to SiteInfo._get_default in APISite
Closed, ResolvedPublic

Description

APISite.protection_types and APISite.protection_levels have ..seealso:: references to Siteinfo._get_default() within the docstring but this method was removed in rPWBC4d3d64ab. This reference was introduced with SiteInfo implementation in rPWBCf7a399e5.

Cleanup docstring and remove reference to SiteInfo._get_default in those methods

See: https://codesearch.wmcloud.org/pywikibot/?q=_get_default&files=&excludeFiles=&repos=

Event Timeline

Thank you for tagging this task with good first task for Wikimedia newcomers!

Newcomers often may not be aware of things that may seem obvious to seasoned contributors, so please take a moment to reflect on how this task might look to somebody who has never contributed to Wikimedia projects.

A good first task is a self-contained, non-controversial task with a clear approach. It should be well-described with pointers to help a completely new contributor, for example it should clearly point to the codebase URL and provide clear steps to help a contributor get set up for success. We've included some guidelines at https://phabricator.wikimedia.org/tag/good_first_task/ !

Thank you for helping us drive new contributions to our projects <3

Xqt triaged this task as Low priority.Sep 11 2025, 9:54 AM
Xqt added a parent task: T396368: Pywikibot 11 release.
Xqt removed Xqt as the assignee of this task.Sep 12 2025, 3:57 AM
Xqt claimed this task.
Xqt added a subscriber: Zaidusyy.