Help:Keyboard shortcuts
Note: When you edit this page, you agree to release your contribution under the CC0. See Public Domain Help Pages for more info. |
MediaWiki offers several keyboard shortcuts for performing operations efficiently without relying on the mouse. This page details the default shortcuts in English for both core MediaWiki and its extensions.
Each shortcut requires a "modifier key" and an "access key" character. The modifier is a single or multiple key that must be held while typing the final character. Specific modifiers vary based on the web browser and operating system, as detailed in the table below. For each shortcut, the access key character is the same for all operating systems, listed in the following section.
Browser | Operating system | |||
---|---|---|---|---|
Windows | Linux | MacOS | Chrome OS | |
Firefox | Alt+⇧ Shift | Alt+⇧ Shift | Ctrl+⌥ Option | |
Google Chrome Opera 15+ |
Alt, Alt+⇧ Shift, Alt+⇧ Shift+Ctrl |
Alt+⇧ Shift | Ctrl+⌥ Option | Alt, Alt+⇧ Shift, Alt+⇧ Shift+Ctrl |
Internet Explorer Edge |
Alt+⇧ Shift | |||
Safari | Ctrl+⌥ Option |
For example, in Firefox on Linux, press and hold Alt and Shift while typing the last character (e.g., Alt+⇧ Shift+Z for the Main Page). In Safari on Mac, hold Control and Option while typing the last character (Control+⌥ Option+Z). In Internet Explorer on Windows, just hold the Alt key while typing the last character. For other systems, any of these methods might work. You may need to test different modifiers to find one that works, as different access keys on the same system might need different modifiers.
MediaWiki shortcuts
The table below lists the default keyboard shortcuts in MediaWiki. The first column shows where the shortcut can be used. The second column explains what the shortcut does. The third column indicates the key you need to press with a modifier key to use the shortcut. The last column names the system message or page in the MediaWiki namespace where the shortcut is defined. If the third column is blank, there is no default shortcut for that action.
The system message is identified by the element's id
attribute, and no extra code is needed for a hotkey to work.
To add a shortcut key for an unlisted extension, use the element inspector to find its id
attribute.
addsection
, anontalk
, etc.). The table can be sorted by any column if desired.Parts of this page (those related to sections) are outdated. |
Context | Action | Access key | MediaWiki page name |
---|---|---|---|
Talk namespace | Start a new section on this page | + | accesskey-ca-addsection |
Any page (if not logged in) | Go to the talk page for my IP address | n | accesskey-pt-anontalk |
Any page (if not logged in) | Go to the user page for my IP address | . | accesskey-pt-anonuserpage |
Page history | View Atom feed for this page | accesskey-feed-atom | |
Special page for blocking users | Block the IP address ("save") | s | accesskey-blockip-block |
Page history (after choosing two revisions) | Compare selected revisions | v | accesskey-compareselectedversions |
User namespace | View contributions of this user | accesskey-t-contributions | |
Any page (if not logged in) | Create an account (and log in) | accesskey-pt-createaccount | |
Any page | Go to the current events page | accesskey-n-currentevents | |
Any page (if possible) | Delete this page | d | accesskey-ca-delete |
Editing a page | Show changes from current version (without saving/publishing) | v | accesskey-diff |
Any page | Edit this page | e | accesskey-ca-edit |
User namespace | Email this user | accesskey-t-emailuser | |
Special page for exporting | Start exporting ("save") | s | accesskey-export |
Any page | Go to help pages index | accesskey-n-help | |
Any page | View page history (list of changes to this page) | h | accesskey-ca-history |
Special page for importing | Start importing ("save") | s | accesskey-import |
Any page | View page information | accesskey-t-info | |
Any page (if not logged in) | Log in | o | accesskey-pt-login |
Any page | Go to the main page (home page for the wiki) | accesskey-p-logo | |
Any page (if logged in) | Log out | accesskey-pt-logout | |
Any page | Go to the main page (home page for the wiki) | z | accesskey-n-mainpage |
Any page | Go to the main page (home page for the wiki) | z | accesskey-n-mainpage-description |
Editing a page | Toggle switch for marking the changes as minor | i | accesskey-minoredit |
Any page (if possible) | Move this page | m | accesskey-ca-move |
Any page | Go to my contributions (list of my edits to the wiki) | y | accesskey-pt-mycontris |
Any page | Go to my talk page | n | accesskey-pt-mytalk |
Any namespace | View the subject page ("content", as opposed to "talk") | c | accesskey-ca-nstab |
Category namespace | View the category page ("content", as opposed to "talk") | c | accesskey-ca-nstab-category |
Help namespace | View the help page ("content", as opposed to "talk") | c | accesskey-ca-nstab-help |
File namespace | View the file page ("content", as opposed to "talk") | c | accesskey-ca-nstab-image |
Main namespace | View the content page ("content", as opposed to "talk") | c | accesskey-ca-nstab-main |
Media namespace | View the media page ("content", as opposed to "talk") | c | accesskey-ca-nstab-media |
Project namespace | View the project page ("content", as opposed to "talk") | c | accesskey-ca-nstab-project |
Special namespace | View the special page | accesskey-ca-nstab-special | |
Template namespace | View the template page ("content", as opposed to "talk") | c | accesskey-ca-nstab-template |
User namespace | View the user page ("content", as opposed to "talk") | c | accesskey-ca-nstab-user |
Any page | View this particular revision of the page using a "permanent link" | accesskey-t-permalink | |
Any page | Go to the community portal | accesskey-n-portal | |
Preferences | Save preferences | accesskey-preferences-save | |
Any page (if logged in) | Go to my preferences | accesskey-pt-preferences | |
Editing a page | Preview changes (without saving/publishing) | p | accesskey-preview |
Any page | View a printable version of this page | p | accesskey-t-print |
Any page (if possible) | Protect this page | = | accesskey-ca-protect |
Any page | Go to a randomly chosen page | x | accesskey-n-randompage |
Any page | Go to the list of recent changes to the wiki | r | accesskey-n-recentchanges |
Any page | View list of recent changes made to other pages that this page links to ("related changes") | k | accesskey-t-recentchangeslinked |
Page history | View the RSS feed for this page | accesskey-feed-rss | |
Editing a page | Publish changes ("save") | s | accesskey-save |
Any page | Search the wiki (jump to the search box) | f | accesskey-search |
Search box | Search and go to the page with this exact title, if it exists (otherwise show search results) | accesskey-search-go | |
Search box | Search the wiki for this text (do not go directly to a page with a matching title) | accesskey-search-fulltext | |
Any page | Go to special pages index | q | accesskey-t-specialpages |
Editing a page | Jump to edit summary box | b | accesskey-summary |
Any non-talk page | View the talk page corresponding to this one (discuss this page) | t | accesskey-ca-talk |
Any deleted page (if possible) | Undelete this page (restore the page's edit history) | d | accesskey-ca-undelete |
Any page (if possible) | Unprotect this page | = | accesskey-ca-unprotect |
Any page (if logged in) | Unwatch this page (remove it from my watchlist) | w | accesskey-ca-unwatch |
Special page for uploading a file | Start uploading ("save") | s | accesskey-upload |
Any page | Upload a file | u | accesskey-t-upload |
Any page (if logged in) | Go to my user page | . | accesskey-pt-userpage |
Special page for setting user rights | Set the user rights ("save") | s | accesskey-userrights-set |
Any protected page | View the source for this page (since it cannot be edited) | e | accesskey-ca-viewsource |
Editing a page (if logged in) | Toggle switch for watching/unwatching the page being edited | w | accesskey-watch |
Any page (if logged in) | Watch this page (add it to my watchlist) | w | accesskey-ca-watch |
Any page (if logged in) | Go to my watchlist | l | accesskey-pt-watchlist |
Editing watchlist | Remove selected titles ("save") | s | accesskey-watchlistedit-normal-submit |
Editing raw watchlist | Save changes to the watchlist | s | accesskey-watchlistedit-raw-submit |
Any page | View list of pages that link to this one ("what links here") | j | accesskey-t-whatlinkshere |
Extension shortcuts
These additional extensions are defined by several MediaWiki extensions.
Extension | MediaWiki page name | Access key | Usages |
---|---|---|---|
CiteThisPage | accesskey-citethispage | Codesearch | |
Drafts | accesskey-drafts-save | g | Codesearch |
FlaggedRevs | accesskey-ca-current | v | Codesearch |
FlaggedRevs | accesskey-ca-stable | c | Codesearch |
ListTransclusions | accesskey-t-listtransclusions | Codesearch | |
MediaUploader | accesskey-save-upload-campaign | s | Codesearch |
MediaUploader | accesskey-cancel-upload-campaign | c | Codesearch |
PageForms | accesskey-ca-formedit | & | Codesearch |
TweetANew | tweetanew-accesskey | e | Codesearch |
UploadWizard | accesskey-save-upload-campaign | s | Codesearch |
UploadWizard | accesskey-cancel-upload-campaign | c | Codesearch |
VisualEditor | accesskey-ca-editsource | e | Codesearch |
VisualEditor | accesskey-ca-ve-edit | v | Codesearch |
WatchSubpages | accesskey-watchsubpages-submit | s | Codesearch |
Wikibase Client | accesskey-t-wikibase | g | Codesearch |
WikiEditor | accesskey-wikieditor-realtimepreview | ) | Codesearch |