Add the ability to parse and read existing qualifiers


git-svn-id: http://svn.wikimedia.org/svnroot/pywikipedia/branches/rewrite@11715 6a7f98fc-eeb0-4dc1-a6e2-c2c589a08aa6
Use the deprecate_arg decorator in addition to the debug message


git-svn-id: http://svn.wikimedia.org/svnroot/pywikipedia/branches/rewrite@11716 6a7f98fc-eeb0-4dc1-a6e2-c2c589a08aa6
copied from trunk r11558

git-svn-id: http://svn.wikimedia.org/svnroot/pywikipedia/branches/rewrite@11720 6a7f98fc-eeb0-4dc1-a6e2-c2c589a08aa6
pep9 changes, adopted for rewrite branch

git-svn-id: http://svn.wikimedia.org/svnroot/pywikipedia/branches/rewrite@11721 6a7f98fc-eeb0-4dc1-a6e2-c2c589a08aa6
use iterlanglinks since interwiki() is empty with wikidata

git-svn-id: http://svn.wikimedia.org/svnroot/pywikipedia/branches/rewrite@11724 6a7f98fc-eeb0-4dc1-a6e2-c2c589a08aa6
fix for Page.site

git-svn-id: http://svn.wikimedia.org/svnroot/pywikipedia/branches/rewrite@11725 6a7f98fc-eeb0-4dc1-a6e2-c2c589a08aa6
Add .gitreview file for git migration


git-svn-id: http://svn.wikimedia.org/svnroot/pywikipedia/branches/rewrite@11726 6a7f98fc-eeb0-4dc1-a6e2-c2c589a08aa6
Localisation updates from http://translatewiki.net.

git-svn-id: http://svn.wikimedia.org/svnroot/pywikipedia/branches/rewrite@11728 6a7f98fc-eeb0-4dc1-a6e2-c2c589a08aa6
first step using wikidata fpr featured.py

git-svn-id: http://svn.wikimedia.org/svnroot/pywikipedia/branches/rewrite@11729 6a7f98fc-eeb0-4dc1-a6e2-c2c589a08aa6
Restructure qualifiers to be stored in a dictionary, like claims are stored in ItemPage.


git-svn-id: http://svn.wikimedia.org/svnroot/pywikipedia/branches/rewrite@11730 6a7f98fc-eeb0-4dc1-a6e2-c2c589a08aa6
No checks are made by langlinkUnsafe() constructor. Anyway we need to extract the section.

git-svn-id: http://svn.wikimedia.org/svnroot/pywikipedia/branches/rewrite@11732 6a7f98fc-eeb0-4dc1-a6e2-c2c589a08aa6
ignore section titles beeing processed, re-add dictionary unless we have redesigned the whole bot ... in progress

git-svn-id: http://svn.wikimedia.org/svnroot/pywikipedia/branches/rewrite@11733 6a7f98fc-eeb0-4dc1-a6e2-c2c589a08aa6
next step migrating featured.py to rewrite and use wikidata. next steps in progress...

git-svn-id: http://svn.wikimedia.org/svnroot/pywikipedia/branches/rewrite@11734 6a7f98fc-eeb0-4dc1-a6e2-c2c589a08aa6
Add a few tests for textlib.extract_templates_and_params


git-svn-id: http://svn.wikimedia.org/svnroot/pywikipedia/branches/rewrite@11736 6a7f98fc-eeb0-4dc1-a6e2-c2c589a08aa6
Implement an opt-in version of using mwparserfromhell rather regex.

Users can set "use_mwparserfromhell" as True in their user-config.py to enable this.



git-svn-id: http://svn.wikimedia.org/svnroot/pywikipedia/branches/rewrite@11737 6a7f98fc-eeb0-4dc1-a6e2-c2c589a08aa6
Ensure we recurse through templates properly

Note that mwpfh returns a different order than regex does.


git-svn-id: http://svn.wikimedia.org/svnroot/pywikipedia/branches/rewrite@11738 6a7f98fc-eeb0-4dc1-a6e2-c2c589a08aa6
again a next step:
- approvement of cache handling
- remove old code

git-svn-id: http://svn.wikimedia.org/svnroot/pywikipedia/branches/rewrite@11739 6a7f98fc-eeb0-4dc1-a6e2-c2c589a08aa6
there is a difference between Site.lang and Site.code in rewrite
- fix it
- preload pages only if it we have to
- some improvements

git-svn-id: http://svn.wikimedia.org/svnroot/pywikipedia/branches/rewrite@11740 6a7f98fc-eeb0-4dc1-a6e2-c2c589a08aa6
- Update documentation
- -side option is deprecated with wikidata
- new feature for -nocache: ignoring several lang codes retrieved from cache

git-svn-id: http://svn.wikimedia.org/svnroot/pywikipedia/branches/rewrite@11741 6a7f98fc-eeb0-4dc1-a6e2-c2c589a08aa6
nocache must be a list or True

git-svn-id: http://svn.wikimedia.org/svnroot/pywikipedia/branches/rewrite@11742 6a7f98fc-eeb0-4dc1-a6e2-c2c589a08aa6