From 1f56e10574a8bb77d5adc125372378af8fe25315 Mon Sep 17 00:00:00 2001 From: Jaifroid Date: Tue, 2 Sep 2025 08:40:06 +0100 Subject: [PATCH] Move cached landing pages to C namespace --- www/{A => C}/Main_Page | 0 .../Open_Textbook_of_Medicine2 | 0 www/js/init.js | 14 +++++++------- 3 files changed, 7 insertions(+), 7 deletions(-) rename www/{A => C}/Main_Page (100%) rename www/{A => C}/Wikipedia%3AWikiProject_Medicine/Open_Textbook_of_Medicine2 (100%) diff --git a/www/A/Main_Page b/www/C/Main_Page similarity index 100% rename from www/A/Main_Page rename to www/C/Main_Page diff --git a/www/A/Wikipedia%3AWikiProject_Medicine/Open_Textbook_of_Medicine2 b/www/C/Wikipedia%3AWikiProject_Medicine/Open_Textbook_of_Medicine2 similarity index 100% rename from www/A/Wikipedia%3AWikiProject_Medicine/Open_Textbook_of_Medicine2 rename to www/C/Wikipedia%3AWikiProject_Medicine/Open_Textbook_of_Medicine2 diff --git a/www/js/init.js b/www/js/init.js index d2ccebcc..ab9a7424 100644 --- a/www/js/init.js +++ b/www/js/init.js @@ -75,15 +75,15 @@ params['archivePath'] = 'archives'; // The directory containing the packaged arc params['fileVersion'] = getSetting('fileVersion') || ''; // This will be displayed in the app - optionally include date of ZIM file // List of known start pages cached in the FS - ensure these strings are double-URI-encoded, and then store the file itself with single- -// URI-enoding. This string will be decoded once in the app. E.g. the file name "A/Wikipedia:WikiProject_Medicine/Open_Textbook_of_Medicine2" -// should be stored in the directory as "A/Wikipedia%3AWikiProject_Medicine/Open_Textbook_of_Medicine2" (since we can't store colons in some -// file systems), and the string "A/Wikipedia%253AWikiProject_Medicine/Open_Textbook_of_Medicine2" will be decoded to this +// URI-enoding. This string will be decoded once in the app. E.g. the file name "C/Wikipedia:WikiProject_Medicine/Open_Textbook_of_Medicine2" +// should be stored in the directory as "C/Wikipedia%3AWikiProject_Medicine/Open_Textbook_of_Medicine2" (since we can't store colons in some +// file systems), and the string "C/Wikipedia%253AWikiProject_Medicine/Open_Textbook_of_Medicine2" will be decoded to this // before being passed to the Service Worker params['cachedStartPages'] = { - 'wikipedia_en_medicine-app_maxi': 'A/Wikipedia%253AWikiProject_Medicine/Open_Textbook_of_Medicine2', - wikipedia_en_medicine_maxi: 'A/Wikipedia%253AWikiProject_Medicine/Open_Textbook_of_Medicine2', - mdwiki_en_all_maxi: 'A/Wikipedia%253AWikiProject_Medicine/Open_Textbook_of_Medicine2', - wikivoyage_en_all_maxi: 'A/Main_Page' + 'wikipedia_en_medicine-app_maxi': 'C/Wikipedia%253AWikiProject_Medicine/Open_Textbook_of_Medicine2', + wikipedia_en_medicine_maxi: 'C/Wikipedia%253AWikiProject_Medicine/Open_Textbook_of_Medicine2', + mdwiki_en_all_maxi: 'C/Wikipedia%253AWikiProject_Medicine/Open_Textbook_of_Medicine2', + wikivoyage_en_all_maxi: 'C/Main_Page' }; params['win7ElectronVersion'] = '22.3'; // KEEP UP TO DATE!!! This is the last minor version to support Win 7/8/8.1. Auto-update is embargoed for values starting with this.