isExpensive get default value
[lhc/web/wiklou.git] / includes / SpecialExport.php
index 688679d..06aa57d 100644 (file)
@@ -43,7 +43,7 @@ function wfSpecialExport( $page = "" ) {
 <form method='post' action=\"$action\">
 <input type='hidden' name='action' value='submit' />
 <textarea name='pages' cols='40' rows='10'></textarea><br />
-<label><input type='checkbox' name='curonly' value='true' checked />
+<label><input type='checkbox' name='curonly' value='true' checked='checked' />
 " . wfMsg( "exportcuronly" ) . "</label><br />
 <input type='submit' />
 </form>
@@ -64,7 +64,7 @@ function pages2xml( $pages, $curonly = false ) {
 }
 
 function page2xml( $page, $curonly, $full = false ) {
-       global $wgInputCharset, $wgLang;
+       global $wgLang;
        $title = Title::NewFromText( $page );
        if( !$title ) return "";
        $t = wfStrencode( $title->getDBKey() );