It's pretty easy to write a bit of python around page.move(newtitle,
comment) and have that ready to call from a commandline. That's how I
do mass file renames on the fly.

My script is for compat and is too nasty to share publicly but as it
works I don't want to invest time making it pretty. I can send it to
you, if you want to hack it down and use it as the basis of something
to put on github.

Fae

On 6 February 2016 at 12:28, Adrián Chaves Fernández
<[email protected]> wrote:
> This feature is not supported as of today. I made an attempt some time ago,
> but I am abandoning it now: https://gerrit.wikimedia.org/r/#/c/182444/
>
> Feel free to take over.
>
> 2016-01-06 22:01 GMT+01:00 Bináris <[email protected]>:
>>
>> Hi,
>>
>> I was just thinking about renaming articles in the way we change text by
>> replace.py.
>> I use replace.py for correcting spelling errors. They may appear as well
>> in titles. Is there a way to correct misspelled titles using the flexibility
>> and robustness of replace.py and fixes.py?
>>
>> I can use them to search such articles without renaming, if I replace
>> space to anything and write the regex to 'require-title' exception list, but
>> it only allows one regex (being the listed expressions in AND relation),
>> which is not really comfortable.
>>
>> --
>> Bináris
-- 
[email protected] http://j.mp/faewm

_______________________________________________
pywikibot mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot

Reply via email to