Keyboard shortcuts

From Olson Recipes
Revision as of 04:24, 27 April 2015 by old>Niels (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


Windows and Linux tips on Wikipedia

Key Command Description
+ Start a new discussion Allows you to add a new section (talk pages only)
. (period) My user page Opens your user page if logged in
= Protect Allows you to protect the current page (admins only)
Unprotect Allows you to unprotect the current page (admins only)
c Content page Shows the content page associated with the current article
d Delete Allows you to delete the current page (admins only)
Undelete Allows you to undelete the current page (admins only)
e Edit this page Allows you to edit the current page (non-protected pages or admins)
View source Shows the source of the current page (protected pages)
f Search Allows you to search Wikipedia
h History Shows the current page's history
i Minor edit Toggles the "This is a minor edit" checkbox (on edit pages)
j What links here Shows all of the pages that link to the current one
k Related changes Shows recent changes in pages linked to the current one
l My watchlist Opens your watchlist (logged-in users only)
m Move Allows you to move the current page and its talk page (non-move-protected pages only)
n My talk Opens your user's or IP's talk page
p Show preview Shows a preview of your changes (on edit pages)
Printable version Opens a printable version of the current page (on pages other than edit pages)
q Special pages Shows a list of all special pages
r Recent changes Shows a list of recent changes to Wikipedia
s Save page Saves the changes that you have made (on edit pages)
t Discussion Opens the current article's talk page
u Upload file Allows you to upload images or media files
v Show changes Shows what changes you made to the text (on edit pages)
w Watch Adds the current page to your watchlist (logged-in users only)
Watch this page Toggles the "Watch this page" checkbox (on edit pages)
x Random article Loads a random article
y My contributions Opens a list of your user's or IP's contributions
z Main Page Goes to the Main Page

The Monobook skin, which is the default on Wikipedia, contains many Keyboard shortcuts. You can use them to access certain features of Wikipedia more quickly.

Depending on your browser, you should

See Access keys for more information on this concept.


Visual display of access keys

The following entry in your user CSS file (e.g., User:Example/monobook.css) will display access keys before links that have them.

This does not work in Internet Explorer, since it doesn't support the :before CSS selector.

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;
}

Changing and disabling access keys

Most of the access keys and tooltips are now defined in Mediawiki software, some are added by JavaScript in MediaWiki:Common.js. You can easily customize them by adding some code to your monobook.js file.

For example, this will change accesskey to '0':

ta['ca-nstab-main'] = new Array('0','View the content page');


To disable certain access keys can use the example above but specify some other access key (see this example)

Also you can use removeAccessKeys script.

See also