mirror of
https://github.com/gnosygnu/xowa.git
synced 2026-03-02 03:49:30 +00:00
'v3.4.2.55'
This commit is contained in:
449
home/wiki/App/UI/Address_bar/Shortcuts.html
Normal file
449
home/wiki/App/UI/Address_bar/Shortcuts.html
Normal file
@@ -0,0 +1,449 @@
|
||||
<!DOCTYPE html>
|
||||
<html dir="ltr">
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
|
||||
<title>App/UI/Address bar/Shortcuts - 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/UI/Address bar/Shortcuts</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">
|
||||
|
||||
<div id="toc" class="toc">
|
||||
<div id="toctitle">
|
||||
<h2>
|
||||
Contents
|
||||
</h2>
|
||||
</div>
|
||||
<ul>
|
||||
<li class="toclevel-1 tocsection-1">
|
||||
<a href="#Shortcuts_to_wikis_in_the_current_language"><span class="tocnumber">1</span> <span class="toctext">Shortcuts to wikis in the current language</span></a>
|
||||
</li>
|
||||
<li class="toclevel-1 tocsection-2">
|
||||
<a href="#Shortcuts_to_wikis_in_another_language"><span class="tocnumber">2</span> <span class="toctext">Shortcuts to wikis in another language</span></a>
|
||||
</li>
|
||||
<li class="toclevel-1 tocsection-3">
|
||||
<a href="#Search_shortcut"><span class="tocnumber">3</span> <span class="toctext">Search shortcut</span></a>
|
||||
</li>
|
||||
<li class="toclevel-1 tocsection-4">
|
||||
<a href="#Customizing_shortcuts"><span class="tocnumber">4</span> <span class="toctext">Customizing shortcuts</span></a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<h2>
|
||||
<span class="mw-headline" id="Shortcuts_to_wikis_in_the_current_language">Shortcuts to wikis in the current language</span>
|
||||
</h2>
|
||||
<p>
|
||||
XOWA has pre-defined shortcuts to different wikis. These allow quick access to an article in another wiki without entering in the full url.
|
||||
</p>
|
||||
<p>
|
||||
For example, to open the English Wikipedia article on "Earth", you would ordinarily enter:
|
||||
</p>
|
||||
<pre>
|
||||
en.wikipedia.org/wiki/Earth
|
||||
</pre>
|
||||
<p>
|
||||
Instead, using shortcuts, you can enter:
|
||||
</p>
|
||||
<pre>
|
||||
w:Earth
|
||||
</pre>
|
||||
<p>
|
||||
Note that shortcuts are case-sensitive. "w:Earth" will work, but "W:Earth" will not.
|
||||
</p>
|
||||
<p>
|
||||
The following table lists the shortcut for a given wiki type:
|
||||
</p>
|
||||
<table class='wikitable'>
|
||||
<tr>
|
||||
<th>
|
||||
shortcut
|
||||
</th>
|
||||
<th>
|
||||
type
|
||||
</th>
|
||||
<th>
|
||||
example shortcut
|
||||
</th>
|
||||
<th>
|
||||
actual url
|
||||
</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
w
|
||||
</td>
|
||||
<td>
|
||||
Wikipedia
|
||||
</td>
|
||||
<td>
|
||||
w:Earth
|
||||
</td>
|
||||
<td>
|
||||
en.wikipedia.org/wiki/Earth
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
d
|
||||
</td>
|
||||
<td>
|
||||
Wiktionary
|
||||
</td>
|
||||
<td>
|
||||
d:Earth
|
||||
</td>
|
||||
<td>
|
||||
en.wiktionary.org/wiki/Earth
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
s
|
||||
</td>
|
||||
<td>
|
||||
Wikisource
|
||||
</td>
|
||||
<td>
|
||||
s:Earth
|
||||
</td>
|
||||
<td>
|
||||
en.wikisource.org/wiki/Earth
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
v
|
||||
</td>
|
||||
<td>
|
||||
Wikivoyage
|
||||
</td>
|
||||
<td>
|
||||
v:Earth
|
||||
</td>
|
||||
<td>
|
||||
en.wikivoyage.org/wiki/Earth
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
q
|
||||
</td>
|
||||
<td>
|
||||
Wikiquote
|
||||
</td>
|
||||
<td>
|
||||
q:Earth
|
||||
</td>
|
||||
<td>
|
||||
en.wikiquote.org/wiki/Earth
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
b
|
||||
</td>
|
||||
<td>
|
||||
Wikibooks
|
||||
</td>
|
||||
<td>
|
||||
b:Earth
|
||||
</td>
|
||||
<td>
|
||||
en.wikibooks.org/wiki/Earth
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
u
|
||||
</td>
|
||||
<td>
|
||||
Wikiversity
|
||||
</td>
|
||||
<td>
|
||||
u:Earth
|
||||
</td>
|
||||
<td>
|
||||
en.wikiversity.org/wiki/Earth
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
n
|
||||
</td>
|
||||
<td>
|
||||
Wikinews
|
||||
</td>
|
||||
<td>
|
||||
n:Earth
|
||||
</td>
|
||||
<td>
|
||||
en.wikinews.org/wiki/Earth
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<h2>
|
||||
<span class="mw-headline" id="Shortcuts_to_wikis_in_another_language">Shortcuts to wikis in another language</span>
|
||||
</h2>
|
||||
<p>
|
||||
Wikis in a non-English language can be opened by prefixing the language code to the shortcut.
|
||||
</p>
|
||||
<p>
|
||||
For example, to go to <code>fr.wikipedia.org/wiki/Terre</code>, you would enter the following:
|
||||
</p>
|
||||
<pre>
|
||||
fr.w:Terre
|
||||
</pre>
|
||||
<p>
|
||||
Note that <code>fr</code> is the language code for "French" and <code>w</code> is the XOWA type code for "Wikipedia" as defined above.
|
||||
</p>
|
||||
<h2>
|
||||
<span class="mw-headline" id="Search_shortcut">Search shortcut</span>
|
||||
</h2>
|
||||
<p>
|
||||
In addition, there is a special shortcut designed for search.
|
||||
</p>
|
||||
<pre>
|
||||
?:Earth
|
||||
</pre>
|
||||
<p>
|
||||
This is equivalent to:
|
||||
</p>
|
||||
<pre>
|
||||
Special:Search/Earth?fulltext=yes
|
||||
</pre>
|
||||
<p>
|
||||
The following is a full list of default custom shortcuts
|
||||
</p>
|
||||
<table class='wikitable'>
|
||||
<tr>
|
||||
<th>
|
||||
shortcut
|
||||
</th>
|
||||
<th>
|
||||
format <sup>1</sup>
|
||||
</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
c
|
||||
</td>
|
||||
<td>
|
||||
commons.wikimedia.org/wiki/~{0}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
sp
|
||||
</td>
|
||||
<td>
|
||||
wikispecies.wikimedia.org/wiki/~{0}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
meta
|
||||
</td>
|
||||
<td>
|
||||
meta.wikimedia.org/wiki/~{0}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
?
|
||||
</td>
|
||||
<td>
|
||||
Special:Search/~{0}?fulltext=yes
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
wd
|
||||
</td>
|
||||
<td>
|
||||
www.wikidata.org/wiki/~{0}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
wd.q
|
||||
</td>
|
||||
<td>
|
||||
www.wikidata.org/wiki/q~{0}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
wd.p
|
||||
</td>
|
||||
<td>
|
||||
www.wikidata.org/wiki/Property:p~{0}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<p>
|
||||
<sup>1</sup>Note that the ~{0} is used for substitution.
|
||||
</p>
|
||||
<h2>
|
||||
<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="http://xowa.org/home/wiki/Options/Config_script.html" id="xolnki_2" title="Options/Config script" class="xowa-visited">Options/Config_script</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.
|
||||
</p>
|
||||
<p>
|
||||
<b>NOTE</b>: The following script may change in future versions. If your customized shortcut stops working in a future version, please check this page again.
|
||||
</p>
|
||||
<pre>
|
||||
app.gui_mgr.url_macros {
|
||||
// note that custom macros take precedence over types. For example, a custom macro of "en.w" will override the type macro of "en.w".
|
||||
custom {
|
||||
/*
|
||||
~{0}: page
|
||||
The page is the rest of the url after the ":". For example, in "c:Earth", "Earth" is the page.
|
||||
*/
|
||||
set('c' , 'commons.wikimedia.org/wiki/~{0}');
|
||||
set('sp' , 'wikispecies.wikimedia.org/wiki/~{0}');
|
||||
set('meta' , 'meta.wikimedia.org/wiki/~{0}');
|
||||
set('wd' , 'www.wikidata.org/wiki/~{0}');
|
||||
set('wd.q' , 'www.wikidata.org/wiki/Q~{0}');
|
||||
set('wd.p' , 'www.wikidata.org/wiki/Property:P~{0}');
|
||||
set('?' , 'Special:Search/~{0}?fulltext=y');
|
||||
// clear; // clears all macros
|
||||
// del('c'); // deletes macro for "c"
|
||||
}
|
||||
lang_default = 'en'; // sets default language to "en". Entering in "w:French" is the same as "en.w:French"
|
||||
types {
|
||||
/*
|
||||
~{0}: language code
|
||||
The langage code is the part of the url before the first ".". For example, in "en.w:Earth", "en" is the language code.
|
||||
|
||||
If a language code is not entered, then the "lang_default" will be used. For example, "w:Earth" has no language code, and "en" will be used.
|
||||
|
||||
~{1}: page
|
||||
The page is the rest of the url after the ":". For example, in "en.w:Earth", "Earth" is the page.
|
||||
*/
|
||||
set('w', '~{0}.wikipedia.org/wiki/~{1}');
|
||||
set('d', '~{0}.wiktionary.org/wiki/~{1}');
|
||||
set('s', '~{0}.wikisource.org/wiki/~{1}');
|
||||
set('v', '~{0}.wikivoyage.org/wiki/~{1}');
|
||||
set('q', '~{0}.wikiquote.org/wiki/~{1}');
|
||||
set('b', '~{0}.wikibooks.org/wiki/~{1}');
|
||||
set('u', '~{0}.wikiversity.org/wiki/~{1}');
|
||||
set('n', '~{0}.wikinews.org/wiki/~{1}');
|
||||
set('a', '~{0}.wikia.com/wiki/~{1}');
|
||||
// clear; // clears all macros
|
||||
// del('a'); // deletes macro for "a"
|
||||
}
|
||||
}
|
||||
</pre>
|
||||
|
||||
</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="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'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>
|
||||
</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="" title="Support XOWA! (but only after you've supported archive.org and Wikipedia)">XOWA</a></li> -->
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
219
home/wiki/App/UI/Address_bar/URLs.html
Normal file
219
home/wiki/App/UI/Address_bar/URLs.html
Normal file
@@ -0,0 +1,219 @@
|
||||
<!DOCTYPE html>
|
||||
<html dir="ltr">
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
|
||||
<title>App/UI/Address bar/URLs - 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/UI/Address bar/URLs</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">
|
||||
|
||||
<p>
|
||||
URLs are used to navigate to a page in a wiki. This page will describe the different formats that can be entered into the address bar.
|
||||
</p>
|
||||
<div id="toc" class="toc">
|
||||
<div id="toctitle">
|
||||
<h2>
|
||||
Contents
|
||||
</h2>
|
||||
</div>
|
||||
<ul>
|
||||
<li class="toclevel-1 tocsection-1">
|
||||
<a href="#Full_URLs"><span class="tocnumber">1</span> <span class="toctext">Full URLs</span></a>
|
||||
</li>
|
||||
<li class="toclevel-1 tocsection-2">
|
||||
<a href="#Page_name"><span class="tocnumber">2</span> <span class="toctext">Page name</span></a>
|
||||
</li>
|
||||
<li class="toclevel-1 tocsection-3">
|
||||
<a href="#Shortcut"><span class="tocnumber">3</span> <span class="toctext">Shortcut</span></a>
|
||||
</li>
|
||||
<li class="toclevel-1 tocsection-4">
|
||||
<a href="#http_format"><span class="tocnumber">4</span> <span class="toctext">http format</span></a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<h2>
|
||||
<span class="mw-headline" id="Full_URLs">Full URLs</span>
|
||||
</h2>
|
||||
<p>
|
||||
A full URL will point absolutely to one specific page in one specific wiki from any wiki.
|
||||
</p>
|
||||
<p>
|
||||
For example, "en.wikipedia.org/wiki/Earth" will always navigate to the "Earth" page in "en.wikipedia.org" regardless of whether the current wiki is "en.wikipedia.org", "en.wiktionary.org" or "simple.wikipedia.org"
|
||||
</p>
|
||||
<h2>
|
||||
<span class="mw-headline" id="Page_name">Page name</span>
|
||||
</h2>
|
||||
<p>
|
||||
A short name allows quick lookup of an article within the current wiki.
|
||||
</p>
|
||||
<p>
|
||||
For example, if you are in "en.wikipedia.org", typing in just "Earth" will take you to the Earth page inside en.wikipedia.org.
|
||||
</p>
|
||||
<h2>
|
||||
<span class="mw-headline" id="Shortcut">Shortcut</span>
|
||||
</h2>
|
||||
<p>
|
||||
A shortcut is a compromise between the absolute reference of a full URL and the brevity of a page name.
|
||||
</p>
|
||||
<p>
|
||||
For example, "w:Earth" will always take you to "en.wikipedia.org/wiki/Earth" from any other wiki. It is only 2 characters longer than "Earth".
|
||||
</p>
|
||||
<p>
|
||||
See <a href="http://xowa.org/home/wiki/App/UI/Address_bar/Shortcuts.html" id="xolnki_2" title="App/UI/Address bar/Shortcuts">shortcuts</a> for more information.
|
||||
</p>
|
||||
<h2>
|
||||
<span class="mw-headline" id="http_format">http format</span>
|
||||
</h2>
|
||||
<p>
|
||||
An http format url allows for copying and pasting directly from Firefox or other applications.
|
||||
</p>
|
||||
<p>
|
||||
For example:
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
Right click on any link to wikipedia
|
||||
</li>
|
||||
<li>
|
||||
Select "Copy Link Location"
|
||||
</li>
|
||||
<li>
|
||||
Press Ctrl-V to paste the link into the address bar. This will paste the full url of "http://en.wikipedia.org/wiki/Earth"
|
||||
</li>
|
||||
<li>
|
||||
Press Enter. You will be redirected to "en.wikipedia.org/wiki/Earth"
|
||||
</li>
|
||||
</ul>
|
||||
<p>
|
||||
Alternatively, instead of Ctrl-V and Enter, you can also middle-click on the URL bar. This will:
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
Delete all text
|
||||
</li>
|
||||
<li>
|
||||
Paste whatever's on your clipboard into the Address bar
|
||||
</li>
|
||||
<li>
|
||||
Automatically try to open the page
|
||||
</li>
|
||||
</ul>
|
||||
<p>
|
||||
On a similar note, you can also copy and paste urls of the format "http://upload.wikimedia.org/wikipedia/commons/7/78/The_Blue_Marble.jpg". This will be converted to commons.wikimedia.org/wiki/File:The Blue Marble.jpg
|
||||
</p>
|
||||
<p>
|
||||
Note that http format also works for urls with the format of http://en.wikipedia.org/w/index.php?title=Earth
|
||||
</p>
|
||||
<p>
|
||||
<br>
|
||||
</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="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'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>
|
||||
</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="" title="Support XOWA! (but only after you've supported archive.org and Wikipedia)">XOWA</a></li> -->
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
186
home/wiki/App/UI/Find_box.html
Normal file
186
home/wiki/App/UI/Find_box.html
Normal file
@@ -0,0 +1,186 @@
|
||||
<!DOCTYPE html>
|
||||
<html dir="ltr">
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
|
||||
<title>App/UI/Find box - 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/UI/Find box</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">
|
||||
|
||||
<div id="toc" class="toc">
|
||||
<div id="toctitle">
|
||||
<h2>
|
||||
Contents
|
||||
</h2>
|
||||
</div>
|
||||
<ul>
|
||||
<li class="toclevel-1 tocsection-1">
|
||||
<a href="#Basic_operation"><span class="tocnumber">1</span> <span class="toctext">Basic operation</span></a>
|
||||
</li>
|
||||
<li class="toclevel-1 tocsection-2">
|
||||
<a href="#Find_scope"><span class="tocnumber">2</span> <span class="toctext">Find scope</span></a>
|
||||
</li>
|
||||
<li class="toclevel-1 tocsection-3">
|
||||
<a href="#Advanced_commands"><span class="tocnumber">3</span> <span class="toctext">Advanced commands</span></a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<h2>
|
||||
<span class="mw-headline" id="Basic_operation">Basic operation</span>
|
||||
</h2>
|
||||
<p>
|
||||
The Find box is intended to work like the Mozilla Firefox Find box. To use it, please do the following
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
Press Ctrl+F
|
||||
</li>
|
||||
<li>
|
||||
Type a word into the box. The first word matching the text in the find box will be highlighted. Other matches will be highlighted in yellow.
|
||||
</li>
|
||||
<li>
|
||||
Press Enter. The next matching word will be highlighted.
|
||||
</li>
|
||||
</ul>
|
||||
<p>
|
||||
You can try it out on this page with the word "find". Try it out.
|
||||
</p>
|
||||
<h2>
|
||||
<span class="mw-headline" id="Find_scope">Find scope</span>
|
||||
</h2>
|
||||
<p>
|
||||
Note that in Read mode, the Find box will find any word on the page. This includes sections outside the main content area, such as the left nav. Type the word "page" and see what gets found.
|
||||
</p>
|
||||
<p>
|
||||
However in Edit and View HTML mode, the find functionality is limited to text in the main text box.
|
||||
</p>
|
||||
<h2>
|
||||
<span class="mw-headline" id="Advanced_commands">Advanced commands</span>
|
||||
</h2>
|
||||
<p>
|
||||
The Find box also supports additional keyboard shortcuts.
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
Alt+N: Find next matching word.
|
||||
</li>
|
||||
<li>
|
||||
Alt+P: Find previous matching word.
|
||||
</li>
|
||||
<li>
|
||||
Alt+C: Toggle case-sensitivity (default is case-insensitive)
|
||||
</li>
|
||||
<li>
|
||||
Alt+W: Toggle wrap search (default is wrap)
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
</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="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'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>
|
||||
</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="" title="Support XOWA! (but only after you've supported archive.org and Wikipedia)">XOWA</a></li> -->
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
316
home/wiki/App/UI/HTML_Browser.html
Normal file
316
home/wiki/App/UI/HTML_Browser.html
Normal file
@@ -0,0 +1,316 @@
|
||||
<!DOCTYPE html>
|
||||
<html dir="ltr">
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
|
||||
<title>App/UI/HTML Browser - 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/UI/HTML Browser</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">
|
||||
|
||||
<p>
|
||||
The HTML Browser is a core part of the XOWA application.
|
||||
</p>
|
||||
<div id="toc" class="toc">
|
||||
<div id="toctitle">
|
||||
<h2>
|
||||
Contents
|
||||
</h2>
|
||||
</div>
|
||||
<ul>
|
||||
<li class="toclevel-1 tocsection-1">
|
||||
<a href="#Overview"><span class="tocnumber">1</span> <span class="toctext">Overview</span></a>
|
||||
</li>
|
||||
<li class="toclevel-1 tocsection-2">
|
||||
<a href="#HTTP_Server"><span class="tocnumber">2</span> <span class="toctext">HTTP Server</span></a>
|
||||
</li>
|
||||
<li class="toclevel-1 tocsection-3">
|
||||
<a href="#Android"><span class="tocnumber">3</span> <span class="toctext">Android</span></a>
|
||||
</li>
|
||||
<li class="toclevel-1 tocsection-4">
|
||||
<a href="#SWT"><span class="tocnumber">4</span> <span class="toctext">SWT</span></a>
|
||||
<ul>
|
||||
<li class="toclevel-2 tocsection-5">
|
||||
<a href="#Mozilla_.28XULRunner.29"><span class="tocnumber">4.1</span> <span class="toctext">Mozilla (XULRunner)</span></a>
|
||||
<ul>
|
||||
<li class="toclevel-3 tocsection-6">
|
||||
<a href="#Background"><span class="tocnumber">4.1.1</span> <span class="toctext">Background</span></a>
|
||||
</li>
|
||||
<li class="toclevel-3 tocsection-7">
|
||||
<a href="#ESR_limitation"><span class="tocnumber">4.1.2</span> <span class="toctext">ESR limitation</span></a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toclevel-2 tocsection-8">
|
||||
<a href="#WebKit"><span class="tocnumber">4.2</span> <span class="toctext">WebKit</span></a>
|
||||
</li>
|
||||
<li class="toclevel-2 tocsection-9">
|
||||
<a href="#None"><span class="tocnumber">4.3</span> <span class="toctext">None</span></a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toclevel-1 tocsection-10">
|
||||
<a href="#Current_state_of_the_SWT_HTML_Browser_by_operating_systems"><span class="tocnumber">5</span> <span class="toctext">Current state of the SWT HTML Browser by operating systems</span></a>
|
||||
<ul>
|
||||
<li class="toclevel-2 tocsection-11">
|
||||
<a href="#Windows"><span class="tocnumber">5.1</span> <span class="toctext">Windows</span></a>
|
||||
</li>
|
||||
<li class="toclevel-2 tocsection-12">
|
||||
<a href="#Mac_OS_X"><span class="tocnumber">5.2</span> <span class="toctext">Mac OS X</span></a>
|
||||
</li>
|
||||
<li class="toclevel-2 tocsection-13">
|
||||
<a href="#Linux"><span class="tocnumber">5.3</span> <span class="toctext">Linux</span></a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<h2>
|
||||
<span class="mw-headline" id="Overview">Overview</span>
|
||||
</h2>
|
||||
<p>
|
||||
The XOWA GUI application embeds a web browser to show the wiki pages.
|
||||
</p>
|
||||
<h2>
|
||||
<span class="mw-headline" id="HTTP_Server">HTTP Server</span>
|
||||
</h2>
|
||||
<p>
|
||||
XOWA HTTP Server does not use the embedded XOWA web browser.
|
||||
</p>
|
||||
<h2>
|
||||
<span class="mw-headline" id="Android">Android</span>
|
||||
</h2>
|
||||
<p>
|
||||
XOWA droid uses the built in WebView that comes with Android.
|
||||
</p>
|
||||
<h2>
|
||||
<span class="mw-headline" id="SWT">SWT</span>
|
||||
</h2>
|
||||
<p>
|
||||
XOWA uses SWT for its Web Browser across all 3 major operating systems: Windows, Linux, Mac OS X.
|
||||
</p>
|
||||
<p>
|
||||
SWT provides 3 different modes for its Web Browser: mozilla, webkit and none. These can be configured through /xowa/bin/operating_system_name/xowa/cfg/xowa_cfg_os.gfs with the following snippet:
|
||||
</p>
|
||||
<pre>
|
||||
app.gui {
|
||||
browser_type = 'mozilla';
|
||||
}
|
||||
</pre>
|
||||
<p>
|
||||
More information on the 3 modes are below
|
||||
</p>
|
||||
<h3>
|
||||
<span class="mw-headline" id="Mozilla_.28XULRunner.29">Mozilla (XULRunner)</span>
|
||||
</h3>
|
||||
<h4>
|
||||
<span class="mw-headline" id="Background">Background</span>
|
||||
</h4>
|
||||
<p>
|
||||
<a href="https://developer.mozilla.org/en-US/docs/Mozilla/Projects/XULRunner" rel="nofollow" class="external text">XULRunner</a> is a runtime package provided by Mozilla that can be used to build Firefox-like applications. It can be deployed in a standalone package that does not interfere with any installed versions of Firefox.
|
||||
</p>
|
||||
<p>
|
||||
The download location for xulrunner is <a href="http://ftp.mozilla.org/pub/mozilla.org/xulrunner/releases/" rel="nofollow" class="external free">http://ftp.mozilla.org/pub/mozilla.org/xulrunner/releases/</a>
|
||||
</p>
|
||||
<p>
|
||||
XOWA includes xulrunner at /xowa/operating_system_name/xulrunner . For example, on Linux 64-bit, this folder is at /xowa/linux_64/xulrunner/
|
||||
</p>
|
||||
<p>
|
||||
XOWA can use different versions of xulrunner with something like the following snippet:
|
||||
</p>
|
||||
<pre>
|
||||
app.gui {
|
||||
browser_type = 'mozilla';
|
||||
xul_runner_path = '~{<>bin_plat_dir<>}xulrunner_v24';
|
||||
}
|
||||
</pre>
|
||||
<h4>
|
||||
<span class="mw-headline" id="ESR_limitation">ESR limitation</span>
|
||||
</h4>
|
||||
<p>
|
||||
Mozilla Firefox has Extended Support Releases (ESRs). These start at version 10 and occur at 7-step intervals: 10, 17, 24, 31, 38.
|
||||
</p>
|
||||
<p>
|
||||
Each version of SWT limits compatibility to a specific XULRunner ESR. For SWT version 4.5, the highest XULRunner is 31. Also, non-ESR versions are not allowed. For example, SWT will fail if using XULRunner v30.
|
||||
</p>
|
||||
<h3>
|
||||
<span class="mw-headline" id="WebKit">WebKit</span>
|
||||
</h3>
|
||||
<p>
|
||||
SWT can also be configured to use the system's default WebKit browser. In most cases, this relates directly to Safari and is easiest done on a Mac OS X system. It can be done for Linux / Windows, but further steps need to be taken. See <a href="https://www.eclipse.org/swt/faq.php#howusewebkit" rel="nofollow" class="external free">https://www.eclipse.org/swt/faq.php#howusewebkit</a>
|
||||
</p>
|
||||
<p>
|
||||
XOWA may support WebKit on Linux / Windows at a future date, but for now, it is not a backlog item. If you are interested, please contact me and I will reevaluate.
|
||||
</p>
|
||||
<h3>
|
||||
<span class="mw-headline" id="None">None</span>
|
||||
</h3>
|
||||
<p>
|
||||
SWT can also be configured to use the system's browser through the keyword "none". For all intents and purposes, this basically applies to using Internet Explorer on Windows machines.
|
||||
</p>
|
||||
<p>
|
||||
XOWA does not support Internet Explorer. It may do so in the future, but it would be dependent on the ease of the Javascript / CSS integration.
|
||||
</p>
|
||||
<h2>
|
||||
<span class="mw-headline" id="Current_state_of_the_SWT_HTML_Browser_by_operating_systems">Current state of the SWT HTML Browser by operating systems</span>
|
||||
</h2>
|
||||
<h3>
|
||||
<span class="mw-headline" id="Windows">Windows</span>
|
||||
</h3>
|
||||
<p>
|
||||
As of v2.6.5, XOWA uses XUL Runner 24 for both Windows 32 bit and Windows 64.
|
||||
</p>
|
||||
<p>
|
||||
XULRunner 31 does work with Windows XP and Windows 7, but there have been reports of failure on Windows 8. As a result, 24 is the official package.
|
||||
</p>
|
||||
<p>
|
||||
There is one known issue wherein an error message appears in the console: <code>1435372844657 addons.manager ERROR startup failed: [Exception... "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIPrefBranch.setCharPref]" nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)" location: "JS frame :: resource://gre/modules/AddonManager.jsm :: AMI_startup :: line 645" data: no] Stack trace: AMI_startup()@resource://gre/modules/AddonManager.jsm:645 < AMP_startup()@resource://gre/modules/AddonManager.jsm:2318 < AMC_observe()@resource://gre/components/addonManager.js:55 < <file:unknown></code>
|
||||
</p>
|
||||
<p>
|
||||
However this appears to be benign. There is also currently an open bug on it. <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=466391" rel="nofollow" class="external free">https://bugs.eclipse.org/bugs/show_bug.cgi?id=466391</a>
|
||||
</p>
|
||||
<p>
|
||||
Neither WebKit nor None are supported on Windows.
|
||||
</p>
|
||||
<h3>
|
||||
<span class="mw-headline" id="Mac_OS_X">Mac OS X</span>
|
||||
</h3>
|
||||
<p>
|
||||
As of v2.6.3, XOWA uses WebKit for Mac OS X.
|
||||
</p>
|
||||
<p>
|
||||
The app package also includes XULRunner 31, but this is not enabled by default. The main issue is that mouse events are not relayed from XULrunner to SWT: <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=246830" rel="nofollow" class="external free">https://bugs.eclipse.org/bugs/show_bug.cgi?id=246830</a> . As a result, mouse hover does not work, and XOWA popups will not show.
|
||||
</p>
|
||||
<p>
|
||||
WebKit appears to be mostly functional, but it doesn't handle cursor changes. Hovering over a link won't change the cursor to a hand cursor. This appears to be an SWT issue, though the only known ticket is closed: <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=237562" rel="nofollow" class="external free">https://bugs.eclipse.org/bugs/show_bug.cgi?id=237562</a>
|
||||
</p>
|
||||
<p>
|
||||
The None mode is not supported on Mac OS X
|
||||
</p>
|
||||
<h3>
|
||||
<span class="mw-headline" id="Linux">Linux</span>
|
||||
</h3>
|
||||
<p>
|
||||
As of v2.6.5, XOWA uses XULRunner 24 with Linux.
|
||||
</p>
|
||||
<p>
|
||||
Unfortunately, XULRunner 31 is not yet implemented by SWT. See: <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=437700" rel="nofollow" class="external free">https://bugs.eclipse.org/bugs/show_bug.cgi?id=437700</a>
|
||||
</p>
|
||||
<p>
|
||||
Furthermore, XULRunner 24 requires GTK3 to be disabled since XULRunner is not yet ported to GTK3. See: <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=423870" rel="nofollow" class="external free">https://bugs.eclipse.org/bugs/show_bug.cgi?id=423870</a>
|
||||
</p>
|
||||
<p>
|
||||
XOWA accomplishes this by running the following in the xowa_linux_64.sh file "export SWT_GTK3=0 && java -jar xowa_linux_64.jar"
|
||||
</p>
|
||||
<p>
|
||||
Neither WebKit nor None are supported on Linux.
|
||||
</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="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'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>
|
||||
</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="" title="Support XOWA! (but only after you've supported archive.org and Wikipedia)">XOWA</a></li> -->
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
650
home/wiki/App/UI/Keybindings.html
Normal file
650
home/wiki/App/UI/Keybindings.html
Normal file
@@ -0,0 +1,650 @@
|
||||
<!DOCTYPE html>
|
||||
<html dir="ltr">
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
|
||||
<title>App/UI/Keybindings - 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/UI/Keybindings</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">
|
||||
|
||||
<div id="toc" class="toc">
|
||||
<div id="toctitle">
|
||||
<h2>
|
||||
Contents
|
||||
</h2>
|
||||
</div>
|
||||
<ul>
|
||||
<li class="toclevel-1 tocsection-1">
|
||||
<a href="#Content-editable"><span class="tocnumber">1</span> <span class="toctext">Content-editable</span></a>
|
||||
</li>
|
||||
<li class="toclevel-1 tocsection-2">
|
||||
<a href="#XOWA_keyboard_shortcuts_.28basic.29"><span class="tocnumber">2</span> <span class="toctext">XOWA keyboard shortcuts (basic)</span></a>
|
||||
</li>
|
||||
<li class="toclevel-1 tocsection-3">
|
||||
<a href="#XOWA_keyboard_shortcuts_.28advanced.29"><span class="tocnumber">3</span> <span class="toctext">XOWA keyboard shortcuts (advanced)</span></a>
|
||||
</li>
|
||||
<li class="toclevel-1 tocsection-4">
|
||||
<a href="#List_of_shortcuts"><span class="tocnumber">4</span> <span class="toctext">List of shortcuts</span></a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<h2>
|
||||
<span class="mw-headline" id="Content-editable">Content-editable</span>
|
||||
</h2>
|
||||
<p>
|
||||
XOWA allows keyboard navigation using the content-editable attribute. Note that this is somewhat of a hack and it results in odd UI behavior.
|
||||
</p>
|
||||
<p>
|
||||
Content-editable can be enabled with the following
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
Open the <b>xowa.gfs</b> file
|
||||
</li>
|
||||
<li>
|
||||
Change <code>content_editable_('n')</code> to <code>content_editable_('<span style="color:red;">y</span>')</code>
|
||||
</li>
|
||||
<li>
|
||||
Restart XOWA
|
||||
</li>
|
||||
</ul>
|
||||
<h2>
|
||||
<span class="mw-headline" id="XOWA_keyboard_shortcuts_.28basic.29">XOWA keyboard shortcuts (basic)</span>
|
||||
</h2>
|
||||
<p>
|
||||
See <a href="http://xowa.org/home/wiki/Options/Shortcuts.html" id="xolnki_2" title="Options/Shortcuts" class="xowa-visited">Options/Shortcuts</a>
|
||||
</p>
|
||||
<h2>
|
||||
<span class="mw-headline" id="XOWA_keyboard_shortcuts_.28advanced.29">XOWA keyboard shortcuts (advanced)</span>
|
||||
</h2>
|
||||
<p>
|
||||
The <b>xowa.gfs</b> file allows customization of keyboard shortcuts. This section explains the format of the keyboard codes.
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
"mod" is short for modifier
|
||||
</li>
|
||||
</ul>
|
||||
<dl>
|
||||
<dd>
|
||||
valid values are "a" (alt), "c" (control), and "s" (shift). EX: "mod.a" means "Alt"
|
||||
</dd>
|
||||
<dd>
|
||||
values can be combined. for example, mod.ca means press "Ctrl" and "Alt"
|
||||
</dd>
|
||||
</dl>
|
||||
<ul>
|
||||
<li>
|
||||
"+" means press at the same time
|
||||
</li>
|
||||
</ul>
|
||||
<dl>
|
||||
<dd>
|
||||
for example: "mod.a+key.d" means press "Alt" and "D" at the same time
|
||||
</dd>
|
||||
<dd>
|
||||
"+" should only be used for a modifier and a regular key character
|
||||
</dd>
|
||||
</dl>
|
||||
<ul>
|
||||
<li>
|
||||
"," means press in succession
|
||||
</li>
|
||||
</ul>
|
||||
<dl>
|
||||
<dd>
|
||||
for example, "mod.c+key.m,mod.c+key.e" means
|
||||
<dl>
|
||||
<dd>
|
||||
first, press "Ctrl" and "M"
|
||||
</dd>
|
||||
<dd>
|
||||
next, press "Ctrl" and "E"
|
||||
</dd>
|
||||
<dd>
|
||||
the command will activate when the last key is pressed
|
||||
</dd>
|
||||
</dl>
|
||||
</dd>
|
||||
<dd>
|
||||
pressing any other key before the last will cancel the chord
|
||||
</dd>
|
||||
<dd>
|
||||
there is no limit to chorded keys, but please use appropriately (i.e.: 5 chorded keystrokes are not recommended).
|
||||
</dd>
|
||||
</dl>
|
||||
<ul>
|
||||
<li>
|
||||
"|" means alternative
|
||||
</li>
|
||||
</ul>
|
||||
<dl>
|
||||
<dd>
|
||||
for example, "mod.c+key.q|mod.c+key.x" means press either ctrl+q or ctrl+x
|
||||
</dd>
|
||||
<dd>
|
||||
there is no limit to alternatives, but please do not go beyond 8
|
||||
</dd>
|
||||
</dl>
|
||||
<ul>
|
||||
<li>
|
||||
"mouse" bindings are possible but to be used with caution as they may not override the default mouse behavior
|
||||
</li>
|
||||
</ul>
|
||||
<dl>
|
||||
<dd>
|
||||
you are free to experiment, but the results may be unsatisfying
|
||||
</dd>
|
||||
</dl>
|
||||
<ul>
|
||||
<li>
|
||||
finally, the three sections in the config file will be consolidated into one at a later date. the last section will likely be the ultimate form.
|
||||
</li>
|
||||
</ul>
|
||||
<h2>
|
||||
<span class="mw-headline" id="List_of_shortcuts">List of shortcuts</span>
|
||||
</h2>
|
||||
<table class='wikitable'>
|
||||
<tr>
|
||||
<th>
|
||||
Category
|
||||
</th>
|
||||
<th>
|
||||
Key
|
||||
</th>
|
||||
<th>
|
||||
Description
|
||||
</th>
|
||||
<th>
|
||||
Config file setting
|
||||
</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
Application
|
||||
</td>
|
||||
<td>
|
||||
F1
|
||||
</td>
|
||||
<td>
|
||||
Show help
|
||||
</td>
|
||||
<td>
|
||||
page_goto("home/wiki/Help:Contents");
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
Application
|
||||
</td>
|
||||
<td>
|
||||
Ctrl+F1
|
||||
</td>
|
||||
<td>
|
||||
Show sandbox
|
||||
</td>
|
||||
<td>
|
||||
eval("xowa_proc_html_tidy_toggle");
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
Application
|
||||
</td>
|
||||
<td>
|
||||
Ctrl+Q
|
||||
</td>
|
||||
<td>
|
||||
Exit app
|
||||
</td>
|
||||
<td>
|
||||
app_exit
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
Application
|
||||
</td>
|
||||
<td>
|
||||
Ctrl+Shift+H
|
||||
</td>
|
||||
<td>
|
||||
Show page history
|
||||
</td>
|
||||
<td>
|
||||
app_history_show
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
Application
|
||||
</td>
|
||||
<td>
|
||||
Ctrl+Shift+R
|
||||
</td>
|
||||
<td>
|
||||
Open random page
|
||||
</td>
|
||||
<td>
|
||||
special_random
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
Application
|
||||
</td>
|
||||
<td>
|
||||
F3
|
||||
</td>
|
||||
<td>
|
||||
Show bookmarks
|
||||
</td>
|
||||
<td>
|
||||
page_goto("home/wiki/Data:Bookmarks");
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
Application
|
||||
</td>
|
||||
<td>
|
||||
Ctrl+Shift+P
|
||||
</td>
|
||||
<td>
|
||||
Show list of recent status messages(must click inside status bar)
|
||||
</td>
|
||||
<td>
|
||||
prog_box_log();
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
Read
|
||||
</td>
|
||||
<td>
|
||||
Ctrl+L
|
||||
</td>
|
||||
<td>
|
||||
Open link (content editable mode)
|
||||
</td>
|
||||
<td>
|
||||
link_click
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
Navigation
|
||||
</td>
|
||||
<td>
|
||||
Alt+Left
|
||||
</td>
|
||||
<td>
|
||||
Go back one page
|
||||
</td>
|
||||
<td>
|
||||
history_fwd
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
Navigation
|
||||
</td>
|
||||
<td>
|
||||
Alt+Right
|
||||
</td>
|
||||
<td>
|
||||
Go forward one page
|
||||
</td>
|
||||
<td>
|
||||
history_bwd
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
Focus
|
||||
</td>
|
||||
<td>
|
||||
Alt+D
|
||||
</td>
|
||||
<td>
|
||||
Focus url box
|
||||
</td>
|
||||
<td>
|
||||
url_box_focus
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
Focus
|
||||
</td>
|
||||
<td>
|
||||
Ctrl+F
|
||||
</td>
|
||||
<td>
|
||||
Focus find box
|
||||
</td>
|
||||
<td>
|
||||
find_box_focus
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
Focus
|
||||
</td>
|
||||
<td>
|
||||
Ctrl+Alt+P
|
||||
</td>
|
||||
<td>
|
||||
Focus progress box
|
||||
</td>
|
||||
<td>
|
||||
statux_box_focus
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
Focus
|
||||
</td>
|
||||
<td>
|
||||
Escape
|
||||
</td>
|
||||
<td>
|
||||
Focus html box
|
||||
</td>
|
||||
<td>
|
||||
wiki_box_focus
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
Find
|
||||
</td>
|
||||
<td>
|
||||
Alt+N
|
||||
</td>
|
||||
<td>
|
||||
Find next match
|
||||
</td>
|
||||
<td>
|
||||
find_box_fwd
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
Find
|
||||
</td>
|
||||
<td>
|
||||
Alt+P
|
||||
</td>
|
||||
<td>
|
||||
Find previous match
|
||||
</td>
|
||||
<td>
|
||||
find_box_bwd
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
Find
|
||||
</td>
|
||||
<td>
|
||||
Alt+C
|
||||
</td>
|
||||
<td>
|
||||
Toggle case sensitivity
|
||||
</td>
|
||||
<td>
|
||||
find_box_case_toggle
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
Find
|
||||
</td>
|
||||
<td>
|
||||
Alt+W
|
||||
</td>
|
||||
<td>
|
||||
Toggle wrap search
|
||||
</td>
|
||||
<td>
|
||||
find_box_wrap_toggle
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
Page
|
||||
</td>
|
||||
<td>
|
||||
Alt+Shift+R
|
||||
</td>
|
||||
<td>
|
||||
Switch page to read mode
|
||||
</td>
|
||||
<td>
|
||||
page_view_read
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
Page
|
||||
</td>
|
||||
<td>
|
||||
Alt+Shift+E
|
||||
</td>
|
||||
<td>
|
||||
Switch page to edit mode
|
||||
</td>
|
||||
<td>
|
||||
page_view_edit
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
Page
|
||||
</td>
|
||||
<td>
|
||||
Alt+Shift+H
|
||||
</td>
|
||||
<td>
|
||||
Switch page to html mode
|
||||
</td>
|
||||
<td>
|
||||
page_view_html
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
Edit
|
||||
</td>
|
||||
<td>
|
||||
Alt+Shift+Period
|
||||
</td>
|
||||
<td>
|
||||
Preview page
|
||||
</td>
|
||||
<td>
|
||||
page_edit_preview
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
Edit
|
||||
</td>
|
||||
<td>
|
||||
Alt+Shift+S
|
||||
</td>
|
||||
<td>
|
||||
Save page and switch to read mode
|
||||
</td>
|
||||
<td>
|
||||
page_edit_save
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
Edit
|
||||
</td>
|
||||
<td>
|
||||
Ctrl+S
|
||||
</td>
|
||||
<td>
|
||||
Save page
|
||||
</td>
|
||||
<td>
|
||||
page_edit_save_draft
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
Edit
|
||||
</td>
|
||||
<td>
|
||||
Alt+Shift+Comma
|
||||
</td>
|
||||
<td>
|
||||
Focus edit box
|
||||
</td>
|
||||
<td>
|
||||
page_edit_focus__box
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
Edit
|
||||
</td>
|
||||
<td>
|
||||
Alt+Shift+Period
|
||||
</td>
|
||||
<td>
|
||||
Focus first heading
|
||||
</td>
|
||||
<td>
|
||||
page_edit_focus_first
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
Edit
|
||||
</td>
|
||||
<td>
|
||||
Alt+R
|
||||
</td>
|
||||
<td>
|
||||
Rename page
|
||||
</td>
|
||||
<td>
|
||||
page_edit_rename();
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</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="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'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>
|
||||
</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="" title="Support XOWA! (but only after you've supported archive.org and Wikipedia)">XOWA</a></li> -->
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
406
home/wiki/App/UI/Main_window/Overview.html
Normal file
406
home/wiki/App/UI/Main_window/Overview.html
Normal file
@@ -0,0 +1,406 @@
|
||||
<!DOCTYPE html>
|
||||
<html dir="ltr">
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
|
||||
<title>App/UI/Main window/Overview - 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">
|
||||
<style>
|
||||
.console {font-family: monospace; color: #EEEEEE ; background-color: black ; border: medium solid black;}
|
||||
.code
|
||||
,.path
|
||||
,.url {font-family: monospace; color: black ; background-color: #f9f9f9 ; border: medium solid #f9f9f9;}
|
||||
.bold {font-weight: 900;}
|
||||
</style>
|
||||
<style>
|
||||
.console {font-family: monospace; color: #EEEEEE ; background-color: black ; border: medium solid black;}
|
||||
.code
|
||||
,.path
|
||||
,.url {font-family: monospace; color: black ; background-color: #f9f9f9 ; border: medium solid #f9f9f9;}
|
||||
.bold {font-weight: 900;}
|
||||
</style>
|
||||
|
||||
</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/UI/Main window/Overview</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">
|
||||
|
||||
<p>
|
||||
The XOWA Window is meant to be a minimalistic representation of a web browser.
|
||||
</p>
|
||||
<div id="toc" class="toc">
|
||||
<div id="toctitle">
|
||||
<h2>
|
||||
Contents
|
||||
</h2>
|
||||
</div>
|
||||
<ul>
|
||||
<li class="toclevel-1 tocsection-1">
|
||||
<a href="#Back_button"><span class="tocnumber">1</span> <span class="toctext">Back button</span></a>
|
||||
</li>
|
||||
<li class="toclevel-1 tocsection-2">
|
||||
<a href="#Forward_button"><span class="tocnumber">2</span> <span class="toctext">Forward button</span></a>
|
||||
</li>
|
||||
<li class="toclevel-1 tocsection-3">
|
||||
<a href="#Address_bar"><span class="tocnumber">3</span> <span class="toctext">Address bar</span></a>
|
||||
</li>
|
||||
<li class="toclevel-1 tocsection-4">
|
||||
<a href="#Address_bar_go_button"><span class="tocnumber">4</span> <span class="toctext">Address bar go button</span></a>
|
||||
</li>
|
||||
<li class="toclevel-1 tocsection-5">
|
||||
<a href="#Search_box"><span class="tocnumber">5</span> <span class="toctext">Search box</span></a>
|
||||
</li>
|
||||
<li class="toclevel-1 tocsection-6">
|
||||
<a href="#Search_activate_button"><span class="tocnumber">6</span> <span class="toctext">Search activate button</span></a>
|
||||
</li>
|
||||
<li class="toclevel-1 tocsection-7">
|
||||
<a href="#Browser_box"><span class="tocnumber">7</span> <span class="toctext">Browser box</span></a>
|
||||
</li>
|
||||
<li class="toclevel-1 tocsection-8">
|
||||
<a href="#Find_box"><span class="tocnumber">8</span> <span class="toctext">Find box</span></a>
|
||||
</li>
|
||||
<li class="toclevel-1 tocsection-9">
|
||||
<a href="#Progress_box"><span class="tocnumber">9</span> <span class="toctext">Progress box</span></a>
|
||||
</li>
|
||||
<li class="toclevel-1 tocsection-10">
|
||||
<a href="#Note_box"><span class="tocnumber">10</span> <span class="toctext">Note box</span></a>
|
||||
</li>
|
||||
<li class="toclevel-1 tocsection-11">
|
||||
<a href="#Common_behavior"><span class="tocnumber">11</span> <span class="toctext">Common behavior</span></a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<h2>
|
||||
<span class="mw-headline" id="Back_button">Back button</span>
|
||||
</h2>
|
||||
<ul>
|
||||
<li>
|
||||
This button is located in the top left hand corner of the screen. It is denoted by a green arrow pointing left.
|
||||
</li>
|
||||
<li>
|
||||
It has the same functionality as a web browser's back button. It navigates you back to a page you left.
|
||||
</li>
|
||||
<li>
|
||||
To move back, click the back button or press Alt+Left.
|
||||
</li>
|
||||
</ul>
|
||||
<h2>
|
||||
<span class="mw-headline" id="Forward_button">Forward button</span>
|
||||
</h2>
|
||||
<ul>
|
||||
<li>
|
||||
This button is located in the top left hand corner of the screen. It is denoted by a green arrow pointing right.
|
||||
</li>
|
||||
<li>
|
||||
It has the same functionality as a web browser's forward button. It navigates you to a page you left with the back button.
|
||||
</li>
|
||||
<li>
|
||||
To move forward, click the forward button or press Alt+Right.
|
||||
</li>
|
||||
</ul>
|
||||
<h2>
|
||||
<span class="mw-headline" id="Address_bar">Address bar</span>
|
||||
</h2>
|
||||
<ul>
|
||||
<li>
|
||||
The address bar is located at the top of the screen.
|
||||
</li>
|
||||
<li>
|
||||
It can be used to navigate to other pages in the wiki.
|
||||
<ul>
|
||||
<li>
|
||||
For example, type "Help/Contents" into the bar and press Enter. It will take you to the main Help page.
|
||||
</li>
|
||||
<li>
|
||||
You can also use it to navigate to other wikis. If you type <span class='url'>simple.wikipedia.org</span> into the address bar, it will take you to the "Main Page" for Simple Wikipedia
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
Note that you can also press the Go button instead of Enter to select the address.
|
||||
</li>
|
||||
<li>
|
||||
There are other formats that can be entered into the address bar. For more information, see <a href="http://xowa.org/home/wiki/App/UI/Address_bar/Shortcuts.html" id="xolnki_2" title="App/UI/Address bar/Shortcuts">App/UI/Address_bar/Shortcuts</a>
|
||||
</li>
|
||||
<li>
|
||||
To select the address bar, press Alt+D.
|
||||
</li>
|
||||
<li>
|
||||
The address bar also has auto-completion. Try typing in "a", "b" in the address bar
|
||||
</li>
|
||||
</ul>
|
||||
<h2>
|
||||
<span class="mw-headline" id="Address_bar_go_button">Address bar go button</span>
|
||||
</h2>
|
||||
<ul>
|
||||
<li>
|
||||
The go button is located right of the address bar. It is denoted by the downward pointing green arrow.
|
||||
</li>
|
||||
<li>
|
||||
It can be pressed to activate the address in the address bar. Note that you can also press Enter in the address bar.
|
||||
</li>
|
||||
</ul>
|
||||
<h2>
|
||||
<span class="mw-headline" id="Search_box">Search box</span>
|
||||
</h2>
|
||||
<ul>
|
||||
<li>
|
||||
The search box allows you to find all pages in a wiki starting with the term. This is the same as the Special:AllPages search feature
|
||||
<ul>
|
||||
<li>
|
||||
For example, typing in "Earth" will find all pages in the wiki that start with the word "Earth".
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
Note that you can also press the magnifying glass button instead of Enter to activate the search.
|
||||
</li>
|
||||
</ul>
|
||||
<h2>
|
||||
<span class="mw-headline" id="Search_activate_button">Search activate button</span>
|
||||
</h2>
|
||||
<ul>
|
||||
<li>
|
||||
The search button is located right of the search box. It is denoted by the magnifying glass icon.
|
||||
</li>
|
||||
<li>
|
||||
It can be pressed to navigate to activate the search in the search bar.
|
||||
</li>
|
||||
</ul>
|
||||
<h2>
|
||||
<span class="mw-headline" id="Browser_box">Browser box</span>
|
||||
</h2>
|
||||
<ul>
|
||||
<li>
|
||||
The browser box takes up most of the screen.
|
||||
</li>
|
||||
<li>
|
||||
Its main purpose is to render all content, such as the text you're reading now.
|
||||
</li>
|
||||
</ul>
|
||||
<h2>
|
||||
<span class="mw-headline" id="Find_box">Find box</span>
|
||||
</h2>
|
||||
<ul>
|
||||
<li>
|
||||
The find box is located in the bottom left hand corner of the screen.
|
||||
</li>
|
||||
<li>
|
||||
It can be used to search for text on the page. If you type a word in the box, it will automatically find and highlight it in the browser box.
|
||||
</li>
|
||||
<li>
|
||||
The find box defaults to a hidden state. To activate it, do one of the following:
|
||||
<ul>
|
||||
<li>
|
||||
Press Ctrl+F
|
||||
</li>
|
||||
<li>
|
||||
Choose the following from the Main Menu: Edit -> Find
|
||||
</li>
|
||||
<li>
|
||||
Right click in the browser box. Select Find from the popup menu.
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
To use it, do the following:
|
||||
<ul>
|
||||
<li>
|
||||
Type the word "box" in the find box. It will highlight the "box" in Browser box.
|
||||
</li>
|
||||
<li>
|
||||
Press Enter. It will now highlight the next "box" word
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
For more information, see <a href="http://xowa.org/home/wiki/App/UI/Find_box.html" id="xolnki_3" title="App/UI/Find box" class="xowa-visited">App/UI/Find_box</a>.
|
||||
</li>
|
||||
</ul>
|
||||
<h2>
|
||||
<span class="mw-headline" id="Progress_box">Progress box</span>
|
||||
</h2>
|
||||
<ul>
|
||||
<li>
|
||||
The progress box is located at the bottom of the screen.
|
||||
</li>
|
||||
<li>
|
||||
It displays transient messages from the application.
|
||||
</li>
|
||||
<li>
|
||||
To view the info box, do one of the following
|
||||
<ul>
|
||||
<li>
|
||||
Press Ctrl+Alt+P
|
||||
</li>
|
||||
<li>
|
||||
Choose the following from the Main Menu: View -> Show Progress Messages
|
||||
</li>
|
||||
<li>
|
||||
Middle-click the progress box
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<h2>
|
||||
<span class="mw-headline" id="Note_box">Note box</span>
|
||||
</h2>
|
||||
<ul>
|
||||
<li>
|
||||
The info box is located in the bottom-right hand corner of the screen.
|
||||
</li>
|
||||
<li>
|
||||
It displays warnings from the application. It is disabled by default, but can be enabled through <a href="http://xowa.org/home/wiki/Options/Dev.html" id="xolnki_4" title="Options/Dev" class="xowa-visited">Options/Dev</a>
|
||||
</li>
|
||||
<li>
|
||||
To select the info box, press Ctrl+Alt+N.
|
||||
</li>
|
||||
<li>
|
||||
To clear messages, press Ctrl+Alt+C.
|
||||
</li>
|
||||
</ul>
|
||||
<h2>
|
||||
<span class="mw-headline" id="Common_behavior">Common behavior</span>
|
||||
</h2>
|
||||
<ul>
|
||||
<li>
|
||||
The "Address bar", "Find box", "Progress box", and "Note box" are standard text boxes. As such, the following behavior will work:
|
||||
<ul>
|
||||
<li>
|
||||
Right clicking in the box will bring up the standard context menu of Cut, Copy, Paste, Undo, Select All
|
||||
</li>
|
||||
<li>
|
||||
The standard keyboard shortcuts will work
|
||||
<ul>
|
||||
<li>
|
||||
Ctrl+X: Cut
|
||||
</li>
|
||||
<li>
|
||||
Ctrl+C: Copy
|
||||
</li>
|
||||
<li>
|
||||
Ctrl+V: Paste
|
||||
</li>
|
||||
<li>
|
||||
Ctrl+A: Select All
|
||||
</li>
|
||||
<li>
|
||||
Ctrl+Z: Undo
|
||||
</li>
|
||||
<li>
|
||||
Ctrl+Shift+Z: Redo
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
The "Browser box" has a right-click context menu. It also responds to the same keyboard shortcuts listed above.
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
</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="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'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>
|
||||
</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="" title="Support XOWA! (but only after you've supported archive.org and Wikipedia)">XOWA</a></li> -->
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
417
home/wiki/App/UI/Menus.html
Normal file
417
home/wiki/App/UI/Menus.html
Normal file
@@ -0,0 +1,417 @@
|
||||
<!DOCTYPE html>
|
||||
<html dir="ltr">
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
|
||||
<title>App/UI/Menus - 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/UI/Menus</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">
|
||||
|
||||
<p>
|
||||
XOWA provides a menu for the main window as well as a popup menu for the HTML browser.
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
The main menu can be activated by pressing and releasing Alt and then using the arrow keys (or the shortcuts)
|
||||
</li>
|
||||
<li>
|
||||
The popup menu can be activated by right-clicking anywhere in the HTML area.
|
||||
</li>
|
||||
</ul>
|
||||
<p>
|
||||
These menus can also be customized using the source at <a href="http://xowa.org/home/wiki/Options/Menus.html" id="xolnki_2" title="Options/Menus" class="xowa-visited">Options/Menus</a>
|
||||
</p>
|
||||
<p>
|
||||
Note that internationalization (translation by language) is only supported for German. Other languages can be supported, but translations are needed! See <a href="http://xowa.org/home/wiki/Help/Feedback.html" id="xolnki_3" title="Help/Feedback" class="xowa-visited">Help/Feedback</a>.
|
||||
</p>
|
||||
<div id="toc" class="toc">
|
||||
<div id="toctitle">
|
||||
<h2>
|
||||
Contents
|
||||
</h2>
|
||||
</div>
|
||||
<ul>
|
||||
<li class="toclevel-1 tocsection-1">
|
||||
<a href="#Reordering_items"><span class="tocnumber">1</span> <span class="toctext">Reordering items</span></a>
|
||||
</li>
|
||||
<li class="toclevel-1 tocsection-2">
|
||||
<a href="#Removing_buttons"><span class="tocnumber">2</span> <span class="toctext">Removing buttons</span></a>
|
||||
</li>
|
||||
<li class="toclevel-1 tocsection-3">
|
||||
<a href="#Removing_groups"><span class="tocnumber">3</span> <span class="toctext">Removing groups</span></a>
|
||||
</li>
|
||||
<li class="toclevel-1 tocsection-4">
|
||||
<a href="#Modifying_buttons"><span class="tocnumber">4</span> <span class="toctext">Modifying buttons</span></a>
|
||||
</li>
|
||||
<li class="toclevel-1 tocsection-5">
|
||||
<a href="#Modifying_groups"><span class="tocnumber">5</span> <span class="toctext">Modifying groups</span></a>
|
||||
</li>
|
||||
<li class="toclevel-1 tocsection-6">
|
||||
<a href="#Adding_buttons"><span class="tocnumber">6</span> <span class="toctext">Adding buttons</span></a>
|
||||
</li>
|
||||
<li class="toclevel-1 tocsection-7">
|
||||
<a href="#Adding_groups"><span class="tocnumber">7</span> <span class="toctext">Adding groups</span></a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<h2>
|
||||
<span class="mw-headline" id="Reordering_items">Reordering items</span>
|
||||
</h2>
|
||||
<p>
|
||||
To reorder buttons / groups, simply move the corresponding line / lines
|
||||
</p>
|
||||
<p>
|
||||
For example, to move the <code>about</code> item
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
Cut line 7
|
||||
</li>
|
||||
<li>
|
||||
Paste at line 3
|
||||
</li>
|
||||
</ul>
|
||||
<p>
|
||||
<b>Before</b>:
|
||||
</p>
|
||||
<div class="mw-highlight">
|
||||
<pre style="overflow:auto">
|
||||
<span style="-moz-user-select:none;">1</span> <span>add_grp_default('xowa.help') {</span>
|
||||
<span style="-moz-user-select:none;">2</span> <span> add_btn_default('xowa.help.help');</span>
|
||||
<span style="-moz-user-select:none;">3</span> <span> add_btn_default('xowa.help.change_log');</span>
|
||||
<span style="-moz-user-select:none;">4</span> <span> add_btn_default('xowa.help.diagnostics');</span>
|
||||
<span style="-moz-user-select:none;">5</span> <span> add_btn_default('xowa.help.context_menu');</span>
|
||||
<span style="-moz-user-select:none;">6</span> <span> add_spr();</span>
|
||||
<span style="-moz-user-select:none;">7</span> <span style="background-color: #FFFFCC;"> add_btn_default('xowa.help.about');</span>
|
||||
<span style="-moz-user-select:none;">8</span> <span>}</span>
|
||||
</pre>
|
||||
</div>
|
||||
<p>
|
||||
<b>After</b>:
|
||||
</p>
|
||||
<div class="mw-highlight">
|
||||
<pre style="overflow:auto">
|
||||
<span style="-moz-user-select:none;">1</span> <span>add_grp_default('xowa.help') {</span>
|
||||
<span style="-moz-user-select:none;">2</span> <span> add_btn_default('xowa.help.help');</span>
|
||||
<span style="-moz-user-select:none;">3</span> <span style="background-color: #FFFFCC;"> add_btn_default('xowa.help.about');</span>
|
||||
<span style="-moz-user-select:none;">4</span> <span> add_btn_default('xowa.help.change_log');</span>
|
||||
<span style="-moz-user-select:none;">5</span> <span> add_btn_default('xowa.help.diagnostics');</span>
|
||||
<span style="-moz-user-select:none;">6</span> <span> add_btn_default('xowa.help.context_menu');</span>
|
||||
<span style="-moz-user-select:none;">7</span> <span> add_spr();</span>
|
||||
<span style="-moz-user-select:none;">8</span> <span>}</span>
|
||||
</pre>
|
||||
</div>
|
||||
<h2>
|
||||
<span class="mw-headline" id="Removing_buttons">Removing buttons</span>
|
||||
</h2>
|
||||
<p>
|
||||
To remove a button, remove the entire line.
|
||||
</p>
|
||||
<p>
|
||||
For example, to remove the <code>diagnostics</code> item, remove the line <code>add_btn_default('xowa.help.diagnostics');</code>
|
||||
</p>
|
||||
<p>
|
||||
<b>Before</b>:
|
||||
</p>
|
||||
<div class="mw-highlight">
|
||||
<pre style="overflow:auto">
|
||||
<span style="-moz-user-select:none;">1</span> <span>add_grp_default('xowa.help') {</span>
|
||||
<span style="-moz-user-select:none;">2</span> <span> add_btn_default('xowa.help.help');</span>
|
||||
<span style="-moz-user-select:none;">3</span> <span> add_btn_default('xowa.help.change_log');</span>
|
||||
<span style="-moz-user-select:none;">4</span> <span style="background-color: #FFFFCC;"> add_btn_default('xowa.help.diagnostics');</span>
|
||||
<span style="-moz-user-select:none;">5</span> <span> add_btn_default('xowa.help.context_menu');</span>
|
||||
<span style="-moz-user-select:none;">6</span> <span> add_spr();</span>
|
||||
<span style="-moz-user-select:none;">7</span> <span> add_btn_default('xowa.help.about');</span>
|
||||
<span style="-moz-user-select:none;">8</span> <span>}</span>
|
||||
</pre>
|
||||
</div>
|
||||
<p>
|
||||
<b>After</b>:
|
||||
</p>
|
||||
<div class="mw-highlight">
|
||||
<pre style="overflow:auto">
|
||||
<span style="-moz-user-select:none;">1</span> <span>add_grp_default('xowa.help') {</span>
|
||||
<span style="-moz-user-select:none;">2</span> <span> add_btn_default('xowa.help.help');</span>
|
||||
<span style="-moz-user-select:none;">3</span> <span> add_btn_default('xowa.help.change_log');</span>
|
||||
<span style="-moz-user-select:none;">4</span> <span> add_btn_default('xowa.help.context_menu');</span>
|
||||
<span style="-moz-user-select:none;">5</span> <span> add_spr();</span>
|
||||
<span style="-moz-user-select:none;">6</span> <span> add_btn_default('xowa.help.about');</span>
|
||||
<span style="-moz-user-select:none;">7</span> <span>}</span>
|
||||
</pre>
|
||||
</div>
|
||||
<h2>
|
||||
<span class="mw-headline" id="Removing_groups">Removing groups</span>
|
||||
</h2>
|
||||
<p>
|
||||
To remove a group, remove the entire group starting at the line with the <code>{</code> and ending at the line with the <code>}</code>.
|
||||
</p>
|
||||
<p>
|
||||
For example, to remove the <code>wikis</code> group, remove lines 4 - 7.
|
||||
</p>
|
||||
<p>
|
||||
<b>Before</b>:
|
||||
</p>
|
||||
<div class="mw-highlight">
|
||||
<pre style="overflow:auto">
|
||||
<span style="-moz-user-select:none;">1</span> <span>add_grp_default('xowa.tools') {</span>
|
||||
<span style="-moz-user-select:none;">2</span> <span> add_btn_default('xowa.tools.options');</span>
|
||||
<span style="-moz-user-select:none;">3</span> <span> add_spr;</span>
|
||||
<span style="-moz-user-select:none;">4</span> <span style="background-color: #FFFFCC;"> add_grp_default('xowa.tools.wikis') {</span>
|
||||
<span style="-moz-user-select:none;">5</span> <span style="background-color: #FFFFCC;"> add_btn_default('xowa.tools.wikis.import_from_list');</span>
|
||||
<span style="-moz-user-select:none;">6</span> <span style="background-color: #FFFFCC;"> add_btn_default('xowa.tools.wikis.import_from_script');</span>
|
||||
<span style="-moz-user-select:none;">7</span> <span style="background-color: #FFFFCC;"> }</span>
|
||||
<span style="-moz-user-select:none;">8</span> <span>}</span>
|
||||
</pre>
|
||||
</div>
|
||||
<p>
|
||||
<b>After</b>:
|
||||
</p>
|
||||
<div class="mw-highlight">
|
||||
<pre style="overflow:auto">
|
||||
<span style="-moz-user-select:none;">1</span> <span>add_grp_default('xowa.tools') {</span>
|
||||
<span style="-moz-user-select:none;">2</span> <span> add_btn_default('xowa.tools.options');</span>
|
||||
<span style="-moz-user-select:none;">3</span> <span> add_spr;</span>
|
||||
<span style="-moz-user-select:none;">4</span> <span>}</span>
|
||||
</pre>
|
||||
</div>
|
||||
<h2>
|
||||
<span class="mw-headline" id="Modifying_buttons">Modifying buttons</span>
|
||||
</h2>
|
||||
<p>
|
||||
To modify a button, change the properties for the button.
|
||||
</p>
|
||||
<p>
|
||||
For example, to change the properties of the <code>diagnostics</code> item, do the following:
|
||||
</p>
|
||||
<p>
|
||||
<b>Before</b>:
|
||||
</p>
|
||||
<div class="mw-highlight">
|
||||
<pre style="overflow:auto">
|
||||
<span style="-moz-user-select:none;">1</span> <span>add_grp_default('xowa.help') {</span>
|
||||
<span style="-moz-user-select:none;">2</span> <span> add_btn_default('xowa.help.help');</span>
|
||||
<span style="-moz-user-select:none;">3</span> <span> add_btn_default('xowa.help.change_log');</span>
|
||||
<span style="-moz-user-select:none;">4</span> <span style="background-color: #FFFFCC;"> add_btn_default('xowa.help.diagnostics');</span>
|
||||
<span style="-moz-user-select:none;">5</span> <span> add_btn_default('xowa.help.context_menu');</span>
|
||||
<span style="-moz-user-select:none;">6</span> <span> add_spr();</span>
|
||||
<span style="-moz-user-select:none;">7</span> <span> add_btn_default('xowa.help.about');</span>
|
||||
<span style="-moz-user-select:none;">8</span> <span>}</span>
|
||||
</pre>
|
||||
</div>
|
||||
<p>
|
||||
<b>After</b>:
|
||||
</p>
|
||||
<div class="mw-highlight">
|
||||
<pre style="overflow:auto">
|
||||
<span style="-moz-user-select:none;">1</span> <span>add_grp_default('xowa.help') {</span>
|
||||
<span style="-moz-user-select:none;">2</span> <span> add_btn_default('xowa.help.help');</span>
|
||||
<span style="-moz-user-select:none;">3</span> <span> add_btn_default('xowa.help.change_log');</span>
|
||||
<span style="-moz-user-select:none;">4</span> <span style="background-color: #FFFFCC;"> add_btn_default('xowa.help.diagnostics') {</span>
|
||||
<span style="-moz-user-select:none;">5</span> <span style="background-color: #FFFFCC;"> text = 'Diagnostics for Scribunto';</span>
|
||||
<span style="-moz-user-select:none;">6</span> <span style="background-color: #FFFFCC;"> shortcut = 's';</span>
|
||||
<span style="-moz-user-select:none;">7</span> <span style="background-color: #FFFFCC;"> img = 'help/about.png';</span>
|
||||
<span style="-moz-user-select:none;">8</span> <span style="background-color: #FFFFCC;"> cmd = 'app.api.nav.goto("home/wiki/Help:Diagnostics/Scribunto/All");';</span>
|
||||
<span style="-moz-user-select:none;">9</span> <span style="background-color: #FFFFCC;"> }</span>
|
||||
<span style="-moz-user-select:none;">10</span> <span> add_btn_default('xowa.help.context_menu');</span>
|
||||
<span style="-moz-user-select:none;">11</span> <span> add_spr();</span>
|
||||
<span style="-moz-user-select:none;">12</span> <span> add_btn_default('xowa.help.about');</span>
|
||||
<span style="-moz-user-select:none;">13</span> <span>}</span>
|
||||
</pre>
|
||||
</div>
|
||||
<ul>
|
||||
<li>
|
||||
To leave text, shortcut, img, or cmd unchanged, omit the line.
|
||||
</li>
|
||||
<li>
|
||||
To leave an image or a shortcut blank, use <code>''</code>
|
||||
</li>
|
||||
</ul>
|
||||
<p>
|
||||
<br>
|
||||
</p>
|
||||
<h2>
|
||||
<span class="mw-headline" id="Modifying_groups">Modifying groups</span>
|
||||
</h2>
|
||||
<p>
|
||||
To modify a group, change the properties for the group.
|
||||
</p>
|
||||
<p>
|
||||
For example, to change the properties of the <code>help</code> item, do the following:
|
||||
</p>
|
||||
<p>
|
||||
<b>Before</b>:
|
||||
</p>
|
||||
<div class="mw-highlight">
|
||||
<pre style="overflow:auto">
|
||||
<span style="-moz-user-select:none;">1</span> <span style="background-color: #FFFFCC;">add_grp_default('xowa.help') {</span>
|
||||
<span style="-moz-user-select:none;">2</span> <span> add_btn_default('xowa.help.help');</span>
|
||||
<span style="-moz-user-select:none;">3</span> <span> add_btn_default('xowa.help.change_log');</span>
|
||||
<span style="-moz-user-select:none;">4</span> <span> add_btn_default('xowa.help.diagnostics');</span>
|
||||
<span style="-moz-user-select:none;">5</span> <span> add_btn_default('xowa.help.context_menu');</span>
|
||||
<span style="-moz-user-select:none;">6</span> <span> add_spr();</span>
|
||||
<span style="-moz-user-select:none;">7</span> <span> add_btn_default('xowa.help.about');</span>
|
||||
<span style="-moz-user-select:none;">8</span> <span>}</span>
|
||||
</pre>
|
||||
</div>
|
||||
<p>
|
||||
<b>After</b>:
|
||||
</p>
|
||||
<div class="mw-highlight">
|
||||
<pre style="overflow:auto">
|
||||
<span style="-moz-user-select:none;">1</span> <span style="background-color: #FFFFCC;">add_grp_default('xowa.help') {</span>
|
||||
<span style="-moz-user-select:none;">2</span> <span style="background-color: #FFFFCC;"> text = 'my help';</span>
|
||||
<span style="-moz-user-select:none;">3</span> <span style="background-color: #FFFFCC;"> shortcut = 'y';</span>
|
||||
<span style="-moz-user-select:none;">4</span> <span style="background-color: #FFFFCC;"> img = 'help/about.png';</span>
|
||||
<span style="-moz-user-select:none;">5</span> <span> add_btn_default('xowa.help.help');</span>
|
||||
<span style="-moz-user-select:none;">6</span> <span> add_btn_default('xowa.help.change_log');</span>
|
||||
<span style="-moz-user-select:none;">7</span> <span> add_btn_default('xowa.help.diagnostics');</span>
|
||||
<span style="-moz-user-select:none;">8</span> <span> add_btn_default('xowa.help.context_menu');</span>
|
||||
<span style="-moz-user-select:none;">9</span> <span> add_spr();</span>
|
||||
<span style="-moz-user-select:none;">10</span> <span> add_btn_default('xowa.help.about');</span>
|
||||
<span style="-moz-user-select:none;">11</span> <span>}</span>
|
||||
</pre>
|
||||
</div>
|
||||
<h2>
|
||||
<span class="mw-headline" id="Adding_buttons">Adding buttons</span>
|
||||
</h2>
|
||||
<p>
|
||||
To add a button, add a new line for <code>add_btn</code>
|
||||
</p>
|
||||
<p>
|
||||
For example, to add a new button to go to simplewiki/Earth, do the following:
|
||||
</p>
|
||||
<div class="mw-highlight">
|
||||
<pre style="overflow:auto">
|
||||
add_btn('my_custom_namespace.my_custom_button_key', 'Goto Earth', 'e', 'help/about.png', 'app.api.nav.goto("simple.wikipedia.org/wiki/Earth");');
|
||||
</pre>
|
||||
</div>
|
||||
<ul>
|
||||
<li>
|
||||
To leave an image or a shortcut blank, use <code>''</code>
|
||||
</li>
|
||||
</ul>
|
||||
<h2>
|
||||
<span class="mw-headline" id="Adding_groups">Adding groups</span>
|
||||
</h2>
|
||||
<p>
|
||||
To add a group, add a new section for <code>add_grp</code>
|
||||
</p>
|
||||
<p>
|
||||
For example, to add a new group called pages, do the following:
|
||||
</p>
|
||||
<div class="mw-highlight">
|
||||
<pre style="overflow:auto">
|
||||
add_grp('my_custom_namespace.my_custom_group_key', 'Pages', 'p', 'help/about.png') {
|
||||
}
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
</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="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'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>
|
||||
</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="" title="Support XOWA! (but only after you've supported archive.org and Wikipedia)">XOWA</a></li> -->
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
208
home/wiki/App/UI/Printing.html
Normal file
208
home/wiki/App/UI/Printing.html
Normal file
@@ -0,0 +1,208 @@
|
||||
<!DOCTYPE html>
|
||||
<html dir="ltr">
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
|
||||
<title>App/UI/Printing - 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">
|
||||
<style>
|
||||
.console {font-family: monospace; color: #EEEEEE ; background-color: black ; border: medium solid black;}
|
||||
.code
|
||||
,.path
|
||||
,.url {font-family: monospace; color: black ; background-color: #f9f9f9 ; border: medium solid #f9f9f9;}
|
||||
.bold {font-weight: 900;}
|
||||
</style>
|
||||
<style>
|
||||
.console {font-family: monospace; color: #EEEEEE ; background-color: black ; border: medium solid black;}
|
||||
.code
|
||||
,.path
|
||||
,.url {font-family: monospace; color: black ; background-color: #f9f9f9 ; border: medium solid #f9f9f9;}
|
||||
.bold {font-weight: 900;}
|
||||
</style>
|
||||
|
||||
</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/UI/Printing</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">
|
||||
|
||||
<p>
|
||||
This bug was fixed as of v2.6.5. This page is provided for historical reasons.
|
||||
</p>
|
||||
<hr>
|
||||
<p>
|
||||
XOWA currently does not support printing by default. This limitation is due to an underlying bug in the SWT HTML browser: <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=376358" rel="nofollow" class="external free">https://bugs.eclipse.org/bugs/show_bug.cgi?id=376358</a>
|
||||
</p>
|
||||
<h2>
|
||||
<span class="mw-headline" id="Printing_after_saving_to_a_file">Printing after saving to a file</span>
|
||||
</h2>
|
||||
<p>
|
||||
The simplest way to print a document is to do the following:
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
Right-click anywhere in the HTML box
|
||||
</li>
|
||||
<li>
|
||||
Choose File -> Save As
|
||||
</li>
|
||||
<li>
|
||||
Save the file
|
||||
</li>
|
||||
<li>
|
||||
Open the file in Mozilla Firefox
|
||||
</li>
|
||||
<li>
|
||||
Choose File -> Print
|
||||
</li>
|
||||
</ul>
|
||||
<h2>
|
||||
<span class="mw-headline" id="Printing_directly_from_XOWA">Printing directly from XOWA</span>
|
||||
</h2>
|
||||
<p>
|
||||
If you want to print directly from XOWA, you will need to do extra configuration.
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
Find your prefs.js file
|
||||
</li>
|
||||
</ul>
|
||||
<dl>
|
||||
<dd>
|
||||
On Linux, the folder would be <span class='path'>/home/your_user_name/.mozilla/eclipse</span>
|
||||
</dd>
|
||||
<dd>
|
||||
On Windows XP, the folder would be <span class='path'>C:\Documents and Settings\your_user_name\Application Data\Mozilla\eclipse</span>
|
||||
</dd>
|
||||
<dd>
|
||||
On Windows 7, the folder would be <span class='path'>C:\Users\your_user_name\Application Data\Mozilla\eclipse</span>
|
||||
</dd>
|
||||
</dl>
|
||||
<ul>
|
||||
<li>
|
||||
Open the file with a text-editor (Notepad++ on Windows)
|
||||
</li>
|
||||
<li>
|
||||
Add the following to the bottom of the file: <span class="code">user_pref("print.show_print_progress", false);</span>
|
||||
</li>
|
||||
<li>
|
||||
Restart XOWA
|
||||
</li>
|
||||
<li>
|
||||
Go to <a href="http://xowa.org/home/wiki/Options/Menus.html" id="xolnki_2" title="Options/Menus" class="xowa-visited">Options/Menus</a>
|
||||
</li>
|
||||
<li>
|
||||
Add the following line: <span class="code">add_btn_default('xowa.file.print');</span>
|
||||
</li>
|
||||
<li>
|
||||
Click Save in the upper left-hand corner
|
||||
</li>
|
||||
<li>
|
||||
Right-click and choose Print
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
</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="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'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>
|
||||
</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="" title="Support XOWA! (but only after you've supported archive.org and Wikipedia)">XOWA</a></li> -->
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
230
home/wiki/App/UI/Tabs.html
Normal file
230
home/wiki/App/UI/Tabs.html
Normal file
@@ -0,0 +1,230 @@
|
||||
<!DOCTYPE html>
|
||||
<html dir="ltr">
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
|
||||
<title>App/UI/Tabs - 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/UI/Tabs</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">
|
||||
|
||||
<p>
|
||||
As of v1.5.1, XOWA provides a tab interface.
|
||||
</p>
|
||||
<h2>
|
||||
<span class="mw-headline" id="Notes">Notes</span>
|
||||
</h2>
|
||||
<ul>
|
||||
<li>
|
||||
Tab commands can be activated from the following:
|
||||
<ul>
|
||||
<li>
|
||||
Main menu
|
||||
</li>
|
||||
<li>
|
||||
Context menu (right click menu)
|
||||
</li>
|
||||
<li>
|
||||
Keyboard shortcuts
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
Tabs can be reordered by the following:
|
||||
<ul>
|
||||
<li>
|
||||
Using the keyboard shortcuts for <code>Move tab left</code> and <code>Move tab right</code>
|
||||
</li>
|
||||
<li>
|
||||
Clicking on a tab and dragging it left or right
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
New tabs are automatically added to the end of the list -- after the right-most tab.
|
||||
</li>
|
||||
<li>
|
||||
Tab functionality will be enhanced in later v1.5.* releases.
|
||||
</li>
|
||||
<li>
|
||||
Tab configuration is available at <a href="http://xowa.org/home/wiki/Options/Tabs.html" id="xolnki_2" title="Options/Tabs">Options/Tabs</a>
|
||||
</li>
|
||||
</ul>
|
||||
<h2>
|
||||
<span class="mw-headline" id="Shortcuts">Shortcuts</span>
|
||||
</h2>
|
||||
<table class="wikitable">
|
||||
<tr>
|
||||
<th>
|
||||
Name
|
||||
</th>
|
||||
<th>
|
||||
Shortcut
|
||||
</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
New Tab
|
||||
</td>
|
||||
<td>
|
||||
Control + t
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
Close Current Tab
|
||||
</td>
|
||||
<td>
|
||||
Control + w
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
Switch to next tab
|
||||
</td>
|
||||
<td>
|
||||
Control + Tab; Control + PageDown
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
Switch to previous tab
|
||||
</td>
|
||||
<td>
|
||||
Control + Shift + Tab; Control + PageUp
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
Move tab left
|
||||
</td>
|
||||
<td>
|
||||
Alt + PageDown
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
Move tab right
|
||||
</td>
|
||||
<td>
|
||||
Alt + PageUp
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
Open link in new tab
|
||||
</td>
|
||||
<td>
|
||||
MiddleClick
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</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="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'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>
|
||||
</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="" title="Support XOWA! (but only after you've supported archive.org and Wikipedia)">XOWA</a></li> -->
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user