<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://compusofia.com/w/index.php?action=history&amp;feed=atom&amp;title=Help%3ARandom_root_page%2Fen</id>
	<title>Help:Random root page/en - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://compusofia.com/w/index.php?action=history&amp;feed=atom&amp;title=Help%3ARandom_root_page%2Fen"/>
	<link rel="alternate" type="text/html" href="https://compusofia.com/w/index.php?title=Help:Random_root_page/en&amp;action=history"/>
	<updated>2026-04-19T07:43:19Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://compusofia.com/w/index.php?title=Help:Random_root_page/en&amp;diff=11761&amp;oldid=prev</id>
		<title>FuzzyBot: Updating to match new version of source page</title>
		<link rel="alternate" type="text/html" href="https://compusofia.com/w/index.php?title=Help:Random_root_page/en&amp;diff=11761&amp;oldid=prev"/>
		<updated>2026-04-17T13:29:42Z</updated>

		<summary type="html">&lt;p&gt;Updating to match new version of source page&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;languages/&amp;gt;&lt;br /&gt;
{{Special page}}&lt;br /&gt;
[[Image:Vector Sidebar.png|framed|{{dir|{{pagelang}}|left|right}}|The default sidebar on the left, see the fifth link from top]]&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Randomrootpage&amp;#039;&amp;#039;&amp;#039; ([[Special:Randomrootpage]]) allows the display of a random root page a wiki.&lt;br /&gt;
&lt;br /&gt;
The regular random link generator ([[Special:Random]]) is not suitable for some wikis or namespaces where utilising subpage hierarchies (such as Wikibooks).&lt;br /&gt;
So this function can be used as a substitute.&lt;br /&gt;
For example, it can be used to show &amp;quot;random books&amp;quot; in Wikibooks, instead of random pages.&lt;br /&gt;
In a namespace where there are no subpages then the functionality is the same as [[Special:Randompage]].&lt;br /&gt;
&lt;br /&gt;
By default, selection will be limited to pages from namespaces in &amp;lt;code&amp;gt;{{ll|Manual:$wgContentNamespaces|$wgContentNamespaces}}&amp;lt;/code&amp;gt;.&lt;br /&gt;
The user can choose which namespace to look in.&lt;br /&gt;
For example, if they wanted to view a random file they could go to [[Special:Random/file]].&lt;br /&gt;
If they wanted to view a random mainspace page they could go to [[Special:Random/main]], etc.&lt;br /&gt;
&lt;br /&gt;
===Usage===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;html&amp;quot;&amp;gt;[[Special:Randomrootpage]]&lt;br /&gt;
[[Special:Randomrootpage/{Namespace}]]&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=wikitable&lt;br /&gt;
! !! &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;[[Special:Randomrootpage]]&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; !! &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;[[Special:Random]]&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| content namespaces&lt;br /&gt;
| Random rootpage on wiki&lt;br /&gt;
:[[Special:Randomrootpage]]&lt;br /&gt;
| Random page on wiki&lt;br /&gt;
: [[Special:Random]]&lt;br /&gt;
|-&lt;br /&gt;
| main namespace&lt;br /&gt;
| Random rootpage on wiki&lt;br /&gt;
: [[Special:Randomrootpage/Main]]&lt;br /&gt;
| Random page on wiki&lt;br /&gt;
: [[Special:Random/Main]]&lt;br /&gt;
|-&lt;br /&gt;
| help namespace&lt;br /&gt;
| Random rootpage in Help: namespace&lt;br /&gt;
: [[Special:Randomrootpage/Help]]&lt;br /&gt;
| Random page in Help: namespace&lt;br /&gt;
: [[Special:Random/Help]]&lt;br /&gt;
|-&lt;br /&gt;
| extension namespace&lt;br /&gt;
| Random rootpage in Extension: namespace&lt;br /&gt;
: [[Special:Randomrootpage/Extension]]&amp;lt;nowiki/&amp;gt;maintenance/ master • 1.44.2 • 1.43.5 • 1.39.15 CreateAndPromote&lt;br /&gt;
| Random page in Extension: namespace&lt;br /&gt;
: [[Special:Random/Extension]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
There is currently no functionality that provides the random display of a subpage.&lt;br /&gt;
&lt;br /&gt;
Some wikis utilise this in the configuration of their {{ll|sidebar}}.&lt;br /&gt;
([[MediaWiki:Sidebar]])&lt;br /&gt;
&lt;br /&gt;
==History==&lt;br /&gt;
&lt;br /&gt;
This functionality used to be in {{ll|Extension:Randomrootpage}} though was merged into core in {{ll|MediaWiki 1.27}}.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* {{ll|Manual:SpecialRandomrootpage.php}}&lt;br /&gt;
* {{ll|Help:Random page}}&lt;br /&gt;
* {{ll|Manual:Random page}}&amp;lt;!-- {ll|Manual:Random rootpage}} doesn&amp;#039;t exist--&amp;gt;&lt;br /&gt;
* {{ll|API:Random}}&amp;lt;!-- API uses this and parses root page only--&amp;gt;&lt;/div&gt;</summary>
		<author><name>FuzzyBot</name></author>
	</entry>
</feed>