Manual:$wgExtraRandompageSQL/pl
Jump to navigation
Jump to search
![]() | Ta funkcja została całkowicie usunięta w wersji 1.19.0. |
Site customization: $wgExtraRandompageSQL | |
---|---|
Filter for Special:Randompage. Part of a WHERE clause. |
|
Wprowadzono w wersji: | 1.3.0 (r4256) |
Przestarzałe w wersji: | 1.16.0 |
Usunięto w wersji: | 1.19.0 (r87598) |
Dozwolone wartości: | (string) or false |
Domyślna wartość: | false |
Inne ustawienia: Alfabetycznie | Według funkcji |
As of 1.16, the Hooks/SpecialRandomGetRandomTitle hook provides a more flexible interface to modify the selection criteria.
Szczegóły
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/pl
- MediaWiki configuration settings 1.3.0/pl
- MediaWiki configuration settings introduced in version 1.3.0/pl
- MediaWiki configuration settings deprecated in version 1.16.0/pl
- MediaWiki configuration settings removed in version 1.19.0/pl
- MediaWiki deprecated or obsolete features/pl
- Site customization variables/pl