You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gnosygnu_xowa/home/wiki/App/Search/Special_page.html

209 lines
9.5 KiB

<!DOCTYPE html>
<html dir="ltr">
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
<title>App/Search/Special page - XOWA</title>
<link rel="shortcut icon" href="https://gnosygnu.github.io/xowa/xowa_logo.png" />
<link rel="stylesheet" href="https://gnosygnu.github.io/xowa/xowa_common.css" type="text/css">
</head>
<body class="mediawiki ltr sitedir-ltr ns-0 ns-subject skin-vector action-submit vector-animateLayout" spellcheck="false">
<div id="mw-page-base" class="noprint"></div>
<div id="mw-head-base" class="noprint"></div>
<div id="content" class="mw-body">
<h1 id="firstHeading" class="firstHeading"><span>App/Search/Special page</span></h1>
<div id="bodyContent" class="mw-body-content">
<div id="siteSub">From XOWA: the free, open-source, offline wiki application</div>
<div id="contentSub"></div>
<div id="mw-content-text" lang="en" dir="ltr" class="mw-content-ltr">
<h2>
<span class="mw-headline" id="Usage">Usage</span>
</h2>
<p>
If you enter a search string and press Enter, a list of pages beginning with the search term will appear.
</p>
<p>
For example, typing in "Earth" in en.wikipedia.org will retrieve a list of 345 page links. The first will be "Earth" and the other 344 will be pages that are sorted alphabetically after Earth (EX: "Earth's Age", "Earth's Answer").
</p>
<p>
Note that there are Previous and Next links at the top and bottom of the page to continue reading the next and previous list of pages
</p>
<p>
If a search term is entered for an unknown page like "Earth1", then XOWA will retrieve the first page that would sort after "Earth1". In this case it would be a page called "Earth2".
</p>
<p>
Note that sorting is done using binary collation. This means that the following titles will sort in this order "AA AB AC Aa Bb Ac", not "AA Aa AB Ab AC Ac". This matches Wikipedia's current sorting behavior.
</p>
<h2>
<span class="mw-headline" id="Configuring">Configuring</span>
</h2>
<p>
Currently, XOWA has not implemented the UI for dynamically changing the following:
</p>
<ul>
<li>
from
</li>
<li>
namespace
</li>
<li>
hideredirects
</li>
</ul>
<p>
This will be implemented in a future build. In the meantime, if you want to change these, you will need to change them in the url string.
</p>
<p>
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&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="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
</p>
<ul>
<li>
type "Template:Earth" into the search box. It will automatically parse the namespace from the search string. Note that non-English names will also work (Vorlage:Erde for German)
</li>
<li>
change the namespace arg to the numerical code for the namespace
</li>
</ul>
<dl>
<dd>
For example, to search for "Template:Earth" change "namespace=0" to "namespace=10"
</dd>
</dl>
<p>
Finally, the Search box can be configured within the config system. Currently the setting is the following:
</p>
<pre>
app.gui.win_opts.search_box_fmt_('Special:AllPages?from=~{search}&amp;namespace=0&amp;hideredirects=0');
</pre>
<p>
If you want to hide redirects by default, you can change this to hideredirects=1. Please see <a href="/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>
</h2>
<p>
As mentioned above, XOWA will add a basic UI for configuring from, namespace and hideredirects.
</p>
<p>
There are no current plans to implement the range functionality. For example, Wikipedia allows you to enter a <b>from</b> of "A" and a <b>to</b> of "Z". This will return a list of 60 groups of all the pages between "A" and "Z" (EX: A to An; Ao to Bd; Be to By).
</p>
<p>
This has a low priority for (a) performance reasons and (b) frequency of use reasons. It may be re-evaluated later. Feel free to contact me for further discussion.
</p>
</div>
</div>
</div>
<div id="mw-head" class="noprint">
<div id="left-navigation">
<div id="p-namespaces" class="vectorTabs">
<h3>Namespaces</h3>
<ul>
<li id="ca-nstab-main" class="selected"><span><a id="ca-nstab-main-href" href="index.html">Page</a></span></li>
</ul>
</div>
</div>
</div>
<div id='mw-panel' class='noprint'>
<div id='p-logo'>
<a style="background-image: url(https://gnosygnu.github.io/xowa/xowa_logo.png);" href="http://xowa.org/" title="Visit the main page"></a>
</div>
<div class="portal" id='xowa-portal-home'>
<h3>XOWA</h3>
<div class="body">
<ul>
<li><a href="http://xowa.org/index.html" title='Visit the main page'>Main page</a></li>
<li><a href="http://xowa.org/screenshots.html" title='See screenshots of XOWA'>Screenshots</a></li>
<li><a href="https://www.youtube.com/watch?v=q0qbXYXEH6M" title="See a video of XOWA Desktop in action">Video</a></li>
<li><a href="http://xowa.org/home/wiki/Help/Download_XOWA.html" title='Download the XOWA application'>Download XOWA</a></li>
<li><a href="http://xowa.org/home/wiki/Dashboard/Image_databases.html" title='Download offline wikis and image databases'>Download wikis</a></li>
</ul>
</div>
</div>
<div class="portal" id='xowa-portal-started'>
<h3>Getting started</h3>
<div class="body">
<ul>
<li><a href="http://xowa.org/home/wiki/App/Setup/System_requirements.html" title='Get XOWA&apos;s system requirements'>Requirements</a></li>
<li><a href="http://xowa.org/home/wiki/App/Setup/Installation.html" title='Get instructions for installing XOWA'>Installation</a></li>
<li><a href="http://xowa.org/home/wiki/App/Import/Simple_Wikipedia.html" title='Learn how to set up Simple Wikipedia'>Simple Wikipedia</a></li>
<li><a href="http://xowa.org/home/wiki/App/Import/English_Wikipedia.html" title='Learn how to set up English Wikipedia'>English Wikipedia</a></li>
<li><a href="http://xowa.org/home/wiki/App/Import/Other_wikis.html" title='Learn how to set up other Wikipedias'>Other Wikipedias</a></li>
</ul>
</div>
</div>
<div class="portal" id='xowa-portal-android'>
<h3>Android</h3>
<div class="body">
<ul>
<li><a href="http://xowa.org/home/wiki/Android/Setup.html" title='Setup XOWA on your Android device'>Setup</a></li>
<li><a href="https://www.youtube.com/watch?v=jsMTBxGweUw" title="See a video of XOWA Android in action">Video</a></li>
</ul>
</div>
</div>
<div class="portal" id='xowa-portal-help'>
<h3>Help</h3>
<div class="body">
<ul>
<li><a href="http://xowa.org/home/wiki/Help/About.html" title='Get more information about XOWA'>About</a></li>
<li><a href="http://xowa.org/home/wiki/Help/Contents.html" title='View a list of help topics'>Contents</a></li>
<li><a href="http://xowa.org/home/wiki/Help/Media.html" title='Read what others have written about XOWA'>Media</a></li>
<li><a href="http://xowa.org/home/wiki/Help/Feedback.html" title='Questions? Comments? Leave feedback for XOWA'>Feedback</a></li>
</ul>
</div>
</div>
<div class="portal" id='xowa-portal-blog'>
<h3>Blog</h3>
<div class="body">
<ul>
<li><a href="http://xowa.org/home/wiki/Blog.html" title='Follow XOWA''s development process'>Current</a></li>
</ul>
</div>
</div>
<div class="portal" id='xowa-portal-links'>
<h3>Links</h3>
<div class="body">
<ul>
<li><a href="http://dumps.wikimedia.org/backup-index.html" title="Get wiki datababase dumps directly from Wikimedia">Wikimedia dumps</a></li>
<li><a href="https://archive.org/search.php?query=xowa" title="Search archive.org for XOWA files">XOWA @ archive.org</a></li>
<li><a href="http://en.wikipedia.org" title="Visit Wikipedia (and compare to XOWA!)">English Wikipedia</a></li>
</ul>
</div>
</div>
<div class="portal" id='xowa-portal-donate'>
<h3>Donate</h3>
<div class="body">
<ul>
<li><a href="https://archive.org/donate/index.php" title="Support archive.org!">archive.org</a></li><!-- listed first due to recent fire damages: http://blog.archive.org/2013/11/06/scanning-center-fire-please-help-rebuild/ -->
<li><a href="https://donate.wikimedia.org/wiki/Special:FundraiserRedirector" title="Support Wikipedia!">Wikipedia</a></li>
<li><a href="http://xowa.org/home/wiki/Help/Donate.html" title="Support XOWA!">XOWA</a></li>
</ul>
</div>
</div>
</div>
</body>
</html>