* (bug 11114) Fix regression in read-only mode error display during editing
authorBrion Vibber <brion@users.mediawiki.org>
Wed, 29 Aug 2007 18:11:17 +0000 (18:11 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Wed, 29 Aug 2007 18:11:17 +0000 (18:11 +0000)
commit37c99c10b4fcaf64bfe638c16cacf125a4c891c0
treee5f58d6956be13164fa29f70859e3bdf9d304c32
parent1e3b8049eb7e42de03e17562ac5a31cf6f1ffb27
* (bug 11114) Fix regression in read-only mode error display during editing
Regression caused by the new permissions error reporting system.
For read-only case, the read-only text didn't get passed back with the message from Title::getUserPermissionsErrors().
The text is either originally set in $wgReadOnly or gets loaded into it from $wgReadOnlyFile during wfReadOnly(), so pulling that it now gets passed back as expected.
Other functions using $wgOut->readOnlyPage() would have still got the original, still working, behavior.
RELEASE-NOTES
includes/EditPage.php
includes/Title.php