Okay, makes sense.
I see now that it's possible to use the text version as a parameter, which is nice (for example -namespace:Appropedia or -"namespace:Appropedia talk" )
Chris
* It's shorter.
* Obviously, you don't have to know the namespace name to work on a
specific wiki
* MediaWiki uses integers. (
http://en.wikipedia.org/w/index.php?title=Special%3APrefixIndex&from=&namespace=0
)
2008/7/2 Chris Watkins <chriswaterguy@appropedia.org>:
-->
>
> On Wed, Jul 2, 2008 at 12:42 PM, Andre Engels <andreengels@gmail.com> wrote:
>>
>> On Wed, Jul 2, 2008 at 10:48 AM, Chris Watkins
>
>
>
>> > I'm trying to get a deeper understanding here - what is the purpose of
>> > this?
>>
>> If you want to let the bot run on all pages, or all pages in a certain
>> range, it will use [[Special:Allpages]]. There you only get pages from
>> one namespace. By telling the bot what is a namespace, it can then
>> choose to get pages from that namespace instead of the default one.
>> Whether or not this is useful for your application of course depends
>> on what use you make of the framework.
>
>
> Thanks. Is there any reason that the namespace parameter requires a number?
> I would seem simpler to me to just use the text form (e.g.
> -namespace:Appropedia_talk ) and not need to have this code in the family
> file.
>
> Not an important question, more from curiosity.
>
> Chris
>>
>>
>>
>> --
>> Andre Engels, andreengels@gmail.com
>> ICQ: 6260644 -- Skype: a_engels
>>
>> _______________________________________________
>> Pywikipedia-l mailing list
>> Pywikipedia-l@lists.wikimedia.org
>> https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
>
>
>>
>> I'm trying to get a deeper understanding here - what is the purpose of
>> this?
>
> If you want to let the bot run on all pages, or all pages in a certain
> range, it will use [[Special:Allpages]]. There you only get pages from
> one namespace. By telling the bot what is a namespace, it can then
> choose to get pages from that namespace instead of the default one.
> Whether or not this is useful for your application of course depends
> on what use you make of the framework.
>
>
>
> --
> 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
> _______________________________________________
> Pywikipedia-l mailing list
> Pywikipedia-l@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
>
>
Nicolas Dumazet — NicDumZ [ nIk.d̪ymz ]
pywikipedia & mediawiki
Deuxième année ENSIMAG.
06 03 88 92 29
_______________________________________________
Pywikipedia-l mailing list
Pywikipedia-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l