Page MenuHomePhabricator

LinkSearch often doesn't show up in list of special pages
Closed, ResolvedPublic

Description

Author: hempel

Description:
Currently it has a very unusual way of registering itself as a special page,
which often doesn't work. making it use the recommended way specified in
SpecialPage.php makes it work consistently.
It requires changing the area around line 21 of LinkSearch.php to:

	$wgSpecialPages['Linksearch'] = array ('SpecialPage', 'Linksearch');

Version: unspecified
Severity: normal

Details

Reference
bz6800

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:21 PM
bzimport set Reference to bz6800.
bzimport added a subscriber: Unknown Object (MLST).

gunter.schmidt wrote:

I can confirm this bug. Maybe it is due to the german localization.

Used 1.9 and 1.10 with LinkSearch of today.

gunter.schmidt wrote:

The require_once call has to be placed before all other extension calls.

robchur wrote:

(In reply to comment #3)

The require_once call has to be placed before all other extension calls.

Not an acceptable workaround; extensions MUST NOT interfere with other code in a
negative fashion.

This will have been fixed a couple weeks ago; several extensions were not
returning correct code from hook, thus aborting other extensions. :)