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<http://botwiki.sno.cc/wiki/>
?

Many thanks!
Chris

On Wed, Nov 26, 2008 at 03:26, Daniel Herding <[EMAIL PROTECTED]> wrote:

> Dear Chris,
>
> Am Dienstag 25 November 2008 03:09:20 schrieb Chris Watkins:
> > If I run:
> > python replace.py -cat:"The Transition Handbook" "-- Please do not remove
> "
> > "!-- Please do not remove "
> >
> > ...t doesn't change anything.
>
> You can use HTML entities:
> python replace.py -cat:"The Transition Handbook" "-- Please do not
> remove " "&#33;-- 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
> [email protected]
> https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
>



-- 
Chris Watkins (a.k.a. Chriswaterguy)

Appropedia.org - Sharing knowledge to build rich, sustainable lives.

blogs.appropedia.org

I like this: five.sentenc.es
_______________________________________________
Pywikipedia-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l

Reply via email to