User contributions for Alex
Jump to navigation
Jump to search
13 October 2024
- 03:0503:05, 13 October 2024 diff hist +281 N MediaWiki:Gadget-sigreminder.js Created page with "var conf = mw.config.get([ 'wgAction', 'wgNamespaceNumber' ]); var editActions = ['edit', 'submit']; if (editActions.indexOf(conf.wgAction) > -1 && (conf.wgNamespaceNumber % 2 === 1 || conf.wgNamespaceNumber === 110)) { mw.loader.load( 'ext.gadget.sigreminder-core' ); }" current
- 03:0403:04, 13 October 2024 diff hist +175 N MediaWiki:Gadget-searchfocus.js Created page with "→* * https://en.wikipedia.org/wiki/MediaWiki:Gadget-searchFocus.js *: if ( mw.config.get( 'wgIsMainPage' ) ) { $( function () { $( '#searchInput' ).focus(); } ); }" current
- 03:0303:03, 13 October 2024 diff hist +174 N MediaWiki:Gadget-scribunto-console.css Created page with ".mw-scribunto-console-fieldset .console-control { margin-right: 0.25rem; } .mw-scribunto-console-fieldset input.console-control[type="checkbox"] { margin-left: 0.25rem; }" current
- 03:0303:03, 13 October 2024 diff hist +3,777 N MediaWiki:Gadget-scribunto-console-core.js Created page with "→* * Gadget that loads a couple of snippets for the console on module pages * Authors: ** LapOnTheMoon ** Gaz Lloyd * * * The scribunto console is run by ext.scribunto.edit - https://github.com/wikimedia/mediawiki-extensions-Scribunto/blob/master/modules/ext.scribunto.edit.js: const FRAME_TEST = [ "local frame = {}", "function frame.getParent()", " local args = {", " -- Args go here as ['name'] = value,", " }", " return { args = args }", "end",..."
- 03:0303:03, 13 October 2024 diff hist +117 N MediaWiki:Gadget-scribunto-console.js Created page with "$(function () { if ($('#mw-scribunto-console').length) { mw.loader.load('ext.gadget.scribunto-console-core') } })" current
- 03:0203:02, 13 October 2024 diff hist +2,572 N MediaWiki:Gadget-table-csv.js Created page with "$(function () { function cellToString(cell) { var $cell = $(cell).clone(); $cell.find('a').replaceWith(function(){ var $e = $(this); if ($e.text() === '') { //the handles normal linked images return $e.attr('title'); } return $e.text(); }); $cell.find('img').replaceWith(function(){ //any extra images without a link return $(this).attr('alt') }) return '"\''+$cell.text().trim()+'"'; } function sanitisePagename() { var pn = mw.config.g..." current
- 03:0203:02, 13 October 2024 diff hist +1,534 N MediaWiki:Gadget-ezcopy.css Created page with ".rsw-ezcopy-container { display: inline-block; font-family: 'IBM Plex Sans','Helvetica Neue','Arial',sans-serif; margin-left: 0.25em; user-select: none; } →ooui like buttons: .rsw-ezcopy-container .rsw-ezcopy-button { display: inline-block; height: 2em; width: 4em; vertical-align: middle; text-align: center; font-size: 0.4em; background: var(--ooui-normal); border: 1px solid var(--ooui-normal-border); font-weight: normal; cursor: pointer;..."
- 03:0203:02, 13 October 2024 diff hist +2,470 N MediaWiki:Gadget-ezcopy.js Created page with "$(function () { function try_copy(x, $el) { var txt = document.createElement('textarea'), $txt = $(txt); $txt.text(x).css({ position: 'fixed', top: 0, left: 0, width: '2em', heigh: '2em', padding: 0, border: 'none', outline: 'none', boxShadow: 'none', background: 'transparent' }).appendTo('body'); txt.select(); try { document.execCommand('copy'); //mw.notify('Copied "'+x+'" to the clipboard', {tag: 'ezcopy'}); $el.addClas..." current
- 03:0203:02, 13 October 2024 diff hist +882 N MediaWiki:Gadget-oswf-core.js Created page with "var showText = 'Get started with this task', hideText = 'Hide additional info', showTitle = 'Show the guidance for this task', hideTitle = 'Hide the guidance for this task'; function init() { $('.oswf-guidance').each(function(i,e){ var $this = $(e), $content, toggleButton, showing = false; $content = $('<div>').append($this.contents()); $content.hide(); toggleButton = new OO.ui.ButtonWidget({ icon: 'expand', title: showTitle, label: showTex..." current
- 03:0103:01, 13 October 2024 diff hist +102 N MediaWiki:Gadget-oswf.js Created page with "$(function () { if ( $('.oswf-guidance').length ) { mw.loader.load( 'ext.gadget.oswf-core' ); } })" current
- 03:0103:01, 13 October 2024 diff hist +475 N MediaWiki:Gadget-Message-names.js Created page with "→* Add a toolboox link to display the current page with MediaWiki message names replacing their text * Adapted from https://en.wikipedia.org/wiki/MediaWiki:Gadget-ShowMessageNames.js: $(function() { mw.util.addPortletLink( 'p-tb', location.href.replace( location.hash, '' ) + ( location.search ? '&' : '?' ) + 'uselang=qqx', 'Message names', 't-messagenames', 'Display the current page with MediaWiki message names replacing their text' ); });"
- 03:0103:01, 13 October 2024 diff hist +5,808 N MediaWiki:Gadget-QDmodal.css Created page with "→QDmodal - flexbox-based modal library Modified to remove Wikia-specific code; used with [[MediaWiki:Gadget-QDmodal.js]] @author OneTwoThreeFall @source <https://dev.fandom.com/wiki/QDmodal> @source <https://dev.fandom.com/wiki/MediaWiki:QDmodal.css>: body.qdmodal-is-visible { →add a margin equivalent to the scrollbar width to prevent page content moving due to hidden overflow: margin-inline-end: var(--qdmodal-scrollbar-width,..." current
- 03:0103:01, 13 October 2024 diff hist +11,032 N MediaWiki:Gadget-QuickDiff.js Created page with "→<nowiki> QuickDiff - quickly view any diff link Modified to remove Wikia-specific i18n code; relies on [[MediaWiki:Gadget-QDmodal.js]] and [[MediaWiki:Gadget-QDmodal.css]] @author OneTwoThreeFall @source <https://dev.fandom.com/wiki/QuickDiff> @source <https://dev.fandom.com/wiki/MediaWiki:QuickDiff/code.js> @source <https://dev.fandom.com/wiki/MediaWiki:Custom-QuickDiff/i18n.json>: →jslint browser, long: /*global jQuery, mediaWiki, dev..."
- 03:0003:00, 13 October 2024 diff hist +5,671 N MediaWiki:Gadget-QDmodal.js Created page with "→<nowiki> QDmodal - flexbox-based modal library Modified to remove Wikia-specific i18n code; relies on [[MediaWiki:Gadget-QDmodal.css]] @author OneTwoThreeFall @source <https://dev.fandom.com/wiki/QDmodal> @source <https://dev.fandom.com/wiki/MediaWiki:QDmodal.js>: →jslint browser, long, this: →global jQuery, mediaWiki: (function ($, mw) { "use strict"; var version = 20230117; if (mw.libs.QDmodal && mw.libs.QDmodal.version >..."
- 03:0003:00, 13 October 2024 diff hist +646 N MediaWiki:Gadget-LazyAdminTools-core.css Created page with ".LAT-container { max-width: 40em; } →reduce gap between text field and associated button: .gadget-LAT .oo-ui-actionFieldLayout-input { padding-right: .5em; } @media screen and (min-width: 1250px) { .LAT-container { display: flex; gap: 3em; max-width: 71em; } .gadget-LAT .oo-ui-fieldLayout { white-space: nowrap; margin-top: 0; } .LAT-section-block { flex: 1; } /* make rollback & everyt..." current
- 02:5902:59, 13 October 2024 diff hist +6,893 N MediaWiki:Gadget-LazyAdminTools-core.js Created page with "// LazyAdminTools: easy delete, rollback, and block buttons for admins // @author Jr Mime // @author Iiii_I_I_I $(function () { if (mw.config.get("wgCanonicalSpecialPageName") != "Contributions") return; var username = mw.config.get("wgPageName").split("/")[1], lazyAdminTools = {}; // Fieldset maker lazyAdminTools.init = function () { var blockSection = new OO.ui.ActionFieldLayout( new OO.ui.ComboBoxInputWidget({..."
- 02:5902:59, 13 October 2024 diff hist +121 N MediaWiki:Gadget-LazyAdminTools.js Created page with "if (mw.config.get('wgCanonicalSpecialPageName') == 'Contributions') { mw.loader.load('ext.gadget.LazyAdminTools-core') }" current
- 02:5902:59, 13 October 2024 diff hist +191 N MediaWiki:Gadget-batchupload.js Created page with "$(function(){ mw.util.addPortletLink( 'p-tb', '/w/RuneScape:Batch_Upload', 'Batch upload', 'pt-batch-upload', 'Upload many images at once', null, null ); });"
- 02:5902:59, 13 October 2024 diff hist +953 N MediaWiki:Gadget-fileDownload.js Created page with "→* * Adds a download link to file pages * * @author Gaz Lloyd: $(function(){ if (!(mw.config.get('wgNamespaceNumber') === 6 && $('.fullMedia, .filehistory').length > 0)) { return; } function addLinks() { // underneath image - also replace filename with page title $('.fullMedia a.internal').after( ' (', $('<a>') .text('download') .addClass('fileDownload') .attr({ href: $('.fullMedia a.internal').attr('href'), download: mw.conf..."
- 02:5802:58, 13 October 2024 diff hist +3,904 N MediaWiki:Gadget-ReferenceTooltips.css Created page with "→See [[mw:Reference Tooltips]] * Original source: https://en.wikipedia.org/wiki/MediaWiki:Gadget-ReferenceTooltips.css * with modifications: .rt-tooltip { position: absolute; z-index: 100; max-width: 350px; background: var(--body-light); color: var(--text-color); font-size: 0.8125em; line-height: 1.5em; border: 1px solid var(--body-border); border-radius: 2px; box-shadow: 0 15px 45px -10px rgba(0, 0, 0, 0.3); overflow-wrap: break-word; } .rt-tooltip...." current
- 02:5802:58, 13 October 2024 diff hist +25,871 N MediaWiki:Gadget-ReferenceTooltips.js Created page with "// See mw:Reference Tooltips // Source: https://en.wikipedia.org/wiki/MediaWiki:Gadget-ReferenceTooltips.js ( function () { // wiki settings var REF_LINK_SELECTOR = '.reference', COMMENTED_TEXT_CLASS = 'rt-commentedText', COMMENTED_TEXT_SELECTOR = ( COMMENTED_TEXT_CLASS ? '.' + COMMENTED_TEXT_CLASS + ', ' : '') + 'abbr[title]'; mw.messages.set( { 'rt-settings': 'Reference Tooltips settings', 'rt-enable-footer': 'Enable Reference Tooltips', 'rt-settings-titl..."
- 02:5802:58, 13 October 2024 diff hist +337 N MediaWiki:Gadget-hotcat.js Created page with "→This imports the latest version of HotCat from Commons. HotCat is a gadget to make changes to categories much easier. Full documentation can be found at http://commons.wikimedia.org/wiki/Help:Gadget-HotCat: mw.loader.load( '//commons.wikimedia.org/w/index.php?title=MediaWiki:Gadget-HotCat.js&action=raw&ctype=text/javascript' );" current
- 02:5702:57, 13 October 2024 diff hist +737 N MediaWiki:Gadget-purge.js Created page with "$(function () { function purgePage(e) { mw.notify("The page is now purging and will refresh when it is ready.", { title: 'Purging', tag: 'purge', autoHide: false }); (new mw.Api()).post({ action: 'purge', titles: mw.config.get('wgPageName') }).then(function(){ window.location.reload(); }, function(){ var uri = new mw.Uri(); uri.query.action = 'purge'; mw.notify($.parseHTML('Purging the page failed. Please try again or <a href="'+uri.toString()+..." current
- 02:5702:57, 13 October 2024 diff hist +1,779 N MediaWiki:Gadget-newPage.js Created page with "$(function () { var $button, $window; function createWindow(modal){ modal.content = new OO.ui.PanelLayout({ padded: true, expanded: false }); var pagenameInput = new OO.ui.TextInputWidget({placeholder: 'Full page name including namespace', type: 'text', id: 'gadget-newpage-pagename'}); var submitButton = new OO.ui.ButtonInputWidget({ label: 'Create', flags: ['primary', 'progressive']}); var cancelButton = new OO.ui.ButtonInputWidget({ label: 'Cancel', flags:..."
- 02:5702:57, 13 October 2024 diff hist +912 N MediaWiki:Gadget-dropdown.js Created page with "→* * add various useful links to the "More" dropdown menu * * References: * <https://www.mediawiki.org/wiki/ResourceLoader/Core_modules#addPortletLink> * <https://en.wikipedia.org/wiki/Help:Customizing_toolbars>: $( function () { var conf = mw.config.get([ 'wgPageName', 'wgNamespaceNumber', 'wgArticlePath' ]) if (conf.wgNamespaceNumber === -1) { return; // don't run on special pages } // link to the most recent diff à la Twinkle..."
- 02:5602:56, 13 October 2024 diff hist +4,284 N MediaWiki:Gadget-abuseLogRC-core.css Created page with "→keep in sync with <https://runescape.wiki/w/MediaWiki:Gadget-abuseLogRC-core.less>: →<pre>: .gadget-abuselog-error { width: fit-content; max-width: 40em; margin: auto; } .gadget-abuselog-header { display: flex; justify-content: space-between; align-items: end; } .gadget-abuselog-header h4 { display: inline; } .gadget-abuselog-settings { z-index: 2; } .gadget-abuselog-settings .oo-ui-popupWidget-body { margin: 0; width..."
- 02:5602:56, 13 October 2024 diff hist +14,864 N MediaWiki:Gadget-abuseLogRC-core.js Created page with "→====================== AbuseLogRC ====================== Shows certain Special:AbuseLog entries at the top of Special:RecentChanges for better vandalism detection. Use of this gadget requires the user right to view private filters ("abusefilter-log-private"). Keep this in sync with [[rsw:MediaWiki:Gadget-abuseLogRC-core.js]]. Inspired by Suppa chuppa's original script at [[User:Suppa chuppa/abuselog.js]] @author Iiii_I_I_I: ;(function ($, mw) {..."
- 02:5602:56, 13 October 2024 diff hist +135 N MediaWiki:Gadget-abuseLogRC.js Created page with "// <nowiki> if (mw.config.get('wgPageName') == 'Special:RecentChanges') { mw.loader.load('ext.gadget.abuseLogRC-core'); } // </nowiki>"
- 02:5402:54, 13 October 2024 diff hist +1,036 N MediaWiki:Gadget-stickyheader.js Created page with ";(function($, mw) { $('body').addClass('wgl-stickyheader'); function onScroll() { var personal = $('#p-personal'); var targetEle = document.getElementById("mw-head"); var head = $('#mw-head'); if (mw.config.get('wgAction') === 'edit' || window.location.search.includes('veaction')) { // We're on an edit page, do nothing and reset all the stuff if (personal.is(":hidden")) { personal.show(); head.removeClass('sticky-hidden'); } } else { if (w..."
- 02:5402:54, 13 October 2024 diff hist +334 N MediaWiki:Gadget-redirect-mobilediff.js Created page with "→* * Automatically redirect Special:MobileDiff to Special:Diff for desktop users: ;if (mw.config.get('wgCanonicalSpecialPageName') == 'MobileDiff') { var diff = mw.config.get('wgPageName').replace('Mobile', ''); var wgArticlePath = mw.config.get('wgArticlePath'); window.location.replace(wgArticlePath.replace('$1', diff)); }" current
- 02:5402:54, 13 October 2024 diff hist +491 N MediaWiki:Gadget-headerTargetHighlight.css Created page with "→* * Implements headers green highlighting when getting `:target`ed * e.g. <https://oldschool.runescape.wiki/w/Seren#History> * * enabled for mobile and desktop - for the latter the 'highlight' is replaced * with the anchor icon from sectionAnchors gadget being shown beside the header: .mw-headline:target { color: #3c780a; →@la-palma in [[RS:THEME]]: } body.wgl-theme-dark .mw-headline:target, body.wgl-theme-browntown .mw-headline:target { color: #6bc71..." current
- 02:5402:54, 13 October 2024 diff hist +73 N MediaWiki:Gadget-hideRCsidebar.css Created page with "→Hide RC on sidebar: #p-Recent_changes { display: none !important; }" current
- 02:5302:53, 13 October 2024 diff hist +1,017 N MediaWiki:Gadget-ringbell.css Created page with "@keyframes ring { 0% { transform: rotate(0); } 1% { transform: rotate(30deg); } 3% { transform: rotate(-28deg); } 5% { transform: rotate(34deg); } 7% { transform: rotate(-32deg); } 9% { transform: rotate(30deg); } 11% { transform: rotate(-28deg); } 13% { transform: rotate(26deg); } 15% { transform: rotate(-24deg); } 17% { transform: rotate(22deg); } 19% { transform: rotate(-20deg); } 21% { transform: rotate(18deg); } 23% { transform: rotate(-16deg); } 25% {..." current
- 02:5302:53, 13 October 2024 diff hist +2,979 N MediaWiki:Gadget-readableRC-core.css Created page with "→keep in sync with <https://runescape.wiki/w/MediaWiki:Gadget-readableRC-core.less>: →<pre>: .gadget-rc-enabled .mw-changeslist-line-inner, .gadget-rc-enabled td.mw-enhanced-rc-nested { display: flex; gap: 0.5em; hyphens: auto; } .gadget-rc-enabled table.mw-enhanced-rc td.mw-enhanced-rc-nested { padding-left: 0; } .gadget-rc-enabled .gadget-rc-row td { padding-top: 0.4em; } .gadget-rc-enabled .gadget-rc-col-1 { width: 22vw; max-wid..." current
- 02:5302:53, 13 October 2024 diff hist +10,244 N MediaWiki:Gadget-readableRC-core.js Created page with "// <nowiki> // Formats the rows on Special:RecentChanges where all the information runs together // into three columns (page, diff/byte change, and user links) to make it more readable // // @author Iiii_I_I_I ;(function ($, mw) { function runReadableRC($content) { if (!$content.hasClass('mw-changeslist')) { return; } $content.addClass('gadget-rc-enabled'); let rows = document.querySelectorAll( '.mw-changeslist-src-mw-edit,' + '.mw-changeslist-src-mw..."
- 02:5202:52, 13 October 2024 diff hist +110 N MediaWiki:Gadget-readableRC.js Created page with "if (mw.config.get('wgPageName') == 'Special:RecentChanges') { mw.loader.load('ext.gadget.readableRC-core'); }" current
- 02:5202:52, 13 October 2024 diff hist +3,307 N MediaWiki:Gadget-colorRC.css Created page with "→* * Color certain namespaces in RecentChanges * @todo: add something to distinguish watched pages (since this already bolds by default) * * This gadget is enabled for mobile too, so ensure that all CSS styling done here makes * sense for those viewing the wiki from a mobile device.: →fix this issue <https://css-tricks.com/multi-line-padded-text/>: .mw-changeslist-title { -webkit-box-decoration-break: clone; box-decoration-break: clone; } .mw-changeslist-ns-10..."
- 02:5202:52, 13 October 2024 diff hist +262 N MediaWiki:Gadget-falseSubpage.css Created page with "→* * Hides the subpage link on pages that should not be considered subpages - see also [[:Category:Pages with technically restricted titles]] and [[Template:Restricted title]] *: .mw-body:has(.false-subpage) #mw-content-subtitle .subpages { display: none; }"
- 02:5102:51, 13 October 2024 diff hist +3,068 N MediaWiki:Gadget-stickyTableHeaders.css Created page with "/* keeps table headers stuck to the top of the window, useful for long tables where it normally scrolls offscreen KNOWN PROBLEMS - borders disappear due to browser implementation issue (https://bugs.webkit.org/show_bug.cgi?id=128486) - double-row headers only work as long as the first <tr> does not stretch its height, since MediaWiki doesn't support <thead> - Safari makes the th elements in <tfoot> scroll down along with the top, if they are made stick..." current
- 02:5102:51, 13 October 2024 diff hist +495 N MediaWiki:Gadget-equipment.js Created page with "// Make buttons for Items Kept on Death and Equipment Stats on Template:Equipment clickable, // if equipment stats and buttons are shown. $(function() { $('.equipment-statsbutton, .equipment-ikodbutton').click(function() { var ikod = $(this).parents('.equipment').find('.equipment-ikod'), stats = $(this).parents('.equipment').find('.equipment-stats'); if ($(this).is('.equipment-statsbutton')) { ikod.hide(); stats.show(); } else { stats.hide(); ikod...."
- 02:5102:51, 13 October 2024 diff hist +311 N MediaWiki:Gadget-musicMap.css Created page with "path.leaflet-interactive { stroke: #38f; fill: #38f; fill-opacity: 0.3; opacity: 0.75; } path.leaflet-interactive:hover { fill: #16d; } path.leaflet-interactive.unlocked { fill: #6d6; } path.leaflet-interactive.unlocked:hover { fill: #3b3; } path.leaflet-interactive:active { fill-opacity: 0.25; }" current
- 02:5102:51, 13 October 2024 diff hist +7,414 N MediaWiki:Gadget-musicMap-core.js Created page with "→Music map * Generates an interactive music map that has toggleable polygons on it. Can be used as a 'checklist' to track music track unlock progression. * See [[Map:Music tracks]]: var MM = {}; MM.touch = false; MM.getUnlocked = function() { var ls = localStorage.getItem('musicMap-'+mw.config.get('wgPageName')); if (!ls) return []; // map characters back to numbers and convert to var bitstr = Array.prototype.map.call(ls, function(x) { // go through each cha..."
- 02:5002:50, 13 October 2024 diff hist +99 N MediaWiki:Gadget-musicMap.js Created page with "$(function () { if ($("#musicMap").length) { mw.loader.load( 'ext.gadget.musicmap-core' ); } })" current
- 02:5002:50, 13 October 2024 diff hist +1,012 N MediaWiki:Gadget-audioplayer.css Created page with ".rsw-music-player { height: 2em; vertical-align: middle; } →* Styles for [[Template:Playlist]] *: #music-playlist { →more mobile-friendly instead of static width: width: 90%; max-width: 350px; margin: 0 auto; text-align: center; padding-bottom: 0.5em; border: none; border: 1px solid var(--body-border); background: var(--body-light); } #music-playlist button { margin: 2px 0.5em; } #music-player { margin: 5px;..."
- 02:5002:50, 13 October 2024 diff hist +4,447 N MediaWiki:Gadget-audioplayer-core.js Created page with "$(function() { →* Replace audio track links with the audio file when clicked *: function playTrack(e, playlist) { if ($(this).attr('target') == '_blank') { // do not play another track if the link opens in a new tab. return; } e.preventDefault(); var filename = $(e.target).closest('a').attr('href').match(/File:(.*\.ogg)/)[1]; var $audio = $('<audio>').attr({ src: '/images/' + filename + '?11111', autoplay: playlist !== true, controls: true,..."
- 02:4902:49, 13 October 2024 diff hist +128 N MediaWiki:Gadget-audioplayer.js Created page with "$(function () { if ($( 'a[href^="/w/File:"][href$=".ogg"]' ).length) { mw.loader.load( 'ext.gadget.audioplayer-core' ); } })"
- 02:4802:48, 13 October 2024 diff hist +1,389 N MediaWiki:Gadget-navboxToggle.js Created page with "$(function () { var navtoggle = function () { if ($('.navbox.mw-collapsible').length) { var $arrow = $('<div>') .addClass('mf-icon mw-ui-icon-mf-expand mf-icon--small indicator'); var $navigationText = $('<span>') .addClass('mw-headline') .attr('tabindex', '0') .attr('role', 'button') .text('Navigation'); var $toggleBar = $('<h2>') .attr('id', 'navbox-fake-collapsible-heading') .addClass('section-heading collapsible-heading') ...." current
- 02:4702:47, 13 October 2024 diff hist +3,110 N MediaWiki:Gadget-sectionAnchors.css Created page with "→* * Vector HeadAnchors * @source https://www.mediawiki.org/wiki/MediaWiki:Gadget-vector-headanchor.css * * Copyright 2013 Timo Tijhof + with OSW customisations * @license MIT <https://opensource.org/licenses/MIT> * * See also: * https://www.mediawiki.org/wiki/Requests_for_comment/Clickable_section_anchors * https://phabricator.wikimedia.org/T18691: .mw-header { position: relative; /* Disable Vector's `overflow: hidden` because otherwise our negatively..."
- 02:4702:47, 13 October 2024 diff hist +1,189 N MediaWiki:Gadget-sectionAnchors.js Created page with "→* * Vector HeadAnchors * @source https://www.mediawiki.org/wiki/MediaWiki:Gadget-vector-headanchor.js * @revision 2015-03-07 * * @license http://krinkle.mit-license.org/ * @author Timo Tijhof, 2013–2015 * * See also: * https://www.mediawiki.org/wiki/Requests_for_comment/Clickable_section_anchors * https://phabricator.wikimedia.org/T18691: $( function () { if ( mw.config.get('wgIsMainPage') ) { // Don't run on the main page, where we use..." current
- 02:4602:46, 13 October 2024 diff hist +822 N MediaWiki:Gadget-toplinksDropdown.js Created page with "→* * De-clutters the personal links at the top by collecting them in a dropdown, * opened by hovering over your username - inspired by the Timeless skin * * @author Iiii_I_I_I: $(function() { var $talk = $('#pt-mytalk'), $contris = $('#pt-mycontris'), $watchlist = $('#pt-watchlist'), $prefs = $('#pt-preferences'), $logout = $('#pt-logout'); // new talk page message $('#pt-mytalk .mw-echo-alert').text('Talk'); // c..." current