tweak: vimwiki is now a fandom.com subdomain

This commit is contained in:
Maddison Hellstrom 2019-03-14 10:44:25 -07:00
parent 531b503f3c
commit 8a0dd69222
4 changed files with 9 additions and 8 deletions

View File

@ -437,10 +437,10 @@ For example, to open the Wikipedia completion, you would type `awp` while in nor
<td><a href="#thesaurus">:framed_picture:</a></td>
</tr>
<tr>
<td><a href="https://vim.wikia.com"><img src="./assets/favicons/vim.wikia.com.ico" width="16px"> </a></td>
<td><a href="https://vim.fandom.com"><img src="./assets/favicons/vim.fandom.com.ico" width="16px"> </a></td>
<td><code>vw</code></td>
<td>vimwikia</td>
<td><a href="https://vim.wikia.com">vim.wikia.com</a></td>
<td>vimwiki</td>
<td><a href="https://vim.fandom.com">vim.fandom.com</a></td>
<td></td>
</tr>
<tr>

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

View File

@ -225,14 +225,15 @@ completions.do.callback = response => Object.entries(JSON.parse(response.text))
// Vim Wiki
completions.vw = {
alias: "vw",
name: "vimwikia",
search: "https://vim.wikia.com/wiki/Special:Search?query=",
compl: "https://vim.wikia.com/api.php?action=opensearch&format=json&formatversion=2&namespace=0&limit=10&suggest=true&search=",
alias: "vw",
name: "vimwiki",
favicon: "https://vignette.wikia.nocookie.net/vim/images/6/64/Favicon.ico",
search: "https://vim.fandom.com/wiki/Special:Search?query=",
compl: "https://vim.fandom.com/api.php?action=opensearch&format=json&formatversion=2&namespace=0&limit=10&suggest=true&search=",
}
completions.vw.callback = response => JSON.parse(response.text)[1]
.map(r => createURLItem(r, `https://vim.wikia.com/wiki/${r}`))
.map(r => createURLItem(r, `https://vim.fandom.com/wiki/${r}`))
// ****** Shopping & Food ****** //