Skip to content

Commit

Permalink
Release 2.7.3
Browse files Browse the repository at this point in the history
Change-Id: I3d9725d78cb715f4acac74ac038caa411c55179d
  • Loading branch information
Francisco Dans committed Mar 30, 2020
1 parent 676d884 commit 4f50c8b
Show file tree
Hide file tree
Showing 28 changed files with 531 additions and 419 deletions.
1 change: 0 additions & 1 deletion dist/assets-v2/0.57a3974521dae68b491f.js

This file was deleted.

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion dist/assets-v2/0.dbcd2e40e53dc740ada7.js

This file was deleted.

1 change: 0 additions & 1 deletion dist/assets-v2/0.f40eb595ef82bb2b6fac.js

This file was deleted.

1 change: 0 additions & 1 deletion dist/assets-v2/1.5fc22ccc4647b33f31f3.js

This file was deleted.

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion dist/assets-v2/1.79ca711d1e103d0943b4.js

This file was deleted.

1 change: 0 additions & 1 deletion dist/assets-v2/1.820e94d620585a72960e.js

This file was deleted.

58 changes: 0 additions & 58 deletions dist/assets-v2/main.bundle.2.7.2.en.js

This file was deleted.

58 changes: 0 additions & 58 deletions dist/assets-v2/main.bundle.2.7.2.fr.js

This file was deleted.

58 changes: 0 additions & 58 deletions dist/assets-v2/main.bundle.2.7.2.lb.js

This file was deleted.

58 changes: 0 additions & 58 deletions dist/assets-v2/main.bundle.2.7.2.pt.js

This file was deleted.

58 changes: 0 additions & 58 deletions dist/assets-v2/main.bundle.2.7.2.tr.js

This file was deleted.

58 changes: 0 additions & 58 deletions dist/assets-v2/main.bundle.2.7.2.uk.js

This file was deleted.

58 changes: 0 additions & 58 deletions dist/assets-v2/main.bundle.2.7.2.zh.js

This file was deleted.

File renamed without changes.
58 changes: 58 additions & 0 deletions dist/assets-v2/main.bundle.2.7.3.en.js

Large diffs are not rendered by default.

58 changes: 58 additions & 0 deletions dist/assets-v2/main.bundle.2.7.3.fr.js

Large diffs are not rendered by default.

58 changes: 58 additions & 0 deletions dist/assets-v2/main.bundle.2.7.3.lb.js

Large diffs are not rendered by default.

58 changes: 58 additions & 0 deletions dist/assets-v2/main.bundle.2.7.3.mk.js

Large diffs are not rendered by default.

58 changes: 58 additions & 0 deletions dist/assets-v2/main.bundle.2.7.3.nl.js

Large diffs are not rendered by default.

58 changes: 58 additions & 0 deletions dist/assets-v2/main.bundle.2.7.3.pt.js

Large diffs are not rendered by default.

58 changes: 58 additions & 0 deletions dist/assets-v2/main.bundle.2.7.3.tr.js

Large diffs are not rendered by default.

58 changes: 58 additions & 0 deletions dist/assets-v2/main.bundle.2.7.3.uk.js

Large diffs are not rendered by default.

58 changes: 58 additions & 0 deletions dist/assets-v2/main.bundle.2.7.3.zh.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
Wiktionary, Wikibooks, Wikinews, Wikiquote, Wikiversity"/>
<title> Wikistats - Statistics For Wikimedia Projects </title>
<link rel="shortcut icon" href="assets-v2/analytics.png">
<link rel="stylesheet" type="text/css" href="assets-v2/main.bundle.2.7.2.css">
<link rel="stylesheet" type="text/css" href="assets-v2/main.bundle.2.7.3.css">
</head>
<body>
<div id="wikistats-app"></div>
Expand All @@ -32,12 +32,12 @@
<!-- End Piwik Code -->

(function () {
var __availableLocales = "en,fr,lb,pt,tr,uk,zh".split(',');
var __availableLocales = "en,fr,lb,mk,nl,pt,tr,uk,zh".split(',');
var __selectedLocale = window.localStorage.getItem('language');
var __globalLocale = __selectedLocale || (navigator.language || navigator.userLanguage).split('-')[0];
__globalLocale = __availableLocales.indexOf(__globalLocale) > -1 ? __globalLocale : 'en';
window.localStorage.setItem('language', __globalLocale);
var jsFile = "main.bundle.2.7.2.pt.js";
var jsFile = "main.bundle.2.7.3.en.js";
var fileComponents = jsFile.split('.');
fileComponents[fileComponents.length-2] = __globalLocale;
var scriptElement = document.createElement('script');
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "wikistats",
"version": "2.7.2",
"version": "2.7.3",
"description": "A front end for Wikimedia project statistics. This is a new version implemented with Vue and Semantic UI.",
"main": "index.js",
"scripts": {
Expand Down
4 changes: 3 additions & 1 deletion webpack/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,10 @@ const deleteFolderRecursive = function(pathToDir) {
const getLocalesToBuild = () => {
let availableLocales = fs.readdirSync(i18nSrcPath).map(file => file.replace('.json', ''));
const languagesIndex = process.argv.indexOf('languages');
const languagesList = process.argv[languagesIndex + 1];
if (languagesIndex > -1) {
const languages = process.argv[languagesIndex + 1].split(',');
if (languagesList === 'all') return availableLocales;
const languages = languagesList.split(',');
availableLocales = availableLocales.filter(loc => languages.includes(loc));
} else {
availableLocales = availableLocales.filter(loc => configLanguages.includes(loc));
Expand Down

0 comments on commit 4f50c8b

Please sign in to comment.