A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:$wgWikiFarmSiteDetector below:

Manual:$wgWikiFarmSiteDetector - MediaWiki

This feature was removed completely in version 1.39.0. Warning: EXPERIMENTAL!

Callback to use to determine the name of the requested site for the current request. Per default, a method built into WikiFarmSettingsLoader is used, which will try to determine the wiki name based on the WIKI_NAME environment variable (if set), or the requested (virtual) host.

Must return a string or null. The return value is used together with the WikiFarmSettingsDirectory and WikiFarmSettingsExtension to construct the path of the settings file that holds site specific configuration for the requested site.

The global

$wgRequest

is not yet available when this callback is called.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4