(Translated by https://www.hiragana.jp/)
Wikipedia:Random: Difference between revisions - Wikipedia Jump to content

Wikipedia:Random: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
GregU (talk | contribs)
→‎See also: randomlink.js – tool to follow a random link or go to a random page in a category, list or WikiProject
→‎External links: add link to MW random API
 
(465 intermediate revisions by more than 100 users not shown)
Line 1: Line 1:
{{pp-semi-indef|small=yes}}
{{shortcut|WP:RAN}}
{{information page|WP:RAN}}
In Wikipedia and other [[MediaWiki]] projects, '''[[Special:Random]]''' can be used to access a random article in the main [[Wikipedia:Namespace|namespace]]; this feature is useful as a general starting point for browsing Wikipedia or if you just want to learn a random piece of information.
On Wikipedia and other sites running on [[MediaWiki]], '''[[Special:Random]]''' can be used to access a random article in the main [[Wikipedia:Namespace|namespace]]; this feature is useful as a tool to generate a random article. Depending on your browser, it's also possible to load a random page using a [[Wikipedia:Keyboard shortcuts|keyboard shortcut]] (in Firefox, Edge, and Chrome {{keypress|Alt-Shift}}+{{keypress|X}}).


To create a link to a random page in a different [[Wikipedia:Namespace|namespace]], use <code><nowiki>[[Special:Random/</nowiki>''Namespace''<nowiki>]]</nowiki></code>. For example, '''[[Special:Random/Talk]]''' will take you to a random article's talk page.
Depending on your browser, it's also possible to load a random page using a [[Wikipedia:Keyboard shortcuts|keyboard shortcut]] (in Firefox {{keypress|Alt-Shift}}+{{keypress|X}}).


<table style="border: 1px solid #999; background: #fff; margin: .5em .5em .5em 1em; padding: 5px; display: inline-table;">
To view a random page in a different namespace, use <code><nowiki>[[Special:Random/</nowiki>''Namespace''<nowiki>]]</nowiki></code>.
<th align="center" valign="top"><small>Display a random page in other namespaces:<br />{{{1|}}}</small>

[[Special:Random|Article]] <small>[[Special:Random/Talk|Talk]]</small><br />
<table style="border: 1px solid #999; background: #fff; margin: .5em .5em .5em 1em; padding: 5px">
[[Special:Random/User|User]] <small>[[Special:Random/User Talk|Talk]]</small><br />
<th align="center" valign="top"><small>Display a random:<br />{{{1|}}}</small>
[[Special:Random|Article]] <small>[[Special:Random/Talk|Talk]]</small>
[[Special:Random/Wikipedia|Wikipedia]] <small>[[Special:Random/Wikipedia Talk|Talk]]</small><br />
[[Special:RandomRedirect|Redirect]] <small>[[Special:RandomRedirect/Talk|Talk]]</small>
[[Special:Random/File|File]] <small>[[Special:Random/File Talk|Talk]]</small><br />
[[Special:Random/User|User]] <small>[[Special:Random/User Talk|Talk]]</small>
[[Special:Random/MediaWiki|MediaWiki]] <small>[[Special:Random/MediaWiki Talk|Talk]]</small><br />
[[Special:Random/Wikipedia|Wikipedia]] <small>[[Special:Random/Wikipedia Talk|Talk]]</small>
[[Special:Random/Template|Template]] <small>[[Special:Random/Template Talk|Talk]]</small><br />
[[Special:Random/Image|Image]] <small>[[Special:Random/Image Talk|Talk]]</small>
[[Special:Random/Help|Help]] <small>[[Special:Random/Help Talk|Talk]]</small><br />
[[Special:Random/MediaWiki|MediaWiki]] <small>[[Special:Random/MediaWiki Talk|Talk]]</small>
[[Special:Random/Category|Category]] <small>[[Special:Random/Category Talk|Talk]]</small><br />
[[Special:Random/Template|Template]] <small>[[Special:Random/Template Talk|Talk]]</small>
[[Special:Random/Portal|Portal]] <small>[[Special:Random/Portal Talk|Talk]]</small><br />
[[Special:Random/Help|Help]] <small>[[Special:Random/Help Talk|Talk]]</small>
[[Special:Random/Draft|Draft]] <small>[[Special:Random/Draft Talk|Talk]]</small><br />
[[Special:Random/Category|Category]] <small>[[Special:Random/Category Talk|Talk]]</small>
[[Special:Random/TimedText|TimedText]] <small>[[Special:Random/TimedText Talk|Talk]]</small><br />
[[Special:Random/Portal|Portal]] <small>[[Special:Random/Portal Talk|Talk]]</small>
[[Special:Random/Module|Module]] <small>[[Special:Random/Module Talk|Talk]]</small><br />
</table>
</table>


<table style="border: 1px solid #999; background: #fff; margin: .5em .5em .5em 1em; padding: 5px">
<table style="border: 1px solid #999; background: #fff; margin: .5em .5em .5em 1em; padding: 5px; display: inline-table;">
<th align="center" valign="top"><small>Display a random redirect in other namespaces:<br />{{{1|}}}</small>
<th align="center" valign="top"><small>Display a random <u>redirect</u> in other namespaces:<br />{{{1|}}}</small>
[[Special:Randomredirect/{{ns:0}}|Main]] <small>[[Special:Randomredirect/{{ns:1}}|{{ns:1}}]]</small>
[[Special:Randomredirect/{{ns:0}}|Main]] <small>[[Special:Randomredirect/{{ns:1}}|{{ns:1}}]]</small><br />
[[Special:Randomredirect/{{ns:2}}|{{ns:2}}]] <small>[[Special:Randomredirect/{{ns:3}}|{{ns:1}}]]</small>
[[Special:Randomredirect/{{ns:2}}|{{ns:2}}]] <small>[[Special:Randomredirect/{{ns:3}}|{{ns:1}}]]</small><br />
[[Special:Randomredirect/{{ns:4}}|{{ns:4}}]] <small>[[Special:Randomredirect/{{ns:5}}|{{ns:1}}]]</small>
[[Special:Randomredirect/{{ns:4}}|{{ns:4}}]] <small>[[Special:Randomredirect/{{ns:5}}|{{ns:1}}]]</small><br />
[[Special:Randomredirect/{{ns:6}}|{{ns:6}}]] <small>[[Special:Randomredirect/{{ns:7}}|{{ns:1}}]]</small>
[[Special:Randomredirect/{{ns:6}}|{{ns:6}}]] <small>[[Special:Randomredirect/{{ns:7}}|{{ns:1}}]]</small><br />
[[Special:Randomredirect/{{ns:8}}|{{ns:8}}]] <small>[[Special:Randomredirect/{{ns:9}}|{{ns:1}}]]</small>
[[Special:Randomredirect/{{ns:8}}|{{ns:8}}]] <small>[[Special:Randomredirect/{{ns:9}}|{{ns:1}}]]</small><br />
[[Special:Randomredirect/{{ns:10}}|{{ns:10}}]] <small>[[Special:Randomredirect/{{ns:11}}|{{ns:1}}]]</small>
[[Special:Randomredirect/{{ns:10}}|{{ns:10}}]] <small>[[Special:Randomredirect/{{ns:11}}|{{ns:1}}]]</small><br />
[[Special:Randomredirect/{{ns:12}}|{{ns:12}}]] <small>[[Special:Randomredirect/{{ns:13}}|{{ns:1}}]]</small>
[[Special:Randomredirect/{{ns:12}}|{{ns:12}}]] <small>[[Special:Randomredirect/{{ns:13}}|{{ns:1}}]]</small><br />
[[Special:Randomredirect/{{ns:14}}|{{ns:14}}]] <small>[[Special:Randomredirect/{{ns:15}}|{{ns:1}}]]</small>
[[Special:Randomredirect/{{ns:14}}|{{ns:14}}]] <small>[[Special:Randomredirect/{{ns:15}}|{{ns:1}}]]</small><br />
[[Special:Randomredirect/{{ns:100}}|{{ns:100}}]] <small>[[Special:Randomredirect/{{ns:101}}|{{ns:1}}]]</small><br />
[[Special:Randomredirect/{{ns:118}}|{{ns:118}}]] <small>[[Special:Randomredirect/{{ns:119}}|{{ns:1}}]]</small><br />
[[Special:Randomredirect/{{ns:710}}|{{ns:710}}]] <small>[[Special:Randomredirect/{{ns:711}}|{{ns:1}}]]</small><br />
[[Special:Randomredirect/{{ns:828}}|{{ns:828}}]] <small>[[Special:Randomredirect/{{ns:829}}|{{ns:1}}]]</small><br />
</table>
</table>
<!--
<!--
Line 37: Line 42:
[[Special:Random/Wikibooks]]<br>
[[Special:Random/Wikibooks]]<br>
-->
-->

If you are wondering if the "random article" feature is really [[random]], read the answer [[Wikipedia:FAQ/Technical#random|here]].

==See also==
==See also==
*[[Wikipedia:Random Pages Test]]
* [[Wikipedia:Random page patrol]]
*[[Wikipedia:Random page patrol]]
* [[Wikipedia:Random pages test]]
* [[Wikipedia:Wiki-Link Game]] – fun with the Random article feature
*[[Help:Special page|Information about other special pages]]
* [[Wikipedia:Enhanced Random Article]] – custom script
*[[User_talk:GregU/randomlink.js|randomlink.js]] – tool to follow a random link or go to a random page in a category, list or WikiProject
* [[User talk:GregU/randomlink.js|randomlink.js]] – tool to follow a random link or go to a random page in a category, list or WikiProject
* [[Special:RandomInCategory]]
* [[Template:Random page in category]]


; Wikimedia sister projects
[[Category:Wikipedia features]]
* [[Wikiversity:Wikiversity:Random|Wikiversity:Random]]
* [[Wiktionary:Wiktionary:Random page|Wiktionary:Random page]]
* [[Wikinews:Portal:Random]]


==External links==
[[fr:Wikipédia:Une page au hasard]]
* [[mw:API:Random]], documentation for the Mediawiki Random API, which generates an arbitrary number of random pages from a MediaWiki site, optionally filtered by namespace
* [https://web.archive.org/web/20200123081419/http://www.randomarticleproject.com/ Random Article Project]
* [http://tools.wmflabs.org/erwin85/randomarticle.php Wikimedia Tool Labs random article tool]—Random article per category in most Wikimedia projects

{{Wikipedia technical help|collapsed}}

[[Category:Wikipedia features]]
[[Category:Wikipedia sidebar help|Random page]]
[[Category:Wikipedia interface help|Random page]]

Latest revision as of 19:44, 2 March 2022

On Wikipedia and other sites running on MediaWiki, Special:Random can be used to access a random article in the main namespace; this feature is useful as a tool to generate a random article. Depending on your browser, it's also possible to load a random page using a keyboard shortcut (in Firefox, Edge, and Chrome Alt-Shift+X).

To create a link to a random page in a different namespace, use [[Special:Random/Namespace]]. For example, Special:Random/Talk will take you to a random article's talk page.

Display a random page in other namespaces:

Article Talk
User Talk
Wikipedia Talk
File Talk
MediaWiki Talk
Template Talk
Help Talk
Category Talk
Portal Talk
Draft Talk
TimedText Talk
Module Talk

Display a random redirect in other namespaces:

Main Talk
User Talk
Wikipedia Talk
File Talk
MediaWiki Talk
Template Talk
Help Talk
Category Talk
Portal Talk
Draft Talk
TimedText Talk
Module Talk

If you are wondering if the "random article" feature is really random, read the answer here.

See also

Wikimedia sister projects