Bawolff <> changed:

           What    |Removed                     |Added
                 CC|                            |
            Summary|Introduce magic word        |Introduce magic word
                   |{{FIRSTREVISIONID}}         |{{ARTICLEID}} or {{PAGEID}}
                   |                            |to give the page_id of the
                   |                            |current page

--- Comment #16 from Bawolff <> 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

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

Thus I'm changing the summary to be asking for {{ARTICLEID}} magic word

Configure bugmail:
------- 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

Reply via email to