Wikipedia talk:Tools/Navigation shortcuts

Latest comment: 8 months ago by Doc James in topic vector bug

Bug reports

edit

Doesn't work for me

edit

I am using the vector skin. I added {{subst:navshortcuts}} to my common.js, but nothing happened, even after hard refresh and purge. Please help. I know the best wiki (talk) 15:02, 28 March 2019 (UTC)Reply

It looks like Template:navshortcuts got deleted, and apparently this is not the first time. I guess whatever was on that page was not clear enough about the fact that it is in fact meant to be substed? Perhaps the author should just host it in their userspace? —SamB (talk) 19:39, 10 June 2019 (UTC)Reply

Feature requests

edit

Special pages

edit

Can somehow pages not in "wiki" directory be added to sidebar? For example, list of your subpages: http://en.wikipedia.org/w/index.php?title=Special:Prefixindex&from=<User name>&namespace=2? Súrendil 17:58, 12 August 2007 (UTC)Reply

edit

It would be nice that also external links like http://... would work in Navigation shortcuts. By the way, nice tool now I need to find out how to remove unwanted parts from the sidebar. --84.156.79.115 (talk) 16:31, 6 May 2008 (UTC)Reply

edit

I've played a little with Navi shortcuts and found out how to remove the boring standard elements and put Navi shortcuts on top of the sidebar. Such a thing could be extended and controlled by a global variable where users can choose between diffrent options. --84.156.93.137 (talk) 11:47, 7 May 2008 (UTC)Reply

 function shortcutsMain ()
 {
   var sidecol = document.getElementById ('column-one');
 
   for (var i = 0; i < shortcutsLinks.length; i++)
     if (shortcutsLinks[i]['links'].length > 0)
       sidecol.insertBefore (
         shortcutsMakePortlet (shortcutsLinks[i]['name'], shortcutsLinks[i]['links']),
         document.getElementById('p-interaction')
       );
   sidecol.removeChild(document.getElementById('p-interaction'));
   sidecol.removeChild(document.getElementById('p-navigation'));
 
 }

German WP

edit

For use in german wikipedia the strings panel and column-one must be replaced with mw-panel and portal --Biezl (talk) 15:35, 26 June 2010 (UTC)Reply

vector bug

edit

just an info:

"panel" should be changed to "mw-panel" to make it work with vector skin at User:Jsimlo/shortcuts.js at

   if (skin == 'vector') {
       var sidecol = document.getElementById ('panel'); // <-------- put 'mw-panel' here
   } else {
       var sidecol = document.getElementById ('column-one');
   }

--birdy (:> )=| 14:50, 30 September 2010 (UTC)Reply

Query strings

edit

Wikipedia:Village pump (technical)/Archive 127#Special:WhatLinksHere currently discusses a change [1] which means that query strings no longer work. They worked before although it may not have been a deliberate feature. PrimeHunter (talk) 17:31, 22 November 2012 (UTC)Reply

2024 and does this still work?

edit

Tried to place it here and I am getting no changes... https://en.wikipedia.org/wiki/User:Doc_James/common.js

Doc James (talk · contribs · email) 12:43, 7 December 2024 (UTC)Reply

From what I can tell, this functionality is now implemented by default (rather than requiring a user script). See Help:Customizing toolbars. – Closed Limelike Curves (talk) 19:37, 8 December 2024 (UTC)Reply
Thanks yes that worked. Trying to figure out how to pull in a Q from Wikidata and thus have links to the Wikidata item in my sidebar... Help_talk:Customizing_toolbars This almost solves that. Doc James (talk · contribs · email) 20:25, 8 December 2024 (UTC)Reply