Update repository URL

This commit is contained in:
Florine W. Dekker 2022-02-28 17:01:26 +01:00
parent 60ae69fbd5
commit abf499c9cf
Signed by: FWDekker
GPG Key ID: D3DCFAA8A4560BE0
5 changed files with 18 additions and 12 deletions

View File

@ -1,6 +1,6 @@
MIT License MIT License
Copyright (c) 2020 F.W. Dekker Copyright (c) 2020 Florine W. Dekker
Permission is hereby granted, free of charge, to any person obtaining a copy Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal of this software and associated documentation files (the "Software"), to deal

BIN
package-lock.json generated

Binary file not shown.

View File

@ -1,12 +1,12 @@
{ {
"name": "interlanguage-checker", "name": "interlanguage-checker",
"version": "1.13.5", "version": "1.13.6",
"description": "Check the consistency of MediaWiki interlanguage links in a simple overview.", "description": "Check the consistency of MediaWiki interlanguage links in a simple overview.",
"author": "F.W. Dekker", "author": "Florine W. Dekker",
"browser": "dist/bundle.js", "browser": "dist/bundle.js",
"repository": { "repository": {
"type": "git", "type": "git",
"url": "git@git.fwdekker.com:FWDekker/interlanguage-checker.git" "url": "git@git.fwdekker.com:tools/interlanguage-checker.git"
}, },
"private": true, "private": true,
"scripts": { "scripts": {
@ -23,10 +23,10 @@
"grunt-contrib-watch": "^1.1.0", "grunt-contrib-watch": "^1.1.0",
"grunt-focus": "^1.0.0", "grunt-focus": "^1.0.0",
"grunt-text-replace": "^0.4.0", "grunt-text-replace": "^0.4.0",
"grunt-webpack": "^4.0.3", "grunt-webpack": "^5.0.0",
"ts-loader": "^9.2.3", "ts-loader": "^9.2.6",
"typescript": "^4.2.4", "typescript": "^4.5.5",
"webpack": "^5.38.1", "webpack": "^5.69.1",
"webpack-cli": "^4.7.2" "webpack-cli": "^4.9.2"
} }
} }

View File

@ -3,7 +3,7 @@
<head> <head>
<meta charset="utf-8" /> <meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="author" content="F.W. Dekker" /> <meta name="author" content="Florine W. Dekker" />
<meta name="application-name" content="Interlanguage Checker" /> <meta name="application-name" content="Interlanguage Checker" />
<meta name="description" content="Check the consistency of MediaWiki interlanguage links in a simple overview." /> <meta name="description" content="Check the consistency of MediaWiki interlanguage links in a simple overview." />
<meta name="theme-color" content="#0033cc" /> <meta name="theme-color" content="#0033cc" />

View File

@ -17,7 +17,7 @@ doAfterLoad(() => {
description: "Check the consistency of MediaWiki interlanguage links in a simple overview" description: "Check the consistency of MediaWiki interlanguage links in a simple overview"
})); }));
$("#footer").appendChild(footer({ $("#footer").appendChild(footer({
vcsURL: "https://git.fwdekker.com/FWDekker/interlanguage-checker/", vcsURL: "https://git.fwdekker.com/tools/interlanguage-checker/",
version: "v%%VERSION_NUMBER%%" version: "v%%VERSION_NUMBER%%"
})); }));
$("main").classList.remove("hidden"); $("main").classList.remove("hidden");
@ -52,6 +52,9 @@ doAfterLoad(async () => {
$("#url").value = url; $("#url").value = url;
return ""; return "";
} catch { } catch {
if (!(error instanceof Error))
throw Error(`Error while processing connection error:\n${error}`);
return error.message; return error.message;
} }
} }
@ -99,7 +102,10 @@ doAfterLoad(async () => {
const mw = await new MediaWiki(urlInput.getValue()).init(); const mw = await new MediaWiki(urlInput.getValue()).init();
mwm = await new MediaWikiManager().init(mw); mwm = await new MediaWikiManager().init(mw);
} catch (error) { } catch (error) {
messageHandler.handle("error", error); if (!(error instanceof Error))
throw Error(`Error while processing initialization error:\n${error}`);
messageHandler.handle("error", error.message);
return; return;
} }