Search.html 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571
  1. <!DOCTYPE html>
  2. <html dir="ltr">
  3. <head>
  4. <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
  5. <title>Options/Search - XOWA</title>
  6. <link rel="shortcut icon" href="https://gnosygnu.github.io/xowa/xowa_logo.png" />
  7. <link rel="stylesheet" href="https://gnosygnu.github.io/xowa/xowa_common.css" type="text/css">
  8. </head>
  9. <body class="mediawiki ltr sitedir-ltr ns-0 ns-subject skin-vector action-submit vector-animateLayout" spellcheck="false">
  10. <div id="mw-page-base" class="noprint"></div>
  11. <div id="mw-head-base" class="noprint"></div>
  12. <div id="content" class="mw-body">
  13. <h1 id="firstHeading" class="firstHeading"><span>Options/Search</span></h1>
  14. <div id="bodyContent" class="mw-body-content">
  15. <div id="siteSub">From XOWA: the free, open-source, offline wiki application</div>
  16. <div id="contentSub"></div>
  17. <div id="mw-content-text" lang="en" dir="ltr" class="mw-content-ltr">
  18. <div id='xocfg_body'>
  19. <!-- TEXT:err_msg -->
  20. <div id='xocfg_err'></div>
  21. <div>
  22. <!-- BTN:info -->
  23. <span class='xoimg_btn_x16 xoimg_help_tip' href='javascript:void(0)' onclick='return xo.cfg_edit.help__toggle_all()' title='toggle all help'>&nbsp;</span>
  24. <!-- COMBO:cfg_grps -->
  25. <select id='xocfg_nav_select' onchange='xo.cfg_edit.select__send(this);' onkeyup='xo.cfg_edit.select__by_keypress(event, this);' accesskey='l'>
  26. <option value='xowa.app.security' >App - Security</option>
  27. <option value='xowa.app.startup' >App - Startup</option>
  28. <option value='xowa.app.dbs' >App - Databases</option>
  29. <option value='xowa.app.update' >App - Update</option>
  30. <option value='xowa.gui.general' >Gui - General</option>
  31. <option value='xowa.gui.tabs' >Gui - Tabs</option>
  32. <option value='xowa.gui.url_bar' >Gui - Address bar</option>
  33. <option value='xowa.gui.menus' >Gui - Menus</option>
  34. <option value='xowa.gui.shortcuts' >Gui - Shortcuts</option>
  35. <option value='xowa.gui.nightmode' >Gui - Nightmode</option>
  36. <option value='xowa.wiki.hdumps' >Wiki - HTML Databases</option>
  37. <option value='xowa.wiki.edit' >Wiki - Editing</option>
  38. <option value='xowa.bldr.general' >Import - General</option>
  39. <option value='xowa.bldr.db' >Import - Database</option>
  40. <option value='xowa.bldr.page_sync' >Import - Page sync</option>
  41. <option value='xowa.bldr.dansguardian' >Import - Dansguardian</option>
  42. <option value='xowa.html.css' >HTML - CSS</option>
  43. <option value='xowa.html.page' >HTML - Page</option>
  44. <option value='xowa.html.tidy' >HTML - Tidy</option>
  45. <option value='xowa.html.scripting' >HTML - Scripting</option>
  46. <option value='xowa.files.general' >Files - General</option>
  47. <option value='xowa.files.apps' >Files - Apps</option>
  48. <option value='xowa.addon.search' selected='selected'>Addon - Search</option>
  49. <option value='xowa.addon.fulltext_search' >Addon - Full-text search</option>
  50. <option value='xowa.addon.category' >Addon - Category</option>
  51. <option value='xowa.addon.http_server' >Addon - HTTP Server</option>
  52. <option value='xowa.addon.scribunto' >Addon - Scribunto</option>
  53. <option value='xowa.addon.math' >Addon - Math</option>
  54. <option value='xowa.addon.score' >Addon - Score</option>
  55. <option value='xowa.addon.popups' >Addon - Popups</option>
  56. <option value='xowa.addon.wikibase' >Addon - Wikidata</option>
  57. <option value='xowa.dev.general' >Dev - General</option>
  58. <option value='xowa.app.settings' >App - Settings</option>
  59. </select>
  60. <!-- LINK:cfg_link -->
  61. <div style='float:right;margin:2px 7px;'>
  62. <a id='options_lnk'>options link</a>
  63. </div>
  64. </div>
  65. <div id='cfg_grps'>
  66. <!-- TEXT:page_help -->
  67. <div>
  68. <p id='page_help_para'></p>
  69. </div>
  70. <h2>Suggest box</h2>
  71. <div class="xocfg_row flex_div">
  72. <!-- BTN:help_item -->
  73. <div class='xocfg_itm_help'>
  74. <span class='xoimg_btn_x16 xoimg_help_tip' href='javascript:void(0)' onclick='return xo.help.toggle("xowa.addon.search.suggest.enabled")' title='view more info'>&nbsp;</span>
  75. </div>
  76. <!-- TEXT:key -->
  77. <div id='xowa.addon.search.suggest.enabled__name' class='xocfg_itm_name'>Enabled</div>
  78. <!-- BTN:undo -->
  79. <div id='xowa.addon.search.suggest.enabled__undo' data-xocfg-type='bool' class='xocfg_itm_delete xocfg_itm_hide'>
  80. <span class='xoimg_btn_x16 xoimg_list_undo' onclick='return xo.cfg_edit.delete__send("xowa.addon.search.suggest.enabled")' title="reset to &quot;y&quot;">&nbsp;</span>
  81. </div>
  82. <!-- TEXT:val -->
  83. <div class='xocfg_itm_data'>
  84. <input id="xowa.addon.search.suggest.enabled" data-xocfg-key="xowa.addon.search.suggest.enabled" data-xocfg-type="bool" accesskey="d" class="xocfg_data__bool" type="checkbox" checked="checked"></input></div>
  85. <!-- HIDDEN:key,ctx -->
  86. <input type='hidden' id='xowa.addon.search.suggest.enabled__key_box' value='xowa.addon.search.suggest.enabled'></input>
  87. <input type='hidden' id='xowa.addon.search.suggest.enabled__ctx_box' value='app'></input>
  88. </div>
  89. <!-- DIV:help -->
  90. <div id='xowa.addon.search.suggest.enabled_help_div' class='xohelp_div'>
  91. <div id='xowa.addon.search.suggest.enabled_help_msg' class='xohelp_msg'><p>Choose one of the following:
  92. </p>
  93. <ul>
  94. <li> <b>checked</b>: Search suggest enabled (typing in search box will dynamically retrieve suggestions)
  95. </li>
  96. <li> <b>unchecked</b>: Search suggest disabled
  97. </li>
  98. </ul>
  99. </div>
  100. </div>
  101. <div class="xocfg_row flex_div">
  102. <!-- BTN:help_item -->
  103. <div class='xocfg_itm_help'>
  104. <span class='xoimg_btn_x16 xoimg_help_tip' href='javascript:void(0)' onclick='return xo.help.toggle("xowa.addon.search.suggest.results_max")' title='view more info'>&nbsp;</span>
  105. </div>
  106. <!-- TEXT:key -->
  107. <div id='xowa.addon.search.suggest.results_max__name' class='xocfg_itm_name'>Max results</div>
  108. <!-- BTN:undo -->
  109. <div id='xowa.addon.search.suggest.results_max__undo' data-xocfg-type='int' class='xocfg_itm_delete xocfg_itm_hide'>
  110. <span class='xoimg_btn_x16 xoimg_list_undo' onclick='return xo.cfg_edit.delete__send("xowa.addon.search.suggest.results_max")' title="reset to &quot;25&quot;">&nbsp;</span>
  111. </div>
  112. <!-- TEXT:val -->
  113. <div class='xocfg_itm_data'>
  114. <input id="xowa.addon.search.suggest.results_max" data-xocfg-key="xowa.addon.search.suggest.results_max" data-xocfg-type="int" accesskey="d" class="xocfg_data__int" type="text" value="25"></input></div>
  115. <!-- HIDDEN:key,ctx -->
  116. <input type='hidden' id='xowa.addon.search.suggest.results_max__key_box' value='xowa.addon.search.suggest.results_max'></input>
  117. <input type='hidden' id='xowa.addon.search.suggest.results_max__ctx_box' value='app'></input>
  118. </div>
  119. <!-- DIV:help -->
  120. <div id='xowa.addon.search.suggest.results_max_help_div' class='xohelp_div'>
  121. <div id='xowa.addon.search.suggest.results_max_help_msg' class='xohelp_msg'><p>Maximum number of search suggestions
  122. </p>
  123. </div>
  124. </div>
  125. <h2>Special:Search</h2>
  126. <div class="xocfg_row flex_div">
  127. <!-- BTN:help_item -->
  128. <div class='xocfg_itm_help'>
  129. <span class='xoimg_btn_x16 xoimg_help_tip' href='javascript:void(0)' onclick='return xo.help.toggle("xowa.addon.search.special.results_per_page")' title='view more info'>&nbsp;</span>
  130. </div>
  131. <!-- TEXT:key -->
  132. <div id='xowa.addon.search.special.results_per_page__name' class='xocfg_itm_name'>Results per page</div>
  133. <!-- BTN:undo -->
  134. <div id='xowa.addon.search.special.results_per_page__undo' data-xocfg-type='int' class='xocfg_itm_delete xocfg_itm_hide'>
  135. <span class='xoimg_btn_x16 xoimg_list_undo' onclick='return xo.cfg_edit.delete__send("xowa.addon.search.special.results_per_page")' title="reset to &quot;100&quot;">&nbsp;</span>
  136. </div>
  137. <!-- TEXT:val -->
  138. <div class='xocfg_itm_data'>
  139. <input id="xowa.addon.search.special.results_per_page" data-xocfg-key="xowa.addon.search.special.results_per_page" data-xocfg-type="int" accesskey="d" class="xocfg_data__int" type="text" value="100"></input></div>
  140. <!-- HIDDEN:key,ctx -->
  141. <input type='hidden' id='xowa.addon.search.special.results_per_page__key_box' value='xowa.addon.search.special.results_per_page'></input>
  142. <input type='hidden' id='xowa.addon.search.special.results_per_page__ctx_box' value='app'></input>
  143. </div>
  144. <!-- DIV:help -->
  145. <div id='xowa.addon.search.special.results_per_page_help_div' class='xohelp_div'>
  146. <div id='xowa.addon.search.special.results_per_page_help_msg' class='xohelp_msg'><p>Enter number of results to show per page
  147. </p>
  148. </div>
  149. </div>
  150. <div class="xocfg_row flex_div">
  151. <!-- BTN:help_item -->
  152. <div class='xocfg_itm_help'>
  153. <span class='xoimg_btn_x16 xoimg_help_tip' href='javascript:void(0)' onclick='return xo.help.toggle("xowa.addon.search.special.async_db")' title='view more info'>&nbsp;</span>
  154. </div>
  155. <!-- TEXT:key -->
  156. <div id='xowa.addon.search.special.async_db__name' class='xocfg_itm_name'>Run database search in background</div>
  157. <!-- BTN:undo -->
  158. <div id='xowa.addon.search.special.async_db__undo' data-xocfg-type='bool' class='xocfg_itm_delete xocfg_itm_hide'>
  159. <span class='xoimg_btn_x16 xoimg_list_undo' onclick='return xo.cfg_edit.delete__send("xowa.addon.search.special.async_db")' title="reset to &quot;y&quot;">&nbsp;</span>
  160. </div>
  161. <!-- TEXT:val -->
  162. <div class='xocfg_itm_data'>
  163. <input id="xowa.addon.search.special.async_db" data-xocfg-key="xowa.addon.search.special.async_db" data-xocfg-type="bool" accesskey="d" class="xocfg_data__bool" type="checkbox" checked="checked"></input></div>
  164. <!-- HIDDEN:key,ctx -->
  165. <input type='hidden' id='xowa.addon.search.special.async_db__key_box' value='xowa.addon.search.special.async_db'></input>
  166. <input type='hidden' id='xowa.addon.search.special.async_db__ctx_box' value='app'></input>
  167. </div>
  168. <!-- DIV:help -->
  169. <div id='xowa.addon.search.special.async_db_help_div' class='xohelp_div'>
  170. <div id='xowa.addon.search.special.async_db_help_msg' class='xohelp_msg'><p>Choose one of the following:
  171. </p>
  172. <ul>
  173. <li> <b>checked</b>: XOWA continues while database searches are done in the background. These searches return results faster, especially for big queries.
  174. </li>
  175. <li> <b>unchecked</b>: XOWA waits until the database search completes. This will often be slower, but will be more stable than background searches.
  176. </li>
  177. </ul>
  178. </div>
  179. </div>
  180. <div class="xocfg_row flex_div">
  181. <!-- BTN:help_item -->
  182. <div class='xocfg_itm_help'>
  183. <span class='xoimg_btn_x16 xoimg_help_tip' href='javascript:void(0)' onclick='return xo.help.toggle("xowa.addon.search.special.auto_wildcard")' title='view more info'>&nbsp;</span>
  184. </div>
  185. <!-- TEXT:key -->
  186. <div id='xowa.addon.search.special.auto_wildcard__name' class='xocfg_itm_name'>Auto-wildcard</div>
  187. <!-- BTN:undo -->
  188. <div id='xowa.addon.search.special.auto_wildcard__undo' data-xocfg-type='bool' class='xocfg_itm_delete xocfg_itm_hide'>
  189. <span class='xoimg_btn_x16 xoimg_list_undo' onclick='return xo.cfg_edit.delete__send("xowa.addon.search.special.auto_wildcard")' title="reset to &quot;y&quot;">&nbsp;</span>
  190. </div>
  191. <!-- TEXT:val -->
  192. <div class='xocfg_itm_data'>
  193. <input id="xowa.addon.search.special.auto_wildcard" data-xocfg-key="xowa.addon.search.special.auto_wildcard" data-xocfg-type="bool" accesskey="d" class="xocfg_data__bool" type="checkbox" checked="checked"></input></div>
  194. <!-- HIDDEN:key,ctx -->
  195. <input type='hidden' id='xowa.addon.search.special.auto_wildcard__key_box' value='xowa.addon.search.special.auto_wildcard'></input>
  196. <input type='hidden' id='xowa.addon.search.special.auto_wildcard__ctx_box' value='app'></input>
  197. </div>
  198. <!-- DIV:help -->
  199. <div id='xowa.addon.search.special.auto_wildcard_help_div' class='xohelp_div'>
  200. <div id='xowa.addon.search.special.auto_wildcard_help_msg' class='xohelp_msg'><p>Choose one of the following:
  201. </p>
  202. <ul>
  203. <li> <b>checked</b>: Search will automatically append wildcard if no wildcards are present. For example:
  204. </li>
  205. </ul>
  206. <dl>
  207. <dd>
  208. <dl>
  209. <dd> <code>Earth</code> will become <code>Earth*</code>
  210. </dd>
  211. <dd> <code>Ea*rth</code> will stay <code>Ea*rth</code> b/c it already has a wildcard
  212. </dd>
  213. </dl>
  214. </dd>
  215. </dl>
  216. <ul>
  217. <li> <b>unchecked</b>: Search will not apply any automatic behavior
  218. </li>
  219. </ul>
  220. </div>
  221. </div>
  222. <div class="xocfg_row flex_div">
  223. <!-- BTN:help_item -->
  224. <div class='xocfg_itm_help'>
  225. <span class='xoimg_btn_x16 xoimg_help_tip' href='javascript:void(0)' onclick='return xo.help.toggle("xowa.addon.search.special.args_default")' title='view more info'>&nbsp;</span>
  226. </div>
  227. <!-- TEXT:key -->
  228. <div id='xowa.addon.search.special.args_default__name' class='xocfg_itm_name'>Default url search arguments</div>
  229. <!-- BTN:undo -->
  230. <div id='xowa.addon.search.special.args_default__undo' data-xocfg-type='string' class='xocfg_itm_delete xocfg_itm_hide'>
  231. <span class='xoimg_btn_x16 xoimg_list_undo' onclick='return xo.cfg_edit.delete__send("xowa.addon.search.special.args_default")' title="reset to &quot;&quot;">&nbsp;</span>
  232. </div>
  233. <!-- TEXT:val -->
  234. <div class='xocfg_itm_data'>
  235. <input id="xowa.addon.search.special.args_default" data-xocfg-key="xowa.addon.search.special.args_default" data-xocfg-type="string" accesskey="d" class="xocfg_data__str" type="text" value=""></input></div>
  236. <!-- HIDDEN:key,ctx -->
  237. <input type='hidden' id='xowa.addon.search.special.args_default__key_box' value='xowa.addon.search.special.args_default'></input>
  238. <input type='hidden' id='xowa.addon.search.special.args_default__ctx_box' value='app'></input>
  239. </div>
  240. <!-- DIV:help -->
  241. <div id='xowa.addon.search.special.args_default_help_div' class='xohelp_div'>
  242. <div id='xowa.addon.search.special.args_default_help_msg' class='xohelp_msg'><p>Enter default args for every search. Examples include:
  243. </p>
  244. <ul>
  245. <li> <b>ns*=1</b> will search across all namespaces (current default is to search main namespace only)
  246. </li>
  247. <li> <b>ns0=1&amp;ns14=1</b> will search across the main (0) and category (14) namespaces
  248. </li>
  249. </ul>
  250. </div>
  251. </div>
  252. <div class="xocfg_row flex_div">
  253. <!-- BTN:help_item -->
  254. <div class='xocfg_itm_help'>
  255. <span class='xoimg_btn_x16 xoimg_help_tip' href='javascript:void(0)' onclick='return xo.help.toggle("xowa.addon.search.special.multi_wikis")' title='view more info'>&nbsp;</span>
  256. </div>
  257. <!-- TEXT:key -->
  258. <div id='xowa.addon.search.special.multi_wikis__name' class='xocfg_itm_name'>Multi-wiki search wikis</div>
  259. <!-- BTN:undo -->
  260. <div id='xowa.addon.search.special.multi_wikis__undo' data-xocfg-type='memo' class='xocfg_itm_delete xocfg_itm_hide'>
  261. <span class='xoimg_btn_x16 xoimg_list_undo' onclick='return xo.cfg_edit.delete__send("xowa.addon.search.special.multi_wikis")' title="reset to &quot;<any>|<self>&quot;">&nbsp;</span>
  262. </div>
  263. <!-- TEXT:val -->
  264. <div class='xocfg_itm_data'>
  265. <textarea id="xowa.addon.search.special.multi_wikis" data-xocfg-key="xowa.addon.search.special.multi_wikis" data-xocfg-type="memo" accesskey="d" class="xocfg_data__memo" rows="4">&lt;any&gt;|&lt;self&gt;</textarea></div>
  266. <!-- HIDDEN:key,ctx -->
  267. <input type='hidden' id='xowa.addon.search.special.multi_wikis__key_box' value='xowa.addon.search.special.multi_wikis'></input>
  268. <input type='hidden' id='xowa.addon.search.special.multi_wikis__ctx_box' value='app'></input>
  269. </div>
  270. <!-- DIV:help -->
  271. <div id='xowa.addon.search.special.multi_wikis_help_div' class='xohelp_div'>
  272. <div id='xowa.addon.search.special.multi_wikis_help_msg' class='xohelp_msg'><p>Enter wikis to search:
  273. </p>
  274. <ul>
  275. <li> For example:
  276. </li>
  277. </ul>
  278. <pre>
  279. en.wikipedia.org|&lt;same_lang&gt;
  280. en.wiktionary.org|&lt;same_type&gt;
  281. fr.wikivoyage.org,en.wikivoyage.org|&lt;self&gt;,en.wikipedia.org
  282. &lt;any&gt;|&lt;self&gt;
  283. </pre>
  284. <ul>
  285. <li> Line 1 means &quot;For English Wikipedia, seach all English wikis, such as English Wiktionary, English Wikisource, English Wikivoyage, etc.&quot;
  286. </li>
  287. <li> Line 2 means &quot;For English Wiktionary, search all Wiktionarys, such as English Wiktionary, French Wiktionary, German Wiktionary, etc.&quot;
  288. </li>
  289. <li> Line 3 means &quot;For French Wikivoyage and English Wikivoyage, search the current wiki and English Wikipedia&quot;
  290. </li>
  291. <li> Line 4 means &quot;For any wiki, search only the current wiki&quot;
  292. </li>
  293. </ul>
  294. <p>The multi-wikis criteria has the following format:
  295. </p>
  296. <ul>
  297. <li> <b>Line-based</b>: Each line represents a separate rule. A wiki will be compared against the rule, and if it matches, only that rule will apply. If it doesn't match, it goes on to the next line.
  298. </li>
  299. <li> <b>Match</b>: The match part is the text before the first pipe (<code>|</code>). Think of this as &quot;when in this wiki...&quot;. This can be a wiki domain (en.wikipedia.org), a languages wildcard (en.*), a type wildcard (*.wikipedia) or the reserved word &lt;any&gt;). In addition, multiple terms can be chained together (en.wikipedia.org,fr.wikipedia.org).
  300. </li>
  301. <li> <b>Include</b>: Think of this as &quot;...search these wikis&quot;. This can use any term as Match (domain, wildcard, reserved word) but can also use the reserved words: <code>&lt;self&gt;</code>, <code>&lt;same_lang&gt;</code> <code>&lt;same_type&gt;</code>
  302. </li>
  303. </ul>
  304. <p>Terms:
  305. </p>
  306. <ul>
  307. <li> <code>&lt;any&gt;</code>: matches any wiki. For example, in en.wikipedia.org, any wiki is matched, including home, en.wikipedia.org, fr.wiktionary.org, de.wikisource.org, etc..
  308. </li>
  309. <li> <code>&lt;self&gt;</code>: matches only the current wiki. For example, in en.wikipedia.org, only en.wikipedia.org is matched.
  310. </li>
  311. <li> <code>&lt;same_lang&gt;</code>: matches wikis with the same language. For example, in en.wikipedia.org, en.wiktionary.org, en.wikisource.org, etc. are matched. However, fr.wiktionary.org and de.wikisource.org are not matched.
  312. </li>
  313. <li> <code>&lt;same_type&gt;</code>: matches wikis with the same type. For example, in en.wikipedia.org, fr.wikipedia.org, de.wikipedia.org, ru.wikipedia.org, etc. are matched. However, en.wiktionary.org, en.wikisource.org, etc. are not matched.
  314. </li>
  315. <li> <code>{language}.*</code>: matches all wikis of that language. For example, &quot;en.*&quot; will match en.wikipedia.org, en.wiktionary.org, en.wikisource.org, etc regardless of the current wiki
  316. </li>
  317. <li> <code>*.{type}</code>: matches all wikis of that type. For example, &quot;*.wikipedia&quot; will match en.wikipedia.org, fr.wikipedia.org, de.wikipedia.org, etc
  318. </li>
  319. </ul>
  320. </div>
  321. </div>
  322. <div class="xocfg_row flex_div">
  323. <!-- BTN:help_item -->
  324. <div class='xocfg_itm_help'>
  325. <span class='xoimg_btn_x16 xoimg_help_tip' href='javascript:void(0)' onclick='return xo.help.toggle("xowa.addon.search.special.multi_sorts")' title='view more info'>&nbsp;</span>
  326. </div>
  327. <!-- TEXT:key -->
  328. <div id='xowa.addon.search.special.multi_sorts__name' class='xocfg_itm_name'>Multi-wiki sort order</div>
  329. <!-- BTN:undo -->
  330. <div id='xowa.addon.search.special.multi_sorts__undo' data-xocfg-type='memo' class='xocfg_itm_delete xocfg_itm_hide'>
  331. <span class='xoimg_btn_x16 xoimg_list_undo' onclick='return xo.cfg_edit.delete__send("xowa.addon.search.special.multi_sorts")' title="reset to &quot;<any>|<self>,*.wikipedia,*.wikivoyage,*.wiktionary,*.wikisource,*.wikiquote,*.wikibooks,*.wikiversity,*.wikinews&quot;">&nbsp;</span>
  332. </div>
  333. <!-- TEXT:val -->
  334. <div class='xocfg_itm_data'>
  335. <textarea id="xowa.addon.search.special.multi_sorts" data-xocfg-key="xowa.addon.search.special.multi_sorts" data-xocfg-type="memo" accesskey="d" class="xocfg_data__memo" rows="4">&lt;any&gt;|&lt;self&gt;,*.wikipedia,*.wikivoyage,*.wiktionary,*.wikisource,*.wikiquote,*.wikibooks,*.wikiversity,*.wikinews</textarea></div>
  336. <!-- HIDDEN:key,ctx -->
  337. <input type='hidden' id='xowa.addon.search.special.multi_sorts__key_box' value='xowa.addon.search.special.multi_sorts'></input>
  338. <input type='hidden' id='xowa.addon.search.special.multi_sorts__ctx_box' value='app'></input>
  339. </div>
  340. <!-- DIV:help -->
  341. <div id='xowa.addon.search.special.multi_sorts_help_div' class='xohelp_div'>
  342. <div id='xowa.addon.search.special.multi_sorts_help_msg' class='xohelp_msg'><p>Enter sorting-order for multiple wikis: &lt;any&gt;&#124;&lt;self&gt;,*.wikipedia,*.wikivoyage,*.wiktionary,*.wikisource,*.wikiquote,*.wikibooks,*.wikiversity,*.wikinews
  343. }}.
  344. The sort criteria has the following format:
  345. </p>
  346. <ul>
  347. <li> <b>Line-based</b>: Each line represents a separate rule. A wiki will be compared against the rule, and if it matches, only that rule will apply. If it doesn't match, it goes on to the next line.
  348. </li>
  349. <li> <b>Match</b>: The match part is the text before the first pipe (<code>|</code>). Think of this as &quot;when in this wiki...&quot;. This can be a wiki domain (en.wikipedia.org), a languages wildcard (en.*), a type wildcard (*.wikipedia) or the reserved word &lt;any&gt;). In addition, multiple terms can be chained together (en.wikipedia.org,fr.wikipedia.org).
  350. </li>
  351. <li> <b>Sort</b>: Think of this as &quot;...sort according to following order&quot;.
  352. </li>
  353. <li> For example, consider if the following wikis are searched: en.wikipedia.org and en.wiktionary.org. Since en.wikipedia.org matches *.wikipedia.org, it will be sorted before en.wiktionary.org (which matches *.wiktionary.org)
  354. </li>
  355. </ul>
  356. </div>
  357. </div>
  358. </div>
  359. </div>
  360. </div>
  361. </div>
  362. </div>
  363. <div id="mw-head" class="noprint">
  364. <div id="left-navigation">
  365. <div id="p-namespaces" class="vectorTabs">
  366. <h3>Namespaces</h3>
  367. <ul>
  368. <li id="ca-nstab-main" class="selected"><span><a id="ca-nstab-main-href" href="index.html">Page</a></span></li>
  369. </ul>
  370. </div>
  371. </div>
  372. </div>
  373. <div id='mw-panel' class='noprint'>
  374. <div id='p-logo'>
  375. <a style="background-image: url(https://gnosygnu.github.io/xowa/xowa_logo.png);" href="http://xowa.org/" title="Visit the main page"></a>
  376. </div>
  377. <div class="portal" id='xowa-portal-home'>
  378. <h3>XOWA</h3>
  379. <div class="body">
  380. <ul>
  381. <li><a href="http://xowa.org/index.html" title='Visit the main page'>Main page</a></li>
  382. <li><a href="http://xowa.org/screenshots.html" title='See screenshots of XOWA'>Screenshots</a></li>
  383. <li><a href="https://www.youtube.com/watch?v=q0qbXYXEH6M" title="See a video of XOWA Desktop in action">Video</a></li>
  384. <li><a href="http://xowa.org/home/wiki/Help/Download_XOWA.html" title='Download the XOWA application'>Download XOWA</a></li>
  385. <li><a href="http://xowa.org/home/wiki/Dashboard/Image_databases.html" title='Download offline wikis and image databases'>Download wikis</a></li>
  386. </ul>
  387. </div>
  388. </div>
  389. <div class="portal" id='xowa-portal-started'>
  390. <h3>Getting started</h3>
  391. <div class="body">
  392. <ul>
  393. <li><a href="http://xowa.org/home/wiki/App/Setup/System_requirements.html" title='Get XOWA&apos;s system requirements'>Requirements</a></li>
  394. <li><a href="http://xowa.org/home/wiki/App/Setup/Installation.html" title='Get instructions for installing XOWA'>Installation</a></li>
  395. <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>
  396. <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>
  397. <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>
  398. </ul>
  399. </div>
  400. </div>
  401. <div class="portal" id='xowa-portal-android'>
  402. <h3>Android</h3>
  403. <div class="body">
  404. <ul>
  405. <li><a href="http://xowa.org/home/wiki/Android/Setup.html" title='Setup XOWA on your Android device'>Setup</a></li>
  406. <li><a href="https://www.youtube.com/watch?v=jsMTBxGweUw" title="See a video of XOWA Android in action">Video</a></li>
  407. </ul>
  408. </div>
  409. </div>
  410. <div class="portal" id='xowa-portal-help'>
  411. <h3>Help</h3>
  412. <div class="body">
  413. <ul>
  414. <li><a href="http://xowa.org/home/wiki/Help/About.html" title='Get more information about XOWA'>About</a></li>
  415. <li><a href="http://xowa.org/home/wiki/Help/Contents.html" title='View a list of help topics'>Contents</a></li>
  416. <li><a href="http://xowa.org/home/wiki/Help/Media.html" title='Read what others have written about XOWA'>Media</a></li>
  417. <li><a href="http://xowa.org/home/wiki/Help/Feedback.html" title='Questions? Comments? Leave feedback for XOWA'>Feedback</a></li>
  418. </ul>
  419. </div>
  420. </div>
  421. <div class="portal" id='xowa-portal-blog'>
  422. <h3>Blog</h3>
  423. <div class="body">
  424. <ul>
  425. <li><a href="http://xowa.org/home/wiki/Blog.html" title='Follow XOWA''s development process'>Current</a></li>
  426. </ul>
  427. </div>
  428. </div>
  429. <div class="portal" id='xowa-portal-links'>
  430. <h3>Links</h3>
  431. <div class="body">
  432. <ul>
  433. <li><a href="http://dumps.wikimedia.org/backup-index.html" title="Get wiki datababase dumps directly from Wikimedia">Wikimedia dumps</a></li>
  434. <li><a href="https://archive.org/search.php?query=xowa" title="Search archive.org for XOWA files">XOWA @ archive.org</a></li>
  435. <li><a href="http://en.wikipedia.org" title="Visit Wikipedia (and compare to XOWA!)">English Wikipedia</a></li>
  436. </ul>
  437. </div>
  438. </div>
  439. <div class="portal" id='xowa-portal-donate'>
  440. <h3>Donate</h3>
  441. <div class="body">
  442. <ul>
  443. <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/ -->
  444. <li><a href="https://donate.wikimedia.org/wiki/Special:FundraiserRedirector" title="Support Wikipedia!">Wikipedia</a></li>
  445. <li><a href="http://xowa.org/home/wiki/Help/Donate.html" title="Support XOWA!">XOWA</a></li>
  446. </ul>
  447. </div>
  448. </div>
  449. </div>
  450. </body>
  451. </html>