User:TreeIsLife/common.js

// OneClickArchiver script mw.loader.load("//en.wikipedia.org/w/index.php?title=User:Technical_13/Scripts/OneClickArchiver.js&action=raw&ctype=text/javascript");

$(function {    "use strict";

// "_actions" for fandomdesktop, "_contribution-buttons" for oasis var $editDropdown = $(".page-header__actions .wds-list, .page-header__contribution-buttons .wds-list");

// search for talk link id only within edit dropdown to avoid unexpected results if layout is not as we expect var $talkLink = $editDropdown.find("#ca-talk");

if (!$talkLink.length) { return; }

// link is extracted from a list, so remove its parent  element $talkLink.parent.remove;

$talkLink.removeClass("new").addClass("wds-button wds-is-text page-header__action-button has-label");

// and other $talkLink.html(" Talk "); $editDropdown.parents(".wds-dropdown").before($talkLink); });