From: umherirrender Date: Sun, 12 Jun 2016 16:20:42 +0000 (+0200) Subject: Fix docs/hooks.txt syntax for SpecialSearchGoResult X-Git-Tag: 1.31.0-rc.0~6637^2 X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=commitdiff_plain;h=bf2c81a694a9b40cb965c0d5e5b93828131e272c Fix docs/hooks.txt syntax for SpecialSearchGoResult Use colons after variable name Follows Iec7171fcf301f1659d852afa87ce271f468177c1 Change-Id: Icf8a2b53b7746a0761fc27477fac19c53a772820 --- diff --git a/docs/hooks.txt b/docs/hooks.txt index 93f84a1b5a..85a5840f07 100644 --- a/docs/hooks.txt +++ b/docs/hooks.txt @@ -2993,9 +2993,9 @@ $t: title object searched for canceled and a normal search will be performed. Returning true without setting $url does a standard redirect to $title. Setting $url redirects to the specified URL. -$term - The string the user searched for -$title - The title the 'go' feature has decided to forward the user to -&$url - Initially null, hook subscribers can set this to specify the final url to redirect to +$term: The string the user searched for +$title: The title the 'go' feature has decided to forward the user to +&$url: Initially null, hook subscribers can set this to specify the final url to redirect to 'SpecialSearchNogomatch': Called when user clicked the "Go" button but the target doesn't exist.