| This feature was removed completely in version 1.19.0. |
| Site customization: $wgExtraRandompageSQL | |
|---|---|
| Filter for Special:Randompage. Part of a WHERE clause. |
|
| Introduced in version: | 1.3.0 (r4256) |
| Deprecated in version: | 1.16.0 |
| Removed in version: | 1.19.0 (r87598) |
| Allowed values: | (string) or false |
| Default value: | false |
| Other settings: Alphabetical | By function | |
As of 1.16, the Hooks/SpecialRandomGetRandomTitle hook provides a more flexible interface to modify the selection criteria.
Details
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"';
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.