summaryrefslogtreecommitdiff
path: root/maintenance/fuzz-tester.php
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2013-01-18 16:46:04 +0100
committerPierre Schmitz <pierre@archlinux.de>2013-01-18 16:46:04 +0100
commit63601400e476c6cf43d985f3e7b9864681695ed4 (patch)
treef7846203a952e38aaf66989d0a4702779f549962 /maintenance/fuzz-tester.php
parent8ff01378c9e0207f9169b81966a51def645b6a51 (diff)
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
Diffstat (limited to 'maintenance/fuzz-tester.php')
-rw-r--r--maintenance/fuzz-tester.php6
1 files changed, 3 insertions, 3 deletions
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 ),