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", diff --git a/src/MoreMenu.page.js b/src/MoreMenu.page.js index dcefc42..a99fccd 100644 --- a/src/MoreMenu.page.js +++ b/src/MoreMenu.page.js @@ -60,14 +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, }, - 'transclusion-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`, namespaceRestrict: [2, 4, 5, 10, 11, 12, 13, 100, 101],