Skip to content

Commit

Permalink
Merge pull request #45 from theresnotime/dispenser
Browse files Browse the repository at this point in the history
Remove dispenser tools from menu
  • Loading branch information
MusikAnimal authored Dec 13, 2023
2 parents aa0ed9b + ab595b5 commit 097de96
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 29 deletions.
16 changes: 1 addition & 15 deletions dist/MoreMenu.page.js
Original file line number Diff line number Diff line change
Expand Up @@ -150,28 +150,14 @@ window.MoreMenu.page = function (config) {
},
/** Tools used to semi-automate editing. */
'tools': {
'check-external-links': {
url: "http://69.142.160.183/~dispenser/cgi-bin/webchecklinks.py?page=".concat(config.page.encodedName, "&hostname=").concat(config.project.domain),
pageExists: true
},
'check-redirects': {
url: "http://69.142.160.183/~dispenser/cgi-bin/rdcheck.py?page=".concat(config.page.encodedName, "&lang=").concat(config.project.contentLanguage),
pageExists: true,
noticeProjectRestrict: ['wikipedia']
},
'disambiguate-links': {
url: "http://69.142.160.183/~dispenser/cgi-bin/dablinks.py?page=".concat(config.page.encodedName, "&lang=").concat(config.project.contentLanguage),
pageExists: true,
noticeProjectRestrict: ['wikipedia']
},
'expand-bare-references': {
url: "https://refill.toolforge.org/ng/result.php?page=".concat(config.page.encodedName, "&defaults=y&wiki=").concat(config.project.contentLanguage),
pageExists: true,
namespaceRestrict: [0, 2, 118],
noticeProjectRestrict: ['wikipedia', 'commons', 'meta']
},
'fix-dead-links': {
url: "https://iabot.toolforge.org/index.php?page=runbotsingle&pagesearch=".concat(config.page.encodedName, "&wiki=").concat(config.project.dbName),
url: "https://iabot.wmcloud.org/index.php?page=runbotsingle&pagesearch=".concat(config.page.encodedName, "&wiki=").concat(config.project.dbName),
pageExists: true,
databaseRestrict: ['alswiki', 'barwiki', 'ckbwiki', 'dewiki', 'enwiki', 'eswiki', 'frwiki', 'huwiki', 'itwiki', 'jawiki', 'kowiki', 'lvwiki', 'nlwiki', 'nowiki', 'ptwiki', 'ruwiki', 'svwiki', 'zhwiki']
}
Expand Down
14 changes: 0 additions & 14 deletions src/MoreMenu.page.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,20 +100,6 @@ window.MoreMenu.page = config => ({
},
/** Tools used to semi-automate editing. */
'tools': {
'check-external-links': {
url: `http://69.142.160.183/~dispenser/cgi-bin/webchecklinks.py?page=${config.page.encodedName}&hostname=${config.project.domain}`,
pageExists: true,
},
'check-redirects': {
url: `http://69.142.160.183/~dispenser/cgi-bin/rdcheck.py?page=${config.page.encodedName}&lang=${config.project.contentLanguage}`,
pageExists: true,
noticeProjectRestrict: ['wikipedia'],
},
'disambiguate-links': {
url: `http://69.142.160.183/~dispenser/cgi-bin/dablinks.py?page=${config.page.encodedName}&lang=${config.project.contentLanguage}`,
pageExists: true,
noticeProjectRestrict: ['wikipedia'],
},
'expand-bare-references': {
url: `https://refill.toolforge.org/ng/result.php?page=${config.page.encodedName}&defaults=y&wiki=${config.project.contentLanguage}`,
pageExists: true,
Expand Down

0 comments on commit 097de96

Please sign in to comment.