* When visiting a "red link" of a deleted file, a deletion and move log excerpt
is provided on the Upload form.
* (bug 22647) Add category details in search results.
+* (bug 23276) Add hook to Special:NewPages to modify query
=== Bug fixes in 1.17 ===
* (bug 17560) Half-broken deletion moved image files to deletion archive
$oldTitle: old title (object)
$newTitle: new title (object)
+'SpecialNewpagesConditions': called when building sql query for Special:NewPages
+&$special: NewPagesPager object (subclass of ReverseChronologicalPager)
+&opts: FormOptions object containing special page options
+&$conds: array of WHERE conditionals for query
+
'SpecialPage_initList': called when setting up SpecialPage::$mList, use this
hook to remove a core special page
$list: list (array) of core special pages
if ( $this->opts->getValue( 'hideredirs' ) ) {
$conds['page_is_redirect'] = 0;
}
+
+ // Allow changes to the New Pages query
+ wfRunHooks('SpecialNewpagesConditions', array(&$this, $this->opts, &$conds));
$info = array(
'tables' => array( 'recentchanges', 'page' ),