Fix backlink for RevertAction
authorumherirrender <umherirrender_de.wp@web.de>
Sun, 3 Aug 2014 20:04:45 +0000 (22:04 +0200)
committerKrinkle <krinklemail@gmail.com>
Fri, 5 Dec 2014 14:28:18 +0000 (14:28 +0000)
commit7da1cbc78c071c80cbd53f8c96baeee49ac20f59
tree5e12c0ec30ace24cf56c38965ac2d25bccd34491
parent564c585eb9f738939a1237eaa6b63292a6c49fe3
Fix backlink for RevertAction

RevertAction::getDescription cannot set subtitle on OutputPage,
because the subtitle on OutputPage gets cleared before the
result of getDescription is added and than the subtitle is gone.

Refactored the code for building the backlink into a static function
and use it.

Change-Id: Iedad0b8e040035a9a10a0b140d2322357e6b539a
includes/OutputPage.php
includes/actions/RevertAction.php