Adding support for Toki Pona w/ Wikipesija
parent
5cee2fe8e3
commit
f5f0434499
|
@ -74,7 +74,7 @@ function redirectToBreezeWiki(storage, eventInfo, url) {
|
|||
|
||||
// Load website data.
|
||||
async function getData() {
|
||||
const LANGS = ["DE", "EN", "ES", "FR", "IT", "PL"];
|
||||
const LANGS = ["DE", "EN", "ES", "FR", "IT", "PL", "TOK"];
|
||||
let sites = [];
|
||||
let promises = [];
|
||||
for (let i = 0; i < LANGS.length; i++) {
|
||||
|
|
|
@ -25,7 +25,7 @@ function addLocationObserver(callback) {
|
|||
|
||||
// Load website data
|
||||
async function getData() {
|
||||
const LANGS = ["DE", "EN", "ES", "FR", "IT", "PL"];
|
||||
const LANGS = ["DE", "EN", "ES", "FR", "IT", "PL", "TOK"];
|
||||
let sites = [];
|
||||
let promises = [];
|
||||
for (let i = 0; i < LANGS.length; i++) {
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
[
|
||||
{
|
||||
"id": "tok-wikipesija",
|
||||
"origin": "Toki Pona Fandom Wiki",
|
||||
"origin_base_url": "tokipona.fandom.com",
|
||||
"origin_content_path": "/wiki/",
|
||||
"destination": "Wikipesija",
|
||||
"destination_base_url": "wikipesija.org",
|
||||
"destination_content_path": "/wiki/",
|
||||
"destination_platform": "mediawiki",
|
||||
"destination_icon": "wikipesija.png"
|
||||
}
|
||||
]
|
Binary file not shown.
After Width: | Height: | Size: 571 B |
|
@ -31,7 +31,8 @@
|
|||
"data/sitesES.json",
|
||||
"data/sitesFR.json",
|
||||
"data/sitesIT.json",
|
||||
"data/sitesPL.json"
|
||||
"data/sitesPL.json",
|
||||
"data/sitesTOK.json"
|
||||
],
|
||||
"background": {
|
||||
"scripts": [
|
||||
|
|
|
@ -33,7 +33,8 @@
|
|||
"data/sitesES.json",
|
||||
"data/sitesFR.json",
|
||||
"data/sitesIT.json",
|
||||
"data/sitesPL.json"
|
||||
"data/sitesPL.json",
|
||||
"data/sitesTOK.json"
|
||||
],
|
||||
"matches": [
|
||||
"https://*.fandom.com/*",
|
||||
|
|
|
@ -187,6 +187,7 @@
|
|||
<option value="FR">Français</option>
|
||||
<option value="IT">Italiano</option>
|
||||
<option value="PL">Polski</option>
|
||||
<option value="TOK">Toki Pona</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="options">
|
||||
|
|
Loading…
Reference in New Issue