Check for $wgAllowUserCss and $wgAllowUserJs in EditPage.php
authorwithoutaname <drevitchi@gmail.com>
Mon, 16 Jun 2014 19:33:50 +0000 (12:33 -0700)
committerWithoutaname <drevitchi@gmail.com>
Fri, 20 Jun 2014 18:16:11 +0000 (18:16 +0000)
commit100936881aa3c622181b2b0a7d9da974aba46135
tree6dc382134871f0bc53ee0c51316c4decc75c3482
parent9643a0a92d893e6b6b4bf8d9c638438917d575af
Check for $wgAllowUserCss and $wgAllowUserJs in EditPage.php

This change checks for the truth values of $wgAllowUserCss and
$wgAllowUserJs before displaying the system/preview messages
userjsyoucanpreview, usercssyoucanpreview, userjspreview and
usercsspreview; if false, it will simply display the standard
messages used by other wiki pages.

Change-Id: I6a5fa8b29010f26435125479e72c423b5e4290f8
includes/EditPage.php