mirror of
https://github.com/gnosygnu/xowa.git
synced 2026-03-02 03:49:30 +00:00
cccc
This commit is contained in:
@@ -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="http://en.wikipedia.org/wiki/Help:Wiki_markup" rel="nofollow" class="external text">Wiki markup page</a>.
|
||||
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>.
|
||||
</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="/wiki/En.wikipedia.org:Earth" id="xolnki_2" title="En.wikipedia.org:Earth">en.wikipedia.org:Earth</a>
|
||||
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>
|
||||
</li>
|
||||
<li>
|
||||
Click on <b>Edit</b>
|
||||
|
||||
@@ -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_release\file\simple.wikipedia.org\...</code>
|
||||
If an image is found, XOWA downloads a temporary version of the file to <code>D:\xowa\file\simple.wikipedia.org\...</code>
|
||||
</li>
|
||||
<li>
|
||||
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
|
||||
As of v2.5.4.1, XOWA also saves Wikimedia files to <code>D:\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
|
||||
</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_release\user\xowa.user.anonymous.sqlite3</code>. The table name is <code>file_cache</code>
|
||||
You can view the cache in <code>D:\xowa\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_release\file\en.wikipedia.org
|
||||
D:\xowa\file\en.wikipedia.org
|
||||
</td>
|
||||
<td>
|
||||
No
|
||||
@@ -238,7 +238,7 @@
|
||||
3 GB
|
||||
</td>
|
||||
<td>
|
||||
C:\xowa_release\wiki\en.wikipedia.org
|
||||
D:\xowa\wiki\en.wikipedia.org
|
||||
</td>
|
||||
<td>
|
||||
No
|
||||
@@ -258,7 +258,7 @@
|
||||
1.5 GB
|
||||
</td>
|
||||
<td>
|
||||
C:\xowa_release\wiki\en.wikipedia.org
|
||||
D:\xowa\wiki\en.wikipedia.org
|
||||
</td>
|
||||
<td>
|
||||
Yes
|
||||
|
||||
@@ -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="https://en.wikipedia.org/wiki/Wikipedia:Namespace" rel="nofollow" class="external free">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="/site/en.wikipedia.org/wiki/Wikipedia:Namespace">https://en.wikipedia.org/wiki/Wikipedia:Namespace</a>
|
||||
</li>
|
||||
<li>
|
||||
Choose index options.
|
||||
|
||||
@@ -118,7 +118,7 @@
|
||||
</h3>
|
||||
<ul>
|
||||
<li>
|
||||
Loads a list of wikis from <span class='path'>C:\xowa_release\bin\any\xowa\addon\bldr\central\bldr_central.data_db.xowa</span>
|
||||
Loads a list of wikis from <span class='path'>D:\xowa\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_release\wiki\simple.wikipedia.org\tmp\bldr\</span>
|
||||
<b>target path</b>: The file will be downloaded to <span class='path'>D:\xowa\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_release\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'>D:\xowa\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_release\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'>D:\xowa\wiki\simple.wikipedia.org\</span>
|
||||
</li>
|
||||
<li>
|
||||
For the desktop, just restart XOWA. XOWA will automatically pick up the new wiki
|
||||
|
||||
@@ -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_release/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:///D:/xowa/bin/any/xowa/file/app.general/xowa_exec.png"></a>
|
||||
</p>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -35,20 +35,20 @@
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
Delete the wiki directory under <span class='path'>C:\xowa_release\wiki\simple.wikipedia.org</span>
|
||||
Delete the wiki directory under <span class='path'>D:\xowa\wiki\simple.wikipedia.org</span>
|
||||
</li>
|
||||
<li>
|
||||
Delete the css directory under <span class='path'>C:\xowa_release\user\anonymous\wiki\simple.wikipedia.org</span>
|
||||
Delete the css directory under <span class='path'>D:\xowa\user\anonymous\wiki\simple.wikipedia.org</span>
|
||||
</li>
|
||||
<li>
|
||||
Delete the files directory under <span class='path'>C:\xowa_release\file\simple.wikipedia.org</span>
|
||||
Delete the files directory under <span class='path'>D:\xowa\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_release\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'>D:\xowa\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_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.
|
||||
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'>D:\xowa\file\commons.wikimedia.org</span> not to <span class='path'>D:\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.
|
||||
</p>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -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_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>
|
||||
Unzip the files in your xowa root directory. When you are done, you will have a file called <span class='path'>D:\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>
|
||||
</li>
|
||||
<li>
|
||||
Visit any page in Simple Wikipedia. All images will now be loading from the offline databas.
|
||||
|
||||
@@ -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="https://en.wikipedia.org/wiki/Help:Getting_started" rel="nofollow" class="external free">https://en.wikipedia.org/wiki/Help:Getting_started</a>
|
||||
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>
|
||||
</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="https://en.wikipedia.org/wiki/Help:Category" rel="nofollow" class="external free">https://en.wikipedia.org/wiki/Help:Category</a>
|
||||
For more info, see <a href="/site/en.wikipedia.org/wiki/Help:Category">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="https://en.wikipedia.org/wiki/Wikipedia:Picture_tutorial" rel="nofollow" class="external free">https://en.wikipedia.org/wiki/Wikipedia:Picture_tutorial</a>
|
||||
For more info, see <a href="/site/en.wikipedia.org/wiki/Wikipedia:Picture_tutorial">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="https://en.wikipedia.org/wiki/Help:Magic_words" rel="nofollow" class="external free">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="/site/en.wikipedia.org/wiki/Help:Magic_words">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="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>
|
||||
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>
|
||||
</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="https://en.wikipedia.org/wiki/Wikipedia:Lua" rel="nofollow" class="external free">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="/site/en.wikipedia.org/wiki/Wikipedia:Lua">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="https://en.wikipedia.org/wiki/Help:Getting_started" rel="nofollow" class="external free">https://en.wikipedia.org/wiki/Help:Getting_started</a>
|
||||
Wikipedia's guide for editing: <a href="/site/en.wikipedia.org/wiki/Help:Getting_started">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>
|
||||
|
||||
@@ -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><</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>
|
||||
Try not to use punctuation. Some are invalid (For example: <code><</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>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
</li>
|
||||
</ul>
|
||||
<p>
|
||||
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.
|
||||
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.
|
||||
</p>
|
||||
<h2>
|
||||
<span class="mw-headline" id="Reindex_search">Reindex search</span>
|
||||
|
||||
@@ -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="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>
|
||||
<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>
|
||||
</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)
|
||||
|
||||
@@ -65,10 +65,10 @@
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
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
|
||||
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
|
||||
</li>
|
||||
<li>
|
||||
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
|
||||
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
|
||||
</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="https://en.wikipedia.org/wiki/Feature_scaling" rel="nofollow" class="external text">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="/site/en.wikipedia.org/wiki/Feature_scaling">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="https://en.wikipedia.org/wiki/Percentile_rank" rel="nofollow" class="external text">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="/site/en.wikipedia.org/wiki/Percentile_rank">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="https://en.wikipedia.org/wiki/PageRank" rel="nofollow" class="external text">PageRank</a>.
|
||||
The basis of XOWA's page score is <a href="/site/en.wikipedia.org/wiki/PageRank">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="https://en.wikipedia.org/wiki/PageRank" rel="nofollow" class="external text">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="/site/en.wikipedia.org/wiki/PageRank">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
|
||||
|
||||
@@ -59,13 +59,13 @@
|
||||
For example, after searching for Earth, the url string will read:
|
||||
</p>
|
||||
<p>
|
||||
<code><a href="http://en.wikipedia.org/wiki/Special:Allpages?from=Earth&namespace=0&hideredirects=0" rel="nofollow" class="external free">http://en.wikipedia.org/wiki/Special:Allpages?from=Earth&namespace=0&hideredirects=0</a></code>
|
||||
<code><a href="/site/en.wikipedia.org/wiki/Special:Allpages?from=Earth&namespace=0&hideredirects=0">http://en.wikipedia.org/wiki/Special:Allpages?from=Earth&namespace=0&hideredirects=0</a></code>
|
||||
</p>
|
||||
<p>
|
||||
If you want to hide redirects, change this to:
|
||||
</p>
|
||||
<p>
|
||||
<code><a href="http://en.wikipedia.org/wiki/Special:Allpages?from=Earth&namespace=0&hideredirects=" rel="nofollow" class="external free">http://en.wikipedia.org/wiki/Special:Allpages?from=Earth&namespace=0&hideredirects=</a><span style="color:red;">1</span></code>
|
||||
<code><a href="/site/en.wikipedia.org/wiki/Special:Allpages?from=Earth&namespace=0&hideredirects=">http://en.wikipedia.org/wiki/Special:Allpages?from=Earth&namespace=0&hideredirects=</a><span style="color:red;">1</span></code>
|
||||
</p>
|
||||
<p>
|
||||
If you want to search in a different namespace, you have two options
|
||||
|
||||
@@ -50,10 +50,10 @@
|
||||
</ul>
|
||||
</div>
|
||||
<h2>
|
||||
<span class="mw-headline" id="Special:XowaAppUpdate"><a href="/wiki/Special:XowaAppUpdate" id="xolnki_2" title="Special:XowaAppUpdate">Special:XowaAppUpdate</a></span>
|
||||
<span class="mw-headline" id="Special:XowaAppUpdate"><a href="/wiki/Special:XowaAppUpdate" id="xolnki_2" title="Special:XowaAppUpdate" class="xowa-visited">Special:XowaAppUpdate</a></span>
|
||||
</h2>
|
||||
<p>
|
||||
This <a href="/wiki/Special:XowaAppUpdate" id="xolnki_3" title="Special:XowaAppUpdate">Special page</a> shows all pending updates.
|
||||
This <a href="/wiki/Special:XowaAppUpdate" id="xolnki_3" title="Special:XowaAppUpdate" class="xowa-visited">Special page</a> shows all pending updates.
|
||||
</p>
|
||||
<h3>
|
||||
<span class="mw-headline" id="Opening">Opening</span>
|
||||
@@ -96,7 +96,7 @@
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
The package is downloaded and unzipped to C:\xowa_release\user\install\update
|
||||
The package is downloaded and unzipped to D:\xowa\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_release\user\install\update
|
||||
A list of offline updates are at D:\xowa\user\install\update
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
@@ -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_release\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 D:\xowa\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_release\bin\any\xowa\html\css\nightmode\xowa_night.css.
|
||||
Copy the CSS and place it in D:\xowa\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_release\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: D:\xowa\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_release\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: D:\xowa\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_release\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: D:\xowa\bin\any\xowa\html\css\nightmode\xowa_night.css
|
||||
</li>
|
||||
</ul>
|
||||
<dl>
|
||||
|
||||
@@ -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="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>
|
||||
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>
|
||||
</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="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).
|
||||
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).
|
||||
</p>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -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="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> .
|
||||
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> .
|
||||
</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="http://www.wikidata.org/Main_Page" rel="nofollow" class="external free">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="/site/www.wikidata.org/wiki/Main_Page">http://www.wikidata.org/Main_Page</a></span>
|
||||
</li>
|
||||
</ol>
|
||||
|
||||
|
||||
@@ -66,23 +66,6 @@
|
||||
Launch your browser on a <b>client</b> machine and navigate to the IP Address of the server machine. <code>192.168.0.100:8080</code>
|
||||
</li>
|
||||
</ul>
|
||||
<h3>
|
||||
<span class="mw-headline" id="Limited_functions">Limited functions</span>
|
||||
</h3>
|
||||
<p>
|
||||
Note that you will only be able to read pages with HTTP Server. Some functions will not work, like:
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
Importing a wiki
|
||||
</li>
|
||||
<li>
|
||||
Visiting Special pages
|
||||
</li>
|
||||
</ul>
|
||||
<p>
|
||||
<br>
|
||||
</p>
|
||||
<h2>
|
||||
<span class="mw-headline" id="Advanced">Advanced</span>
|
||||
</h2>
|
||||
|
||||
@@ -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="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.
|
||||
<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.
|
||||
</p>
|
||||
<p>
|
||||
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>.
|
||||
The javascript was modified from Reference tooltips, which was kindly provided by <a href="/site/de.wikipedia.org/wiki/Benzuter:Schnark">Schnark</a>.
|
||||
</p>
|
||||
<p>
|
||||
<br>
|
||||
|
||||
@@ -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="https://en.wikipedia.org/wiki/Pythagorean_theorem" rel="nofollow" class="external free">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="/site/en.wikipedia.org/wiki/Pythagorean_theorem">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="https://en.wikipedia.org/wiki/Pythagorean_theorem" rel="nofollow" class="external free">https://en.wikipedia.org/wiki/Pythagorean_theorem</a>
|
||||
Synchronize <a href="/site/en.wikipedia.org/wiki/Pythagorean_theorem">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="https://en.wikipedia.org/wiki/Pythagorean_theorem" rel="nofollow" class="external free">https://en.wikipedia.org/wiki/Pythagorean_theorem</a>
|
||||
Run XOWA and go to <a href="/site/en.wikipedia.org/wiki/Pythagorean_theorem">https://en.wikipedia.org/wiki/Pythagorean_theorem</a>
|
||||
</li>
|
||||
</ul>
|
||||
<h3>
|
||||
|
||||
Reference in New Issue
Block a user