DragoonWraith and Daniel - very clever solutions.
These should be documented - maybe in a few weeks I'll take some of the things I've learnt on this list and add them to the MediaWiki.org pages. I assume that's the main place - or should it go on the Botwiki?
Many thanks!
Chris
Dear Chris,
Am Dienstag 25 November 2008 03:09:20 schrieb Chris Watkins:
> If I run:You can use HTML entities:
> python replace.py -cat:"The Transition Handbook" "-- Please do not remove "
> "!-- Please do not remove "
>
> ...t doesn't change anything.
python replace.py -cat:"The Transition Handbook" "-- Please do notremove " "!-- Please do not remove "
The downside of this is that the HTML entity will be in the wiki source code.
If you do, however, enable the cosmetic changes, the entity will
automatically be converted to an exclamation mark before saving to the wiki.
Just add this line to your user-config.py:
cosmetic_changes = True
Cheers
Daniel
_______________________________________________
Pywikipedia-l mailing list
Pywikipedia-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l