https://bugzilla.wikimedia.org/show_bug.cgi?id=54547
Web browser: --- Bug ID: 54547 Summary: sync.py, linkreports.py and phpfrontforpywikibot Product: Pywikibot Version: unspecified Hardware: All OS: All Status: NEW Severity: normal Priority: Unprioritized Component: General Assignee: Pywikipedia-bugs@lists.wikimedia.org Reporter: legoktm.wikipedia@gmail.com Classification: Unclassified Mobile Platform: ---
Originally from: http://sourceforge.net/p/pywikipediabot/patches/609/ Reported by: valhallasw Created on: 2013-04-13 21:11:43 Subject: sync.py, linkreports.py and phpfrontforpywikibot Original description: See http://lists.wikimedia.org/pipermail/pywikipedia-l/2013-March/007776.html and http://lists.wikimedia.org/pipermail/pywikipedia-l/2013-March/007785.html
------------ I have been working on some additions to the pywikipediabot framework. I'd be happy if my code could be useful to others.
sync.py helps synchronizing different wikis. It goes through a bunch of namespaces and creates an overview of pages that are different, this is already useful for Templates and MediaWiki but especially useful when dealing with semantic mediawiki, where a lot of the functionality lives in namespaces such as Property, Type and Form.
linkreports.py creates a page with a table of broken links, first date, last date and error message.
I also wrote a little PHP frontend that lets people run a pywikipediabot replace script (it's for folks who can't or don't want to use anything on a commandline). This can probably live on its own on github, but it might be a bit too custom at this point and I'd like to have some comments on it.
This PHP frontend is available at https://github.com/guaka/phpfrontforpywikibot It's pretty rough still but releasing it forces me to think about the public release when adding more functionality.
I'm not sure how to proceed with getting sync.py and linkreports.py in the official repo. Shall I just put them up on github so you can take a look? I'm looking forward to your ideas.
Kasper ---------------------- On Mon, Mar 11, 2013 at 11:10 AM, Kasper Souren <kasper.souren@gmail.com> wrote: > I'm not sure how to proceed with getting sync.py and linkreports.py in > the official repo. Shall I just put them up on github so you can take > a look? I'm looking forward to your ideas.
Didn't hear anything back in a week so I just put stuff up here: https://github.com/guaka/pywikibot-extras
Still needs a bit of work to make it more generic but sync.py could already be useful as is. -------------------