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

fix_cli_for_fsdb_make_v1a

This commit is contained in:
gnosygnu
2020-09-07 22:43:20 -04:00
parent 52523ced53
commit 2fa92d6e34
161 changed files with 2406 additions and 5103 deletions

View File

@@ -75,7 +75,7 @@
XOWA should support all forms of wiki syntax. Note that there may be outlier quirks due to discrepancies between XOWA's parsing approach and MediaWiki's.
</p>
<p>
If you need information on wiki syntax, you should consult the Wikipedia <a href="/site/en.wikipedia.org/wiki/Help:Wiki_markup">Wiki markup page</a>.
If you need information on wiki syntax, you should consult the Wikipedia <a href="http://en.wikipedia.org/wiki/Help:Wiki_markup" rel="nofollow" class="external text">Wiki markup page</a>.
</p>
<h2>
<span class="mw-headline" id="Corrections_/_fixes_are_encouraged">Corrections / fixes are encouraged</span>
@@ -100,7 +100,7 @@
Select and copy the wiki text.
</li>
<li>
Go to the offline version of the article: <a href="/site/en.wikipedia.org/wiki/Earth" id="xolnki_2" title="Earth">en.wikipedia.org:Earth</a>
Go to the offline version of the article: <a href="/wiki/En.wikipedia.org:Earth" id="xolnki_2" title="En.wikipedia.org:Earth">en.wikipedia.org:Earth</a>
</li>
<li>
Click on <b>Edit</b>

View File

@@ -82,10 +82,10 @@
If image dbs are not available, or if the image is not in the image dbs, XOWA checks the Wikimedia servers
</li>
<li>
If an image is found, XOWA downloads a temporary version of the file to <code>C:\xowa\file\simple.wikipedia.org\...</code>
If an image is found, XOWA downloads a temporary version of the file to <code>C:\xowa_release\file\simple.wikipedia.org\...</code>
</li>
<li>
As of v2.5.4.1, XOWA also saves Wikimedia files to <code>C:\xowa\wiki\simple.wikipedia.org\simple.wikipedia.org-file-user.xowa</code>. This ensures that the file is still available even if the temporary version is deleted. Note that the cache on <a href="/wiki/Options/Files" id="xolnki_3" title="Options/Files">Options/Files</a> will periodically delete temporary versions
As of v2.5.4.1, XOWA also saves Wikimedia files to <code>C:\xowa_release\wiki\simple.wikipedia.org\simple.wikipedia.org-file-user.xowa</code>. This ensures that the file is still available even if the temporary version is deleted. Note that the cache on <a href="/wiki/Options/Files" id="xolnki_3" title="Options/Files">Options/Files</a> will periodically delete temporary versions
</li>
<li>
The HTML is updated to use the temporary version of the file.
@@ -148,7 +148,7 @@
You can configure the cache at <a href="/wiki/Options/Files" id="xolnki_4" title="Options/Files">Options/Files</a>
</li>
<li>
You can view the cache in <code>C:\xowa\user\xowa.user.anonymous.sqlite3</code>. The table name is <code>file_cache</code>
You can view the cache in <code>C:\xowa_release\user\xowa.user.anonymous.sqlite3</code>. The table name is <code>file_cache</code>
</li>
</ul>
<h2>
@@ -218,7 +218,7 @@
1 GB
</td>
<td>
C:\xowa\file\en.wikipedia.org
C:\xowa_release\file\en.wikipedia.org
</td>
<td>
No
@@ -238,7 +238,7 @@
3 GB
</td>
<td>
C:\xowa\wiki\en.wikipedia.org
C:\xowa_release\wiki\en.wikipedia.org
</td>
<td>
No
@@ -258,7 +258,7 @@
1.5 GB
</td>
<td>
C:\xowa\wiki\en.wikipedia.org
C:\xowa_release\wiki\en.wikipedia.org
</td>
<td>
Yes

View File

@@ -22,7 +22,7 @@
</h2>
<ul>
<li>
Navigate to <a href="/wiki/Dashboard/Import/Offline" id="xolnki_2" title="Dashboard/Import/Offline" class="xowa-visited">Dashboard/Import/Offline</a>
Navigate to <a href="/wiki/Dashboard/Import/Offline" id="xolnki_2" title="Dashboard/Import/Offline">Dashboard/Import/Offline</a>
</li>
<li>
Under "Category system", choose "Upgrade to version 2"

View File

@@ -93,7 +93,7 @@
Wikitext databases will have <code>-text-</code> in the file name. For example, <code>en.wikipedia.org-text-ns.000.xowa</code>
</li>
<li>
Users can generates this Wikitext set by using either <a href="/wiki/Dashboard/Import/Online" id="xolnki_2" title="Dashboard/Import/Online" class="xowa-visited">Dashboard/Import/Online</a> or <a href="/wiki/Dashboard/Import/Offline" id="xolnki_3" title="Dashboard/Import/Offline" class="xowa-visited">Dashboard/Import/Offline</a>
Users can generates this Wikitext set by using either <a href="/wiki/Dashboard/Import/Online" id="xolnki_2" title="Dashboard/Import/Online">Dashboard/Import/Online</a> or <a href="/wiki/Dashboard/Import/Offline" id="xolnki_3" title="Dashboard/Import/Offline">Dashboard/Import/Offline</a>
</li>
<li>
Wikitext databases have been supported since the very start of XOWA. As such, they have a full set of functionality

View File

@@ -62,7 +62,7 @@
Choose the domain for your wiki. For example, <code>en.wiktionary.org</code>
</li>
<li>
Choose namespaces for your wiki. For example, <code>0,4,14</code>. For more info, see <a href="/site/en.wikipedia.org/wiki/Wikipedia:Namespace">https://en.wikipedia.org/wiki/Wikipedia:Namespace</a>
Choose namespaces for your wiki. For example, <code>0,4,14</code>. For more info, see <a href="https://en.wikipedia.org/wiki/Wikipedia:Namespace" rel="nofollow" class="external free">https://en.wikipedia.org/wiki/Wikipedia:Namespace</a>
</li>
<li>
Choose index options.

View File

@@ -118,7 +118,7 @@
</h3>
<ul>
<li>
Loads a list of wikis from <span class='path'>C:\xowa\bin\any\xowa\addon\bldr\central\bldr_central.data_db.xowa</span>
Loads a list of wikis from <span class='path'>C:\xowa_release\bin\any\xowa\addon\bldr\central\bldr_central.data_db.xowa</span>
</li>
<li>
Loads a list of files for that wiki. For example, Simple Wikipedia will have 3 files
@@ -152,7 +152,7 @@
<b>source url</b>: The location of the file will be of a form like <a href="https://archive.org/download/Xowa_simplewiki_latest/" rel="nofollow" class="external free">https://archive.org/download/Xowa_simplewiki_latest/</a>
</li>
<li>
<b>target path</b>: The file will be downloaded to <span class='path'>C:\xowa\wiki\simple.wikipedia.org\tmp\bldr\</span>
<b>target path</b>: The file will be downloaded to <span class='path'>C:\xowa_release\wiki\simple.wikipedia.org\tmp\bldr\</span>
</li>
</ul>
</li>
@@ -166,7 +166,7 @@
Verify the unzip with an MD5
</li>
<li>
Move the file to the wiki directory. For example, simple.wikipedia.org-core.xowa will be moved to <span class='path'>C:\xowa\wiki\simple.wikipedia.org\simple.wikipedia.org-core.xowa</span>
Move the file to the wiki directory. For example, simple.wikipedia.org-core.xowa will be moved to <span class='path'>C:\xowa_release\wiki\simple.wikipedia.org\simple.wikipedia.org-core.xowa</span>
</li>
<li>
Register the file in the user's list of wikis (for "core" wiki file only)
@@ -192,7 +192,7 @@
Copy and paste the listed URLs to your download manager.
</li>
<li>
Unzip the files to the <code>wiki folder</code> listed on the Info page. For example, Simple Wikipedia files will go to <span class='path'>C:\xowa\wiki\simple.wikipedia.org\</span>
Unzip the files to the <code>wiki folder</code> listed on the Info page. For example, Simple Wikipedia files will go to <span class='path'>C:\xowa_release\wiki\simple.wikipedia.org\</span>
</li>
<li>
For the desktop, just restart XOWA. XOWA will automatically pick up the new wiki

View File

@@ -102,7 +102,7 @@
</h4>
<ul>
<li>
Go to <a href="/wiki/Dashboard/Import/Online" id="xolnki_2" title="Dashboard/Import/Online" class="xowa-visited">Dashboard/Import/Online</a>
Go to <a href="/wiki/Dashboard/Import/Online" id="xolnki_2" title="Dashboard/Import/Online">Dashboard/Import/Online</a>
</li>
<li>
Find <code>en.wikipedia.org</code> in the list

View File

@@ -68,7 +68,7 @@
<span class="mw-headline" id="Import_online_by_click">Import online by click</span>
</h2>
<p>
The <a href="/wiki/Dashboard/Import/Online" id="xolnki_5" title="Dashboard/Import/Online" class="xowa-visited">Import online</a> page lists 800+ wikis that can be imported by clicking on a link.
The <a href="/wiki/Dashboard/Import/Online" id="xolnki_5" title="Dashboard/Import/Online">Import online</a> page lists 800+ wikis that can be imported by clicking on a link.
</p>
<ul>
<li>
@@ -82,7 +82,7 @@
<span class="mw-headline" id="Import_offline_by_script">Import offline by script</span>
</h2>
<p>
The <a href="/wiki/Dashboard/Import/Offline" id="xolnki_6" title="Dashboard/Import/Offline" class="xowa-visited">Import offline</a> page can generate a script that will import a wiki.
The <a href="/wiki/Dashboard/Import/Offline" id="xolnki_6" title="Dashboard/Import/Offline">Import offline</a> page can generate a script that will import a wiki.
</p>
<ul>
<li>

View File

@@ -21,7 +21,7 @@
<span class="mw-headline" id="Reasons_for_manual_import">Reasons for manual import</span>
</h2>
<p>
The <a href="/wiki/Dashboard/Import/Online" id="xolnki_2" title="Dashboard/Import/Online" class="xowa-visited">list of data dumps</a> allows you to download dumps for any wiki with one mouse click. However, there are times when you want to manually import a wiki:
The <a href="/wiki/Dashboard/Import/Online" id="xolnki_2" title="Dashboard/Import/Online">list of data dumps</a> allows you to download dumps for any wiki with one mouse click. However, there are times when you want to manually import a wiki:
</p>
<ul>
<li>
@@ -96,7 +96,7 @@
</li>
</ul>
<p>
<a href="xowa-cmd:app.setup.cmds.dump_add_many(%0A'simple.wikipedia.org'%2C%0A'latest'%2C%0A'pages-articles'%2C%0A'wiki.download'%2C%20'wiki.unzip'%2C%20'wiki.import').owner.run;">Setup Custom Wiki<img src="file:///C:/xowa/bin/any/xowa/file/app.general/xowa_exec.png"></a>
<a href="xowa-cmd:app.setup.cmds.dump_add_many(%0A'simple.wikipedia.org'%2C%0A'latest'%2C%0A'pages-articles'%2C%0A'wiki.download'%2C%20'wiki.unzip'%2C%20'wiki.import').owner.run;">Setup Custom Wiki<img src="file:///C:/xowa_release/bin/any/xowa/file/app.general/xowa_exec.png"></a>
</p>
</div>

View File

@@ -21,15 +21,15 @@
If you've downloaded a dump already, you can import the .bz2 file into XOWA.
</p>
<h2>
<span class="mw-headline" id="Import_through_Dashboard/Import/Offline">Import through <a href="/wiki/Dashboard/Import/Offline" id="xolnki_2" title="Dashboard/Import/Offline" class="xowa-visited">Dashboard/Import/Offline</a></span>
<span class="mw-headline" id="Import_through_Dashboard/Import/Offline">Import through <a href="/wiki/Dashboard/Import/Offline" id="xolnki_2" title="Dashboard/Import/Offline">Dashboard/Import/Offline</a></span>
</h2>
<ul>
<li>
Go to <a href="/wiki/Dashboard/Import/Offline" id="xolnki_3" title="Dashboard/Import/Offline" class="xowa-visited">Dashboard/Import/Offline</a>
Go to <a href="/wiki/Dashboard/Import/Offline" id="xolnki_3" title="Dashboard/Import/Offline">Dashboard/Import/Offline</a>
</li>
</ul>
<h2>
<span class="mw-headline" id="Import_through_Dashboard/Import/Online">Import through <a href="/wiki/Dashboard/Import/Online" id="xolnki_4" title="Dashboard/Import/Online" class="xowa-visited">Dashboard/Import/Online</a></span>
<span class="mw-headline" id="Import_through_Dashboard/Import/Online">Import through <a href="/wiki/Dashboard/Import/Online" id="xolnki_4" title="Dashboard/Import/Online">Dashboard/Import/Online</a></span>
</h2>
<ul>
<li>
@@ -43,7 +43,7 @@
</ul>
<ul>
<li>
Go to <a href="/wiki/Dashboard/Import/Online" id="xolnki_5" title="Dashboard/Import/Online" class="xowa-visited">Dashboard/Import/Online</a> and click on the "latest" link.
Go to <a href="/wiki/Dashboard/Import/Online" id="xolnki_5" title="Dashboard/Import/Online">Dashboard/Import/Online</a> and click on the "latest" link.
</li>
</ul>
<ul>

View File

@@ -35,20 +35,20 @@
</p>
<ul>
<li>
Delete the wiki directory under <span class='path'>C:\xowa\wiki\simple.wikipedia.org</span>
Delete the wiki directory under <span class='path'>C:\xowa_release\wiki\simple.wikipedia.org</span>
</li>
<li>
Delete the css directory under <span class='path'>C:\xowa\user\anonymous\wiki\simple.wikipedia.org</span>
Delete the css directory under <span class='path'>C:\xowa_release\user\anonymous\wiki\simple.wikipedia.org</span>
</li>
<li>
Delete the files directory under <span class='path'>C:\xowa\file\simple.wikipedia.org</span>
Delete the files directory under <span class='path'>C:\xowa_release\file\simple.wikipedia.org</span>
</li>
</ul>
<p>
Note that there may also be images in your commons directory which can only be removed by deleting the entire directory: <span class='path'>C:\xowa\file\commons.wikimedia.org</span>
Note that there may also be images in your commons directory which can only be removed by deleting the entire directory: <span class='path'>C:\xowa_release\file\commons.wikimedia.org</span>
</p>
<p>
For example, if you have viewed the Earth article in <i>Simple Wikipedia</i> you will have downloaded the <i>The Earth seen from Apollo 17.jpg</i> to <span class='path'>C:\xowa\file\commons.wikimedia.org</span> not to <span class='path'>C:\xowa\file\simple.wikipedia.org</span>. Note that commons is the destination because the actual online url for the image is <a href="/site/commons.wikimedia.org/wiki/File:The">https://commons.wikimedia.org/wiki/File:The</a> Earth seen from Apollo 17.jpg.
For example, if you have viewed the Earth article in <i>Simple Wikipedia</i> you will have downloaded the <i>The Earth seen from Apollo 17.jpg</i> to <span class='path'>C:\xowa_release\file\commons.wikimedia.org</span> not to <span class='path'>C:\xowa_release\file\simple.wikipedia.org</span>. Note that commons is the destination because the actual online url for the image is <a href="https://commons.wikimedia.org/wiki/File:The" rel="nofollow" class="external free">https://commons.wikimedia.org/wiki/File:The</a> Earth seen from Apollo 17.jpg.
</p>
</div>

View File

@@ -30,7 +30,7 @@
This file is not used by XOWA, and can be removed from the system.
</p>
<p>
If you are using the automated set up from <a href="/wiki/Dashboard/Import/Online" id="xolnki_2" title="Dashboard/Import/Online" class="xowa-visited">Dashboard/Import/Online</a>, the BZ2 file is moved to /xowa/wiki/#done. XOWA does not delete this file in case the user wants to re-import the wiki, and avoid redownloading the entire file.
If you are using the automated set up from <a href="/wiki/Dashboard/Import/Online" id="xolnki_2" title="Dashboard/Import/Online">Dashboard/Import/Online</a>, the BZ2 file is moved to /xowa/wiki/#done. XOWA does not delete this file in case the user wants to re-import the wiki, and avoid redownloading the entire file.
</p>
<p>
<br>

View File

@@ -76,7 +76,7 @@
Download the <code>file</code> zip from archive.org: <a href="https://archive.org/details/Xowa_simplewiki_latest" rel="nofollow" class="external free">https://archive.org/details/Xowa_simplewiki_latest</a>
</li>
<li>
Unzip the files in your xowa root directory. When you are done, you will have a file called <span class='path'>C:\xowa\wiki\simple.wikipedia.org\simple.wikipedia.org-file.xowa</span> as well as many others.<sup id="cite_ref-simplewikis_0-0" class="reference"><a href="#cite_note-simplewikis-0">[1]</a></sup>
Unzip the files in your xowa root directory. When you are done, you will have a file called <span class='path'>C:\xowa_release\wiki\simple.wikipedia.org\simple.wikipedia.org-file.xowa</span> as well as many others.<sup id="cite_ref-simplewikis_0-0" class="reference"><a href="#cite_note-simplewikis-0">[1]</a></sup>
</li>
<li>
Visit any page in Simple Wikipedia. All images will now be loading from the offline databas.

View File

@@ -211,7 +211,7 @@
<span class="mw-headline" id="Basic_editing">Basic editing</span>
</h2>
<p>
The best place to start is Wikipedia's guide for editing: <a href="/site/en.wikipedia.org/wiki/Help:Getting_started">https://en.wikipedia.org/wiki/Help:Getting_started</a>
The best place to start is Wikipedia's guide for editing: <a href="https://en.wikipedia.org/wiki/Help:Getting_started" rel="nofollow" class="external free">https://en.wikipedia.org/wiki/Help:Getting_started</a>
</p>
<p>
The table below is provided for reference. Note the following columns:
@@ -766,7 +766,7 @@ para 2
</li>
</ul>
<p>
For more info, see <a href="/site/en.wikipedia.org/wiki/Help:Category">https://en.wikipedia.org/wiki/Help:Category</a>
For more info, see <a href="https://en.wikipedia.org/wiki/Help:Category" rel="nofollow" class="external free">https://en.wikipedia.org/wiki/Help:Category</a>
</p>
<h3>
<span class="mw-headline" id="Images">Images</span>
@@ -800,7 +800,7 @@ para 2
</li>
</ul>
<p>
For more info, see <a href="/site/en.wikipedia.org/wiki/Wikipedia:Picture_tutorial">https://en.wikipedia.org/wiki/Wikipedia:Picture_tutorial</a>
For more info, see <a href="https://en.wikipedia.org/wiki/Wikipedia:Picture_tutorial" rel="nofollow" class="external free">https://en.wikipedia.org/wiki/Wikipedia:Picture_tutorial</a>
</p>
<h3>
<span class="mw-headline" id="Table_of_contents">Table of contents</span>
@@ -919,7 +919,7 @@ para 2
<span class="mw-headline" id="Magic_words">Magic words</span>
</h3>
<p>
Most magic words are supported, such as <code>{{CURRENTTIME}}</code> and <code>{{lc:string}}</code>. For more info, see <a href="/site/en.wikipedia.org/wiki/Help:Magic_words">https://en.wikipedia.org/wiki/Help:Magic_words</a>
Most magic words are supported, such as <code>{{CURRENTTIME}}</code> and <code>{{lc:string}}</code>. For more info, see <a href="https://en.wikipedia.org/wiki/Help:Magic_words" rel="nofollow" class="external free">https://en.wikipedia.org/wiki/Help:Magic_words</a>
</p>
<h3>
<span class="mw-headline" id="Parser_functions">Parser functions</span>
@@ -931,7 +931,7 @@ para 2
<span class="mw-headline" id="Templates">Templates</span>
</h3>
<p>
Templates are supported, such as <code>{{my_template|arg_1|arg_2|etc...}}</code>. For more info, see <a href="/site/en.wikipedia.org/wiki/Help:A_quick_guide_to_templates">https://en.wikipedia.org/wiki/Help:A_quick_guide_to_templates</a>
Templates are supported, such as <code>{{my_template|arg_1|arg_2|etc...}}</code>. For more info, see <a href="https://en.wikipedia.org/wiki/Help:A_quick_guide_to_templates" rel="nofollow" class="external free">https://en.wikipedia.org/wiki/Help:A_quick_guide_to_templates</a>
</p>
<p>
Here's a brief example:
@@ -951,7 +951,7 @@ para 2
<span class="mw-headline" id="Modules">Modules</span>
</h3>
<p>
Modules are supported, such as <code>{{#invoke:my_module|my_function|arg_1|arg_2|etc...}}</code>. For more info, see <a href="/site/en.wikipedia.org/wiki/Wikipedia:Lua">https://en.wikipedia.org/wiki/Wikipedia:Lua</a>
Modules are supported, such as <code>{{#invoke:my_module|my_function|arg_1|arg_2|etc...}}</code>. For more info, see <a href="https://en.wikipedia.org/wiki/Wikipedia:Lua" rel="nofollow" class="external free">https://en.wikipedia.org/wiki/Wikipedia:Lua</a>
</p>
<p>
Here's a brief example:
@@ -1134,7 +1134,7 @@ return p
</h2>
<ul>
<li>
Wikipedia's guide for editing: <a href="/site/en.wikipedia.org/wiki/Help:Getting_started">https://en.wikipedia.org/wiki/Help:Getting_started</a>
Wikipedia's guide for editing: <a href="https://en.wikipedia.org/wiki/Help:Getting_started" rel="nofollow" class="external free">https://en.wikipedia.org/wiki/Help:Getting_started</a>
</li>
<li>
XOWA page on personal wikis: <a href="/wiki/Xowa.home:App/Personal_wikis" id="xolnki_8" title="Xowa.home:App/Personal wikis">xowa.home:App/Personal wikis</a>

View File

@@ -156,7 +156,7 @@
Try not to use colons. They can be mistaken for namespaces
</li>
<li>
Try not to use punctuation. Some are invalid (For example: <code>&lt;</code>). For more info, see <a href="/site/en.wikipedia.org/wiki/Wikipedia:Page_name">https://en.wikipedia.org/wiki/Wikipedia:Page_name#Technical_restrictions_and_limitations</a>
Try not to use punctuation. Some are invalid (For example: <code>&lt;</code>). For more info, see <a href="https://en.wikipedia.org/wiki/Wikipedia:Page_name#Technical_restrictions_and_limitations" rel="nofollow" class="external free">https://en.wikipedia.org/wiki/Wikipedia:Page_name#Technical_restrictions_and_limitations</a>
</li>
</ul>
</li>

View File

@@ -32,7 +32,7 @@
</li>
</ul>
<p>
The search feature is based off of the <a href="/site/en.wikipedia.org/wiki/PageRank">PageRank algorithm</a>. Because of the complicated, recursive nature of the algorithm, the index can only be run for the entire wiki at once -- not every time a page changes. For small wikis, search reindexing will complete in a few seconds. For a large wiki like en.wikipedia.org, it could take 12 hours.
The search feature is based off of the <a href="https://en.wikipedia.org/wiki/PageRank" rel="nofollow" class="external text">PageRank algorithm</a>. Because of the complicated, recursive nature of the algorithm, the index can only be run for the entire wiki at once -- not every time a page changes. For small wikis, search reindexing will complete in a few seconds. For a large wiki like en.wikipedia.org, it could take 12 hours.
</p>
<h2>
<span class="mw-headline" id="Reindex_search">Reindex search</span>

View File

@@ -114,7 +114,7 @@
</h3>
<ul>
<li>
<b>Searches sort by page score</b>: By convention, XOWA scores every page with percentile ranking ("graded curve") from 0 to 1,000,000. Page score is based on <a href="/site/en.wikipedia.org/wiki/PageRank">https://en.wikipedia.org/wiki/PageRank</a> . In short, a page has a high page score if there are many pages linking to it. For more info, see <a href="/wiki/App/Search/Score" id="xolnki_5" title="App/Search/Score">App/Search/Score</a>
<b>Searches sort by page score</b>: By convention, XOWA scores every page with percentile ranking ("graded curve") from 0 to 1,000,000. Page score is based on <a href="https://en.wikipedia.org/wiki/PageRank" rel="nofollow" class="external free">https://en.wikipedia.org/wiki/PageRank</a> . In short, a page has a high page score if there are many pages linking to it. For more info, see <a href="/wiki/App/Search/Score" id="xolnki_5" title="App/Search/Score">App/Search/Score</a>
</li>
<li>
<b>Searches find a page that matches the text and list it as the first result</b>: For example, searching for "earth" will automatically find the page "Earth" and list it as the first result, regardless of its score. (Technically, this entry is assigned a temporary score of 3,000,000)

View File

@@ -65,10 +65,10 @@
</p>
<ul>
<li>
A <a href="/site/en.wikipedia.org/wiki/PageRank">PageRank</a> score is calculated for a page. This score is <a href="/site/en.wikipedia.org/wiki/Feature_scaling">scaled</a> from 0 to 1,000,000
A <a href="https://en.wikipedia.org/wiki/PageRank" rel="nofollow" class="external text">PageRank</a> score is calculated for a page. This score is <a href="https://en.wikipedia.org/wiki/Feature_scaling" rel="nofollow" class="external text">scaled</a> from 0 to 1,000,000
</li>
<li>
A page-length score is then calculated for the page. This score is <a href="/site/en.wikipedia.org/wiki/Percentile_rank">ranked</a> from 0 to 1,000,000
A page-length score is then calculated for the page. This score is <a href="https://en.wikipedia.org/wiki/Percentile_rank" rel="nofollow" class="external text">ranked</a> from 0 to 1,000,000
</li>
<li>
The PageRank score is then multiplied by a ratio if it has a low page-length score
@@ -90,7 +90,7 @@
<span class="mw-headline" id="Scaling">Scaling</span>
</h3>
<p>
A simplified definition of scaling is converting a number from one range to another range based on proportion. For a more thorough definition, see <a href="/site/en.wikipedia.org/wiki/Feature_scaling">the Wikipedia page on feature scaling</a>
A simplified definition of scaling is converting a number from one range to another range based on proportion. For a more thorough definition, see <a href="https://en.wikipedia.org/wiki/Feature_scaling" rel="nofollow" class="external text">the Wikipedia page on feature scaling</a>
</p>
<p>
For example, let's say you have a score of 100 in a range of 0 to 400 and want to scale it to 0 to 1000. The following steps would be involved:
@@ -123,7 +123,7 @@ newScore = \frac{oldScore - \text{min}(oldRange)} {\text{max}(oldRange)-\text{mi
<span class="mw-headline" id="Ranking">Ranking</span>
</h3>
<p>
A simplified definition of ranking is assigning a number based on its order in a population of numbers. For those familiar with a school setting, this is "grading on a curve". For a more thorough definition, see <a href="/site/en.wikipedia.org/wiki/Percentile_rank">the Wikipedia page on percentile ranks</a>
A simplified definition of ranking is assigning a number based on its order in a population of numbers. For those familiar with a school setting, this is "grading on a curve". For a more thorough definition, see <a href="https://en.wikipedia.org/wiki/Percentile_rank" rel="nofollow" class="external text">the Wikipedia page on percentile ranks</a>
</p>
<p>
For example, let's say you have the following:
@@ -219,7 +219,7 @@ newScore = \frac{oldScore - \text{min}(oldRange)} {\text{max}(oldRange)-\text{mi
<span class="mw-headline" id="PageRank">PageRank</span>
</h3>
<p>
The basis of XOWA's page score is <a href="/site/en.wikipedia.org/wiki/PageRank">PageRank</a>.
The basis of XOWA's page score is <a href="https://en.wikipedia.org/wiki/PageRank" rel="nofollow" class="external text">PageRank</a>.
</p>
<p>
In brief, PageRank will give high scores to pages which are:
@@ -233,7 +233,7 @@ newScore = \frac{oldScore - \text{min}(oldRange)} {\text{max}(oldRange)-\text{mi
</li>
</ol>
<p>
Note that #2 is recursive (a page will have a high score only if it is linked to by many pages). For more info, a good starting point is <a href="/site/en.wikipedia.org/wiki/PageRank">the Wikipedia page on PageRank</a>.
Note that #2 is recursive (a page will have a high score only if it is linked to by many pages). For more info, a good starting point is <a href="https://en.wikipedia.org/wiki/PageRank" rel="nofollow" class="external text">the Wikipedia page on PageRank</a>.
</p>
<p>
After XOWA calculates the PageRank, XOWA then scales this score in a range of 0 to 1,000,000

View File

@@ -59,13 +59,13 @@
For example, after searching for Earth, the url string will read:
</p>
<p>
<code><a href="/site/en.wikipedia.org/wiki/Special:Allpages?from=Earth&amp;namespace=0&amp;hideredirects=0">http://en.wikipedia.org/wiki/Special:Allpages?from=Earth&amp;namespace=0&amp;hideredirects=0</a></code>
<code><a href="http://en.wikipedia.org/wiki/Special:Allpages?from=Earth&amp;namespace=0&amp;hideredirects=0" rel="nofollow" class="external free">http://en.wikipedia.org/wiki/Special:Allpages?from=Earth&amp;namespace=0&amp;hideredirects=0</a></code>
</p>
<p>
If you want to hide redirects, change this to:
</p>
<p>
<code><a href="/site/en.wikipedia.org/wiki/Special:Allpages?from=Earth&amp;namespace=0&amp;hideredirects=">http://en.wikipedia.org/wiki/Special:Allpages?from=Earth&amp;namespace=0&amp;hideredirects=</a><span style="color:red;">1</span></code>
<code><a href="http://en.wikipedia.org/wiki/Special:Allpages?from=Earth&amp;namespace=0&amp;hideredirects=" rel="nofollow" class="external free">http://en.wikipedia.org/wiki/Special:Allpages?from=Earth&amp;namespace=0&amp;hideredirects=</a><span style="color:red;">1</span></code>
</p>
<p>
If you want to search in a different namespace, you have two options

View File

@@ -50,7 +50,7 @@
Memory: 512 MB minimum; 2 GB recommended
</li>
<li>
Storage: varies per wiki. As a rough guideline, multiply the dump file by 2. For dump sizes, see either <a href="/wiki/Dashboard/Import/Online" id="xolnki_2" title="Dashboard/Import/Online" class="xowa-visited">Dashboard/Import/Online</a> or <a href="http://dumps.wikimedia.org/backup-index.html" rel="nofollow" class="external free">http://dumps.wikimedia.org/backup-index.html</a>.
Storage: varies per wiki. As a rough guideline, multiply the dump file by 2. For dump sizes, see either <a href="/wiki/Dashboard/Import/Online" id="xolnki_2" title="Dashboard/Import/Online">Dashboard/Import/Online</a> or <a href="http://dumps.wikimedia.org/backup-index.html" rel="nofollow" class="external free">http://dumps.wikimedia.org/backup-index.html</a>.
<ul>
<li>
For example, for English Wikipedia, the dump size is 12 GB.

View File

@@ -96,7 +96,7 @@
</ul>
</li>
<li>
The package is downloaded and unzipped to C:\xowa\user\install\update
The package is downloaded and unzipped to C:\xowa_release\user\install\update
</li>
<li>
For each file in the install package:
@@ -155,7 +155,7 @@
Next, it will check offline to see any existing updates have not been applied.
<ul>
<li>
A list of offline updates are at C:\xowa\user\install\update
A list of offline updates are at C:\xowa_release\user\install\update
</li>
</ul>
</li>

View File

@@ -296,7 +296,7 @@
<span class="mw-headline" id="Customizing_shortcuts">Customizing shortcuts</span>
</h2>
<p>
XOWA also allows customization of shortcuts by modifying the custom gfs file. See: <a href="/wiki/Special:XowaCfg%3Fgrp%3Dxowa.app.startup" id="xolnki_2" title="Special:XowaCfg?grp=xowa.app.startup" class="xowa-visited">Options: App - Startup</a>
XOWA also allows customization of shortcuts by modifying the custom gfs file. See: <a href="/wiki/Special:XowaCfg%3Fgrp%3Dxowa.app.startup" id="xolnki_2" title="Special:XowaCfg?grp=xowa.app.startup">Options: App - Startup</a>
</p>
<p>
Shortcuts should be chosen wisely. In particular, using "http", "https" and "file" as a shortcut is heavily discouraged. Similarly, "Category", "Talk", "Help", "Template", "Wikipedia" and other wiki namespaces should be avoided.

View File

@@ -142,7 +142,7 @@
<span class="mw-headline" id="CSS">CSS</span>
</h3>
<p>
Colors for all HTML content are specified through the CSS. By default, XOWA uses a global css at C:\xowa\bin\any\xowa\html\css\nightmode\xowa_night.css.
Colors for all HTML content are specified through the CSS. By default, XOWA uses a global css at C:\xowa_release\bin\any\xowa\html\css\nightmode\xowa_night.css.
</p>
<h3>
<span class="mw-headline" id="Generating_a_night-mode_CSS_from_scratch">Generating a night-mode CSS from scratch</span>
@@ -164,7 +164,7 @@
Click the "Show CSS" link
</li>
<li>
Copy the CSS and place it in C:\xowa\bin\any\xowa\html\css\nightmode\xowa_night.css.
Copy the CSS and place it in C:\xowa_release\bin\any\xowa\html\css\nightmode\xowa_night.css.
</li>
<li>
Remove any line that starts with "@-moz-document"
@@ -181,13 +181,13 @@
</p>
<ul>
<li>
<b>Wiki-specific</b>: XOWA first checks for a night-mode CSS in this location: C:\xowa\user\anonymous\wiki\your_wiki_name\html\xowa_night.css
<b>Wiki-specific</b>: XOWA first checks for a night-mode CSS in this location: C:\xowa_release\user\anonymous\wiki\your_wiki_name\html\xowa_night.css
</li>
<li>
<b>User global</b>: If XOWA doesn't find a wiki-specific file, it checks for a user-defined global file here: C:\xowa\user\anonymous\app\overrides\bin\any\xowa\html\css\nightmode\xowa_night.css.
<b>User global</b>: If XOWA doesn't find a wiki-specific file, it checks for a user-defined global file here: C:\xowa_release\user\anonymous\app\overrides\bin\any\xowa\html\css\nightmode\xowa_night.css.
</li>
<li>
<b>XOWA global</b>: If XOWA still doesn't find a CSS file, it uses the global file that is distributed with the XOWA application package here: C:\xowa\bin\any\xowa\html\css\nightmode\xowa_night.css
<b>XOWA global</b>: If XOWA still doesn't find a CSS file, it uses the global file that is distributed with the XOWA application package here: C:\xowa_release\bin\any\xowa\html\css\nightmode\xowa_night.css
</li>
</ul>
<dl>
@@ -244,13 +244,17 @@
</p>
<div id="catlinks" class="catlinks">
<div id="mw-normal-catlinks" class="mw-normal-catlinks">
Categories:
<a href="/wiki/Special:Categories" title="Special:Categories">Category</a>:
<ul>
<li>
<a href="/wiki/Category:Global_config" class="internal" title="Global config">Global config</a>
<a href="/wiki/Category:Global_config" title="Category:Global config">Global config</a>
</li>
</ul>
</div>
<div id="mw-hidden-catlinks" class="mw-hidden-catlinks mw-hidden-cats-user-shown">Hidden categories:
<ul>
</ul>
</div>
</div>
</div>
</div>

View File

@@ -24,7 +24,7 @@
If you click on an image in Wikipedia, it will try to open up its File page. Most File pages reside in Commons. Without the Commons wiki, you will not get more metadata on the image, nor will you be able to download the full size version
</p>
<p>
For example, <a href="/site/en.wikipedia.org/wiki/Earth">http://en.wikipedia.org/wiki/Earth</a> has an image called File:Solar_Life_Cycle.svg. If you have Commons and click on the image, you will get a view that is similar to <a href="/site/commons.wikimedia.org/wiki/File:Solar_Life_Cycle.svg">http://commons.wikimedia.org/wiki/File:Solar_Life_Cycle.svg</a>
For example, <a href="http://en.wikipedia.org/wiki/Earth" rel="nofollow" class="external free">http://en.wikipedia.org/wiki/Earth</a> has an image called File:Solar_Life_Cycle.svg. If you have Commons and click on the image, you will get a view that is similar to <a href="http://commons.wikimedia.org/wiki/File:Solar_Life_Cycle.svg" rel="nofollow" class="external free">http://commons.wikimedia.org/wiki/File:Solar_Life_Cycle.svg</a>
</p>
<p>
Note that Wikipedia may display images under an "en.wikipedia.org" url, but it has actually retrieved the data from commons.wikimedia.org.
@@ -33,7 +33,7 @@
<span class="mw-headline" id="Main_Image">Main Image</span>
</h2>
<p>
If you click on the main image on its File Page, it will download the original size image and open it in your image viewer. For example, clicking on the image at <a href="/site/commons.wikimedia.org/wiki/File:Mona_Lisa,_by_Leonardo_da_Vinci,_from_C2RMF_retouched.jpg">http://commons.wikimedia.org/wiki/File:Mona_Lisa,_by_Leonardo_da_Vinci,_from_C2RMF_retouched.jpg</a> will download and open the full 7,479 × 11,146 image (89.9 MB).
If you click on the main image on its File Page, it will download the original size image and open it in your image viewer. For example, clicking on the image at <a href="http://commons.wikimedia.org/wiki/File:Mona_Lisa,_by_Leonardo_da_Vinci,_from_C2RMF_retouched.jpg" rel="nofollow" class="external free">http://commons.wikimedia.org/wiki/File:Mona_Lisa,_by_Leonardo_da_Vinci,_from_C2RMF_retouched.jpg</a> will download and open the full 7,479 × 11,146 image (89.9 MB).
</p>
</div>

View File

@@ -86,14 +86,14 @@
As Wikia's wikis run <a href="http://community.wikia.com/wiki/Help:MediaWiki" rel="nofollow" class="external text">on version 1.19.9 of MediaWiki</a>, it is possible for XOWA to import their database dumps.
</p>
<p>
Note that the same process can also be applied to other MediaWiki wikis. For example, <a href="/site/nethackwiki.com/wiki/">the Nethack wiki</a> runs on MediaWiki and makes its dumps available for offline use:
Note that the same process can also be applied to other MediaWiki wikis. For example, <a href="https://nethackwiki.com" rel="nofollow" class="external text">the Nethack wiki</a> runs on MediaWiki and makes its dumps available for offline use:
</p>
<ul>
<li>
Article dump: <a href="/site/nethackwiki.com/wiki/nethackwiki_current.xml.gz">http://nethackwiki.com/nethackwiki_current.xml.gz</a>
Article dump: <a href="http://nethackwiki.com/nethackwiki_current.xml.gz" rel="nofollow" class="external free">http://nethackwiki.com/nethackwiki_current.xml.gz</a>
</li>
<li>
Image dump: <a href="/site/nethackwiki.com/wiki/nethackwiki_current_images.tar.gz">http://nethackwiki.com/nethackwiki_current_images.tar.gz</a>
Image dump: <a href="http://nethackwiki.com/nethackwiki_current_images.tar.gz" rel="nofollow" class="external free">http://nethackwiki.com/nethackwiki_current_images.tar.gz</a>
</li>
</ul>
<p>
@@ -115,13 +115,13 @@
Create a folder for the wikia dump. For example, <code>C:\xowa\wiki\dungeons.wikia.com</code>
</li>
<li>
Download the <code>Current pages</code> dump from <a href="/site/dungeons.wikia.com/wiki/Special:Statistics">http://dungeons.wikia.com/wiki/Special:Statistics</a> If a dump is not available, you can do the following
Download the <code>Current pages</code> dump from <a href="http://dungeons.wikia.com/wiki/Special:Statistics" rel="nofollow" class="external free">http://dungeons.wikia.com/wiki/Special:Statistics</a> If a dump is not available, you can do the following
<ul>
<li>
Log on to the site as a wikia user (You must create an account if you don't have one)
</li>
<li>
Visit <a href="/site/dungeons.wikia.com/wiki/Special:Statistics">http://dungeons.wikia.com/wiki/Special:Statistics</a> You will see a button for <code>Request a database dump</code>
Visit <a href="http://dungeons.wikia.com/wiki/Special:Statistics" rel="nofollow" class="external free">http://dungeons.wikia.com/wiki/Special:Statistics</a> You will see a button for <code>Request a database dump</code>
</li>
</ul>
</li>
@@ -134,7 +134,7 @@
</h2>
<ul>
<li>
Navigate to <a href="/wiki/Dashboard/Import/Offline" id="xolnki_2" title="Dashboard/Import/Offline" class="xowa-visited">Dashboard/Import/Offline</a>
Navigate to <a href="/wiki/Dashboard/Import/Offline" id="xolnki_2" title="Dashboard/Import/Offline">Dashboard/Import/Offline</a>
</li>
<li>
Change the <code>Wiki</code> choice from <code>Wikipedia</code> to <code>Other wiki</code>

View File

@@ -33,7 +33,7 @@
Phase 1 began in February of 2013. It involved moving all language links from an individual page to Wikidata.
</p>
<p>
For example, <a href="/site/en.wikipedia.org/wiki/Earth">http://en.wikipedia.org/wiki/Earth</a> used to have a link at the bottom of the page with the text of [[fr:Terre]]. This was a link to the Earth article on <a href="/site/fr.wikipedia.org/wiki/Terre">http://fr.wikipedia.org/wiki/Terre</a> .
For example, <a href="http://en.wikipedia.org/wiki/Earth" rel="nofollow" class="external free">http://en.wikipedia.org/wiki/Earth</a> used to have a link at the bottom of the page with the text of [[fr:Terre]]. This was a link to the Earth article on <a href="http://fr.wikipedia.org/wiki/Terre" rel="nofollow" class="external free">http://fr.wikipedia.org/wiki/Terre</a> .
</p>
<p>
With Phase 1, this link was removed, and now Wikipedia does a lookup into wikidata to find the corresponding Terre article.
@@ -55,7 +55,7 @@
</h2>
<ol class="references">
<li id="cite_note-0">
<span class="mw-cite-backlink"><a href="#cite_ref-0">^</a></span> <span class="reference-text"><a href="/site/www.wikidata.org/wiki/Main_Page">http://www.wikidata.org/Main_Page</a></span>
<span class="mw-cite-backlink"><a href="#cite_ref-0">^</a></span> <span class="reference-text"><a href="http://www.wikidata.org/Main_Page" rel="nofollow" class="external free">http://www.wikidata.org/Main_Page</a></span>
</li>
</ol>

View File

@@ -120,7 +120,7 @@ java -jar xowa_linux_64.jar --root_dir /xowa/ --show_license n --show_args n --a
Save the change by closing the tab or by clicking on a different option (you'll see a check mark icon followed by an undo option)
</li>
<li>
Start http_server and try to go to an <a href="/wiki/Main_Page%3Faction%3Dedit" id="xolnki_8" title="Main Page?action=edit" class="xowa-visited">edit page</a>. It will be blank
Start http_server and try to go to an <a href="/wiki/Main_Page%3Faction%3Dedit" id="xolnki_8" title="Main Page?action=edit">edit page</a>. It will be blank
</li>
</ul>
<p>

View File

@@ -119,10 +119,10 @@
<span class="mw-headline" id="Background">Background</span>
</h2>
<p>
<b>XOWA Popups</b> is based on MediaWiki's <a href="https://www.mediawiki.org/wiki/Extension:Hovercards" rel="nofollow" class="external text">Hovercards</a> and <a href="/site/en.wikipedia.org/wiki/Wikipedia:Tools/Navigation_popups">Navigation popups</a>. It does not aim to be an exact reproduction of either, but picks the best features from each.
<b>XOWA Popups</b> is based on MediaWiki's <a href="https://www.mediawiki.org/wiki/Extension:Hovercards" rel="nofollow" class="external text">Hovercards</a> and <a href="https://en.wikipedia.org/wiki/Wikipedia:Tools/Navigation_popups" rel="nofollow" class="external text">Navigation popups</a>. It does not aim to be an exact reproduction of either, but picks the best features from each.
</p>
<p>
The javascript was modified from Reference tooltips, which was kindly provided by <a href="/site/de.wikipedia.org/wiki/Benzuter:Schnark">Schnark</a>.
The javascript was modified from Reference tooltips, which was kindly provided by <a href="https://de.wikipedia.org/wiki/Benzuter:Schnark" rel="nofollow" class="external text">Schnark</a>.
</p>
<p>
<br>

View File

@@ -144,7 +144,7 @@
<span class="mw-headline" id="Testing">Testing</span>
</h2>
<p>
When you're done, visit <a href="/wiki/Diagnostics" id="xolnki_3" title="Diagnostics" class="xowa-visited">Diagnostics</a> and click on the Score links
When you're done, visit <a href="/wiki/Diagnostics" id="xolnki_3" title="Diagnostics">Diagnostics</a> and click on the Score links
</p>
</div>

View File

@@ -142,7 +142,7 @@
<span class="mw-headline" id="Math,_Helper_Buttons_(enlarge_/_more_info),_Musical_scores,_and_other_images_don't_work"><s>Math,</s> Helper Buttons (enlarge / more info), Musical scores, and other images don't work</span>
</h3>
<p>
Wikipedia stores some images in a separate location. XOWA still needs code to detect this location, copy it offline, and show it correctly. This should be done in the next few releases, but in the meantime it's heavily recommended that you don't use Automatic sync for all pages. <s>In particular, math pages will lose all equations after a sync. For example, <a href="/site/en.wikipedia.org/wiki/Pythagorean_theorem">https://en.wikipedia.org/wiki/Pythagorean_theorem</a></s>
Wikipedia stores some images in a separate location. XOWA still needs code to detect this location, copy it offline, and show it correctly. This should be done in the next few releases, but in the meantime it's heavily recommended that you don't use Automatic sync for all pages. <s>In particular, math pages will lose all equations after a sync. For example, <a href="https://en.wikipedia.org/wiki/Pythagorean_theorem" rel="nofollow" class="external free">https://en.wikipedia.org/wiki/Pythagorean_theorem</a></s>
</p>
<ul>
<li>
@@ -166,7 +166,7 @@
Backup en.wikipedia.org-html.user.xowa and en.wikipedia.org-sync.xowa if they exist.
</li>
<li>
Synchronize <a href="/site/en.wikipedia.org/wiki/Pythagorean_theorem">https://en.wikipedia.org/wiki/Pythagorean_theorem</a>
Synchronize <a href="https://en.wikipedia.org/wiki/Pythagorean_theorem" rel="nofollow" class="external free">https://en.wikipedia.org/wiki/Pythagorean_theorem</a>
</li>
<li>
Realize that the synchronization is bad and start the rollback.
@@ -184,7 +184,7 @@
If backups don't exist, delete en.wikipedia.org-html.user.xowa and en.wikipedia.org-sync.xowa
</li>
<li>
Run XOWA and go to <a href="/site/en.wikipedia.org/wiki/Pythagorean_theorem">https://en.wikipedia.org/wiki/Pythagorean_theorem</a>
Run XOWA and go to <a href="https://en.wikipedia.org/wiki/Pythagorean_theorem" rel="nofollow" class="external free">https://en.wikipedia.org/wiki/Pythagorean_theorem</a>
</li>
</ul>
<h3>