Index: trunk/phase3/maintenance/fuzz-tester.php |
— | — | @@ -545,6 +545,8 @@ |
546 | 546 | "Image:", |
547 | 547 | "[[:Image", |
548 | 548 | 'px', |
| 549 | + 'upright=', |
| 550 | + 'border', |
549 | 551 | |
550 | 552 | // misc stuff to throw at the Parser. |
551 | 553 | '%08X', |
— | — | @@ -621,7 +623,7 @@ |
622 | 624 | "{{ns:0}}", |
623 | 625 | "{{fullurle:", |
624 | 626 | "}}", |
625 | | - "{{subst:", |
| 627 | + "{{subst::", |
626 | 628 | "}}", |
627 | 629 | "{{UCFIRST:", |
628 | 630 | "}}", |
— | — | @@ -2165,23 +2167,23 @@ |
2166 | 2168 | */ |
2167 | 2169 | class GeSHi_Test extends pageTest { |
2168 | 2170 | |
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 | + } |
2178 | 2180 | |
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 | + } |
2186 | 2188 | |
2187 | 2189 | function __construct() { |
2188 | 2190 | $this->pagePath = "index.php?title=WIKIFUZZ"; |