mirror of
https://github.com/gnosygnu/xowa.git
synced 2026-03-02 03:49:30 +00:00
Add FAQ
This commit is contained in:
@@ -70,7 +70,7 @@
|
||||
<span class="mw-headline" id="Auto-complete">Auto-complete</span>
|
||||
</h2>
|
||||
<p>
|
||||
As of v3.3.4.1, the address bar supports auto-completion. This function can only be used with a wiki built in v3.3.4.1 or later. If the address bar is not working, you should rebuild the search-databases. See <a href="http://xowa.org/home/wiki/App/Search/Build.html" id="xolnki_2" title="App/Search/Build">App/Search/Build</a> for more information.
|
||||
As of v3.3.4.1, the address bar supports auto-completion. This function can only be used with a wiki built in v3.3.4.1 or later. If the address bar is not working, you should rebuild the search-databases. See <a href="http://xowa.org/home/wiki/App/Search/Build" id="xolnki_2" title="App/Search/Build">App/Search/Build</a> for more information.
|
||||
</p>
|
||||
<h2>
|
||||
<span class="mw-headline" id="Basic_details">Basic details</span>
|
||||
@@ -80,7 +80,7 @@
|
||||
</h3>
|
||||
<ul>
|
||||
<li>
|
||||
<b>Searches return 10 results</b>: To change the number, see <a href="http://xowa.org/home/wiki/Options/Search_suggest.html" id="xolnki_3" title="Options/Search suggest">Options/Search_suggest</a>
|
||||
<b>Searches return 10 results</b>: To change the number, see <a href="http://xowa.org/home/wiki/Options/Search_suggest" id="xolnki_3" title="Options/Search suggest">Options/Search_suggest</a>
|
||||
</li>
|
||||
<li>
|
||||
<b>The keys "up" / "down" / "page-up" / "page-down" works like Firefox</b>: The url-bar is meant to emulate Firefox's behavior. This includes:
|
||||
@@ -92,7 +92,7 @@
|
||||
Pressing "up" in the url bar goes goes to the last row.
|
||||
</li>
|
||||
<li>
|
||||
Pressing "page-up" jumps up by 5 rows. This number can be changed at <a href="http://xowa.org/home/wiki/Options/Search_suggest.html" id="xolnki_4" title="Options/Search suggest">Options/Search_suggest</a>.
|
||||
Pressing "page-up" jumps up by 5 rows. This number can be changed at <a href="http://xowa.org/home/wiki/Options/Search_suggest" id="xolnki_4" title="Options/Search suggest">Options/Search_suggest</a>.
|
||||
</li>
|
||||
<li>
|
||||
Pressing "page-up" when there is less than 5 rows will jump to the first row.
|
||||
@@ -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="http://xowa.org/home/wiki/App/Search/Score.html" 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="http://xowa.org/home/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)
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
Upgrade an existing wiki through the maintenance page. You can upgrade with the following process
|
||||
<ul>
|
||||
<li>
|
||||
Go to <a href="http://xowa.org/home/wiki/Dashboard/Wiki_maintenance.html" id="xolnki_2" title="Dashboard/Wiki maintenance">Dashboard/Wiki_maintenance</a>
|
||||
Go to <a href="http://xowa.org/home/wiki/Dashboard/Wiki_maintenance" id="xolnki_2" title="Dashboard/Wiki maintenance">Dashboard/Wiki_maintenance</a>
|
||||
</li>
|
||||
<li>
|
||||
Find your wiki in the list
|
||||
|
||||
@@ -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:
|
||||
@@ -115,7 +115,7 @@ newScore = \frac{oldScore - \text{min}(oldRange)} {\text{max}(oldRange)-\text{mi
|
||||
Or, to use the example from above:
|
||||
</p>
|
||||
<p>
|
||||
<span id='xowa_math_txt_0'>
|
||||
<span id='xowa_math_txt_1'>
|
||||
250 = \frac{100 - 0} {400-0} \cdot (1000-0)
|
||||
</span>
|
||||
</p>
|
||||
@@ -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
|
||||
@@ -90,7 +90,7 @@
|
||||
app.gui.win_opts.search_box_fmt_('Special:AllPages?from=~{search}&namespace=0&hideredirects=0');
|
||||
</pre>
|
||||
<p>
|
||||
If you want to hide redirects by default, you can change this to hideredirects=1. Please see <a href="http://xowa.org/home/wiki/Dev/Config_files_files/Files.html" id="xolnki_2" title="Dev/Config files files/Files">Dev/Config_files files/Files</a> for information about where to make this change.
|
||||
If you want to hide redirects by default, you can change this to hideredirects=1. Please see <a href="http://xowa.org/home/wiki/Dev/Config_files_files/Files" id="xolnki_2" title="Dev/Config files files/Files">Dev/Config_files files/Files</a> for information about where to make this change.
|
||||
</p>
|
||||
<h2>
|
||||
<span class="mw-headline" id="Future">Future</span>
|
||||
|
||||
Reference in New Issue
Block a user