Adding Ukrainian Minecraft Wiki
parent
46e749663e
commit
825cc8d67d
|
@ -296,7 +296,7 @@ function redirectToBreezeWiki(storage, eventInfo, url) {
|
||||||
|
|
||||||
// Load website data
|
// Load website data
|
||||||
async function getData() {
|
async function getData() {
|
||||||
const LANGS = ["DE", "EN", "ES", "FR", "IT", "KO", "PL", "PT", "TOK", "ZH"];
|
const LANGS = ["DE", "EN", "ES", "FR", "IT", "KO", "PL", "PT", "TOK", "UK", "ZH"];
|
||||||
let sites = [];
|
let sites = [];
|
||||||
let promises = [];
|
let promises = [];
|
||||||
for (let i = 0; i < LANGS.length; i++) {
|
for (let i = 0; i < LANGS.length; i++) {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
const LANGS = ["DE", "EN", "ES", "FR", "IT", "KO", "PL", "PT", "TOK", "ZH"];
|
const LANGS = ["DE", "EN", "ES", "FR", "IT", "KO", "PL", "PT", "TOK", "UK", "ZH"];
|
||||||
const breezeWikiRegex = /breezewiki\.com$|breeze\.hostux\.net$|bw\.projectsegfau\.lt$|antifandom\.com$|breezewiki\.pussthecat\.org$|bw\.vern\.cc$|breezewiki\.esmailelbob\.xyz$|bw\.artemislena\.eu$|bw\.hamstro\.dev$|nerd\.whatever\.social$|breeze\.nohost\.network$|breeze\.whateveritworks\.org$/;
|
const breezeWikiRegex = /breezewiki\.com$|breeze\.hostux\.net$|bw\.projectsegfau\.lt$|antifandom\.com$|breezewiki\.pussthecat\.org$|bw\.vern\.cc$|breezewiki\.esmailelbob\.xyz$|bw\.artemislena\.eu$|bw\.hamstro\.dev$|nerd\.whatever\.social$|breeze\.nohost\.network$|breeze\.whateveritworks\.org$/;
|
||||||
const currentURL = new URL(document.location);
|
const currentURL = new URL(document.location);
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
const LANGS = ["DE", "EN", "ES", "FR", "IT", "KO", "PL", "PT", "TOK", "UK", "ZH"];
|
||||||
const currentURL = new URL(document.location);
|
const currentURL = new URL(document.location);
|
||||||
let filteredWikis = [];
|
let filteredWikis = [];
|
||||||
let hiddenWikisRevealed = {};
|
let hiddenWikisRevealed = {};
|
||||||
|
@ -26,7 +27,6 @@ function addLocationObserver(callback) {
|
||||||
|
|
||||||
// Load website data:
|
// Load website data:
|
||||||
async function getData() {
|
async function getData() {
|
||||||
const LANGS = ["DE", "EN", "ES", "FR", "IT", "PL", "TOK"];
|
|
||||||
let sites = [];
|
let sites = [];
|
||||||
let promises = [];
|
let promises = [];
|
||||||
for (let i = 0; i < LANGS.length; i++) {
|
for (let i = 0; i < LANGS.length; i++) {
|
||||||
|
|
|
@ -0,0 +1,18 @@
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"id": "uk-minecraft",
|
||||||
|
"origins_label": "Minecraft Fandom Wiki",
|
||||||
|
"origins": [
|
||||||
|
{
|
||||||
|
"origin": "Minecraft Fandom Wiki",
|
||||||
|
"origin_base_url": "minecraft.fandom.com/uk",
|
||||||
|
"origin_content_path": "/wiki/"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"destination": "Minecraft Wiki",
|
||||||
|
"destination_base_url": "uk.minecraft.wiki",
|
||||||
|
"destination_content_path": "/w/",
|
||||||
|
"destination_platform": "mediawiki",
|
||||||
|
"destination_icon": "minecraftwiki.png"
|
||||||
|
}
|
||||||
|
]
|
Binary file not shown.
After Width: | Height: | Size: 616 B |
|
@ -50,6 +50,7 @@
|
||||||
"data/sitesPL.json",
|
"data/sitesPL.json",
|
||||||
"data/sitesPT.json",
|
"data/sitesPT.json",
|
||||||
"data/sitesTOK.json",
|
"data/sitesTOK.json",
|
||||||
|
"data/sitesUK.json",
|
||||||
"data/sitesZH.json"
|
"data/sitesZH.json"
|
||||||
],
|
],
|
||||||
"background": {
|
"background": {
|
||||||
|
|
|
@ -38,6 +38,7 @@
|
||||||
"data/sitesPL.json",
|
"data/sitesPL.json",
|
||||||
"data/sitesPT.json",
|
"data/sitesPT.json",
|
||||||
"data/sitesTOK.json",
|
"data/sitesTOK.json",
|
||||||
|
"data/sitesUK.json",
|
||||||
"data/sitesZH.json"
|
"data/sitesZH.json"
|
||||||
],
|
],
|
||||||
"matches": [
|
"matches": [
|
||||||
|
|
2
popup.js
2
popup.js
|
@ -1,4 +1,4 @@
|
||||||
const LANGS = ["DE", "EN", "ES", "FR", "IT", "KO", "PL", "PT", "TOK", "ZH"];
|
const LANGS = ["DE", "EN", "ES", "FR", "IT", "KO", "PL", "PT", "TOK", "UK", "ZH"];
|
||||||
|
|
||||||
// Set power setting
|
// Set power setting
|
||||||
function setPower(setting) {
|
function setPower(setting) {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
const LANGS = ["DE", "EN", "ES", "FR", "IT", "KO", "PL", "PT", "TOK", "ZH"];
|
const LANGS = ["DE", "EN", "ES", "FR", "IT", "KO", "PL", "PT", "TOK", "UK", "ZH"];
|
||||||
var sites = [];
|
var sites = [];
|
||||||
|
|
||||||
// Create object prototypes for getting and setting attributes:
|
// Create object prototypes for getting and setting attributes:
|
||||||
|
|
Loading…
Reference in New Issue