jenkins-bot has submitted this change and it was merged.
Change subject: Update documentation for isDisambig method ......................................................................
Update documentation for isDisambig method
Change-Id: Ib1a8afba5e934790d48bccd44ab2c1e3edd85619 --- M pywikibot/page.py 1 file changed, 9 insertions(+), 9 deletions(-)
Approvals: John Vandenberg: Looks good to me, approved jenkins-bot: Verified
diff --git a/pywikibot/page.py b/pywikibot/page.py index 25d2779..4cb242a 100644 --- a/pywikibot/page.py +++ b/pywikibot/page.py @@ -772,17 +772,17 @@ def isDisambig(self): """Return True if this is a disambiguation page, False otherwise.
- Relies on the presence of specific templates, identified in - the Family file or on a wiki page, to identify disambiguation - pages. + By default, it uses the the Disambiguator extension's result. The + identification relies on the presense of the __DISAMBIG__ magic word + which may also be transcluded.
- By default, loads a list of template names from the Family file; - if the value in the Family file is None no entry was made, looks for + If the Disambiguator extension isn't activated for the given site, + the identification relies on the presence of specific templates. + First load a list of template names from the Family file; + if the value in the Family file is None or no entry was made, look for the list on [[MediaWiki:Disambiguationspage]]. If this page does not - exist, take the MediaWiki message. - - 'Template:Disambig' is always assumed to be default, and will be - appended regardless of its existence. + exist, take the MediaWiki message. 'Template:Disambig' is always + assumed to be default, and will be appended regardless of its existence.
@rtype: bool """
pywikibot-commits@lists.wikimedia.org