On Tue, 22 Nov 2011 06:15:27 -0800, Bergi <[email protected]> wrote:

> Daniel Friesen schrieb:
>> testing if a title is in any of a number of
>> namespaces by using in_array you can use inNamespaces (note the 's'):
>> $title->inNamespace( NS_USER, NS_TEMPLATE );            ^^^^^^^^^^^^
>                       ^
> Did you miss something?
>   Bergi

Heh, sure.

Maybe I should reconsider my decision to separate inNamespaces from  
inNamespace?

-- 
~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://daniel.friesen.name]

_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to