r61152 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r61151‎ | r61152 | r61153 >
Date:23:32, 16 January 2010
Author:platonides
Status:deferred
Tags:
Comment:
It isn't overriding the go search. It is only called if the default checks are unable to find anything. For overriding you need r61150 SearchGetNearMatchBefore hook.
Modified paths:
  • /trunk/extensions/TitleKey/TitleKey_body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/TitleKey/TitleKey_body.php
@@ -218,7 +218,7 @@
219219 }
220220
221221 /**
222 - * Override the default 'go' search exact match checks.
 222+ * Find matching titles after the default 'go' search exact match fails.
223223 * This'll let 'mcgee' match 'McGee' etc.
224224 * @param string $term
225225 * @param Title outparam &$title

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r61150Bug 19996 (backend hooks) Finally adding the four hooks.platonides23:27, 16 January 2010

Status & tagging log