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:
4a34fb1
)
r91942: Add nosuchaction also if action not in
author
Leo Koppelkamm
<diebuche@users.mediawiki.org>
Tue, 12 Jul 2011 09:58:15 +0000
(09:58 +0000)
committer
Leo Koppelkamm
<diebuche@users.mediawiki.org>
Tue, 12 Jul 2011 09:58:15 +0000
(09:58 +0000)
includes/Wiki.php
patch
|
blob
|
history
diff --git
a/includes/Wiki.php
b/includes/Wiki.php
index
97572f1
..
41405d1
100644
(file)
--- a/
includes/Wiki.php
+++ b/
includes/Wiki.php
@@
-270,7
+270,7
@@
class MediaWiki {
$action = $request->getVal( 'action', 'view' );
// Check for disabled actions
- if ( in_array( $action, $wgDisabledActions ) ) {
+ if ( in_array( $action, $wgDisabledActions )
|| !in_array( $action, $wgActions )
) {
$action = 'nosuchaction';
} elseif ( $action === 'historysubmit' ) {
// Workaround for bug #20966: inability of IE to provide an action dependent