From 63601400e476c6cf43d985f3e7b9864681695ed4 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Fri, 18 Jan 2013 16:46:04 +0100 Subject: Update to MediaWiki 1.20.2 this update includes: * adjusted Arch Linux skin * updated FluxBBAuthPlugin * patch for https://bugzilla.wikimedia.org/show_bug.cgi?id=44024 --- maintenance/fuzz-tester.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'maintenance/fuzz-tester.php') diff --git a/maintenance/fuzz-tester.php b/maintenance/fuzz-tester.php index d87d6281..1c96a571 100644 --- a/maintenance/fuzz-tester.php +++ b/maintenance/fuzz-tester.php @@ -181,7 +181,7 @@ TODO: // ///////////////////////// COMMAND LINE HELP //////////////////////////////////// // This is a command line script, load MediaWiki env (gives command line options); -require_once( dirname( __FILE__ ) . '/commandLine.inc' ); +require_once( __DIR__ . '/commandLine.inc' ); // if the user asked for an explanation of command line options. if ( isset( $options["help"] ) ) { @@ -381,7 +381,6 @@ class wikiFuzz { "br" => array( "CLASS", "ID", "STYLE", "title", "clear" ), "cite" => array( "CLASS", "ID", "STYLE", "lang", "dir", "title" ), "var" => array( "CLASS", "ID", "STYLE", "lang", "dir", "title" ), - "dl" => array( "CLASS", "ID", "STYLE", "lang", "dir", "title" ), "ruby" => array( "CLASS", "ID", "STYLE", "lang", "dir", "title" ), "rt" => array( "CLASS", "ID", "STYLE", "lang", "dir", "title" ), "rp" => array( "CLASS", "ID", "STYLE", "lang", "dir", "title" ), @@ -817,7 +816,7 @@ class wikiFuzz { * Returns the matched character slash-escaped as in a C string * Helper for makeTitleSafe callback * @param $matches - * @return atring + * @return string */ static private function stringEscape( $matches ) { return sprintf( "\\x%02x", ord( $matches[1] ) ); @@ -1360,6 +1359,7 @@ class viewPageTest extends pageTest { "rdfrom" => wikiFuzz::makeFuzz( 2 ), // things from Article.php from here on: "token" => wikiFuzz::makeFuzz( 2 ), "tbid" => wikiFuzz::makeFuzz( 2 ), + // @todo FIXME: Duplicate array key. "action" => wikiFuzz::chooseInput( array( "purge", wikiFuzz::makeFuzz( 2 ) ) ), "wpReason" => wikiFuzz::makeFuzz( 2 ), "wpEditToken" => wikiFuzz::makeFuzz( 2 ), -- cgit v1.2.2