Change sample ZIM to nopic version

Former-commit-id: 82fd0b4a437266bfb8498bba349325f902660ec9 [formerly 3b29d2d07558b815f1c2d2d4c505719823f663a5 [formerly f120a545f1f28ebf8c8064881584e6e598ef1a22]]
Former-commit-id: c8b4dff39fa053fffb0b68723751968bc80a83d7
Former-commit-id: f312c73adb411585965bd15d8cf5648da9f32ab0
This commit is contained in:
Jaifroid 2021-09-01 18:36:21 +01:00
parent 4b87a039b2
commit 5507cbc50b
6 changed files with 12 additions and 13 deletions

View File

@ -6,7 +6,7 @@
* ENHANCEMENT: Added refresh button for picked folder in Configuration (UWP or File System Access API)
* ENHANCEMENT: Added some extra directories of useful ZIM archives to Donwload library
* ENHANCEMENT: Provide option to allow image manipulation (saving to disk or opening in new tab)
* UPDATE: Sample ZIM updated to `wikipedia_en_100_maxi_2021-08.zim`
* UPDATE: Sample ZIM changed to `wikipedia_en_100_nopic_2021-08.zim` in order to reduce app size
* UPDATE: New option to change right click to double right click for opening new window or tab
* FIX: Issues with toolbars getting stuck on after searching for text in article
* FIX: Better replication of infobox mobile and desktop styles

View File

@ -4,7 +4,7 @@
// App version number - ENSURE IT MATCHES VALUE IN init.js
// DEV: Changing this will cause the browser to recognize that the Service Worker has changed, and it will download and
// install a new copy
const appVersion = '1.6.2-rc6';
const appVersion = '1.6.2-rc7';
// Kiwix ZIM Archive Download Server in regex form
// DEV: The server URL is defined in init.js, but is not available to us in SW

View File

@ -102,9 +102,9 @@
</p>
</div>
<p style="padding-top:10px;">
This application may be packaged with a sample ZIM archive of the top 100 Wikipedia articles so that you can get a feel for how
offline Wikipedia browsing works. For the full experience you <strong>must download an offline ZIM archive</strong> and store it
on your device! You can do this from the <b>Configuration page&nbsp;<span class="glyphicon glyphicon-wrench"></span></b>,
This application may be packaged with a small sample ZIM archive WITHOUT PICTURES of the top 100 Wikipedia articles so that you
can get a feel for how offline Wikipedia browsing works. For the full experience you <strong>must download an offline ZIM archive</strong>
and store it on your device! You can do this from the <b>Configuration page&nbsp;<span class="glyphicon glyphicon-wrench"></span></b>,
or else see the <b>About page&nbsp;<span class="glyphicon glyphicon-info-sign"></span></b> for more information.
</p>
<p>
@ -118,9 +118,9 @@
<div id="update" class="update">
<h3 style="margin-top:0;">Changes in version <span class="version">1.0</span></h3>
<ul style="padding-left: 15px;">
<li>Sample ZIM changed to no-picture version wikipedia_en_100_nopic_2021-08.zim to reduce download size of app</li>
<li>Added refresh button for picked folder in Configuration</li>
<li>Added some extra directories of useful ZIM archives to Donwload library</li>
<li>Sample ZIM updated to wikipedia_en_100_maxi_2021-08.zim</li>
<li>Added more diagnostic APIs to the API panel in Configuration</li>
<li>Provide option for image manipulation (saving to disk or opening in new tab via right-click)</li>
<li>New option to change single right click to double right click for opening new window or tab</li>

View File

@ -49,11 +49,11 @@ var params = {};
*/
var appstate = {};
/******** UPDATE VERSION IN pwabuilder-sw.js TO MATCH VERSION AND CHECK PWASERVER BELOW!!!!!!! *******/
params['version'] = "1.6.2-rc6"; //DEV: Manually update this version when there is a new release: it is compared to the Settings Store "version" in order to show first-time info, and the cookie is updated in app.js
params['version'] = "1.6.2-rc7"; //DEV: Manually update this version when there is a new release: it is compared to the Settings Store "version" in order to show first-time info, and the cookie is updated in app.js
/******* UPDATE THIS ^^^^^^ IN service worker AND PWA-SERVER BELOW !! ********************/
params['packagedFile'] = getSetting('packagedFile') || "wikipedia_en_100_maxi_2021-07.zim"; //For packaged Kiwix JS (e.g. with Wikivoyage file), set this to the filename (for split files, give the first chunk *.zimaa) and place file(s) in default storage
params['packagedFile'] = getSetting('packagedFile') || "wikipedia_en_100_nopic_2021-08.zim"; //For packaged Kiwix JS (e.g. with Wikivoyage file), set this to the filename (for split files, give the first chunk *.zimaa) and place file(s) in default storage
params['archivePath'] = "archives"; //The directory containing the packaged archive(s) (relative to app's root directory)
params['fileVersion'] = getSetting('fileVersion') || "wikipedia_en_100_maxi_2021-07.zim (28-July-2021)"; //This will be displayed in the app - optionally include date of ZIM file
params['fileVersion'] = getSetting('fileVersion') || "wikipedia_en_100_nopic_2021-08.zim (28-Aug-2021)"; //This will be displayed in the app - optionally include date of ZIM file
// List of known start pages cached in the FS:
params['cachedStartPages'] = {
'wikipedia_en_medicine-app_maxi': 'A/Wikipedia:WikiProject_Medicine/Open_Textbook_of_Medicine',

View File

@ -317,7 +317,7 @@ define(rqDef, function() {
var alertHTML =
'<div id="activeContent" class="alert alert-warning alert-dismissible fade in" style="margin-bottom: 0;">' +
'<a href="#" class="close" data-dismiss="alert" aria-label="close">&times;</a>' +
'<strong>Unable to display active content:</strong> To use Archive Index <b><i>type a space</b></i> in the box above, or else ' +
'<strong>Unable to display active content:</strong> To use Archive Index <b><i>type a space</i></b> in the box above, or else ' +
'<a id="swModeLink" href="#contentInjectionModeDiv" class="alert-link">switch to Service Worker mode</a> ' +
'if your platform supports it. &nbsp;[<a id="stop" href="#otherSettingsDiv" class="alert-link">Permanently hide</a>]' +
'</div>';
@ -325,9 +325,8 @@ define(rqDef, function() {
alertHTML =
'<div id="activeContent" class="alert alert-warning alert-dismissible fade in" style="margin-bottom: 0;">' +
'<a href="#" class="close" data-dismiss="alert" aria-label="close">&times;</a>' +
'<strong>Active content may be disrupted:</strong> To use Archive Index <b><i>type a space</b></i> in the box above, and you may need to ' +
'<a id="imModeLink" href="#imageManipulationDiv" class="alert-link">disable Image manipulation</a>.' +
'&nbsp;[<a id="stop" href="#otherSettingsDiv" class="alert-link">Permanently hide</a>]' +
'<strong>Active content may be disrupted:</strong> Please <a id="imModeLink" href="#imageManipulationDiv" class="alert-link">disable Image manipulation</a> ' +
'for this content to work properly. To use Archive Index <b><i>type a space</i></b> in the box above.&nbsp;[<a id="stop" href="#otherSettingsDiv" class="alert-link">Permanently hide</a>]' +
'</div>';
}
var alertBoxHeader = document.getElementById('alertBoxHeader');