Reedy has submitted this change and it was merged. Change subject: (bug 43008) Show error to user if content type doesn't support sections. ......................................................................
(bug 43008) Show error to user if content type doesn't support sections. When trying to edit a page that does not support sections (like a JS or CSS page) with section=new or so, show an informative error page instead of dying with a fatal error. Change-Id: I3d2901b715c10b52fab4fdc6b5e9ab5d887610bd --- M includes/EditPage.php 1 file changed, 11 insertions(+), 4 deletions(-) Approvals: Reedy: Verified; Looks good to me, approved -- To view, visit https://gerrit.wikimedia.org/r/44982 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I3d2901b715c10b52fab4fdc6b5e9ab5d887610bd Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/core Gerrit-Branch: wmf/1.21wmf8 Gerrit-Owner: Reedy <[email protected]> Gerrit-Reviewer: Daniel Kinzler <[email protected]> Gerrit-Reviewer: Reedy <[email protected]> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
