https://bugzilla.wikimedia.org/show_bug.cgi?id=27757

--- Comment #10 from John Du Hart <[email protected]> 2011-07-29 14:25:10 UTC 
---
The reason right now they're hardcoded is because by default the hook in that
function expects the get*Token function will get a pageid and title. The point
of this module is to be able to get tokens without needed a page(id), so unless
we just pass a random page to satisfy tokens it doesn't seem a good idea to me.

Maybe we should just restructure the ApiQueryInfo module getToken functions to
not need page info, but that's a bigger task and would warrent developer
consenus.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

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

Reply via email to