<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>
}
function page2xml( $page, $curonly, $full = false ) {
- global $wgInputCharset, $wgLang;
+ global $wgLang;
$title = Title::NewFromText( $page );
if( !$title ) return "";
$t = wfStrencode( $title->getDBKey() );