newbie here, I used the hack described here for php to not have to worry about the namespaces:
http://www.php.net/manual/en/domxpath.query.php#103461
it involves registering a custom namespace, then modifying your query to always use it. instead of the preg_replace you could just put your namespace in your expression manually.
Is there a plan to turn the namespacing default-on and use a parameter to turn it off instead in the future?
- Finlay
On Thu, Oct 6, 2011 at 4:43 PM, Roan Kattouw roan.kattouw@gmail.com wrote:
On Thu, Oct 6, 2011 at 10:24 PM, Nicolas Vervelle nvervelle@gmail.com wrote:
Any estimation for the delay before r99135 will be deployed ? It's to know if it's useful for me to make changes in my tool to deal with the new namespace.
I'm deploying it right now.
Roan
Mediawiki-api mailing list Mediawiki-api@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-api