Help:Random root page/zh

Randomrootpage (Special:Randomrootpage) allows the display of a random root page a wiki.

The regular random link generator (Special:Random) is not suitable for some wikis or namespaces where utilising subpage hierarchies (such as Wikibooks). 所以这个功能可以作为替代. 例如，它可用于在维基教科书中显示“随机书籍”，而不是随机页面. In a namespace where there are no subpages then the functionality is the same as Special:Randompage.

By default, selection will be limited to pages from namespaces in. 用户可以选择要查看的命名空间. For example, if they wanted to view a random file they could go to Special:Random/file. If they wanted to view a random mainspace page they could go to Special:Random/main, etc.

用法
There is currently no functionality that provides the random display of a subpage.

Some wikis utilise this in the configuration of their sidebar (Mediawiki:Sidebar).

History
This functionality used to be in Extension:Randomrootpage though was merged into core in MediaWiki 1.27.