r23994 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r23993‎ | r23994 | r23995 >
Date:08:13, 11 July 2007
Author:nickj
Status:old
Tags:
Comment:
Cosmetic indentation + very trivial updates
Modified paths:
  • /trunk/phase3/maintenance/fuzz-tester.php (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/fuzz-tester.php
@@ -545,6 +545,8 @@
546546 "Image:",
547547 "[[:Image",
548548 'px',
 549+ 'upright=',
 550+ 'border',
549551
550552 // misc stuff to throw at the Parser.
551553 '%08X',
@@ -621,7 +623,7 @@
622624 "{{ns:0}}",
623625 "{{fullurle:",
624626 "}}",
625 - "{{subst:",
 627+ "{{subst::",
626628 "}}",
627629 "{{UCFIRST:",
628630 "}}",
@@ -2165,23 +2167,23 @@
21662168 */
21672169 class GeSHi_Test extends pageTest {
21682170
2169 - private function getGeSHiContent() {
2170 - return "<source lang=\"" . $this->getLang() . "\" "
2171 - . (wikiFuzz::randnum(2) == 0 ? "line " : "")
2172 - . (wikiFuzz::randnum(2) == 0 ? "strict " : "")
2173 - . "start=" . wikiFuzz::chooseInput( array(wikiFuzz::randnum(-6000,6000), wikifuzz::makeFuzz(2)) )
2174 - . ">"
2175 - . wikiFuzz::makeFuzz(2)
2176 - . "</source>";
2177 - }
 2171+ private function getGeSHiContent() {
 2172+ return "<source lang=\"" . $this->getLang() . "\" "
 2173+ . (wikiFuzz::randnum(2) == 0 ? "line " : "")
 2174+ . (wikiFuzz::randnum(2) == 0 ? "strict " : "")
 2175+ . "start=" . wikiFuzz::chooseInput( array(wikiFuzz::randnum(-6000,6000), wikifuzz::makeFuzz(2)) )
 2176+ . ">"
 2177+ . wikiFuzz::makeFuzz(2)
 2178+ . "</source>";
 2179+ }
21782180
2179 - private function getLang() {
2180 - return wikiFuzz::chooseInput( array( "actionscript", "ada", "apache", "applescript", "asm", "asp", "autoit", "bash", "blitzbasic", "bnf", "c", "c_mac", "caddcl", "cadlisp", "cfdg", "cfm", "cpp", "cpp-qt",
2181 - "csharp", "css", "d", "delphi", "diff", "div", "dos", "eiffel", "fortran", "freebasic", "gml", "groovy", "html4strict", "idl", "ini", "inno", "io", "java", "java5",
2182 - "javascript", "latex", "lisp", "lua", "matlab", "mirc", "mpasm", "mysql", "nsis", "objc", "ocaml", "ocaml-brief", "oobas", "oracle8", "pascal", "perl", "php",
2183 - "php-brief", "plsql", "python", "qbasic", "rails", "reg", "robots", "ruby", "sas", "scheme", "sdlbasic", "smalltalk", "smarty", "sql", "tcl", "text", "thinbasic",
2184 - "tsql", "vb", "vbnet", "vhdl", "visualfoxpro", "winbatch", "xml", "xpp", "z80", wikifuzz::makeFuzz(1) ) );
2185 - }
 2181+ private function getLang() {
 2182+ return wikiFuzz::chooseInput( array( "actionscript", "ada", "apache", "applescript", "asm", "asp", "autoit", "bash", "blitzbasic", "bnf", "c", "c_mac", "caddcl", "cadlisp",
 2183+ "cfdg", "cfm", "cpp", "cpp-qt", "csharp", "css", "d", "delphi", "diff", "div", "dos", "eiffel", "fortran", "freebasic", "gml", "groovy", "html4strict", "idl",
 2184+ "ini", "inno", "io", "java", "java5", "javascript", "latex", "lisp", "lua", "matlab", "mirc", "mpasm", "mysql", "nsis", "objc", "ocaml", "ocaml-brief", "oobas",
 2185+ "oracle8", "pascal", "perl", "php", "php-brief", "plsql", "python", "qbasic", "rails", "reg", "robots", "ruby", "sas", "scheme", "sdlbasic", "smalltalk", "smarty",
 2186+ "sql", "tcl", "text", "thinbasic", "tsql", "vb", "vbnet", "vhdl", "visualfoxpro", "winbatch", "xml", "xpp", "z80", wikifuzz::makeFuzz(1) ) );
 2187+ }
21862188
21872189 function __construct() {
21882190 $this->pagePath = "index.php?title=WIKIFUZZ";

Follow-up revisions

RevisionCommit summaryAuthorDate
r24096Merged revisions 23910-24094 via svnmerge from...david22:38, 14 July 2007

Status & tagging log