Jump to content

User:Tulsi/swviewer.js

From Meta, a Wikimedia project coordination wiki

Note: After publishing, 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)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/**
 * SWViewer
 * See [https://meta.wikimedia.org/wiki/SWViewer]
 * Authored by Tulsi Bhagat [https://meta.wikimedia.org/wiki/User:Tulsi_Bhagat]
 * Shortcut key [alt-shift-v]
 */
mw.loader.using( [ 'mediawiki.util' ], function() {
	"use strict";
	mw.util.addPortletLink(
	'p-tb',
	'//swviewer.toolforge.org/',
	'SWViewer',
	't-swviewer',
	'Launch SWViewer',
	'v',
	'#t-info'
);
});