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

       Web browser: ---
            Bug ID: 60548
           Summary: wgRevisionId is 0 for edit page
           Product: MediaWiki
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: JavaScript
          Assignee: wikibugs-l@lists.wikimedia.org
          Reporter: mflasc...@wikimedia.org
                CC: krinklem...@gmail.com, matma....@gmail.com,
                    tpars...@wikimedia.org
    Classification: Unclassified
   Mobile Platform: ---

The JavaScript variable wgRevisionId is 0 when editing with the wikitext
editor.

It seems that logically, it should be the revision used as the basis of the
edit (the latest, or an oldid if that was used in the URL).

wgCurRevisionId (which is always the latest) is set.

-- 
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