Hi Adrián,

On 28 July 2013 10:01, Adrián Chaves Fernández <[email protected]>wrote:

> **
>
> I would like to know two things:
>
> • I want to implement a script to rename pages. Do you agree that
> implementing this feature within replace.py as an option would the the
> right approach, or should I create a separated script?
>

Good question. I would be inclined to say it would be better as a seperate
script, but as Bináris has mentioned: replace.py has a lot of functionality
that might be useful. I *think* the best thing would be to actually remove
the generic functionality from replace.py and move it to pagegenerators.py,
so that you would only need very little duplicated code.


>  • What is the current procedure to provide patches (for the rewrite
> branch)? Reading
> http://www.mediawiki.org/wiki/Manual:Pywikipediabot/Development didn’t
> solve this doubt of mine. I see there is a Patches section in SourceForge,
> is that the right place?
>

The best way is to push a patch to gerrit (see
https://www.mediawiki.org/wiki/Git ), or to submit a pull request on github
(from https://github.com/wikimedia/pywikibot-core , although I'm not 100%
sure pull request integration is enabled yet). You can also upload a patch
to SF.net, and someone will copy it to gerrit for you.

Best,
Merlijn
_______________________________________________
Pywikipedia-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l

Reply via email to