I wnated to know how to get the page_id of the page being currently edited and also the user_id if present.
Thanks, -- Amruta
Amruta Lonkar wrote:
I wnated to know how to get the page_id of the page being currently edited and also the user_id if present.
Context for the code in question is required.
Is this in MediaWiki core code?
In a parser hook extension?
In a custom skin?
In template in code?
In client-side javascript code?
In client-side user-agent-level bot code?
What do you need the information for and what would you do with it?
-- brion vibber (brion @ pobox.com)
wikitech-l@lists.wikimedia.org