MediaWiki:Common.js: Difference between revisions

From WikiIndex
Jump to navigation Jump to search
(i18n)
(temp. fix for main page red links)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* Any JavaScript here will be loaded for all users on every page load. */
/* Any JavaScript here will be loaded for all users on every page load. */
 
$(".page-Welcome a.new").removeClass("new");
$( document ).ready( function() {
  mw.util.addPortletLink(
    'p-tb',
    location.href.replace( location.hash, '' ) + ( location.search ? '&' : '?' ) + 'action=info',
    mw.message('pageinfo-toolboxlink').escaped(),
    't-pageinfo',
    'Display the current page information'
  );
});

Latest revision as of 04:41, 22 June 2015

/* Any JavaScript here will be loaded for all users on every page load. */
$(".page-Welcome a.new").removeClass("new");