In this article, we will explore Wikipedia:Tools/Navigation shortcuts in depth, a topic that has sparked much interest and debate in recent years. From its origins to its impact on today's society, we will examine all aspects related to Wikipedia:Tools/Navigation shortcuts to provide a comprehensive and complete overview. Through interviews, research and analysis, we will seek to better understand this topic and its influence on different areas of daily life. From its relevance in academia to its role in popular culture, Wikipedia:Tools/Navigation shortcuts has captured the attention of many and has generated a series of questions and concerns that we will try to address in this article. Join us on this journey of discovery and learning about Wikipedia:Tools/Navigation shortcuts!
Navigation shortcuts offer the ability to add personal links to the sidebar, providing quick and easy access to favourite articles within Wikipedia.
Quick installation: add {{subst:navshortcuts}}
to your common.js (or equivalent skin-specific file). See installation section below for full installation instructions and configuration section for instructions on adding sidebar links.
{{subst:navshortcuts}}
to your own common.js. Note that if you are using other skin than the default one, you might need to use another page instead of the common.js:
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 common.js (or equivalent skin-specific file).
For each link add one line containing
shortcutsAddLink ( 'name', 'article' );
where
Add the lines in the same order in which you want the links to appear in the sidebar between the braces ( {
and }
) in the following code:
window.shortcutsInit = function ()
{
shortcutsAddLink ('Navigation shortcuts', 'Wikipedia:Tools/Navigation shortcuts');
};
If you want to add more sidebar portlets, use
shortcutsStartSection ( 'name' );
to start each one. In result the code should look like this:
window.shortcutsInit = function ()
{
shortcutsAddLink ( 'Navigation shortcuts', 'Wikipedia:Tools/Navigation shortcuts' );
shortcutsStartSection ('wikify');
shortcutsAddLink ( 'Wikify', 'WP:WWF' );
shortcutsAddLink ( 'Guide to layout', 'WP:GTL' );
shortcutsAddLink ( 'Manual of Style', 'WP:MOS' );
};
Keep in mind that all configuration must be done within the window.shortcutsInit = function () { ... }
. If the shortcuts are not working, check whether you did not accidentally modify these lines:
window.shortcutsInit = function ()
{
};
Also double-check that all the configuration is placed between those lines.
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 {{subst:js|User:Jsimlo/shortcuts-dev.js}}
into your 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.