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:
3664cf0
)
*Default selected type to 'edit'
author
Aaron Schulz
<aaron@users.mediawiki.org>
Wed, 21 Mar 2007 20:06:45 +0000
(20:06 +0000)
committer
Aaron Schulz
<aaron@users.mediawiki.org>
Wed, 21 Mar 2007 20:06:45 +0000
(20:06 +0000)
includes/SpecialProtectedpages.php
patch
|
blob
|
history
diff --git
a/includes/SpecialProtectedpages.php
b/includes/SpecialProtectedpages.php
index
91c978a
..
d7d914d
100644
(file)
--- a/
includes/SpecialProtectedpages.php
+++ b/
includes/SpecialProtectedpages.php
@@
-93,6
+93,7
@@
class ProtectedPagesForm {
*/
function showOptions( $namespace, $type, $level ) {
global $wgScript;
+ $type = ( $type ) ? $type : 'edit';
$action = htmlspecialchars( $wgScript );
$title = SpecialPage::getTitleFor( 'ProtectedPages' );
$special = htmlspecialchars( $title->getPrefixedDBkey() );