Version: core-(2.0)
Severity: normal
Description
Details
- Reference
- bz64878
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
Porting parser_function_count.py from compat to core/scripts | pywikibot/core | master | +225 -1 |
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Invalid | None | T72936 Important tasks to be solved (tracking) | |||
Open | Feature | None | T57880 Functionality existing in compat but missing from core (tracking) | ||
Resolved | Xqt | T66878 Port parserfunctioncount.py to core |
Event Timeline
For implementing this in core, instead of using docregex in the compat script, there is a variable in each core Family class 'doc_subpages' which should be used.
In core/family.py class Family couldn't find 'doc_subpages'. In compat documentsubpage variable is defined though.
Change 181724 had a related patch set uploaded (by Prianka):
T66878 Port parserfunctioncount.py to core
Change 181724 had a related patch set uploaded (by Prianka):
Porting parsefunctioncount.py from compat to core/scripts
Sorry for inconvenience though. I initially created this one and it seems to be a bad idea to create a new account in between.. neither i can find name change option :/ so i guess need go with this ..
https://phabricator.wikimedia.org/settings/panel/external/ should have an option to connect your MediaWiki account in addition to LDAP.
Seems to have some trouble in that, despite me having account in all the projects as demanded .. "Application Connection Error"
Note that Phabricator has a built-in "pastebin": you can create a new paste here and embed it into any comment :)
This works for me on the latest master:
import pywikibot site = pywikibot.Site('en', 'wikipedia') page = pywikibot.Page(site, 'Template:MONTHNAME') page.get()
Change 181724 had a related patch set uploaded (by Xqt; owner: Xqt):
[pywikibot/core@master] Porting parser_function_count.py from compat to core/scripts
Change 181724 merged by jenkins-bot:
[pywikibot/core@master] Porting parser_function_count.py from compat to core/scripts