- Move the files to your microSD card. Assuming your microSD card is attached as the X drive, you will have files like these:
+ Move the files to your microSD card with a folder structure of \Android\data\org.xowa\[1]. Assuming your microSD card is attached as the X drive, you will have files like these:
+ The \Android\data\org.xowa\ folder is strongly recommended.
+
+
+ Android Kit-Kat devices can only write to an external folder with this hierarchy: \Android\data\org.xowa\
+
+
+ XOWA Android currently does not write to any databases, but it will in the coming months. I'm working on an auto-update "merge" facility which will split a wiki into pieces and merge them together. The merging will require write permissions.
+
+
+
+
+ If you only want to have read-only access, you can use any other path. For example, X:\xowa\wiki\simple.wikipedia.org\simple.wikipedia.org-text.xowa .
+
+ The desktop app is a trivial release. It has a few minor parser fixes, primarily for German Wikipedia.
+
+
+ The Android app is a minor release. It has one significant fix for not requiring one database: file-xowa. This will only be necessary for the German wikis
+
+ If you are planning to use the German wikis, or want to be prepared for future dumps (English Wiktionary), you should install v3.4.4.
+
+
+
+ Here's the long version:
+
+
+
+ XOWA desktop allows you to download the original versions of images for offline viewing
+
+
+ You can download these original versions by clicking on any image in an article
+
+
+ These images are stored in a file like en.wikipedia.org-file-user.xowa
+
+
+
+
+ XOWA's file database system requires that this database is always present.
+
+
+ If the file-user.xowa is not present, XOWA creates one automatically.
+
+
+
+
+ All XOWA packages on archive.org do not include file-user.xowa
+
+
+ I don't include this file, because I don't want to overwrite a pre-existing file-user.xowa when a user upgrades to a new package.
+
+
+ I was relying on the auto-create mechanism to create a file-user.xowa.
+
+
+
+
+ However, on Android, all apps have extremely limited write permissions. On an external SD card, they can only write to one directory: /<sd_card_mount>/Android/data/<package_name>
+
+
+ If there was no file-user.xowa, XOWA Android tried to create it. Because of the limited write permissions, it crashed when it couldn't do so.
+
+
+
+ v3.4.4 still tries to create the file-user.xowa file, but no longer crashes if it can't.
+
+
+ (Desktop) Minor parser changes and fixes, including using non-ASCII strings for gsub find
+
+
+ These are a bunch of minor parser fixes for German Wikipedia. They affect a small number of pages (<100) and don't affect content. The most interesting item is that it required another change to LuaJ. It mistakenly disregarded UTF8 byte encoding for bytes between 128 and 255. This caused gsub and similar calls to fail when using non-ASCII characters, like "ß"
+
+
+ Next release: v3.5.1
+
+
+ I'm working on a new wiki update tool which will make setting up the databases much easier on Android.
+
+
+ For wikis, I'm going to update the rest of the English wikis. I'm also going to try to fit French in.
+
@@ -269,7 +388,7 @@
Really benefits from an SSD: SQLite really does better with an SSD. I tried some tricks like changing PRAGMA synchronous to OFF, but this only shaves off a dozen or so minutes. In contrast, an SSD will easily knock off an hour if not more (from 2 hours to about 40 min)
- If you want the new search, downloading from archive.org is the easiest way: There are other complexities with the search database rebuild (PageRank algorithm and the 10 GB pagelinks dump: See App/Search/Overview). As such, the easiest way is to download prebuilt copies from archive.org:
+ If you want the new search, downloading from archive.org is the easiest way: There are other complexities with the search database rebuild (PageRank algorithm and the 10 GB pagelinks dump: See App/Search/Overview). As such, the easiest way is to download prebuilt copies from archive.org:
- Existing user (2015-06): Ignore the 2016-03 version. You downloaded the 2015-06 set and presumably have been keeping up with the monthly updates. The 2016-03 set is the same as your set, except it is smaller (it no longer has deleted images). If you want to remove about 8 GB of deleted images, see Dashboard/Files/Deletion. Once you remove the deleted images, you will have a set that is exactly the same as the 2016-03 version.
+ Existing user (2015-06): Ignore the 2016-03 version. You downloaded the 2015-06 set and presumably have been keeping up with the monthly updates. The 2016-03 set is the same as your set, except it is smaller (it no longer has deleted images). If you want to remove about 8 GB of deleted images, see Dashboard/Files/Deletion. Once you remove the deleted images, you will have a set that is exactly the same as the 2016-03 version.
Existing user (2013-11 or something else): Download the 2016-03 version. You have an old set of XOWA image databases that I really can't support any longer (they have an extension of .sqlite3). I know downloading 80 GB is painful, but I'm not planning to change database formats again in the future.
@@ -386,7 +505,7 @@
The total size of English Wikipedia is about 90 GB. 8 GB is from old images: images removed from articles during the day-to-day editing churn.
- If you have English Wikipedia and have been following along with the updates, go to Dashboard/Files/Deletion and follow the instructions therein.
+ If you have English Wikipedia and have been following along with the updates, go to Dashboard/Files/Deletion and follow the instructions therein.
(Package) Release of French Wikipedia 2016-03
diff --git a/home/wiki/Blog/2016-04.html b/home/wiki/Blog/2016-04.html
index df7daf3b8..770df2410 100644
--- a/home/wiki/Blog/2016-04.html
+++ b/home/wiki/Blog/2016-04.html
@@ -49,76 +49,195 @@
+ The desktop app is a trivial release. It has a few minor parser fixes, primarily for German Wikipedia.
+
+
+ The Android app is a minor release. It has one significant fix for not requiring one database: file-xowa. This will only be necessary for the German wikis
+
+ If you are planning to use the German wikis, or want to be prepared for future dumps (English Wiktionary), you should install v3.4.4.
+
+
+
+ Here's the long version:
+
+
+
+ XOWA desktop allows you to download the original versions of images for offline viewing
+
+
+ You can download these original versions by clicking on any image in an article
+
+
+ These images are stored in a file like en.wikipedia.org-file-user.xowa
+
+
+
+
+ XOWA's file database system requires that this database is always present.
+
+
+ If the file-user.xowa is not present, XOWA creates one automatically.
+
+
+
+
+ All XOWA packages on archive.org do not include file-user.xowa
+
+
+ I don't include this file, because I don't want to overwrite a pre-existing file-user.xowa when a user upgrades to a new package.
+
+
+ I was relying on the auto-create mechanism to create a file-user.xowa.
+
+
+
+
+ However, on Android, all apps have extremely limited write permissions. On an external SD card, they can only write to one directory: /<sd_card_mount>/Android/data/<package_name>
+
+
+ If there was no file-user.xowa, XOWA Android tried to create it. Because of the limited write permissions, it crashed when it couldn't do so.
+
+
+
+ v3.4.4 still tries to create the file-user.xowa file, but no longer crashes if it can't.
+
+
+ (Desktop) Minor parser changes and fixes, including using non-ASCII strings for gsub find
+
+
+ These are a bunch of minor parser fixes for German Wikipedia. They affect a small number of pages (<100) and don't affect content. The most interesting item is that it required another change to LuaJ. It mistakenly disregarded UTF8 byte encoding for bytes between 128 and 255. This caused gsub and similar calls to fail when using non-ASCII characters, like "ß"
+
+
+ Next release: v3.5.1
+
+
+ I'm working on a new wiki update tool which will make setting up the databases much easier on Android.
+
+
+ For wikis, I'm going to update the rest of the English wikis. I'm also going to try to fit French in.
+
@@ -269,7 +388,7 @@
Really benefits from an SSD: SQLite really does better with an SSD. I tried some tricks like changing PRAGMA synchronous to OFF, but this only shaves off a dozen or so minutes. In contrast, an SSD will easily knock off an hour if not more (from 2 hours to about 40 min)
- If you want the new search, downloading from archive.org is the easiest way: There are other complexities with the search database rebuild (PageRank algorithm and the 10 GB pagelinks dump: See App/Search/Overview). As such, the easiest way is to download prebuilt copies from archive.org:
+ If you want the new search, downloading from archive.org is the easiest way: There are other complexities with the search database rebuild (PageRank algorithm and the 10 GB pagelinks dump: See App/Search/Overview). As such, the easiest way is to download prebuilt copies from archive.org:
- Existing user (2015-06): Ignore the 2016-03 version. You downloaded the 2015-06 set and presumably have been keeping up with the monthly updates. The 2016-03 set is the same as your set, except it is smaller (it no longer has deleted images). If you want to remove about 8 GB of deleted images, see Dashboard/Files/Deletion. Once you remove the deleted images, you will have a set that is exactly the same as the 2016-03 version.
+ Existing user (2015-06): Ignore the 2016-03 version. You downloaded the 2015-06 set and presumably have been keeping up with the monthly updates. The 2016-03 set is the same as your set, except it is smaller (it no longer has deleted images). If you want to remove about 8 GB of deleted images, see Dashboard/Files/Deletion. Once you remove the deleted images, you will have a set that is exactly the same as the 2016-03 version.
Existing user (2013-11 or something else): Download the 2016-03 version. You have an old set of XOWA image databases that I really can't support any longer (they have an extension of .sqlite3). I know downloading 80 GB is painful, but I'm not planning to change database formats again in the future.
@@ -386,7 +505,7 @@
The total size of English Wikipedia is about 90 GB. 8 GB is from old images: images removed from articles during the day-to-day editing churn.
- If you have English Wikipedia and have been following along with the updates, go to Dashboard/Files/Deletion and follow the instructions therein.
+ If you have English Wikipedia and have been following along with the updates, go to Dashboard/Files/Deletion and follow the instructions therein.
(Package) Release of French Wikipedia 2016-03
diff --git a/home/wiki/Change_log.html b/home/wiki/Change_log.html
index c3ed57bd6..f37298b4f 100644
--- a/home/wiki/Change_log.html
+++ b/home/wiki/Change_log.html
@@ -28,7 +28,7 @@
1Categories
+ Scribunto: Fix ClassCast script error on 1 de.v page. Message: Skriptfehler: @C:/xowa/bin/any/xowa/xtns/Scribunto/engines/Luaj/MWServer.lua:59 vm error: gplx.Err: val is not in switch/if: val=java.lang.Double – Breite:
+
+
+
+
+ Resolved by: Handle double for replace arg in ustring.gsub.
+
+ Scribunto: Fix ClassCast script error on 1 de.v page. Message: Skriptfehler: @C:/xowa/bin/any/xowa/xtns/Scribunto/engines/Luaj/MWServer.lua:59 vm error: gplx.Err: val is not in switch/if: val=java.lang.Double – Breite:
+
+
+
+
+ Resolved by: Handle double for replace arg in ustring.gsub.
+
+
+
\ No newline at end of file
diff --git a/home/wiki/Dashboard/Image_databases.html b/home/wiki/Dashboard/Image_databases.html
index 485271855..f426651ed 100644
--- a/home/wiki/Dashboard/Image_databases.html
+++ b/home/wiki/Dashboard/Image_databases.html
@@ -531,12 +531,12 @@
- Parser: Fix broken tabs in <tabber> tag.
+ Luaj: Fix multiple error log messages for Module:Sort in de.w pages. Message: Skriptfehler: =Module:Sort:93 'for' initial value must be a number
- Resolved by: Split only on first =, not on all of them.
+ Resolved by: Do not assign character classes to bytes > 128. Example: {{#invoke:AdressenSort|convert|1=, ß}} -> , ß x �.
+
- Doc: Export all home wiki pages to http://xowa.org.
+ Scribunto: Fix ClassCast script error on 1 de.v page. Message: Skriptfehler: @C:/xowa/bin/any/xowa/xtns/Scribunto/engines/Luaj/MWServer.lua:59 vm error: gplx.Err: val is not in switch/if: val=java.lang.Double – Breite:
- (Desktop) Minor parser changes and fixes, including missing random sub-pages in Portal, missing Wikis sidebar in home wiki and no {{DisplayTitle}}
-
-
- (Desktop) New http://xowa.org domain with entire home wiki
+ (Desktop) Minor parser changes and fixes, including using non-ASCII strings for gsub find
diff --git a/home/wiki/Options/Config_script.html b/home/wiki/Options/Config_script.html
index 487cb65e3..52bc4d928 100644
--- a/home/wiki/Options/Config_script.html
+++ b/home/wiki/Options/Config_script.html
@@ -302,6 +302,7 @@ li.active a, li.active a:hover
diff --git a/home/wiki/Options/Files.html b/home/wiki/Options/Files.html
index 3f6ec18dc..ee6741083 100644
--- a/home/wiki/Options/Files.html
+++ b/home/wiki/Options/Files.html
@@ -357,8 +357,8 @@ li.active a, li.active a:hover