Vector
Vector is a skin for MediaWiki. Vector has been the default skin on all Wikimedia wikis since 2010.
|
@stable for use inside Minerva as a soft dependency temporarily until T360452 is resolved. More...
Static Public Member Functions | |
static | shouldDisable (array $options, WebRequest $request, ?Title $title=null) |
Determine whether the configuration should be disabled on the page. | |
@stable for use inside Minerva as a soft dependency temporarily until T360452 is resolved.
|
static |
Determine whether the configuration should be disabled on the page.
array | $options | read from MediaWiki configuration. $params = [ 'exclude' => [ 'mainpage' => (bool) should it be disabled on the main page? 'namespaces' => int[] namespaces it should be excluded on. 'querystring' => array of strings mapping to regex for patterns the query strings it should be excluded on e.g. [ 'action' => '*' ] disable on all actions 'pagetitles' => string[] of pages it should be excluded on. For special pages, use canonical English name. ] ] |
WebRequest | $request | |
Title | null | $title |