Add Special::Search hook for detecting successful "Go"
Closed, ResolvedPublic

Description

specials/SpecialSearch.php has hooks for dealing with successful and unsuccessful searches, and with unsuccessful "Go" operations. However, it has no hook for handling successful "Go" operations that jump directly to the found page. Please add a hook.

Attached is a proposed patch against 1.15.3.


Version: 1.16.x
Severity: enhancement

bzimport added a project: MediaWiki-Search.Via ConduitNov 21 2014, 11:05 PM
bzimport added a subscriber: wikibugs-l.
bzimport set Reference to bz23206.
maiden_taiwan created this task.Via LegacyApr 15 2010, 8:21 PM
maiden_taiwan added a comment.Via ConduitApr 15 2010, 8:22 PM

Created attachment 7295
Patch against 1.15.3

attachment diff.txt ignored as obsolete

maiden_taiwan added a comment.Via ConduitApr 15 2010, 8:23 PM

Created attachment 7296
Patch against 1.15.3

attachment diff.txt ignored as obsolete

maiden_taiwan added a comment.Via ConduitApr 15 2010, 8:24 PM

Created attachment 7297
Patch against 1.15.3

Attached: diff.txt

Reedy added a comment.Via ConduitApr 16 2010, 10:20 AM

Fixed in r65114

Reedy added a comment.Via ConduitDec 12 2010, 8:18 PM

Ping followup in r78268

Hook moved and renamed

Add Comment

Column Prototype
This is a very early prototype of a persistent column. It is not expected to work yet, and leaving it open will activate other new features which will break things. Press "\" (backslash) on your keyboard to close it now.