jenkins-bot has submitted this change and it was merged. (
https://gerrit.wikimedia.org/r/419978 )
Change subject: docs/conf.py: Configure autodoc to document special methods by default
......................................................................
docs/conf.py: Configure autodoc to document special methods by default
Fix an indentation error in proofreadpage.IndexPage.__init__.
Bug: T130625
Change-Id: Iee2ac65e23f6f60f10374d2aac79a683b9a3bd9b
---
M docs/conf.py
M pywikibot/proofreadpage.py
2 files changed, 9 insertions(+), 5 deletions(-)
Approvals:
Xqt: Looks good to me, approved
jenkins-bot: Verified
diff --git a/docs/conf.py b/docs/conf.py
index 7e4d876..d416a40 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -290,3 +290,7 @@
pywikibot_env()
+
+autodoc_default_flags = [
+ 'special-members',
+]
diff --git a/pywikibot/proofreadpage.py b/pywikibot/proofreadpage.py
index 184b3cc..5b36e5b 100644
--- a/pywikibot/proofreadpage.py
+++ b/pywikibot/proofreadpage.py
@@ -666,11 +666,11 @@
In this class:
page number is the number in the page title in the Page namespace, if
- the wikisource site adopts this convention (e.g. page_number is 12
- for Page:Popular Science Monthly Volume 1.djvu/12) or the sequential
- number of the pages linked from the index section in the Index page
- if the index is built via transclusion of a list of pages (e.g. like
- on de wikisource).
+ the wikisource site adopts this convention (e.g. page_number is 12
+ for Page:Popular Science Monthly Volume 1.djvu/12) or the sequential
+ number of the pages linked from the index section in the Index page
+ if the index is built via transclusion of a list of pages (e.g. like
+ on de wikisource).
page label is the label associated with a page in the Index page.
This class provides methods to get pages contained in Index page,
--
To view, visit
https://gerrit.wikimedia.org/r/419978
To unsubscribe, visit
https://gerrit.wikimedia.org/r/settings
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Iee2ac65e23f6f60f10374d2aac79a683b9a3bd9b
Gerrit-Change-Number: 419978
Gerrit-PatchSet: 2
Gerrit-Owner: Dalba <dalba.wiki(a)gmail.com>
Gerrit-Reviewer: John Vandenberg <jayvdb(a)gmail.com>
Gerrit-Reviewer: Xqt <info(a)gno.de>
Gerrit-Reviewer: Zoranzoki21 <zorandori4444(a)gmail.com>
Gerrit-Reviewer: jenkins-bot <>