https://bugzilla.wikimedia.org/show_bug.cgi?id=23427
Bawolff <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] Summary|Introduce magic word |Introduce magic word |{{FIRSTREVISIONID}} |{{ARTICLEID}} or {{PAGEID}} | |to give the page_id of the | |current page --- Comment #16 from Bawolff <[email protected]> 2011-02-03 01:24:12 UTC --- the article id seems unlikely to change given that it is the page_id in the page table), except during deletion/undeletion, which arguably is like creating a new page. At the very least it stays constant through edits which is what is requested. As an aside, an additional usecase for a {{PAGEID}} magic word, would be able to make short urls for a page using the curid url parameter (this would be useful on share this type templates, and is actually done on wikinews in js). Here's what I've drawn * the article id (aka the page_id in the page table) fulfills all the usecases requested in this bug, perhaps even better then firstrevisionid * FirstRevisionId is very unlikely to happen due to it being expensive to determine. Thus I'm changing the summary to be asking for {{ARTICLEID}} magic word -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
