Da Meta.
Jump to navigation Jump to search

Languages: EnglishNederlands


This script adds an extra Special-page called "What leaves here", and a link in the toolbox next to "What links here". This tool enables you list all outgoing page links, image links, external links, categories and transclusions on the page. A bit like WhatLinksHere which lists all incoming page links, image links and transclusions. Can be filtered by namespace as well.


Please leave the [[File:Krinkle_WhatLeavesHere.js]] in for statistics+
  • Now browse to an article and click "What leaves here" in the toolbox.
  • Yes check.svg Fatto :-)

If nothing appears, be sure to verify that you've put the above code on the wiki you use the tool on, not per se here on Meta.
Also clear your cache and do a hard refresh. If you encounter any issues, please let me know!

How to clear cache

Note: After saving, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.


If you experience any issues or have suggestions for how something could be better, let me know by filing an issue.

Install as Gadget

(These instructions are for sysops who can edit in the MediaWiki:-namespace)

  • Copy the the Install snippet to your wiki's MediaWiki:Gadget-WhatLeavesHere.js (just like when you would install it in your user script)
  • Create MediaWiki:Gadget-WhatLeavesHere with something like the following:
''What leaves here'': A Special page for extracting all links from the current page. Accessible from the Toolbox. 
  • Then add a line in MediaWiki:Gadgets-definition somewhere with:
    * WhatLeavesHere[ResourceLoader]|WhatLeavesHere.js 

See also[modifica]

Check also my other Tools and Scripts here.