From: Arne Heizmann Date: Mon, 9 Aug 2004 08:21:34 +0000 (+0000) Subject: Apparently cvs forgot to commit this with the rest. X-Git-Tag: 1.5.0alpha1~2451 X-Git-Url: http://git.cyclocoop.org/url?a=commitdiff_plain;h=09770282d2deb109e358421c28fc8179f1cbc275;p=lhc%2Fweb%2Fwiklou.git Apparently cvs forgot to commit this with the rest. --- diff --git a/index.php b/index.php index ce5420a0cf..8341741b3b 100644 --- a/index.php +++ b/index.php @@ -114,6 +114,7 @@ if ( $search = $wgRequest->getText( 'search' ) ) { case "unprotect": case "validate": case "info": + case "markpatrolled": $wgArticle->$action(); break; case "print": @@ -146,7 +147,7 @@ if ( $search = $wgRequest->getText( 'search' ) ) { } require_once( "includes/EditPage.php" ); $editor = new EditPage( $wgArticle ); - $editor->$action(); + $editor->submit(); break; case "history": if ($_SERVER["REQUEST_URI"] == $wgTitle->getInternalURL('action=history')) { @@ -173,7 +174,7 @@ if ( $search = $wgRequest->getText( 'search' ) ) { } # Deferred updates aren't really deferred anymore. It's important to report errors to the -# user, and that means doing this before OutputPage::output(). Note that for page saves, +# user, and that means doing this before OutputPage::output(). Note that for page saves, # the client will wait until the script exits anyway before following the redirect. foreach ( $wgDeferredUpdateList as $up ) { $up->doUpdate();