Happy Monday,
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?
--
Bináris
Hello all
>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?
Greetings
Hannes
PS: wiki userpage is http://en.wikipedia.org/wiki/User:Hannes_R%C3%B6st
Hi,
After a couple of experiments it seems to me that
*replace.py something otherthing -search:thing*
works in ALL BUT article namespace.
Could you please check where is the error?
--
Bináris
Hello there!
At first, I am really happy to see the pywikipedia framework is still
alive and very active.
As you may have noticed, whenever a change is send to Gerrit that
triggers Jenkins jobs that run the code style utilities pep8 and pyflakes.
It seems your code is not passing the style checks so whenever they fail
it is not going to prevent you from merging the code.
I am not sure how your community likes pep8/pyflakes. But I think it
would be nice to have the code repositories to pass those tests and
enforce authors to follow them. You can still have some pep8 checks
ignored such as the "line too long".
The questions are:
Is there any interest in making your repositories pep8 compliants?
If so, is there anything I can do to help? :-]
--
Antoine "hashar" Musso
Google Code-In is a contest to introduce pre-university students (ages
13-17) to the many kinds of contributions that make open source software
development possible. Students must complete tasks (see examples), one
at a time. The Google Code-in 2013 contest runs from November 18, 2013
to January 6, 2014.
https://www.mediawiki.org/wiki/Google_Code-In
PyWikibot could be a great project for this program, under the Wikimedia
umbrella. A relatively isolated environment, Python language, plenty of
little bugs and enhancement requests in Bugzilla, potential for
improvements in documentation and tutorials, a vibrant community
including many potential mentors...
What do you think?
We are currently preparing the proposal to apply by Oct 28, next Monday.
If you can add at least 5 tasks to the wiki page linked above then you
will be ready for the next level - if we are one of the organizations
selected on November 1.
If you have questions just ask, here or at the related talk page.
--
Quim Gil
Technical Contributor Coordinator @ Wikimedia Foundation
http://www.mediawiki.org/wiki/User:Qgil
I'm hoping for a tool to help clean up a spammed wiki. (We are merging with
Ekopedia, and en.ekopedia.org has more spam than genuine pages.) Has anyone
created such a script?
If not, then the way I imagine it is:
* Find pages with exactly one editor and at least one link
* Display title, a chunk of text and the link(s)
* Offer to delete the page.
A few years I asked about finding pages with one editor and received some
good suggestions (but ended up using AbuseFilter instead).
Bináris suggested an editor list and requiring that len(editorlist)==1
http://osdir.com/ml/python-pywikipediabot-general/2012-03/msg00015.html
Merlijn suggested a database query - I don't know where to start with that.
http://osdir.com/ml/python-pywikipediabot-general/2012-03/msg00031.html
I have learnt since very basic python since then...
Thanks
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello All!
Can somebody explain to me why the user-config.py variable
"suppresssurvey = True" was removed but not the message? Now I get
dozens of such messages...
https://www.mediawiki.org/wiki/Manual:Pywikibot/Survey2012
Greetings
DrTrigon
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.15 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iEYEARECAAYFAlJrgZIACgkQAXWvBxzBrDDvUQCfSJjVSyxQYhocx8Gh1Vf36D5e
D3QAn1EVCMehPT3LweHqrdF7Co35WyWH
=K4LW
-----END PGP SIGNATURE-----
This depends unicode error which is still valid for older pythons and not the survey message.
----- Ursprüngliche Nachricht -----
Von: Dr. Trigon
Gesendet: 26.10.2013 14:41
An: pywikipedia-l(a)lists.wikimedia.org
Betreff: Re: [Pywikipedia-l] Survey 2012 (Message still there)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Im am talking of compat:
$ git pull
Already up-to-date.
$ python version.py
Pywikibot: [ssh] pywikibot/compat (r10376, 3887020, 2013/10/25,
23:03:54, ok)
Release version: 1.0b1
Python: 2.7.5 (default, Oct 8 2013, 12:19:40)
[GCC 4.8.1 20130603 (Red Hat 4.8.1-1)]
config-settings:
use_api = True
use_api_login = True
unicode test: ok
$ grep -i "3081100" *
interwiki.py: pywikibot.unicode_error: #
work-arround for bug #3081100 (do not remove affected pages)
interwiki.py:u'\03{lightred}This may be false positive due to unicode
bug #3081100\03{default}')
version.py: print u'unicode test: triggers problem #3081100'
wikipedia.py: # TEST for bug #3081100
wikipedia.py:\03{lightyellow}WARNING:\03{lightred} your python version
might trigger issue #3081100\03{default}
wikipedia.py:More information: See
https://sourceforge.net/support/tracker.php?aid=3081100
wikipedia.py:# TEST for bug #3081100
wikipedia.py: print u'unicode test: triggers problem #3081100'
So my version is up-to-date and grep clearly finds remnants of this
old message...?!?
Thanks and Greetings
DrTrigon
On 26.10.2013 11:16, Merlijn van Deen wrote:
> On 26 October 2013 10:47, Dr. Trigon <dr.trigon(a)surfeu.ch
> <mailto:dr.trigon@surfeu.ch>> wrote:
>
> Can somebody explain to me why the user-config.py variable
> "suppresssurvey = True" was removed but not the message? Now I get
> dozens of such messages...
>
>
> What is the output of version.py? Are you running core or compat?
>
> The config option *and* message were removed in r10734:
> https://www.mediawiki.org/wiki/Special:Code/pywikipedia/10734
>
> and I also cannot find the message in my current compat checkout.
>
> Merlijn
>
>
> _______________________________________________ Pywikipedia-l
> mailing list Pywikipedia-l(a)lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.15 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iEYEARECAAYFAlJruGoACgkQAXWvBxzBrDBFqACfWAotLetL8uY7xp4LnUl64C/2
NSMAoLq1CF9r6abju+zvph8NFzz1GRtP
=FTDe
-----END PGP SIGNATURE-----
_______________________________________________
Pywikipedia-l mailing list
Pywikipedia-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
Hello all
Just a quick reminder: This is starting now and you're welcome to join at
any time in the next days. Just say hello on IRC the bug day will start in
3 hours
more info:
https://www.mediawiki.org/wiki/Bug_management/Triage/20131024
Best
--
Amir