1
0
mirror of https://github.com/gnosygnu/xowa.git synced 2026-03-02 03:49:30 +00:00

v4.1.0.1702

This commit is contained in:
gnosygnu
2017-02-04 20:13:34 -05:00
parent 854c36e58a
commit bb2b690781
33 changed files with 3419 additions and 2136 deletions

View File

@@ -25,7 +25,10 @@
</p>
<ul>
<li>
<b>2017-01</b>
<b>2017-02</b>
</li>
<li>
<a href="http://xowa.org/home/wiki/Blog/2017-01.html" id="xolnki_3" title="Blog/2017-01" class="xowa-visited">2017-01</a>
</li>
</ul>
<p>
@@ -33,41 +36,38 @@
</p>
<ul>
<li>
<a href="http://xowa.org/home/wiki/Blog/2016-12.html" id="xolnki_3" title="Blog/2016-12">2016-12</a>
<a href="http://xowa.org/home/wiki/Blog/2016-12.html" id="xolnki_4" title="Blog/2016-12">2016-12</a>
</li>
<li>
<a href="http://xowa.org/home/wiki/Blog/2016-11.html" id="xolnki_4" title="Blog/2016-11">2016-11</a>
<a href="http://xowa.org/home/wiki/Blog/2016-11.html" id="xolnki_5" title="Blog/2016-11">2016-11</a>
</li>
<li>
<a href="http://xowa.org/home/wiki/Blog/2016-10.html" id="xolnki_5" title="Blog/2016-10">2016-10</a>
<a href="http://xowa.org/home/wiki/Blog/2016-10.html" id="xolnki_6" title="Blog/2016-10">2016-10</a>
</li>
<li>
<a href="http://xowa.org/home/wiki/Blog/2016-09.html" id="xolnki_6" title="Blog/2016-09">2016-09</a>
<a href="http://xowa.org/home/wiki/Blog/2016-09.html" id="xolnki_7" title="Blog/2016-09">2016-09</a>
</li>
<li>
<a href="http://xowa.org/home/wiki/Blog/2016-08.html" id="xolnki_7" title="Blog/2016-08">2016-08</a>
<a href="http://xowa.org/home/wiki/Blog/2016-08.html" id="xolnki_8" title="Blog/2016-08">2016-08</a>
</li>
<li>
<a href="http://xowa.org/home/wiki/Blog/2016-07.html" id="xolnki_8" title="Blog/2016-07">2016-07</a>
<a href="http://xowa.org/home/wiki/Blog/2016-07.html" id="xolnki_9" title="Blog/2016-07">2016-07</a>
</li>
<li>
<a href="http://xowa.org/home/wiki/Blog/2016-06.html" id="xolnki_9" title="Blog/2016-06">2016-06</a>
<a href="http://xowa.org/home/wiki/Blog/2016-06.html" id="xolnki_10" title="Blog/2016-06">2016-06</a>
</li>
<li>
<a href="http://xowa.org/home/wiki/Blog/2016-05.html" id="xolnki_10" title="Blog/2016-05">2016-05</a>
<a href="http://xowa.org/home/wiki/Blog/2016-05.html" id="xolnki_11" title="Blog/2016-05">2016-05</a>
</li>
<li>
<a href="http://xowa.org/home/wiki/Blog/2016-04.html" id="xolnki_11" title="Blog/2016-04">2016-04</a>
<a href="http://xowa.org/home/wiki/Blog/2016-04.html" id="xolnki_12" title="Blog/2016-04">2016-04</a>
</li>
<li>
<a href="http://xowa.org/home/wiki/Blog/2016-03.html" id="xolnki_12" title="Blog/2016-03">2016-03</a>
</li>
<li>
<a href="http://xowa.org/home/wiki/Blog/2016-02.html" id="xolnki_13" title="Blog/2016-02">2016-02</a>
<a href="http://xowa.org/home/wiki/Blog/2016-03.html" id="xolnki_13" title="Blog/2016-03">2016-03</a>
</li>
</ul>
<p>
<a href="http://xowa.org/home/wiki/Blog/Archives.html" id="xolnki_14" title="Blog/Archives">Archives</a>
<a href="http://xowa.org/home/wiki/Blog/Archives.html" id="xolnki_14" title="Blog/Archives" class="xowa-visited">Archives</a>
</p>
</div>
<div id="toc" class="toc">
@@ -78,201 +78,111 @@
</div>
<ul>
<li class="toclevel-1 tocsection-1">
<a href="#Personal:_Vacation_and_limited_reachability_.282017-01-13_17:00_Fri.29"><span class="tocnumber">1</span> <span class="toctext">Personal: Vacation and limited reachability (2017-01-13 17:00 Fri)</span></a>
</li>
<li class="toclevel-1 tocsection-2">
<a href="#Release:_NONE_.282017-01-08_10:30_Sun.29"><span class="tocnumber">2</span> <span class="toctext">Release: NONE (2017-01-08 10:30 Sun)</span></a>
</li>
<li class="toclevel-1 tocsection-3">
<a href="#Release:_v4.0.0.1701_.282017-01-04_21:00_Tue.29"><span class="tocnumber">3</span> <span class="toctext">Release: v4.0.0.1701 (2017-01-04 21:00 Tue)</span></a>
<a href="#Release:_v4.1.0.1702_.282017-02-04_21:00_Sat.29"><span class="tocnumber">1</span> <span class="toctext">Release: v4.1.0.1702 (2017-02-04 21:00 Sat)</span></a>
<ul>
<li class="toclevel-2 tocsection-2">
<a href="#.28PC.29_Add_new_in-app_updater"><span class="tocnumber">1.1</span> <span class="toctext">(PC) Add new in-app updater</span></a>
</li>
<li class="toclevel-2 tocsection-3">
<a href="#.28PC.29_Add_better_support_for_images_in_Wikia_and_other_custom_wikis"><span class="tocnumber">1.2</span> <span class="toctext">(PC) Add better support for images in Wikia and other custom wikis</span></a>
</li>
<li class="toclevel-2 tocsection-4">
<a href="#.28Wiki.29_Publish_2016-12_Italian_and_Swahili_wikis._Also.2C_2016-12_English_Wikipedia"><span class="tocnumber">3.1</span> <span class="toctext">(Wiki) Publish 2016-12 Italian and Swahili wikis. Also, 2016-12 English Wikipedia</span></a>
<a href="#.28PC.29_Fix_Random_not_working_for_HTML_databases"><span class="tocnumber">1.3</span> <span class="toctext">(PC) Fix Random not working for HTML databases</span></a>
</li>
<li class="toclevel-2 tocsection-5">
<a href="#.28PC.29_Add_new_Options_system"><span class="tocnumber">3.2</span> <span class="toctext">(PC) Add new Options system</span></a>
<a href="#.28PC.29_Add_Creative_Commons_footer_to_bottom_of_page"><span class="tocnumber">1.4</span> <span class="toctext">(PC) Add Creative Commons footer to bottom of page</span></a>
</li>
<li class="toclevel-2 tocsection-6">
<a href="#.28PC.29_Change_versioning_scheme_to_semantic_versioning"><span class="tocnumber">3.3</span> <span class="toctext">(PC) Change versioning scheme to semantic versioning</span></a>
</li>
<li class="toclevel-2 tocsection-7">
<a href="#.28PC.29_Fix_mass_parse_performance_issues_when_generating_English_Wikipedia"><span class="tocnumber">3.4</span> <span class="toctext">(PC) Fix mass parse performance issues when generating English Wikipedia</span></a>
</li>
<li class="toclevel-2 tocsection-8">
<a href="#Next_week:_v4.0.1.1701"><span class="tocnumber">3.5</span> <span class="toctext">Next week: v4.0.1.1701</span></a>
<a href="#Next_release"><span class="tocnumber">1.5</span> <span class="toctext">Next release</span></a>
</li>
</ul>
</li>
<li class="toclevel-1 tocsection-9">
<a href="#Release:_POSTPONED_.282017-01-03_01:30_Tue.29"><span class="tocnumber">4</span> <span class="toctext">Release: POSTPONED (2017-01-03 01:30 Tue)</span></a>
</li>
</ul>
</div>
<h2>
<span class="mw-headline" id="Personal:_Vacation_and_limited_reachability_.282017-01-13_17:00_Fri.29">Personal: Vacation and limited reachability (2017-01-13 17:00 Fri)</span>
<span class="mw-headline" id="Release:_v4.1.0.1702_.282017-02-04_21:00_Sat.29">Release: v4.1.0.1702 (2017-02-04 21:00 Sat)</span>
</h2>
<p>
I'm going to be out on vacation for about a week and a half. I'll only have limited access to the internet, and won't be able to make any releases.
</p>
<p>
If there are any issues, please do post to <a href="https://github.com/gnosygnu/xowa/issues" rel="nofollow" class="external free">https://github.com/gnosygnu/xowa/issues</a>
</p>
<p>
Otherwise, I'll resume when I return.
</p>
<p>
Thanks!
</p>
<h2>
<span class="mw-headline" id="Release:_NONE_.282017-01-08_10:30_Sun.29">Release: NONE (2017-01-08 10:30 Sun)</span>
</h2>
<p>
I'm skipping the release for tonight. There was one regression issue introduced last week: Random not working in HTML databases. However, that can be fixed with an options change: <a href="https://github.com/gnosygnu/xowa/issues/121#issuecomment-270473393" rel="nofollow" class="external free">https://github.com/gnosygnu/xowa/issues/121#issuecomment-270473393</a>
</p>
<p>
I'm going to be out on vacation for the next two weeks, so the next possible release is 1-29.
</p>
<p>
Also, I ran into an issue with 2017-01 English Wikipedia. Unfortunately that will also be postponed till near end of month as well.
</p>
<h2>
<span class="mw-headline" id="Release:_v4.0.0.1701_.282017-01-04_21:00_Tue.29">Release: v4.0.0.1701 (2017-01-04 21:00 Tue)</span>
</h2>
<p>
The PC version is a major release. It adds a new Option system and includes a lot of related changes.
The PC version is a major release. It adds a new in-app updater and better support for images in custom wikis
</p>
<p>
The Android version has no release.
</p>
<h3>
<span class="mw-headline" id=".28Wiki.29_Publish_2016-12_Italian_and_Swahili_wikis._Also.2C_2016-12_English_Wikipedia">(Wiki) Publish 2016-12 Italian and Swahili wikis. Also, 2016-12 English Wikipedia</span>
<span class="mw-headline" id=".28PC.29_Add_new_in-app_updater">(PC) Add new in-app updater</span>
</h3>
<p>
2016-12 Italian and Swahili wikis are up at archive.org. 2016-12 English Wikipedia was also pushed out earlier this month.
v4.1.0 has a new in-app updater. It has two main features:
</p>
<ul>
<li>
<b>A new page to show any pending updates</b> : This can be reached by doing Help -&gt; Update XOWA or by going to <a href="http://xowa.org/home/wiki/Special:XowaAppUpdate.html" id="xolnki_15" title="Special:XowaAppUpdate" class="xowa-visited">Special:XowaAppUpdate</a>
</li>
<li>
<b>An in-app update feature</b> : If an update is availabe, it can be installed with a click of a button.
</li>
</ul>
<p>
To download these wikis, please check <a href="http://xowa.org/home/wiki/Wiki_setup/Listing.html" id="xolnki_15" title="Wiki setup/Listing">Wiki_setup/Listing</a> or <a href="http://xowa.org/home/wiki/Special:XowaDownloadCentral.html" id="xolnki_16" title="Special:XowaDownloadCentral" class="xowa-visited">Special:XowaDownloadCentral</a>
More info is available at <a href="http://xowa.org/home/wiki/App/Setup/Update/In-app.html" id="xolnki_16" title="App/Setup/Update/In-app" class="xowa-visited">App/Setup/Update/In-app</a>
</p>
<h3>
<span class="mw-headline" id=".28PC.29_Add_new_Options_system">(PC) Add new <a href="http://xowa.org/home/wiki/Options.html" id="xolnki_17" title="Options">Options</a> system</span>
<span class="mw-headline" id=".28PC.29_Add_better_support_for_images_in_Wikia_and_other_custom_wikis">(PC) Add better support for images in Wikia and other custom wikis</span>
</h3>
<p>
The major change for this release was the Options system. It was a multi-week effort that overhauled various parts of the system. You can try the new Options systems at the <a href="http://xowa.org/home/wiki/Options.html" id="xolnki_18" title="Options">Options</a> page
</p>
<p>
There were a number of reasons for the change:
XOWA had only minimal support for images in Wikia wikis. However, as a result of tickets <a href="https://github.com/gnosygnu/xowa/issues/124" rel="nofollow" class="external text">#124</a> and <a href="https://github.com/gnosygnu/xowa/issues/125" rel="nofollow" class="external text">#125</a>, the following changes were made:
</p>
<ul>
<li>
<b>Android compatible</b>: The previous Options system was not Android compatible. It relied on Wikitext (which XOWA Android doesn't support), and had a very desktop-centric UI design (wide tabstrip; hover tooltips). The new Options system addresses these issues and uses a common codebase for both desktop and Android.
<b>Images in the File namespace will now show</b>: For example, <a href="https://nethackwiki.com/wiki/File:Keyboard_shortcuts.svg" rel="nofollow" class="external free">https://nethackwiki.com/wiki/File:Keyboard_shortcuts.svg</a> . Note that clicking on an image here will also open it up in the image viewer.
</li>
<li>
<b>Multiple wiki support</b>: The previous Options system used one set of options for all wikis. Individual wikis couldn't have options different from another wiki (actually, they could, but in a very indirect way). The new Options system supports multiple wikis out-of-box, though at current, it's only used for one option (variant choice in Chinese / Serbian wikis)
<b>File names with spaces are automatically renamed to use underscores</b>: For example, <code>SpellIcon PsionicBlast.png</code> will be renamed to <code>SpellIcon_PsionicBlast.png</code>
</li>
<li>
<b>Technical upgrades</b>: The previous Options system was a hodge-podge of Wikitext and XOWA-specific extensions. The new Options systems standardizes data-storage in SQLite, generates pages through one Special extension, uses a good deal of CSS to display HTML, and offers dynamic interaction via AJAX. Overall, it should be a more web-like and pleasant user-experience
<b>SVG thumbnails will now use ".png" instead of ".svg"</b>: For example, "C:\xowa\file\nethackwiki.com\thumb\8\3\f\d\Keyboard_shortcuts.svg\800px.png"
</li>
<li>
<b>View HTML will now show the img src and width info</b>: For example, &lt;img id="xoimg_1" alt="File%3AKeyboard+shortcuts.svg" src="file:///D:/xowa_temp/file/nethackwiki.com/thumb/8/3/f/d/Keyboard_shortcuts.svg/800px.png" width="800" height="293" /&gt;
</li>
<li>
<b>Images are now integrated directly into the app file cache</b>: See <code>home/wiki/Special:XowaCfg?grp=xowa.files.general</code>. This means that a separate thumbs directory is no longer generated
</li>
<li>
<b>A startup script is no longer needed</b>: No startup script is needed at <code>home/wiki/Special:XowaCfg?grp=xowa.app.startup</code>. XOWA now automatically assumes that all non-WMF wikis will have offline files in the wiki directory. For example, <code>C:\\xowa\\wiki\\your_wiki\\file\\orig\\</code>
</li>
<li>
<b>Updated instructions</b>: Instructions were updated at <a href="http://xowa.org/home/wiki/App/Wiki_types/Wikia.com" rel="nofollow" class="external free">http://xowa.org/home/wiki/App/Wiki_types/Wikia.com</a>
</li>
</ul>
<h3>
<span class="mw-headline" id=".28PC.29_Fix_Random_not_working_for_HTML_databases">(PC) Fix Random not working for HTML databases</span>
</h3>
<p>
Because the scope of the change was so sweeping, there may be a number of issues. If you run into problems, please try the following:
This was reported in issue #121: <a href="https://github.com/gnosygnu/xowa/issues/121" rel="nofollow" class="external free">https://github.com/gnosygnu/xowa/issues/121</a>
</p>
<ul>
<li>
<b>user_system.gfs</b>: XOWA tries to convert existing options at /xowa/user/anonymous/app/data/cfg/user_system_cfg.gfs. If you're missing an option, you can try checking there
</li>
<li>
<b>xowa_cfg_os.gfs</b>: XOWA also stores Operating System specific options at /xowa/bin/[OS_NAME]/xowa/cfg/xowa_cfg_os.gfs. The new version now uses a different file: /xowa/user/app/cfg/os.gfs. If you've manually customized options here, you will need to reapply them
</li>
<li>
<b>Missing options</b>: A handful of options were not converted. For more detail, see <a href="http://xowa.org/home/wiki/Change_log.html" id="xolnki_19" title="Change log">Change_log</a>
</li>
</ul>
<p>
Of course, if you run into issues, please let me know at <a href="https://github.com/gnosygnu/xowa/issues" rel="nofollow" class="external free">https://github.com/gnosygnu/xowa/issues</a> I'm hoping though that this will be a pleasant, uneventful change.
Basically, the Random feature was not working for wikis downloaded through Download Central.
</p>
<p>
Thanks to Ope30 for reporting the issue
</p>
<h3>
<span class="mw-headline" id=".28PC.29_Change_versioning_scheme_to_semantic_versioning">(PC) Change versioning scheme to semantic versioning</span>
<span class="mw-headline" id=".28PC.29_Add_Creative_Commons_footer_to_bottom_of_page">(PC) Add Creative Commons footer to bottom of page</span>
</h3>
<p>
Since the start, XOWA used a date-of-release versioning scheme. For example, version 3.12.2.1 meant the version released in the 3rd year after XOWA's release, in the 12th month and the 2nd week.
</p>
<p>
XOWA is now adopting a new versioining scheme closer to <a href="https://en.wikipedia.org/wiki/Software_versioning#Degree_of_compatibility" rel="nofollow" class="external text">semantic versioning</a>. Specifically:
</p>
<ul>
<li>
In the previous scheme, this version would be 4.1.1.1.
</li>
<li>
In the new scheme, this version is 4.0.0.1701
</li>
</ul>
<p>
As an overview:
</p>
<ul>
<li>
The 1st number indicates a major version. For example, 4. This number won't change unless there is a drastically new change, or after there's a lot of significant changes.
</li>
<li>
The 2nd number indicates a minor version. For example, 0. This number will change whenever there is a new significant feature or change.
</li>
<li>
The 3rd number indicates a patch version. For example, 0. This number will change whenever there is a new release.
</li>
<li>
The 4th number indicates a system version. For example, 1701. This number is related to the release date in year / month format: 20<b>17</b>-<b>01</b>.
</li>
</ul>
<p>
In terms of upgrade strategies:
</p>
<ul>
<li>
If you're a casual user, you can wait on upgrading until the major version changes. When "5.0" comes out you should probably get it, as it should be significantly different than the current version. This will probably not come out for a year or more.
</li>
<li>
If you're an active user, you can wait on upgrading until the minor version changes: "4.1", "4.2", "4.3", etc.. Each minor release will have a new significant feature or change. These will probably come out at monthly intervals.
</li>
<li>
If you're a cutting-edge user, you can upgrade whenever a release is made: "4.0.1", "4.0.2", "4.0.3", etc.. Each patch release will have a number of changes and fixes. These will probably come out ever week.
</li>
</ul>
<p>
Finally, all releases are considered stable. So, whenever a patch release comes out, it will be promoted to the official download for all new users. If it's safe enough for new users to try, it's definitely safe enough for existing users as well.
This was a minor request made by Ope30 also. Pages will now show the Creative Commons footer at the bottom of the page. I also redesigned the footer as well.
</p>
<h3>
<span class="mw-headline" id=".28PC.29_Fix_mass_parse_performance_issues_when_generating_English_Wikipedia">(PC) Fix mass parse performance issues when generating English Wikipedia</span>
</h3>
<p>
This was an issue I discovered when generating the 2016-12 English Wikipedia. It takes about 25 hours to dump English Wikipedia on an 8 core machine. Due to recent changes with Embeddable (using XOWA as a MediaWiki parser), this number grew to about 36 hours. In some cases, it even failed with OutOfMemory exceptions.
</p>
<p>
This build brings the build time back to 25 hours.
</p>
<h3>
<span class="mw-headline" id="Next_week:_v4.0.1.1701">Next week: v4.0.1.1701</span>
<span class="mw-headline" id="Next_release">Next release</span>
</h3>
<ul>
<li>
<b>Wikis</b>: I'm going to start preparing for the 2017-01 wikis. I'm on vacation for the 3rd and 4th weeks of 2016-01, so I'm going to focus on getting English Wikipedia and then move on to French and German
<b>New 2017-02 wikis</b>: I skipped the 2017-01 series due to personal reasons. I should have a 2017-02 English Wikipedia in the coming week
</li>
<li>
<b>Download Central and Android</b>: There were a number of issues brought up with Download Central and Android as described here: <a href="https://github.com/gnosygnu/xowa/issues/112" rel="nofollow" class="external free">https://github.com/gnosygnu/xowa/issues/112</a>
</li>
<li>
<b>Auto-update</b>: This involves an in-app auto-update features for XOWA as per <a href="https://github.com/gnosygnu/xowa/issues/110" rel="nofollow" class="external free">https://github.com/gnosygnu/xowa/issues/110</a>
</li>
<li>
<b>Other</b>: I'm looking at an old Math bug (<a href="https://github.com/gnosygnu/xowa/issues/10" rel="nofollow" class="external free">https://github.com/gnosygnu/xowa/issues/10</a> ), as well as Page sync changes (<a href="https://github.com/gnosygnu/xowa/issues/72" rel="nofollow" class="external free">https://github.com/gnosygnu/xowa/issues/72</a> ).
<b>Shrinking XOWA wikis</b>: I'm going to try to reduce the size of the XOWA wikis. Among other things, I'm planning to remove obsolete images (images once used, but since removed) and also do some configurable downloads for Category / other namespaces
</li>
</ul>
<h2>
<span class="mw-headline" id="Release:_POSTPONED_.282017-01-03_01:30_Tue.29">Release: POSTPONED (2017-01-03 01:30 Tue)</span>
</h2>
<p>
I was planning to do a release tonight, but ran into last-minute issues. I'm going to push for a release tomorrow or possibly next Sunday.
</p>
</div>
</div>