This page is a translated version of the page Help:Keyboard shortcuts and the translation is 16% complete.
PD 注意:當您編輯本頁面時,即同意以CC0協議授權您的貢獻。您可以在公有領域帮助页面找到更多信息。 PD

Mediawiki 提供各种可以提升使用效率且不依赖鼠标的快捷键 本页面详细介绍在英语环境下 Mediawiki 和其各个扩展的默认快捷键。

所有快捷键都由“修饰键”和“行动键”组成。 修饰键为按下行动键之前的一个或多个组合按键。 具体使用的修饰键取决于操作系统以及浏览器,详见下表。 而行动键是通用的,详细的映射将在下一章介绍。

不同浏览器和操作系统中的修饰键
浏览器 操作系统
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
IE 浏览器
微软 Edge
Alt+⇧ Shift
Safari Ctrl+⌥ Option

比如说,在 Linux 的火狐浏览器中,按住 Alt + Shift 并敲入最后的行动键 (例如 Alt+⇧ Shift+Z 可以进入首页)。 在MacOS里使用Safari浏览器时,保持按住 Control 和 Option 并键入快捷键组合里的行动键 (Control+⌥ Option+Z)。 Windows中的IE浏览器则只需要按下 Alt 键和行动键的组合。 对于其他操作系统,上述的组合应该也生效。您可能需要尝试多种修饰键来找到其中可以使用的组合,在少数情况下,同一操作系统下不同的行动键可能对应不同的修饰键。

Mediawiki 快捷键

以下的表格列出了 Mediawiki 所使用的默认快捷键 第一列为可用快捷键名称 第二列为快捷键说明 第三列为行动键,需要和修饰键组合使用。 最后一列为快捷方式所指向的 系统消息 的名称或 MediaWiki 命名空间 中的页面。 如果某行第三列为空,则说明此操作没有默认指定的快捷键。

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.

In most cases, the entries are initially sorted by the last part of the MediaWiki page name (e.g., addsection, anontalk, etc.). The table can be sorted by any column if desired.
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
引述本頁面 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
上传向导 accesskey-save-upload-campaign s Codesearch
上传向导 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客户端 accesskey-t-wikibase g Codesearch
WikiEditor accesskey-wikieditor-realtimepreview ) Codesearch

See also