Add wgRevisionId variable to ResourceLoader
authorparent5446 <tylerromeo@gmail.com>
Mon, 26 Aug 2013 18:52:23 +0000 (14:52 -0400)
committerTyler Anthony Romeo <tylerromeo@gmail.com>
Tue, 24 Sep 2013 23:34:42 +0000 (19:34 -0400)
commit7fa7b71eb3a5dd24e75865162e4c06a4a6012524
tree9c31426ad6f08e01aa20e6fc9ef89d3295dda9e0
parent05abdd7be2514a9d1d06019fb03b71840c9390ee
Add wgRevisionId variable to ResourceLoader

mw.config provides wgCurRevisionId, which has the latest
revision number. This adds wgRevisionId, which indicates
the revision number currently being viewed. This is useful
when looking at old revisions.

Bug: 51594
Change-Id: Ie0d00f3a9a8af8533ab28204b5bb483a0092c710
includes/OutputPage.php