Movatterモバイル変換


[0]ホーム

URL:


Jump to content
MediaWiki
Search

Help:Random root page

From mediawiki.org
Translate this page
Languages:
Special pages – Help
The default sidebar on the left, see the fifth link from top

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).So this function can be used as a substitute.For example, it can be used to show "random books" in Wikibooks, instead of random pages.In a namespace where there are no subpages then the functionality is the same asSpecial:Randompage.

By default, selection will be limited to pages from namespaces in$wgContentNamespaces.The user can choose which namespace to look in.For example, if they wanted to view a random file they could go toSpecial:Random/file.If they wanted to view a random mainspace page they could go toSpecial:Random/main, etc.

Usage

[edit]
[[Special:Randomrootpage]][[Special:Randomrootpage/{Namespace}]]
[[Special:Randomrootpage]][[Special:Random]]
content namespacesRandom rootpage on wiki
Special:Randomrootpage
Random page on wiki
Special:Random
main namespaceRandom rootpage on wiki
Special:Randomrootpage/Main
Random page on wiki
Special:Random/Main
help namespaceRandom rootpage in Help: namespace
Special:Randomrootpage/Help
Random page in Help: namespace
Special:Random/Help
extension namespaceRandom rootpage in Extension: namespace
Special:Randomrootpage/Extensionmaintenance/ master • 1.44.2 • 1.43.5 • 1.39.15 CreateAndPromote
Random page in Extension: namespace
Special:Random/Extension

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

Some wikis utilise this in the configuration of theirSidebar.(MediaWiki:Sidebar)

History

[edit]

This functionality used to be inExtension:Randomrootpage though was merged into core inMediaWiki 1.27.

See also

[edit]
Retrieved from "https://www.mediawiki.org/w/index.php?title=Help:Random_root_page&oldid=8041606"
Category:

[8]ページ先頭

©2009-2025 Movatter.jp