Revert r39055 for now "Optional 'edit notices' on a per-namespace and per-page basis...
authorBrion Vibber <brion@users.mediawiki.org>
Sun, 10 Aug 2008 20:01:38 +0000 (20:01 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Sun, 10 Aug 2008 20:01:38 +0000 (20:01 +0000)
commitbd4245c32e7694c07a26ce5691d040bc0b78dcb2
treeefe0244ed4cc422d09bb4faf04586d4d8075dd6c
parentf19dca7bba7fc9334528141f4a923782e42db800
Revert r39055 for now "Optional 'edit notices' on a per-namespace and per-page basis, per feature request 15102"

Sanitizer::escapeClass() isn't really suitable for constructing message key names; a lot of names won't be easy to predict and it would be difficult for people to set up a custom message for, say, a page name containing punctuation or non-ASCII characters.

The check for message availability is using wfMsgForContent() for the content language, but then the output is done via $wgOut->addWikiMsg() which will use the UI language. Is this the desired behavior?
includes/EditPage.php