Jump to content
MediaWiki

Manual:$wgExtraRandompageSQL

From mediawiki.org
This page is a translated version of the page Manual:$wgExtraRandompageSQL and the translation is 30% complete.
Languages:
この機能は、バージョン 1.19.0 で完全に除去されました。
サイトのカスタマイズ: $wgExtraRandompageSQL
Filter for Special:Randompage. Part of a WHERE clause.
導入されたバージョン:1.3.0 (r4256)
廃止予定になったバージョン:1.16.0
除去されたバージョン:1.19.0 (r87598)
許容される値:(文字列) または false
既定値:false
その他の設定: アルファベット順 | 機能順
As of 1.16, the Hooks/SpecialRandomGetRandomTitle hook provides a more flexible interface to modify the selection criteria.

詳細

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"';

AltStyle によって変換されたページ (->オリジナル) /