From 7af000a817cb65b0a78b71eb54ee3d3a04cb7c04 Mon Sep 17 00:00:00 2001 From: Nardog Date: Fri, 23 Feb 2024 03:17:47 +0900 Subject: [PATCH 1/3] Link to Link Count in all namespaces --- src/MoreMenu.page.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/MoreMenu.page.js b/src/MoreMenu.page.js index 8167419..dc59b61 100644 --- a/src/MoreMenu.page.js +++ b/src/MoreMenu.page.js @@ -64,9 +64,8 @@ window.MoreMenu.page = config => ({ url: `https://pageviews.wmcloud.org?project=${config.project.domain}&pages=${config.page.encodedName}`, pageExists: true, }, - 'transclusion-count': { + 'link-count': { url: `https://linkcount.toolforge.org/?project=${config.project.domain}&page=${config.page.encodedName}`, - namespaceRestrict: [2, 4, 5, 10, 11, 12, 13, 100, 101, 828], }, 'transclusions': { url: `https://${config.project.domain}/w/index.php?title=Special:WhatLinksHere/${config.page.encodedName}&hidelinks=1&hideredirs=1`, From 92c7d1ad122142c675b93aba0dbd8a1dbfed4767 Mon Sep 17 00:00:00 2001 From: Nardog Date: Fri, 23 Feb 2024 03:19:44 +0900 Subject: [PATCH 2/3] Update MoreMenu.messages.en.js --- src/MoreMenu.messages.en.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MoreMenu.messages.en.js b/src/MoreMenu.messages.en.js index 1cec75b..ce3041c 100644 --- a/src/MoreMenu.messages.en.js +++ b/src/MoreMenu.messages.en.js @@ -45,6 +45,7 @@ $.extend(window.MoreMenu.messages, { "global-contributions-xtools": "Global edits – XTools", "ip-lookup": "IP lookup", "latest-diff": "Latest diff", + "link-count": "Link count", "mass-message-log": "Mass message log", "merge-page": "Merge", "move-log": "Move log", @@ -75,7 +76,6 @@ $.extend(window.MoreMenu.messages, { "top-edited-pages": "Top edited pages", "traffic-report": "Traffic report", "transclusions": "Transclusions", - "transclusion-count": "Transclusion count", "unblock-user": "Unblock user", "undelete-page": "Undelete", "upload-log": "Upload log", From ede0653fd8c6cf1b9c1e00b4f933a76bf413f173 Mon Sep 17 00:00:00 2001 From: Nardog Date: Fri, 23 Feb 2024 03:21:34 +0900 Subject: [PATCH 3/3] Alphabetize --- src/MoreMenu.page.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/MoreMenu.page.js b/src/MoreMenu.page.js index dc59b61..a323973 100644 --- a/src/MoreMenu.page.js +++ b/src/MoreMenu.page.js @@ -60,13 +60,13 @@ window.MoreMenu.page = config => ({ url: `https://copyvios.toolforge.org?lang=${config.project.domain.split('.')[0]}&project=${config.project.domain.split('.')[1]}&title=${config.page.encodedName}&oldid=&action=search&use_engine=1&use_links=1`, pageExists: true, }, + 'link-count': { + url: `https://linkcount.toolforge.org/?project=${config.project.domain}&page=${config.page.encodedName}`, + }, 'traffic-report': { url: `https://pageviews.wmcloud.org?project=${config.project.domain}&pages=${config.page.encodedName}`, pageExists: true, }, - 'link-count': { - url: `https://linkcount.toolforge.org/?project=${config.project.domain}&page=${config.page.encodedName}`, - }, 'transclusions': { url: `https://${config.project.domain}/w/index.php?title=Special:WhatLinksHere/${config.page.encodedName}&hidelinks=1&hideredirs=1`, namespaceRestrict: [2, 4, 5, 10, 11, 12, 13, 100, 101],