Hi,
Are there any guidelines on the separation between the pywikibot
framework and the scripts bundled with it? I'm referring in particular
with the way things are deprecated/removed from the framework just
because they're not used _in the scripts bundled with pywikibot_.
I've recently upgraded pywikibot and stumbled on an issue with one of
my bots, who was silently failing because the family file did not
contain namespacesWithSubpage any longer. This was removed in
https://gerrit.wikimedia.org/r/#/c/219610/ . Ignoring the fact that +2
was given by the commiter himself (which is bad practice no matter
what), the field was removed without any apparent warning, just
because it seemed unused.
If pywikibot does not have any guideline for framework/scripts
separation and repsect for 3rd party bots usage of features, can we
please create one? A minimum requirement should be to keep any
deprecated field/method for at least 1 year (with warnings), then
remove it.
In order to enforce this separation, perhaps we should move the
scripts folder in a different repository.
Thanks,
Strainu
On Sat, 3 Sep 2016 02:43 Amir E. Aharoni, <amir.aharoni(a)mail.huji.ac.il>
wrote:
> This is very sad.
>
> He was not only a prolific translator, but a prolific bug reporter, too.
>
> May he rest in peace.
Indeed. Also developed patches.
His activity can be seen here:
https://phabricator.wikimedia.org/p/Purodha/
Can we find the open bugs he voted for/awarded tokens to?
And do the hardest one in his honour?
--
John
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
Sorry for doubling. Forgot about subject.
Hello, can you help please hot to add/remove spaces in text
For exmaple "J.R.R.Tolkien" should transform to "J. R. R. Tolkien"
I tried to use replace.py and user-fixes.py
(u' \. ', u'\. '),
(u' \..?', u'\. .?'),
(u'.?\..?', u'.?\. .?'),
But that's don't work.
Hope on your help, thanks
--
Кирилл Хохлов/Kirill Khokhlov