From: Aaron Schulz Date: Wed, 21 Mar 2007 20:06:45 +0000 (+0000) Subject: *Default selected type to 'edit' X-Git-Tag: 1.31.0-rc.0~53652 X-Git-Url: http://git.cyclocoop.org/%24href?a=commitdiff_plain;h=b9e0875a71f5238c95c9ad7e4d3a8f9c1f61ce8f;p=lhc%2Fweb%2Fwiklou.git *Default selected type to 'edit' --- diff --git a/includes/SpecialProtectedpages.php b/includes/SpecialProtectedpages.php index 91c978a860..d7d914d652 100644 --- 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() );