private function getGeSHiContent() { return "<source lang=\"" . $this->getLang() . "\" " . (wikiFuzz::randnum(2) == 0 ? "line " : "") . (wikiFuzz::randnum(2) == 0 ? "strict " : "") . "start=" . wikiFuzz::chooseInput(array(wikiFuzz::randnum(-6000, 6000), wikifuzz::makeFuzz(2))) . ">" . wikiFuzz::makeFuzz(2) . "</source>"; }
function __construct() { $this->pagePath = "index.php?title=Special:CategoryTree"; $this->params = array("target" => wikifuzz::makeFuzz(2), "from" => wikifuzz::makeFuzz(2), "until" => wikifuzz::makeFuzz(2), "showas" => wikifuzz::makeFuzz(2), "mode" => wikiFuzz::chooseInput(array("pages", "categories", "all", wikifuzz::makeFuzz(2)))); // sometimes we do want to specify certain parameters. if (wikiFuzz::randnum(5) == 0) { $this->params["notree"] = wikiFuzz::chooseInput(array("1", 0, "", wikiFuzz::makeFuzz(2))); } }