From 58536527c7ef0f3c4798b33c06a1e0a482cac5b9 Mon Sep 17 00:00:00 2001 From: Rob Church Date: Thu, 4 Oct 2007 20:54:35 +0000 Subject: [PATCH] (bug 11561) Don't throw a PHP fatal error when non-existent "revert" action attempted --- RELEASE-NOTES | 5 +++-- includes/Wiki.php | 1 - 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 6d395da19c..a845bcb90a 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -86,8 +86,9 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN * Compatibility with incorrectly detected old-style DJVU mime types * (bug 11560) Fix broken HTML output from weird link nesting in edit comments. Nested links (as in image caption text) still don't work _right_ but they're - less wrong. - + less wrong +* (bug 11561) Don't throw a PHP fatal error when non-existent "revert" action + attempted === API changes in 1.12 === diff --git a/includes/Wiki.php b/includes/Wiki.php index 72a6a61db8..037bc4af6a 100644 --- a/includes/Wiki.php +++ b/includes/Wiki.php @@ -385,7 +385,6 @@ class MediaWiki { case 'watch': case 'unwatch': case 'delete': - case 'revert': case 'rollback': case 'protect': case 'unprotect': -- 2.20.1