Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/residentmario/blogimporter
A script that handles tedius setup tasks for the Blog section of the Wikipedia Signpost.
https://github.com/residentmario/blogimporter
Last synced: about 1 month ago
JSON representation
A script that handles tedius setup tasks for the Blog section of the Wikipedia Signpost.
- Host: GitHub
- URL: https://github.com/residentmario/blogimporter
- Owner: ResidentMario
- Created: 2015-07-16T19:02:11.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-10-20T18:36:50.000Z (about 9 years ago)
- Last Synced: 2024-10-14T09:50:55.553Z (3 months ago)
- Language: Python
- Size: 148 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# blogimporter
A script that handles tedius setup tasks for the Blog section of the Wikipedia Signpost.About
The "Blog" is a report published as a part of the weekly "Wikipedia Signpost", a community-organized and -written internal newspaper on the English Wikipedia that covers the Wikipedia movement at large. This report republishes content from posts to the Wikimedia Blog, another popular, albiet less neautral, movement platform.
Credit is due to the Wikimedia Foundation for the flexible HTML-to-Wikicode conversion facilities baked into their API.
Installation
This script requires:
* [Python 3.4.0](https://docs.python.org/3.4/)
* [Pywikibot](https://www.mediawiki.org/wiki/Manual:Pywikibot)Inputs
This script requires a "-p" or "--page" parameter that is within the domain of the Wikimedia Blog. Otherwise it doesn't know where to look! At a minimum you want to run something that looks like this:
run Blog_Importer.py -p 'https://blog.wikimedia.org/2015/07/16/third-transparency-report-released'
The script will automatically find and target the next to-be-published Signpost issue, but it also provides a capacity to specify your target manually. Valid inputs are in the domain of the Signpost or my on-wiki userspace (a subpage of "User:Resident Mario").
run Blog_Importer.py -p 'https://blog.wikimedia.org/2015/07/16/third-transparency-report-released' -t 'Wikipedia:Wikipedia Signpost/Newsroom/Special desk/Draft of stuff'
Or, for testing:
run Blog_Importer.py -p 'https://blog.wikimedia.org/2015/07/16/third-transparency-report-released' -t 'User:Resident Mario/sandbox'
History
| Date | Comment |
| ------------- | ------------- |
| 7/16/2015 | First version posted here. |