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

           Summary: rename curid and wgArticleId to pageid
           Product: MediaWiki
           Version: wikimedia-deployment
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: General/Unknown
        AssignedTo: wikibugs-l@lists.wikimedia.org
        ReportedBy: wal...@email.com


curid is an url parameter to index.php. wgArticleId is a JavaScript variable
present in the source code. Both refer to the page_id property of the page in
the database.

They should be renamed to pageid/pageId, for clarity (especially wrt curid) and
consistency (to match page_id in the database and the pageids API parameter).

To complete the set, a magic word would be nice, such as {{PAGEID}}, as simply
a wrapper around wgPageId.

ps - I suppose old names could be kept as aliases for backwards-compatibility.

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to