Added {{REVISIONSIZE}} variable to get the current size of a revision.
authorumherirrender <umherirrender_de.wp@web.de>
Wed, 4 Sep 2013 19:09:36 +0000 (21:09 +0200)
committerReedy <reedy@wikimedia.org>
Sat, 21 Sep 2013 02:49:35 +0000 (03:49 +0100)
commit35065c9db563349bf5f84c9c1cc1853f7e37431b
tree4bfdba968740c9b7b8399285242bd1a38b436fc8
parent3d8bfee35b02b1df5e439e9318966a00defc980c
Added {{REVISIONSIZE}} variable to get the current size of a revision.

This avoids giving the own page name to {{PAGESIZE:}} and allows
PAGESIZE on subst: to give the size before save.

Viewing a oldid page will give the corresponding size to that revision.
(Like REVISIONUSER or REVISIONTIMESTAMP)

This partially reverts Idfac13de37d05317f65e4131534543e66cf74873
because there is no need to let PAGESIZE handle extra, when the given
title is the own page.

Change-Id: If9e608d54904c21ac6b095e91ff6e0a15da0fb4c
RELEASE-NOTES-1.22
includes/MagicWord.php
includes/parser/CoreParserFunctions.php
includes/parser/Parser.php
languages/messages/MessagesEn.php