Pages: make sure the edit action works with namespaces