Index: trunk/phase3/includes/specials/SpecialRandompage.php |
— | — | @@ -88,7 +88,7 @@ |
89 | 89 | $redirect = $this->isRedirect() ? 1 : 0; |
90 | 90 | |
91 | 91 | $extra = $wgExtraRandompageSQL ? "AND ($wgExtraRandompageSQL)" : ""; |
92 | | - $extra .= $this->addExtraSQL() ? "AND (".$this-addExtraSQL().")" : ""; |
| 92 | + $extra .= $this->addExtraSQL() ? "AND (".$this->addExtraSQL().")" : ""; |
93 | 93 | $sql = "SELECT page_title, page_namespace |
94 | 94 | FROM $page $use_index |
95 | 95 | WHERE page_namespace IN ( $ns ) |