Author: software
Description:
Special:MostLinkedPages appears to be broken:
Fatal error: Call to a member function getPrefixedDBkey() on a
non-object in mediawiki/includes/specials/SpecialMostlinked.php on
line 64
This can be fixed by changing the original code:
function makeWlhLink( &$title, $caption, &$skin ) { $wlh = SpecialPage::getTitleFor( 'Whatlinkshere', $title->getPrefixedDBkey() ); return $skin->makeKnownLinkObj( $wlh, $caption ); }
to:
function makeWlhLink( &$title, $caption, &$skin ) { $wlh = SpecialPage::getTitleFor( 'Whatlinkshere', $title ); return $skin->makeKnownLinkObj( $wlh, $caption ); }
The bug is currently present in the CVS repository, see /trunk/phase3/includes/specials/SpecialMostlinked.php
Regards,
Freek Dijkstra
Version: 1.16.x
Severity: normal