On Mon, Aug 11, 2008 at 10:40 PM, Andre Engels <andreengels@gmail.com> wrote:
On Mon, Aug 11, 2008 at 8:51 PM, Chris Watkins
<chriswaterguy@appropedia.org> wrote:
> Hi - how do I restrict the bot to making changes in certain namespaces? I
> can comment out certain namespaces in the family file, but that doesn't deal
> with (say) user or user_talk namespaces.

I don't think there's a single solution... Which bot are you using and
with what command line options?

Not exactly sure what you mean by bot... I'm using Pywikipedia, but I guess bot would refer to "replace.py"?

Examples of the commands I'm using are:

python replace.py -regex "(?s)appropriate technology(.*$)" "[[appropriate technology]]\\1" -xml:currentdump.xml -exceptinsidetag:link -exceptinsidetag:hyperlink -exceptinsidetag:header

and

python redirect.py double -always

Thanks,
Chris


--
André Engels, andreengels@gmail.com
_______________________________________________
Pywikipedia-l mailing list
Pywikipedia-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l



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

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

Blog: chriswaterguy.livejournal.com/

Buying at Amazon, eBay etc? Start at http://appropedia.maatiam.com and a percentage of your purchase supports Appropedia - at no extra cost.

Where men are the most sure and arrogant, they are commonly the most mistaken, and have there given reins to passion, without that proper deliberation and suspense, which can alone secure them from the grossest absurdities.  -- David Hume