Manual:$wgExtraRandompageSQL/fr

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Manual:$wgExtraRandompageSQL and the translation is 0% complete.
Other languages:
English • ‎français • ‎polski • ‎日本語
Personnalisation du site: $wgExtraRandompageSQL
Filter for Special:Randompage. Part of a WHERE clause.
Introduit dans la version :1.3.0 (r4256)
Obsolète dans la version :1.16.0
Retiré dans la version :1.19.0 (r87598)
Valeurs autorisées :(string) or false
Valeur par défaut :false
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"';