Wikipedia:Keyboard shortcuts
The MediaWiki software contains many keyboard shortcuts. You can use them to access certain features of Wikipedia more quickly.
Using access keys
An access key allows a computer user to immediately jump to a specific part of a web page via the keyboard. On Wikipedia, access keys allow you to do a lot more—protect a page, show page history, publish your changes, show preview text, and so on. See the next section for the full list.
Most web browsers require holding down one or two modifier keys to use an access key. Different web browsers invoke access keys in different ways. Please use the list below to determine the appropriate key combination for your browser and system:
Browser | Operating system | Instructions |
---|---|---|
Google Chrome & Chromium Opera 15+ |
Windows | hold Alt+access key hold Alt+⇧ Shift+access key hold Alt+Control+⇧ Shift+access key[1] |
Chrome OS | ||
Linux | hold Alt+⇧ Shift+access key hold Alt+access key | |
macOS | hold Control+⌥ Option+access key | |
Firefox | Windows, Linux | hold Alt+⇧ Shift+access key[2] |
macOS | hold Control+⌥ Option+access key | |
Internet Explorer MS Edge |
Windows | hold Alt+access key[3] |
Safari | macOS | hold Control+⌥ Option+access key |
Windows | hold Alt+access key |
Older browsers
|
---|
|
List of access keys
|
|
|
Sortable list
Currently, in the a–z range, only a
and o
[4] remain unassigned. p
, v
, w
are assigned to multiple functions, depending on the context.
Key | Function | Context |
---|---|---|
f | Move cursor to search box | Site navigation |
q | Special pages | Site navigation |
r | Recent changes | Site navigation |
u | Upload file (only available to logged-in users) | Site navigation |
x | Random article | Site navigation |
z | Main Page | Site navigation |
. | My user page | Personal tools |
l | My watchlist (only available to logged-in users) | Personal tools |
n | My talk | Personal tools |
o | Log in (only available when logged-out) | Personal tools |
y | My contributions | Personal tools |
e | Edit this page / view source (if you are blocked or the page is protected from editing) | Current page tools |
v | Edit with VisualEditor (if available, namespace must be: (Main), File, User, Category or Help) | Current page tools |
g | Open associated Wikidata item | Current page tools |
h | View history | Current page tools |
j | What links here | Current page tools |
k | Related changes | Current page tools |
m | Move page (only available to logged-in users) | Current page tools |
p | Printable version | Current page tools |
w | Watch / unwatch page (only available to logged-in users) | Current page tools |
t | Switch to talk page | Current page tools |
* | Purge the page's cache (only available to logged-in users with the "Purge option" gadget) | Current page tools |
+ | Start a new discussion | Talk pages |
c | Switch to content page | Talk pages |
, | Move cursor to edit box | Editing page |
b | Move cursor to edit summary | Editing page |
i | Flag edit as minor (only available to logged-in users, not IP users) | Editing page |
p | Show preview | Editing page |
v | Show changes | Editing page |
s | Publish page | Editing page |
w | Toggle “Watch this page” | Editing page |
d | Delete / undelete current page | Admin only |
= | Protect / unprotect current page | Admin only |
Display access keys
By modifying your user CSS file, access key shortcuts can be displayed before internal links on any Wikipedia page.
a:hover[accesskey]:before {
content: " " attr(accesskey) " ";
text-transform: uppercase;
white-space: pre;
font-family: sans-serif;
margin-right: 0.5ex;
color: black;
}
a[accesskey]:before {
content: " " attr(accesskey) " ";
text-transform: uppercase;
white-space: pre;
font-family: sans-serif;
margin-right: 0.5ex;
color: black;
}
a[accesskey]:before {
content: " " attr(accesskey) " ";
text-transform: uppercase;
white-space: pre;
border: thin solid;
font-family: sans-serif;
text-decoration: underline overline;
margin-right: 0.5ex;
color: black;
}