Add class to EditPage text area when editing an old revision
authorcenarium <cenarium.sysop@gmail.com>
Wed, 20 Jan 2016 20:43:47 +0000 (21:43 +0100)
committerChad <chadh@wikimedia.org>
Tue, 25 Oct 2016 19:36:54 +0000 (19:36 +0000)
commit81698d4c1605f491709e636acd5ca0e6857e3821
treea52af890b978e3d440e45a2fd6b658209c418a65
parent4290f686c07265d40718fc3358f196de41bbde57
Add class to EditPage text area when editing an old revision

This adds a class 'mw-textarea-oldrev' to the editing area when an old
page revision is edited. It seems that the warning MediaWiki:Editingold
is not sufficient for some users and some css tweaks might be
appreciated, as is already done for protected pages.

Bug: T124226
Change-Id: Ifc53af0f827a5cebfd9cc220b0aa247210e8dcfc
includes/EditPage.php