(bug 43008) Show error to user if content type doesn't support sections.
authordaniel <daniel.kinzler@wikimedia.de>
Thu, 13 Dec 2012 21:16:05 +0000 (22:16 +0100)
committerGerrit Code Review <gerrit@wikimedia.org>
Mon, 21 Jan 2013 14:37:05 +0000 (14:37 +0000)
commit703752db95eeb841661602b9e17772885396fc29
treea34eab1c9faf6d2adec3a3df7b9c3ae1b0b6a1c2
parent58bff0230af970775020b5647e9ce343f89ed1cd
(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
includes/EditPage.php