[Pywikipedia-l] -exceptinsidetag:header - no longer working

Chris Watkins chriswaterguy at appropedia.org
Thu Dec 22 07:21:16 UTC 2011


I have been using " -exceptinsidetag:header" with replace.py. This was
added by Daniel Herding in response to a request by me:

On Mon, Jun 30, 2008 at 23:11, Daniel Herding <DHerding at gmx.de> wrote:

>
>
> This will exclude wikilinks and URLs. There are some more things that can
> be
> excluded, see the source code of the method replaceExcept() in wikipedia.py
> (look at the exceptionRegexes dictionary). I have just added a regular
> expression for section headers for you, so if you're running the SVN
> version,
> you can use this parameter:
>
> -exceptinsidetag:header
>


I seem to recall this working in a nightly version a couple of years ago,
but it's not working now - I'm not sure when it stopped. Is it possible to
put it back in?

Thanks!


-- 
Chris Watkins

Appropedia.org - Sharing knowledge to build rich, sustainable lives.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wikimedia.org/pipermail/pywikipedia-l/attachments/20111222/45aa3eee/attachment.htm 


More information about the Pywikipedia-l mailing list