dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
881a221
)
Apparently cvs forgot to commit this with the rest.
author
Arne Heizmann
<timwi@users.mediawiki.org>
Mon, 9 Aug 2004 08:21:34 +0000
(08:21 +0000)
committer
Arne Heizmann
<timwi@users.mediawiki.org>
Mon, 9 Aug 2004 08:21:34 +0000
(08:21 +0000)
index.php
patch
|
blob
|
history
diff --git
a/index.php
b/index.php
index
ce5420a
..
8341741
100644
(file)
--- a/
index.php
+++ b/
index.php
@@
-114,6
+114,7
@@
if ( $search = $wgRequest->getText( 'search' ) ) {
case "unprotect":
case "validate":
case "info":
case "unprotect":
case "validate":
case "info":
+ case "markpatrolled":
$wgArticle->$action();
break;
case "print":
$wgArticle->$action();
break;
case "print":
@@
-146,7
+147,7
@@
if ( $search = $wgRequest->getText( 'search' ) ) {
}
require_once( "includes/EditPage.php" );
$editor = new EditPage( $wgArticle );
}
require_once( "includes/EditPage.php" );
$editor = new EditPage( $wgArticle );
- $editor->
$action
();
+ $editor->
submit
();
break;
case "history":
if ($_SERVER["REQUEST_URI"] == $wgTitle->getInternalURL('action=history')) {
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
}
# 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();
# the client will wait until the script exits anyway before following the redirect.
foreach ( $wgDeferredUpdateList as $up ) {
$up->doUpdate();