https://bugzilla.wikimedia.org/show_bug.cgi?id=56897
Web browser: --- Bug ID: 56897 Summary: Port pagefromfile.py to Pywikibot core Product: Pywikibot Version: unspecified Hardware: All OS: All Status: NEW Keywords: easy Severity: normal Priority: Unprioritized Component: General Assignee: Pywikipedia-bugs@lists.wikimedia.org Reporter: crangasi2001@yahoo.com CC: aklapper@wikimedia.org, ladsgroup@gmail.com, qgil@wikimedia.org Blocks: 55880 Classification: Unclassified Mobile Platform: ---
PyWikibot [1] is a Python-based framework to write bots for MediaWiki. There are currently 2 versions of pywikibot currently used: - version 1.0 (also known as pywikibot-compat) is the legacy version - version 2.0 (also known as pywikibot-core) is a rewrite of the original framework, focusing solely on MediaWiki wikis with an API (version 1.14 or newer) and offering an improved internal architecture.
There are a number of scripts used by various robot operators that were used in pywikibot-compat but have not yet been adapted to work with pywikibot-core. One of those is pagefromfile.py, which creates pages from a text file.
You can find information about how to convert the script on [2], [3]. Patches can be submited through the gerrit uploader [4] (you need a MediaWiki.org account). More documentation on gerrit can be found at [5].
[1] https://www.mediawiki.org/wiki/Manual:Pywikibot [2] https://www.mediawiki.org/wiki/Manual:Pywikibot/2.0/Conversion [3] https://www.mediawiki.org/wiki/Manual:Pywikibot/i18n_conversion [4] https://tools.wmflabs.org/gerrit-patch-uploader/ [5] http://www.mediawiki.org/wiki/Manual:Pywikipediabot/Gerrit
https://bugzilla.wikimedia.org/show_bug.cgi?id=56897
--- Comment #1 from Gerrit Notification Bot gerritadmin@wikimedia.org --- Change 96964 had a related patch set uploaded by Mayankmadan: Ported pagefromfile.py to core
https://gerrit.wikimedia.org/r/96964
https://bugzilla.wikimedia.org/show_bug.cgi?id=56897
Gerrit Notification Bot gerritadmin@wikimedia.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |PATCH_TO_REVIEW
https://bugzilla.wikimedia.org/show_bug.cgi?id=56897
--- Comment #2 from Gerrit Notification Bot gerritadmin@wikimedia.org --- Change 96964 merged by Strainu: Ported pagefromfile.py to core
https://gerrit.wikimedia.org/r/96964
https://bugzilla.wikimedia.org/show_bug.cgi?id=56897
Merlijn van Deen valhallasw@arctus.nl changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|PATCH_TO_REVIEW |RESOLVED Resolution|--- |FIXED
pywikipedia-bugs@lists.wikimedia.org