On 07/05/2008, Thomas Dalton <thomas.dalton(a)gmail.com> wrote:
2008/5/7 Daniel Barrett <danb(a)vistaprint.com>om>:
How about a foreach loop through the array of
namespaces, then change the exceptions afterward?
No point - the exceptions list would be just as long as doing it the
other way around. There's a talk namespace for every non-talk one.
As always, the idea comes to me just as I click send... I think
non-talk namespaces generally have even IDs and talk namespaces odd
ones. If that really is the case, then you can do a foreach loop and
check if the id is even or odd (using "foo % 2 == 0" or whatever it is
in php) and set the protection accordingly.