Index: trunk/phase3/includes/specials/SpecialRandompage.php |
— | — | @@ -139,7 +139,7 @@ |
140 | 140 | $this->extra[] = $this->addExtraSQL(); |
141 | 141 | } |
142 | 142 | |
143 | | - $res = $dbr->doQuery( |
| 143 | + $res = $dbr->select( |
144 | 144 | 'page', |
145 | 145 | array( 'page_title', 'page_namespace' ), |
146 | 146 | array_merge( array( |