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
Hello,
Please join us on the next Wikimedia Bugday:
20:00 Thursday, October 24, 2013 - Sunday, October 27 22:00 UTC[1]
in #pywikipediabot on Freenode IRC [2]
We will be triaging bug reports pywikibot [3]. Pywikibot recently
moved its code repository from SVN to Git and its bugtracker from
SourceForge to Wikimedia Bugzilla. Now many older tickets need
retesting and cleanup (around 700 bugs). We will be focusing on
retesting, and we will comment on bug reports that need status
updates, and have a good time working together on improving Pywikibot!
Everyone is welcome to join, and no technical knowledge needed! It's
an easy way to get involved in the community or to give something
back.
This even is part of a weekly QA activity [4], so we encourage you to
triage throughout the week and record your activity on the bug day
etherpad [5].
This information and more can be found here:
https://www.mediawiki.org/wiki/Bug_management/Triage/20131024
For more information on triaging in general, check out
https://www.mediawiki.org/wiki/Bug_management/Triage
I look forward to seeing you there.
Amir on behalf of Pywikibot developers
[1] Timezone converter: http://www.timeanddate.com/worldclock/converter.html
[2] See http://meta.wikimedia.org/wiki/IRC for more info on IRC chat
[3] https://www.mediawiki.org/wiki/Bug_management/Triage/20131024
[4] https://www.mediawiki.org/wiki/QA/Weekly_goals
[5] http://etherpad.wmflabs.org/pad/p/BugTriage