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

v4.5.0.1703

This commit is contained in:
gnosygnu
2017-03-29 21:18:40 -04:00
parent b0f1476438
commit 4999f70727
70 changed files with 14231 additions and 6400 deletions

View File

@@ -78,44 +78,191 @@
</div>
<ul>
<li class="toclevel-1 tocsection-1">
<a href="#Release:_v4.4.0.1703_.282017-03-07_18:00_Mon.29"><span class="tocnumber">1</span> <span class="toctext">Release: v4.4.0.1703 (2017-03-07 18:00 Mon)</span></a>
<a href="#Release:_v4.5.0.1703_.282017-03-29_16:00_Wed.29"><span class="tocnumber">1</span> <span class="toctext">Release: v4.5.0.1703 (2017-03-29 16:00 Wed)</span></a>
<ul>
<li class="toclevel-2 tocsection-2">
<a href="#.28Wiki.29_Publish_2017-02_German_Wikipedia_and_2017-02_French_Wikipedia"><span class="tocnumber">1.1</span> <span class="toctext">(Wiki) Publish 2017-02 German Wikipedia and 2017-02 French Wikipedia</span></a>
<a href="#.28Wiki.29_Publish_2017-03_English_Wikipedia.2C_2017-03_Russian.2C_2017-03_Hindi.2C_and_2017-03_Tibetan_wikis"><span class="tocnumber">1.1</span> <span class="toctext">(Wiki) Publish 2017-03 English Wikipedia, 2017-03 Russian, 2017-03 Hindi, and 2017-03 Tibetan wikis</span></a>
</li>
<li class="toclevel-2 tocsection-3">
<a href="#.28PC.29_Add_night_mode"><span class="tocnumber">1.2</span> <span class="toctext">(PC) Add night mode</span></a>
<a href="#.28PC_.2F_Android.29_Add_full-text_search_capability_for_all_wikis._See:_App.2FFull-text_search_and_App.2FFull-text_search.2FLucene.2FSearch_indexes.2FGetting"><span class="tocnumber">1.2</span> <span class="toctext">(PC / Android) Add full-text search capability for all wikis. See: App/Full-text_search and App/Full-text_search/Lucene/Search_indexes/Getting</span></a>
</li>
<li class="toclevel-2 tocsection-4">
<a href="#.28PC.29_Add_page_backup_feature"><span class="tocnumber">1.3</span> <span class="toctext">(PC) Add page backup feature</span></a>
<a href="#.28PC.29_Redesign_full-text_search_Special_Page._See:_Special:XowaSearch"><span class="tocnumber">1.3</span> <span class="toctext">(PC) Redesign full-text search Special Page. See: Special:XowaSearch</span></a>
</li>
<li class="toclevel-2 tocsection-5">
<a href="#.28PC.29_Improve_performance_for_starting_app_as_well_as_creating_.2F_loading_personal_wikis"><span class="tocnumber">1.4</span> <span class="toctext">(PC) Improve performance for starting app as well as creating / loading personal wikis</span></a>
<a href="#.28PC.29_Add_search_and_allpages_button"><span class="tocnumber">1.4</span> <span class="toctext">(PC) Add search and allpages button</span></a>
</li>
<li class="toclevel-2 tocsection-6">
<a href="#.28PC.29_Update_XULRunner_to_v31_for_Windows_machines"><span class="tocnumber">1.5</span> <span class="toctext">(PC) Update XULRunner to v31 for Windows machines</span></a>
<a href="#.28PC.29_Fix_wikibase_.22attempt_to_call_nil.22_errors_for_2017-03_Russian_wikis"><span class="tocnumber">1.5</span> <span class="toctext">(PC) Fix wikibase "attempt to call nil" errors for 2017-03 Russian wikis</span></a>
</li>
<li class="toclevel-2 tocsection-7">
<a href="#.28PC.29_Add_preiminary_full-text_search_for_personal-wikis"><span class="tocnumber">1.6</span> <span class="toctext">(PC) Add preiminary full-text search for personal-wikis</span></a>
<a href="#.28PC.29_Fix_minor_issues_including_page_sync_requiring_double_refresh.2C_long_directory_names_for_images.2C_and_rare_import_errors"><span class="tocnumber">1.6</span> <span class="toctext">(PC) Fix minor issues including page_sync requiring double refresh, long directory names for images, and rare import errors</span></a>
</li>
<li class="toclevel-2 tocsection-8">
<a href="#.28PC.29_Other_minor_fixes.2C_including_.3Fcurid_for_command-line_and_no_more_current_directory_for_logs"><span class="tocnumber">1.7</span> <span class="toctext">(PC) Other minor fixes, including ?curid for command-line and no more current directory for logs</span></a>
<a href="#.28PC.29_Add_minor_GUI_changes_including_custom_url_formats.2C_direct_HTML_from_SWT_browser.2C_and_options_link"><span class="tocnumber">1.7</span> <span class="toctext">(PC) Add minor GUI changes including custom url formats, direct HTML from SWT browser, and options link</span></a>
</li>
<li class="toclevel-2 tocsection-9">
<a href="#Next_release"><span class="tocnumber">1.8</span> <span class="toctext">Next release</span></a>
</li>
</ul>
</li>
<li class="toclevel-1 tocsection-10">
<a href="#Release:_v4.4.0.1703_.282017-03-07_18:00_Mon.29"><span class="tocnumber">2</span> <span class="toctext">Release: v4.4.0.1703 (2017-03-07 18:00 Mon)</span></a>
<ul>
<li class="toclevel-2 tocsection-11">
<a href="#.28Wiki.29_Publish_2017-02_German_Wikipedia_and_2017-02_French_Wikipedia"><span class="tocnumber">2.1</span> <span class="toctext">(Wiki) Publish 2017-02 German Wikipedia and 2017-02 French Wikipedia</span></a>
</li>
<li class="toclevel-2 tocsection-12">
<a href="#.28PC.29_Add_night_mode"><span class="tocnumber">2.2</span> <span class="toctext">(PC) Add night mode</span></a>
</li>
<li class="toclevel-2 tocsection-13">
<a href="#.28PC.29_Add_page_backup_feature"><span class="tocnumber">2.3</span> <span class="toctext">(PC) Add page backup feature</span></a>
</li>
<li class="toclevel-2 tocsection-14">
<a href="#.28PC.29_Improve_performance_for_starting_app_as_well_as_creating_.2F_loading_personal_wikis"><span class="tocnumber">2.4</span> <span class="toctext">(PC) Improve performance for starting app as well as creating / loading personal wikis</span></a>
</li>
<li class="toclevel-2 tocsection-15">
<a href="#.28PC.29_Update_XULRunner_to_v31_for_Windows_machines"><span class="tocnumber">2.5</span> <span class="toctext">(PC) Update XULRunner to v31 for Windows machines</span></a>
</li>
<li class="toclevel-2 tocsection-16">
<a href="#.28PC.29_Add_preiminary_full-text_search_for_personal-wikis"><span class="tocnumber">2.6</span> <span class="toctext">(PC) Add preiminary full-text search for personal-wikis</span></a>
</li>
<li class="toclevel-2 tocsection-17">
<a href="#.28PC.29_Other_minor_fixes.2C_including_.3Fcurid_for_command-line_and_no_more_current_directory_for_logs"><span class="tocnumber">2.7</span> <span class="toctext">(PC) Other minor fixes, including ?curid for command-line and no more current directory for logs</span></a>
<ul>
<li class="toclevel-3 tocsection-9">
<a href="#.3Fcurid_did_not_work_on_the_command-line"><span class="tocnumber">1.7.1</span> <span class="toctext">?curid did not work on the command-line</span></a>
<li class="toclevel-3 tocsection-18">
<a href="#.3Fcurid_did_not_work_on_the_command-line"><span class="tocnumber">2.7.1</span> <span class="toctext">?curid did not work on the command-line</span></a>
</li>
<li class="toclevel-3 tocsection-10">
<a href="#No_more_current_directory_for_logs"><span class="tocnumber">1.7.2</span> <span class="toctext">No more current directory for logs</span></a>
<li class="toclevel-3 tocsection-19">
<a href="#No_more_current_directory_for_logs"><span class="tocnumber">2.7.2</span> <span class="toctext">No more current directory for logs</span></a>
</li>
</ul>
</li>
<li class="toclevel-2 tocsection-11">
<a href="#Next_release"><span class="tocnumber">1.8</span> <span class="toctext">Next release</span></a>
<li class="toclevel-2 tocsection-20">
<a href="#Next_release_2"><span class="tocnumber">2.8</span> <span class="toctext">Next release</span></a>
</li>
</ul>
</li>
</ul>
</div>
<h2>
<span class="mw-headline" id="Release:_v4.5.0.1703_.282017-03-29_16:00_Wed.29">Release: v4.5.0.1703 (2017-03-29 16:00 Wed)</span>
</h2>
<p>
The PC version is a major release. It adds full-text search for the Wikipedias, redesigns Special:XowaSearch, and fixes parsing errors in 2017-03 Russian Wikipedia.
</p>
<p>
The Android version is a major release. It also adds full-text search for the Wikipedias.
</p>
<h3>
<span class="mw-headline" id=".28Wiki.29_Publish_2017-03_English_Wikipedia.2C_2017-03_Russian.2C_2017-03_Hindi.2C_and_2017-03_Tibetan_wikis">(Wiki) Publish 2017-03 English Wikipedia, 2017-03 Russian, 2017-03 Hindi, and 2017-03 Tibetan wikis</span>
</h3>
<p>
These wikis were uploaded over the course of the month. You can get them from Download Central or see the following links:
</p>
<ul>
<li>
<a href="http://xowa.org/home/wiki/Wiki_setup/English_wikis.html" id="xolnki_15" title="Wiki setup/English wikis" class="xowa-visited">Wiki_setup/English_wikis</a>
</li>
<li>
<a href="http://xowa.org/home/wiki/Wiki_setup/Russian_wikis.html" id="xolnki_16" title="Wiki setup/Russian wikis">Wiki_setup/Russian_wikis</a>
</li>
<li>
<a href="http://xowa.org/home/wiki/Wiki_setup/Hindi_wikis.html" id="xolnki_17" title="Wiki setup/Hindi wikis" class="xowa-visited">Wiki_setup/Hindi_wikis</a>
</li>
<li>
<a href="http://xowa.org/home/wiki/Wiki_setup/Tibetan_wikis.html" id="xolnki_18" title="Wiki setup/Tibetan wikis" class="xowa-visited">Wiki_setup/Tibetan_wikis</a>
</li>
</ul>
<h3>
<span class="mw-headline" id=".28PC_.2F_Android.29_Add_full-text_search_capability_for_all_wikis._See:_App.2FFull-text_search_and_App.2FFull-text_search.2FLucene.2FSearch_indexes.2FGetting">(PC / Android) Add full-text search capability for all wikis. See: <a href="http://xowa.org/home/wiki/App/Full-text_search.html" id="xolnki_19" title="App/Full-text search" class="xowa-visited">App/Full-text_search</a> and <a href="http://xowa.org/home/wiki/App/Full-text_search/Lucene/Search_indexes/Getting.html" id="xolnki_20" title="App/Full-text search/Lucene/Search indexes/Getting" class="xowa-visited">App/Full-text_search/Lucene/Search_indexes/Getting</a></span>
</h3>
<p>
XOWA finally supports full-text search. This was a complicated change involving a new Special page (<a href="http://xowa.org/home/wiki/Special:XowaSearch.html" id="xolnki_21" title="Special:XowaSearch" class="xowa-visited">Special:XowaSearch</a>) and a new Java library (Lucene). There will be more changes in future releases, but the current version should work well enough for PCs as well as Android devices.
</p>
<p>
Right now, full-text search indexes are only available for download for 2017-03 English Wikipedia. To get it, see <a href="http://xowa.org/home/wiki/App/Full-text_search/Lucene/Search_indexes/Getting.html" id="xolnki_22" title="App/Full-text search/Lucene/Search indexes/Getting" class="xowa-visited">App/Full-text_search/Lucene/Search_indexes/Getting</a>. Note that future wikis will have full-text search indexes automatically included with them.
</p>
<p>
You can also build your own full-text search indexes for existing Download Central wikis. To try it, see <a href="http://xowa.org/home/wiki/App/Full-text_search/Lucene/Search_indexes/Building.html" id="xolnki_23" title="App/Full-text search/Lucene/Search indexes/Building" class="xowa-visited">App/Full-text_search/Lucene/Search_indexes/Building</a>
</p>
<p>
For more details see <a href="http://xowa.org/home/wiki/App/Full-text_search.html" id="xolnki_24" title="App/Full-text search" class="xowa-visited">App/Full-text_search</a>
</p>
<h3>
<span class="mw-headline" id=".28PC.29_Redesign_full-text_search_Special_Page._See:_Special:XowaSearch">(PC) Redesign full-text search Special Page. See: <a href="http://xowa.org/home/wiki/Special:XowaSearch.html" id="xolnki_25" title="Special:XowaSearch" class="xowa-visited">Special:XowaSearch</a></span>
</h3>
<p>
A basic version of Special:XowaSearch was released to allow full-text search for personal wikis. The current version cleans up the UI and adds features like paging and highlighted snips.
</p>
<h3>
<span class="mw-headline" id=".28PC.29_Add_search_and_allpages_button">(PC) Add search and allpages button</span>
</h3>
<p>
In tandem with the above, XOWA now has two separate buttons:
</p>
<ul>
<li>
Search by full-text, as identified by the magnifying glass.
</li>
<li>
List all pages alphabetically, as identified by the list icon.
</li>
</ul>
<p>
For those who find the two buttons cluttering, they can be selectively shown / hidden at <a href="http://xowa.org/home/wiki/Special:XowaCfg%3Fgrp%3Dxowa.gui.general.html" id="xolnki_26" title="Special:XowaCfg?grp=xowa.gui.general">Special:XowaCfg?grp=xowa.gui.general</a>
</p>
<h3>
<span class="mw-headline" id=".28PC.29_Fix_wikibase_.22attempt_to_call_nil.22_errors_for_2017-03_Russian_wikis">(PC) Fix wikibase "attempt to call nil" errors for 2017-03 Russian wikis</span>
</h3>
<p>
The 2017-03 Russian Wikipedia had a bunch of Script errors with "attempt to call nil". Most of these involved many Wikibase changes introduced over the past year, but finally used in a Module within Russian Wikipedia. These errors have been fixed with the current version
</p>
<h3>
<span class="mw-headline" id=".28PC.29_Fix_minor_issues_including_page_sync_requiring_double_refresh.2C_long_directory_names_for_images.2C_and_rare_import_errors">(PC) Fix minor issues including page_sync requiring double refresh, long directory names for images, and rare import errors</span>
</h3>
<p>
There are basically three issues worth highlighting:
</p>
<ul>
<li>
Page sync would sometimes not show the sync'd page until the page was refreshed. This was reported by khanhhung2512 in <a href="https://github.com/gnosygnu/xowa/issues/137" rel="nofollow" class="external free">https://github.com/gnosygnu/xowa/issues/137</a>
</li>
<li>
Images with a long name (160+ characters) may not show up on some machines. This was reported by Ope30 in <a href="https://github.com/gnosygnu/xowa/issues/120#issuecomment-285699324" rel="nofollow" class="external free">https://github.com/gnosygnu/xowa/issues/120#issuecomment-285699324</a>
</li>
<li>
Imports would fail due to corrupt dumps. Russian Wikipedia outputted two identical titles with different page_ids. This caused XOWA to fail during import
</li>
</ul>
<h3>
<span class="mw-headline" id=".28PC.29_Add_minor_GUI_changes_including_custom_url_formats.2C_direct_HTML_from_SWT_browser.2C_and_options_link">(PC) Add minor GUI changes including custom url formats, direct HTML from SWT browser, and options link</span>
</h3>
<p>
These are a few minor changes worth detailing:
</p>
<ul>
<li>
Custom url formats are now available. This was in response to Ope30 and a way to customize the displayed url. For more info, see<a href="http://xowa.org/home/wiki/Special:XowaCfg%3Fgrp%3Dxowa.gui.url_bar.html" id="xolnki_27" title="Special:XowaCfg?grp=xowa.gui.url bar">Special:XowaCfg?grp=xowa.gui.url bar</a>
</li>
<li>
View HTML can now show the actual HTML in the browser. Previously XOWA would show the generated HTML as shown for the Read tab. However, this wouldn't work for Special pages due to javascript changes to the DOM. Now, the actual HTML in the SWT browser is available by changing the option at <a href="http://xowa.org/home/wiki/Special:XowaCfg%3Fgrp%3Dxowa.wiki.hdumps.html" id="xolnki_28" title="Special:XowaCfg?grp=xowa.wiki.hdumps">Special:XowaCfg?grp=xowa.wiki.hdumps</a>
</li>
<li>
Options link for Special:XowaCfg pages. XowaCfg pages allow direct linking to certain groups by using <code>?grp=code</code>. If you want the direct link to a specific option page, you can now right-click on the "options link" and copy it
</li>
</ul>
<h3>
<span class="mw-headline" id="Next_release">Next release</span>
</h3>
<ul>
<li>
<b>Brief hiatus</b>: I'll have more details on this in another blog post, but in short, I'm starting a new job in a week, and will not be able to devote as much time to XOWA as before.
</li>
</ul>
<p>
<br>
</p>
<h2>
<span class="mw-headline" id="Release:_v4.4.0.1703_.282017-03-07_18:00_Mon.29">Release: v4.4.0.1703 (2017-03-07 18:00 Mon)</span>
</h2>
@@ -136,20 +283,20 @@
</p>
<ul>
<li>
<a href="http://xowa.org/home/wiki/Wiki_setup/German_wikis.html" id="xolnki_15" title="Wiki setup/German wikis">Wiki_setup/German_wikis</a>
<a href="http://xowa.org/home/wiki/Wiki_setup/German_wikis.html" id="xolnki_29" title="Wiki setup/German wikis">Wiki_setup/German_wikis</a>
</li>
<li>
<a href="http://xowa.org/home/wiki/Wiki_setup/French_wikis.html" id="xolnki_16" title="Wiki setup/French wikis" class="xowa-visited">Wiki_setup/French_wikis</a>
<a href="http://xowa.org/home/wiki/Wiki_setup/French_wikis.html" id="xolnki_30" title="Wiki setup/French wikis">Wiki_setup/French_wikis</a>
</li>
</ul>
<h3>
<span class="mw-headline" id=".28PC.29_Add_night_mode">(PC) Add night mode</span>
</h3>
<p>
XOWA now has night mode. To enable it, do Menu -&gt; View -&gt; Toggle Night mode. More info is at <a href="http://xowa.org/home/wiki/App/UI/Night_mode.html" id="xolnki_17" title="App/UI/Night mode" class="xowa-visited">App/UI/Night_mode</a>
XOWA now has night mode. To enable it, do Menu -&gt; View -&gt; Toggle Night mode. More info is at <a href="http://xowa.org/home/wiki/App/UI/Night_mode.html" id="xolnki_31" title="App/UI/Night mode" class="xowa-visited">App/UI/Night_mode</a>
</p>
<p>
I implemented this feature over the past few days, so there may be some spots I missed. Also, if you have any suggestions about colors, CSS, or icons, please do contact me at <a href="http://xowa.org/home/wiki/Help/Feedback.html" id="xolnki_18" title="Help/Feedback" class="xowa-visited">Help/Feedback</a>.
I implemented this feature over the past few days, so there may be some spots I missed. Also, if you have any suggestions about colors, CSS, or icons, please do contact me at <a href="http://xowa.org/home/wiki/Help/Feedback.html" id="xolnki_32" title="Help/Feedback" class="xowa-visited">Help/Feedback</a>.
</p>
<h3>
<span class="mw-headline" id=".28PC.29_Add_page_backup_feature">(PC) Add page backup feature</span>
@@ -162,7 +309,7 @@
</p>
<ul>
<li>
Go to <a href="http://xowa.org/home/wiki/Special:XowaCfg%3Fgrp%3Dxowa.wiki.edit.html" id="xolnki_19" title="Special:XowaCfg?grp=xowa.wiki.edit">Special:XowaCfg?grp=xowa.wiki.edit</a>
Go to <a href="http://xowa.org/home/wiki/Special:XowaCfg%3Fgrp%3Dxowa.wiki.edit.html" id="xolnki_33" title="Special:XowaCfg?grp=xowa.wiki.edit">Special:XowaCfg?grp=xowa.wiki.edit</a>
</li>
<li>
Make sure <code>Enabled</code> under <code>Page backups</code> is checked.
@@ -205,7 +352,7 @@
For Windows machines, XOWA now uses XULRunner v31. Note that 64-bit XULRunner is no longer available for download, so I used a copy I had downloaded a few years ago.
</li>
<li>
For Linux machines, XOWA still uses XULRunner v24. Unfortunately, XOWA can't upgrade to v31 because SWT doesn't support it on Linux. See: <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=437700" rel="nofollow" class="external free">https://bugs.eclipse.org/bugs/show_bug.cgi?id=437700</a> The only alternative is to use webkit. See: <a href="http://xowa.org/home/wiki/App/UI/HTML_Browser.html#WebKit" id="xolnki_20" title="App/UI/HTML Browser">App/UI/HTML_Browser#WebKit</a>
For Linux machines, XOWA still uses XULRunner v24. Unfortunately, XOWA can't upgrade to v31 because SWT doesn't support it on Linux. See: <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=437700" rel="nofollow" class="external free">https://bugs.eclipse.org/bugs/show_bug.cgi?id=437700</a> The only alternative is to use webkit. See: <a href="http://xowa.org/home/wiki/App/UI/HTML_Browser.html#WebKit" id="xolnki_34" title="App/UI/HTML Browser">App/UI/HTML_Browser#WebKit</a>
</li>
<li>
For Mac OS X machines, this shouldn't be an issue, as XOWA uses webkit already.
@@ -218,7 +365,7 @@
XOWA now has a basic full-text search feature. It should only be used for small wikis (like a personal wiki). It works by opening up every single page and searching for the text phrase. Although this sounds slow, it performs relatively quickly on modern generation machines (especially if you have a SSD). It also has the advantage of not taking up any space for search-indexing.
</p>
<p>
This feature will be expanded in the coming months, but any feedback is welcome. To try to it, go to <a href="http://xowa.org/home/wiki/Special:XowaSearch.html" id="xolnki_21" title="Special:XowaSearch" class="xowa-visited">Special:XowaSearch</a>
This feature will be expanded in the coming months, but any feedback is welcome. To try to it, go to <a href="http://xowa.org/home/wiki/Special:XowaSearch.html" id="xolnki_35" title="Special:XowaSearch" class="xowa-visited">Special:XowaSearch</a>
</p>
<h3>
<span class="mw-headline" id=".28PC.29_Other_minor_fixes.2C_including_.3Fcurid_for_command-line_and_no_more_current_directory_for_logs">(PC) Other minor fixes, including ?curid for command-line and no more current directory for logs</span>
@@ -245,7 +392,7 @@
This version replaces the current directory with a timestamp directory which should now reduce the likelihood of errors.
</p>
<h3>
<span class="mw-headline" id="Next_release">Next release</span>
<span class="mw-headline" id="Next_release_2">Next release</span>
</h3>
<ul>
<li>