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

           Summary: Optional parameters for revision variable magic words
           Product: MediaWiki
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: General/Unknown
        AssignedTo: [email protected]
        ReportedBy: [email protected]


{{REVISIONDAY}}, {{REVISIONDAY2}}, {{REVISIONMONTH}}, {{REVISIONYEAR}},
{{REVISIONTIMESTAMP}}, and {{REVISIONUSER}} should all take an optional
parameter to specify those variables for specific revision IDs.

Also, {{REVISIONID}} should take an optional index parameter, so
{{REVISIONID:1}} gives the
first revision ID, {{REVISIONID:2}} gives the second, {{REVISIONID:0}} gives
the current revision ID just like {{REVISIONID}}, {{REVISIONID:-1}} gives the
previous revision ID, {{REVISIONID:-2}} gives the ID of the revision before the
previous revision, and so forth. (This would oblivate the need for bug 23427's
"FSTREVISIONID" 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

Reply via email to