<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.tachyony.co.uk/w/index.php?action=history&amp;feed=atom&amp;title=Wikipedia%3ATools%2FNavigation_shortcuts</id>
	<title>Wikipedia:Tools/Navigation shortcuts - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.tachyony.co.uk/w/index.php?action=history&amp;feed=atom&amp;title=Wikipedia%3ATools%2FNavigation_shortcuts"/>
	<link rel="alternate" type="text/html" href="https://wiki.tachyony.co.uk/w/index.php?title=Wikipedia:Tools/Navigation_shortcuts&amp;action=history"/>
	<updated>2026-05-15T09:48:23Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.5</generator>
	<entry>
		<id>https://wiki.tachyony.co.uk/w/index.php?title=Wikipedia:Tools/Navigation_shortcuts&amp;diff=1878&amp;oldid=prev</id>
		<title>Tachyony: Imported page</title>
		<link rel="alternate" type="text/html" href="https://wiki.tachyony.co.uk/w/index.php?title=Wikipedia:Tools/Navigation_shortcuts&amp;diff=1878&amp;oldid=prev"/>
		<updated>2021-12-06T12:44:17Z</updated>

		<summary type="html">&lt;p&gt;Imported page&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;Navigation shortcuts&amp;#039;&amp;#039;&amp;#039; offer the ability to add personal links to the sidebar, providing quick and easy access to favourite articles within Wikipedia. &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Quick installation:&amp;#039;&amp;#039;&amp;#039; add &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;subst:[[Template:navshortcuts|navshortcuts]]}}&amp;lt;/code&amp;gt; to your [[Special:Mypage/common.js|common.js]] (or equivalent skin-specific file). See [[#Installation|installation]] section below for full installation instructions and [[#Configuration|configuration]] section for instructions on adding sidebar links.&lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
&lt;br /&gt;
* Add one or more personal sidebars with links below the Wikipedia logo.&lt;br /&gt;
** Sidebar is the Wikipedia&amp;#039;s menu on the left (by default), beneath the Wikipedia logo.&lt;br /&gt;
** Note: Navigation shortcuts does not remove any portlets and/or links from the default Wikipedia sidebar. Use [[Special:Mypage/common.css|common.css]] to do that (or equivalent skin-specific file).&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
* User account on the Wikipedia.&lt;br /&gt;
* Enabled and working [[javascript]]s in your browser.&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
* You must have a user account in order to install and use the Navigation shortcuts. If you do not have an account you will need to [[Special:Userlogin|create one]] and log in.&lt;br /&gt;
&lt;br /&gt;
* Add &amp;#039;&amp;#039;&amp;#039;&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;subst:[[Template:navshortcuts|navshortcuts]]}}&amp;lt;/code&amp;gt;&amp;#039;&amp;#039;&amp;#039; to your own [[Special:Mypage/common.js|common.js]]. Note that if you are using other skin than the default one, you might need to use another page instead of the [[Special:Mypage/common.js|common.js]]:&lt;br /&gt;
** Classic skin: [[Special:Mypage/standard.js|standard.js]] &lt;br /&gt;
** Cologne Blue: [[Special:Mypage/cologneblue.js|cologneblue.js]] &lt;br /&gt;
** Chick: [[Special:Mypage/chick.js|chick.js]]&lt;br /&gt;
** Simple: [[Special:Mypage/simple.js|simple.js]]&lt;br /&gt;
** Nostalgia: [[Special:Mypage/nostalgia.js|nostalgia.js]]&lt;br /&gt;
** MySkin: [[Special:Mypage/myskin.js|myskin.js]]&lt;br /&gt;
&lt;br /&gt;
* Clear your browser&amp;#039;s cache. See your [[Special:Mypage/common.js|common.js]] to learn how to do that.&lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
&lt;br /&gt;
Navigation shortcuts automatically add a new sidebar portlet (menu with links) named the same as your login is. To add links to the portlet, edit code on your [[Special:Mypage/common.js|common.js]] (or equivalent skin-specific file).&lt;br /&gt;
&lt;br /&gt;
=== Links ===&lt;br /&gt;
&lt;br /&gt;
For each link add one line containing&lt;br /&gt;
: &amp;#039;&amp;#039;&amp;#039;&amp;lt;code&amp;gt;shortcutsAddLink ( &amp;#039;name&amp;#039;, &amp;#039;article&amp;#039; );&amp;lt;/code&amp;gt;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
where&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;name&amp;#039;&amp;#039;&amp;#039; is the displayed name in the link,&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;article&amp;#039;&amp;#039;&amp;#039; is the article name that the link points to.&lt;br /&gt;
&lt;br /&gt;
Add the lines in the same order in which you want the links to appear in the sidebar between the braces ( &amp;#039;&amp;#039;&amp;#039;&amp;lt;code&amp;gt;{&amp;lt;/code&amp;gt;&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;&amp;lt;code&amp;gt;}&amp;lt;/code&amp;gt;&amp;#039;&amp;#039;&amp;#039; ) in the following code:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
window.shortcutsInit = function ()&lt;br /&gt;
{ &lt;br /&gt;
  shortcutsAddLink (&amp;#039;Navigation shortcuts&amp;#039;, &amp;#039;Wikipedia:Tools/Navigation shortcuts&amp;#039;);&lt;br /&gt;
};&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== More portlets ===&lt;br /&gt;
&lt;br /&gt;
If you want to add more sidebar portlets, use&lt;br /&gt;
: &amp;#039;&amp;#039;&amp;#039;&amp;lt;code&amp;gt;shortcutsStartSection ( &amp;#039;name&amp;#039; );&amp;lt;/code&amp;gt;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
to start each one. In result the code should look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
window.shortcutsInit = function ()&lt;br /&gt;
{ &lt;br /&gt;
  shortcutsAddLink ( &amp;#039;Navigation shortcuts&amp;#039;, &amp;#039;Wikipedia:Tools/Navigation shortcuts&amp;#039; );&lt;br /&gt;
&lt;br /&gt;
  shortcutsStartSection (&amp;#039;wikify&amp;#039;);&lt;br /&gt;
&lt;br /&gt;
  shortcutsAddLink ( &amp;#039;Wikify&amp;#039;,          &amp;#039;WP:WWF&amp;#039; );&lt;br /&gt;
  shortcutsAddLink ( &amp;#039;Guide to layout&amp;#039;, &amp;#039;WP:GTL&amp;#039; );&lt;br /&gt;
  shortcutsAddLink ( &amp;#039;Manual of Style&amp;#039;, &amp;#039;WP:MOS&amp;#039; );&lt;br /&gt;
};&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Troubles ===&lt;br /&gt;
&lt;br /&gt;
Keep in mind that all configuration must be done within the &amp;#039;&amp;#039;&amp;#039;&amp;lt;code&amp;gt;window.shortcutsInit = function () { ... }&amp;lt;/code&amp;gt;&amp;#039;&amp;#039;&amp;#039;. If the shortcuts are not working, check whether you did not accidentally modify these lines:&lt;br /&gt;
* &amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
window.shortcutsInit = function ()&lt;br /&gt;
{ &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* &amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
};&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also double-check that all the configuration is placed between those lines.&lt;br /&gt;
&lt;br /&gt;
== Feedback ==&lt;br /&gt;
&lt;br /&gt;
* Report bugs and problems on the {{talk|2=talk page}}.&lt;br /&gt;
* Request features and post suggestions on the {{talk|2=talk page}}.&lt;br /&gt;
&lt;br /&gt;
== Development version ==&lt;br /&gt;
&lt;br /&gt;
This tool remains under development. The very latest version is available at [[User:Jsimlo/shortcuts-dev.js]] and it may see new features before the stable version. Be warned that it may break from time to time. If you do want to install it, type &amp;#039;&amp;#039;&amp;#039;&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;subst:js|User:Jsimlo/shortcuts-dev.js}}&amp;lt;/code&amp;gt;&amp;#039;&amp;#039;&amp;#039; into your [[Special:Mypage/common.js|common.js]] (or equivalent skin-specific file). Do not forget to delete your current installation of Navigation shortcuts as they may interfere with each other, resulting in duplicated links.&lt;br /&gt;
&lt;br /&gt;
== Uninstall ==&lt;br /&gt;
&lt;br /&gt;
* To uninstall Navigation shortcuts, delete all lines referring to [[User:Jsimlo/shortcuts.js]] from your [[Special:Mypage/common.js|common.js]] (or equivalent skin-specific file). Also remove all configuration from the rest of the file.&lt;br /&gt;
* Clear your browser&amp;#039;s cache. See your [[Special:Mypage/common.js|common.js]] to learn how to do that.&lt;br /&gt;
&lt;br /&gt;
{{Wikipedia technical help|collapsed}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Wikipedia scripts]]&lt;br /&gt;
[[Category:Wikipedia tools]]&lt;/div&gt;</summary>
		<author><name>Tachyony</name></author>
	</entry>
</feed>