Last modified: 2011-04-14 15:10:58 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T27315, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 25315 - Add hook 'SpecialNewpagesOutput'
Add hook 'SpecialNewpagesOutput'
Status: NEW
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
1.17.x
All All
: Low trivial (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: 25282
  Show dependency treegraph
 
Reported: 2010-09-26 03:07 UTC by Dan Jacobson
Modified: 2011-04-14 15:10 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Dan Jacobson 2010-09-26 03:07:55 UTC
In SpecialNewpages.php we find

  // Allow changes to the New Pages query
  wfRunHooks('SpecialNewpagesConditions', array(&$this, $this->opts, &$conds));

but alas no

  // Allow changes to the New Pages output
  wfRunHooks('SpecialNewpagesOutput', // (or call it 'SpecialNewpagesRow')

I.e., no way there in

      public function formatRow( $result ) {

for us to get our hands on one the components of

    return "<li{$css}>{$time} {$dm}{$plink} {$hist} {$dm}{$length} {$dm}{$ulink} {$comment} {$tagDisplay}</li>\n";

to tweak it before they are all stuck together, nor afterwords for that matter either.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links