Author: michael.axelrod
Description:
After $wgRawHtml is enabled The message [[MediaWiki:Session fail preview html]]
is displayed all the time when editing an non-existent category page (might be a
problem with regular pages too, can't recall at the moment) even if the session
context is fine. (Cookie is present). We have enabled $wgRawHtml for use on an
intranet Mediawiki site and having this message displayed all the time is
annoying and confuses the users.
As a work around I have simply edited the message and replaced it with a null
text string. But I suspect the bug should be addressed.
I suspect the problem might be in the code of EditPage.php around lines 513 and
Steps to recreate this bug:
- Log in
- edit a new page and add a link to a category page that has articles in the
category but no actual category page content has ever been created.
- click on the link to the category page.
- note the warning message.
I'm not so sure it is neccessary to see this warning message if the user is
logged in.
If this is not a bug then perhaps there could be some thinking done around what
to do for people in my situation. (flag to turn off the warning, document the
work around etc...)
BTW the documentation around $wgRawHtml is very weak....
Version: 1.8.x
Severity: normal