There are strange people who make such links (kindof urlencoded?):
[[Második világháború#Partrasz.C3.A1ll.C3.A1s Szic.C3.ADli.C3.A1ban
.28Huskey hadm.C5.B1velet.29|Huskey hadműveletben]]
So the section title must have been copied from the URL.
Do we have a ready tool to fix these?
>From one of my assignments as a bot operator I have some code which
does template parsing and general text parsing (e.g. Image/File tags).
It is not using regex and thus able to correctly parse nested
templates and other such nasty things. I have written those as library
classes and written tests for them which cover almost all of the code.
I would now really like to contribute that code back to the community.
Would you be interested in adding this code to the pywikibot
framework? If yes, can I send the code to someone for code review or
how do you usually operate?
PS: wiki userpage is http://en.wikipedia.org/wiki/User:Hannes_R%C3%B6st
I have used pywiki(pedia)bot for years and I had many bots running [from my
machines (Ubuntu and Windows 7) and the toolserver: same behaviour].
Since many months (a year?) pywikibot *always* asks for password even if I
have just logged in (with previous run of a script or login.py). That means
that I cannot schedule bots with cron or run them with batch files etc.
I did not have time to bother for bots running under schedule but it is
time to see what can be done. So: how can I fix it?
Συνεισφέρετε στην Βικιπαίδεια. https://el.wikipedia.org
Φτιάξτε λογαριασμό στο Dropbox: https://db.tt/G0jOavL
Οι παραπάνω απόψεις είναι προσωπικές και δεν εκφράζουν παρά μόνο εμένα. Το
μήνυμα θεωρείται εμπιστευτικό μόνο εάν το έχω ζητήσει ρητά, διαφορετικά
μπορείτε να το χρησιμοποιήσετε σε οποιαδήποτε δημόσια συζήτηση. Δεν έχω
τίποτε να κρύψω. :-)
Thanks to many of you who have worked on the flake warnings over the
last few months, the code base now has zero flakes, and thanks to
hashar a 'flake8' job now votes against any changeset which has
Also, nose tests are also run for every changeset before the code is
merged, but only the tests which do not connect to a site, or have
network activity. In the test files in tests/* , you will see some
are subclasses of NoSiteTestCase , and some have net = True as class
attributes. These clues help nose avoid tests which will connect to
servers, possibly timing out, etc.
Anyone can run the all tests using nose.
To run only the tests which are run by jenkins, even without a
user-config.py file, use
PYWIKIBOT2_NO_USER_CONFIG=1 nosetests -a "!site,!net"
pywikibot doesn't use standard arguments and argument parsing
For example a standard input should be like this:
python pwb.py replace "something" "something else" --page="python" --always
python pwb.py replace "something" "something else" --p "python" -a
And in back-end, pywikibot uses sysargv for parsing args but it's
discouraged and it's better to use argparse
I made some changes in bot.py in function handlearg
Still needs lots of work but before I go on I want your opinion about this
I just made this for fun, to use as icon for my pywikibot local folder, and I
though I would share it with you: http://fav.me/d7ve8j3
It took more time to get it uploaded somewhere than to actually create it…
Yesterday after some talks in IRC we thought It would be good if we
kill off the i18n submodule and bring the files into core, compat will
have the i18n folder but won't receive any updates. One of major
advantage of this action is making installation of pywikibot so much
Another thing that is happening for i18n is that we are migrating to json .
Any comment about these actions is very welcome.