Skip to content

Commit

Permalink
Merge pull request #40 from nardog/patch-1
Browse files Browse the repository at this point in the history
Fix link to "Search by contributor" on WhatLinksHere etc.
  • Loading branch information
MusikAnimal authored Jul 25, 2023
2 parents 2122c92 + 935afa6 commit a4ca6d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MoreMenu.page.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ window.MoreMenu.page = config => ({
pageExists: true,
},
'search-by-contributor': {
url: `https://xtools.wmflabs.org/topedits/${config.project.domain}?namespace=${config.page.nsId}&page=${encodeURIComponent(mw.config.get('wgTitle'))}`,
url: `https://xtools.wmflabs.org/topedits/${config.project.domain}?namespace=${config.page.nsId}&page=${encodeURIComponent(mw.Title.newFromText(config.page.name).getMainText())}`,
pageExists: true,
},
'search-history-wikiblame': {
Expand Down

0 comments on commit a4ca6d6

Please sign in to comment.