* Made Skin::userCanPreview() use Title::getUserPermissionsErrors() instead of Title...
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Thu, 21 Jul 2011 10:37:43 +0000 (10:37 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Thu, 21 Jul 2011 10:37:43 +0000 (10:37 +0000)
commitb5af0466b28b340102e9da31ce91c6cc606cd91e
treef8c23371e881ca783e611daf761bf107d904439f
parent51d0ffeb17d92ba9c3f486f801a98ac1e56d0607
* Made Skin::userCanPreview() use Title::getUserPermissionsErrors() instead of Title::userCanEditCssSubpage() and Title::userCanEditJsSubpage() so that the checks are the same as EditPage's ones
* Marked Title::userCanEditCssSubpage() and Title::userCanEditJsSubpage() as deprecated since these were the lasts calls to that functions (core and extensions)
* Get the action parameter from Skin::userCanPreview() instead of requesting it from the callers
includes/OutputPage.php
includes/Skin.php
includes/SkinTemplate.php
includes/Title.php