Submit your research to the International Journal "Notes on Intuitionistic Fuzzy Sets". Contact us at nifs.journal@gmail.com

Call for Papers for the 27th International Conference on Intuitionistic Fuzzy Sets is now open!
Conference: 5–6 July 2024, Burgas, Bulgaria • EXTENDED DEADLINE for submissions: 15 APRIL 2024.

MediaWiki:Common.js/Toolbox.js

From Ifigenia, the wiki for intuitionistic fuzzy sets and generalized nets
Jump to navigation Jump to search

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)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/***** subPagesLink ********
 * Adds a link to subpages of current page
 * (copied from [[commons:MediaWiki:Common.js]] and slightly modified)
 *
 * JSconfig items: bool JSconfig.subPagesLink
 * 	(true=enabled (default), false=disabled)
 ****/
var subPagesLink =
{
	wo_ns : [NS_MEDIA, NS_SPECIAL, NS_IMAGE, NS_CATEGORY],
 
	install: function()
	{
		// honor user configuration
		if( !JSconfig.keys['subPagesLink'] ) return;
 
		if ( document.getElementById("p-tb")
				&& ! inArray( wgNamespaceNumber, subPagesLink.wo_ns) )
		{
			addPortletLink( 'p-tb',
				Creator.createInternUrl('Special:Prefixindex/' + wgPageName +'/'),
				gLang.msg("tb-subpages"), 't-subpages' );
		}
	}
}
addOnloadHook( function() {
	JSconfig.registerKey('subPagesLink', true, gLang.msg("tb-subpages-settings"), 9);
	subPagesLink.install();
});