Last modified: 2013-11-26 19:49:07 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T58897, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 56897 - Port pagefromfile.py to Pywikibot core
Port pagefromfile.py to Pywikibot core
Status: RESOLVED FIXED
Product: Pywikibot
Classification: Unclassified
General (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Pywikipedia bugs
: easy
Depends on:
Blocks: 55880
  Show dependency treegraph
 
Reported: 2013-11-11 11:50 UTC by Strainu
Modified: 2013-11-26 19:49 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Strainu 2013-11-11 11:50:09 UTC
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
Comment 1 Gerrit Notification Bot 2013-11-22 08:18:55 UTC
Change 96964 had a related patch set uploaded by Mayankmadan:
Ported pagefromfile.py to core

https://gerrit.wikimedia.org/r/96964
Comment 2 Gerrit Notification Bot 2013-11-22 10:03:15 UTC
Change 96964 merged by Strainu:
Ported pagefromfile.py to core

https://gerrit.wikimedia.org/r/96964

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links