Manual:$wgExtraRandompageSQL/cs
From Linux Web Expert
File:OOjs UI icon alert-destructive.svg | <translate> This feature was removed completely in version <tvar name=ver>1.19.0</tvar>.</translate> |
<translate> Site customization</translate>: $wgExtraRandompageSQL | |
---|---|
Filter for Special:Randompage. Part of a WHERE clause. |
|
<translate> Introduced in version:</translate> | 1.3.0 (r4256) |
<translate> Deprecated in version:</translate> | 1.16.0 |
<translate> Removed in version:</translate> | 1.19.0 (r87598) |
<translate> Allowed values:</translate> | (řetězec) nebo false |
<translate> Default value:</translate> | false |
<translate> Other settings:</translate> <translate> Alphabetical</translate> | <translate> By function</translate> |
As of 1.16, the Hooks/SpecialRandomGetRandomTitle hook provides a more flexible interface to modify the selection criteria.
Podrobnosti
Filter for Special:Randompage. Part of a WHERE clause.
This variable can be used to bias or change the nature of the "random" page search. For example, to prevent the Main Page from showing as a randomly selected page, set:
$wgExtraRandompageSQL = 'page_title != "Main_Page"';
Categories:
- MediaWiki configuration settings/cs
- MediaWiki configuration settings introduced in version 1.3.0/cs
- MediaWiki configuration settings deprecated in version 1.16.0/cs
- MediaWiki configuration settings removed in version 1.19.0/cs
- Pages with broken file links
- MediaWiki deprecated or obsolete features/cs
- Site customization variables/cs