[Pywikipedia-l] Several questions (mainly about guideline)

2014-06-17 Thread Sorawee Porncharoenwase
1) What is the preferable shebang? What I have seen are: - #!/usr/bin/python (such as scripts/add_text.py) - #!/usr/bin/env python (such as scripts/archivebot.py) - no shebang (such as scripts/catall.py) 2) Why some scripts (such as blockpageschecker.py) are executable , while the others (such as

[Pywikipedia-l] i18n configuration

2014-06-17 Thread Merlijn van Deen
The following might be a bit unclear, as it's a bit of a brain dump. It's mainly meant as a response to https://gerrit.wikimedia.org/r/#/c/137904/2/tests/l10n_tests.py and https://gerrit.wikimedia.org/r/#/c/137924/ and as 'food for thought'. Basically, the question is how we can let the i18n not d

Re: [Pywikipedia-l] Page delete and protect

2014-06-17 Thread John Mark Vandenberg
On Tue, Jun 17, 2014 at 4:39 PM, Amir Ladsgroup wrote: > I disagree, I wrote lots of codes that deletion is a part of them (e.g. this > [https://www.wikidata.org/wiki/User:Ladsgroup/del.py] > code for deleting items in Wikidata). > Maybe there is one usage of them in core but it has been widely us

Re: [Pywikipedia-l] Page delete and protect

2014-06-17 Thread Amir Ladsgroup
I disagree, I wrote lots of codes that deletion is a part of them (e.g. this code for deleting items in Wikidata ). Maybe there is one usage of them in core but it has been widely used in customized codes. Best On Mon, Jun 16, 2014 at 8:17 PM,