|
static | onBeforeInitialize ( $title, $unused, $outputPage, $user, $request, $mediaWiki) |
| Hooked to call initialize after the user is set up.
|
|
static | onApiBeforeMain ( $apiMain) |
| Hooked to call initialize after the user is set up.
|
|
static | initializeForRequest (WebRequest $request) |
| Initializes the portions of Cirrus that require the $request to be fully initialized.
|
|
static | onSoftwareInfo (&$software) |
| Hook called to include Elasticsearch version info on Special:Version.
|
|
static | onSpecialSearchResultsAppend ( $specialSearch, $out, $term) |
|
static | onPrefixSearchExtractNamespace (&$namespaces, &$search) |
| Extract namespaces from query string.
|
|
static | prefixSearchExtractNamespaceWithConnection (Connection $connection, &$namespaces, &$search) |
|
static | onSearchGetNearMatch ( $term, &$titleResult) |
| Let Elasticsearch take a crack at getting near matches once mediawiki has tried all kinds of variants.
|
|
static | onResourceLoaderGetConfigVars (&$vars) |
| ResourceLoaderGetConfigVars hook handler This should be used for variables which vary with the html and for variables this should work cross skin.
|
|
static | onShowSearchHitTitle (Title $title, &$text, $result, $terms, $page, &$query=[]) |
| Add $wgCirrusSearchInterwikiProv to external results.
|
|
static | onAPIAfterExecute ( $module) |
|
static | onSpecialSearchResults ( $term, $titleMatches, $textMatches) |
|
static | onSpecialStatsAddExtra (&$extraStats, $context) |
|
static | onAPIQuerySiteInfoStatisticsInfo (&$extraStats) |
|
All CirrusSearch's external hooks.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. http://www.gnu.org/copyleft/gpl.html