mirror of
https://github.com/gnosygnu/xowa.git
synced 2024-10-27 20:34:16 +00:00
470 lines
22 KiB
HTML
470 lines
22 KiB
HTML
<!DOCTYPE html>
|
|
<html dir="ltr">
|
|
<head>
|
|
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
|
|
<title>Options/Startup - 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>Options/Startup</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='xocfg_body'>
|
|
<div id='xocfg_err'>
|
|
</div>
|
|
<div>
|
|
<span class='xoimg_btn_x16 xoimg_help_tip' href='javascript:void(0)' onclick='return xo.cfg_edit.help__toggle_all()' title='toggle all help'> </span> <select id='xocfg_nav_select' onchange='xo.cfg_edit.select__send(this);' onkeyup='xo.cfg_edit.select__by_keypress(event, this);' accesskey='l'>
|
|
<option value='xowa.app.security'>
|
|
App - Security
|
|
</option>
|
|
<option value='xowa.app.startup' selected='selected'>
|
|
App - Startup
|
|
</option>
|
|
<option value='xowa.gui.general'>
|
|
Gui - General
|
|
</option>
|
|
<option value='xowa.gui.tabs'>
|
|
Gui - Tabs
|
|
</option>
|
|
<option value='xowa.gui.url_bar'>
|
|
Gui - Address bar
|
|
</option>
|
|
<option value='xowa.gui.menus'>
|
|
Gui - Menus
|
|
</option>
|
|
<option value='xowa.gui.shortcuts'>
|
|
Gui - Shortcuts
|
|
</option>
|
|
<option value='xowa.wiki.hdumps'>
|
|
Wiki - HTML Databases
|
|
</option>
|
|
<option value='xowa.wiki.edit'>
|
|
Wiki - Editing
|
|
</option>
|
|
<option value='xowa.bldr.general'>
|
|
Import - General
|
|
</option>
|
|
<option value='xowa.bldr.db'>
|
|
Import - Database
|
|
</option>
|
|
<option value='xowa.bldr.page_sync'>
|
|
Import - Page sync
|
|
</option>
|
|
<option value='xowa.bldr.dansguardian'>
|
|
Import - Dansguardian
|
|
</option>
|
|
<option value='xowa.html.css'>
|
|
HTML - CSS
|
|
</option>
|
|
<option value='xowa.html.page'>
|
|
HTML - Page
|
|
</option>
|
|
<option value='xowa.html.tidy'>
|
|
HTML - Tidy
|
|
</option>
|
|
<option value='xowa.html.scripting'>
|
|
HTML - Scripting
|
|
</option>
|
|
<option value='xowa.files.general'>
|
|
Files - General
|
|
</option>
|
|
<option value='xowa.files.apps'>
|
|
Files - Apps
|
|
</option>
|
|
<option value='xowa.addon.search'>
|
|
Addon - Search
|
|
</option>
|
|
<option value='xowa.addon.category'>
|
|
Addon - Category
|
|
</option>
|
|
<option value='xowa.addon.http_server'>
|
|
Addon - HTTP Server
|
|
</option>
|
|
<option value='xowa.addon.scribunto'>
|
|
Addon - Scribunto
|
|
</option>
|
|
<option value='xowa.addon.math'>
|
|
Addon - Math
|
|
</option>
|
|
<option value='xowa.addon.score'>
|
|
Addon - Score
|
|
</option>
|
|
<option value='xowa.addon.popups'>
|
|
Addon - Popups
|
|
</option>
|
|
<option value='xowa.addon.wikibase'>
|
|
Addon - Wikidata
|
|
</option>
|
|
<option value='xowa.dev.general'>
|
|
Dev - General
|
|
</option>
|
|
</select>
|
|
</div>
|
|
<div id='cfg_grps'>
|
|
<div>
|
|
<p id='page_help_para'>
|
|
</p>
|
|
</div>
|
|
<h2>
|
|
Window
|
|
</h2>
|
|
<div class="xocfg_row flex_div">
|
|
<div class='xocfg_itm_help'>
|
|
<span class='xoimg_btn_x16 xoimg_help_tip' href='javascript:void(0)' onclick='return xo.help.toggle("xowa.app.startup.window.mode")' title='view more info'> </span>
|
|
</div>
|
|
<div id='xowa.app.startup.window.mode__name' class='xocfg_itm_name'>
|
|
Window Mode
|
|
</div>
|
|
<div id='xowa.app.startup.window.mode__undo' data-xocfg-type='list:xowa.app.startup.window.mode' class='xocfg_itm_delete xocfg_itm_hide'>
|
|
<span class='xoimg_btn_x16 xoimg_list_undo' onclick='return xo.cfg_edit.delete__send("xowa.app.startup.window.mode")' title="reset to "previous""> </span>
|
|
</div>
|
|
<div class='xocfg_itm_data'>
|
|
<select id="xowa.app.startup.window.mode" data-xocfg-key="xowa.app.startup.window.mode" data-xocfg-type="list:xowa.app.startup.window.mode" accesskey="d" class="xocfg_data__list" size="5">
|
|
<option value="previous" selected="selected">
|
|
previous
|
|
</option>
|
|
<option value="maximized">
|
|
maximized
|
|
</option>
|
|
<option value="absolute">
|
|
absolute
|
|
</option>
|
|
<option value="relative">
|
|
relative
|
|
</option>
|
|
<option value="default">
|
|
default
|
|
</option>
|
|
</select>
|
|
</div><input type='hidden' id='xowa.app.startup.window.mode__key_box' value='xowa.app.startup.window.mode'> <input type='hidden' id='xowa.app.startup.window.mode__ctx_box' value='app'>
|
|
</div>
|
|
<div id='xowa.app.startup.window.mode_help_div' class='xohelp_div'>
|
|
<div id='xowa.app.startup.window.mode_help_msg' class='xohelp_msg'>
|
|
<p>
|
|
Choose one of the following:
|
|
</p>
|
|
<ul>
|
|
<li>
|
|
<b>previous</b>: window starts at same rect as previous session (default)
|
|
</li>
|
|
<li>
|
|
<b>maximized</b>: window always starts maximized
|
|
</li>
|
|
<li>
|
|
<b>absolute</b>: window bounds are set to rect below
|
|
</li>
|
|
<li>
|
|
<b>relative</b>: window starts at full screen, and then adjusted by rect below
|
|
</li>
|
|
<li>
|
|
<b>default</b>: window starts at default rect (determined by operating system)
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div class="xocfg_row flex_div">
|
|
<div class='xocfg_itm_help'>
|
|
<span class='xoimg_btn_x16 xoimg_help_tip' href='javascript:void(0)' onclick='return xo.help.toggle("xowa.app.startup.window.manual_rect")' title='view more info'> </span>
|
|
</div>
|
|
<div id='xowa.app.startup.window.manual_rect__name' class='xocfg_itm_name'>
|
|
Window Size
|
|
</div>
|
|
<div id='xowa.app.startup.window.manual_rect__undo' data-xocfg-type='string' class='xocfg_itm_delete xocfg_itm_hide'>
|
|
<span class='xoimg_btn_x16 xoimg_list_undo' onclick='return xo.cfg_edit.delete__send("xowa.app.startup.window.manual_rect")' title="reset to "0,0,800,640""> </span>
|
|
</div>
|
|
<div class='xocfg_itm_data'>
|
|
<input id="xowa.app.startup.window.manual_rect" data-xocfg-key="xowa.app.startup.window.manual_rect" data-xocfg-type="string" accesskey="d" class="xocfg_data__str" type="text" value="0,0,800,640">
|
|
</div><input type='hidden' id='xowa.app.startup.window.manual_rect__key_box' value='xowa.app.startup.window.manual_rect'> <input type='hidden' id='xowa.app.startup.window.manual_rect__ctx_box' value='app'>
|
|
</div>
|
|
<div id='xowa.app.startup.window.manual_rect_help_div' class='xohelp_div'>
|
|
<div id='xowa.app.startup.window.manual_rect_help_msg' class='xohelp_msg'>
|
|
<p>
|
|
Enter 'x,y,w,h' numbers separated by commas. Note that this setting is used in conjunction with 'Window Mode'
|
|
</p>
|
|
<ul>
|
|
<li>
|
|
<b>absolute</b>: absolute rect of window; EX: 0,0,1280,1024 means x=0 y=0 w=1280 h=1024
|
|
</li>
|
|
<li>
|
|
<b>relative</b>: relative adjustment to full screen size; EX: 20,20,-20,-20 on an 1280,1024 screen will yield a rect of x=20 y=20 w=1260 h=1004
|
|
</li>
|
|
<li>
|
|
<b>previous</b>, <b>maximized</b>, <b>default</b>: does nothing
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div class="xocfg_row flex_div">
|
|
<div class='xocfg_itm_help'>
|
|
<span class='xoimg_btn_x16 xoimg_help_tip' href='javascript:void(0)' onclick='return xo.help.toggle("xowa.app.startup.window.manual_safe")' title='view more info'> </span>
|
|
</div>
|
|
<div id='xowa.app.startup.window.manual_safe__name' class='xocfg_itm_name'>
|
|
Safe Mode
|
|
</div>
|
|
<div id='xowa.app.startup.window.manual_safe__undo' data-xocfg-type='bool' class='xocfg_itm_delete xocfg_itm_hide'>
|
|
<span class='xoimg_btn_x16 xoimg_list_undo' onclick='return xo.cfg_edit.delete__send("xowa.app.startup.window.manual_safe")' title="reset to "y""> </span>
|
|
</div>
|
|
<div class='xocfg_itm_data'>
|
|
<input id="xowa.app.startup.window.manual_safe" data-xocfg-key="xowa.app.startup.window.manual_safe" data-xocfg-type="bool" accesskey="d" class="xocfg_data__bool" type="checkbox" checked="checked">
|
|
</div><input type='hidden' id='xowa.app.startup.window.manual_safe__key_box' value='xowa.app.startup.window.manual_safe'> <input type='hidden' id='xowa.app.startup.window.manual_safe__ctx_box' value='app'>
|
|
</div>
|
|
<div id='xowa.app.startup.window.manual_safe_help_div' class='xohelp_div'>
|
|
<div id='xowa.app.startup.window.manual_safe_help_msg' class='xohelp_msg'>
|
|
<p>
|
|
Choose one of the following:
|
|
</p>
|
|
<ul>
|
|
<li>
|
|
<b>checked</b>: prevents window that would be located off screen; EX: x=-9999 or y=9999
|
|
</li>
|
|
<li>
|
|
<b>unchecked</b>: allows off-screen rect.<br>
|
|
</li>
|
|
</ul>
|
|
<p>
|
|
NOTE: if you create an unviewable rect you will need to edit the options file
|
|
</p>
|
|
</div>
|
|
</div>
|
|
<h2>
|
|
Tabs
|
|
</h2>
|
|
<div class="xocfg_row flex_div">
|
|
<div class='xocfg_itm_help'>
|
|
<span class='xoimg_btn_x16 xoimg_help_tip' href='javascript:void(0)' onclick='return xo.help.toggle("xowa.app.startup.tabs.type")' title='view more info'> </span>
|
|
</div>
|
|
<div id='xowa.app.startup.tabs.type__name' class='xocfg_itm_name'>
|
|
Startup type
|
|
</div>
|
|
<div id='xowa.app.startup.tabs.type__undo' data-xocfg-type='list:xowa.app.startup.pages.type' class='xocfg_itm_delete xocfg_itm_hide'>
|
|
<span class='xoimg_btn_x16 xoimg_list_undo' onclick='return xo.cfg_edit.delete__send("xowa.app.startup.tabs.type")' title="reset to "previous""> </span>
|
|
</div>
|
|
<div class='xocfg_itm_data'>
|
|
<select id="xowa.app.startup.tabs.type" data-xocfg-key="xowa.app.startup.tabs.type" data-xocfg-type="list:xowa.app.startup.pages.type" accesskey="d" class="xocfg_data__list" size="4">
|
|
<option value="blank">
|
|
blank
|
|
</option>
|
|
<option value="xowa">
|
|
xowa
|
|
</option>
|
|
<option value="previous" selected="selected">
|
|
previous
|
|
</option>
|
|
<option value="custom">
|
|
custom
|
|
</option>
|
|
</select>
|
|
</div><input type='hidden' id='xowa.app.startup.tabs.type__key_box' value='xowa.app.startup.tabs.type'> <input type='hidden' id='xowa.app.startup.tabs.type__ctx_box' value='app'>
|
|
</div>
|
|
<div id='xowa.app.startup.tabs.type_help_div' class='xohelp_div'>
|
|
<div id='xowa.app.startup.tabs.type_help_msg' class='xohelp_msg'>
|
|
<p>
|
|
Choose a startup page from one of the following:
|
|
</p>
|
|
<ul>
|
|
<li>
|
|
<b>blank</b>: one tab loads and it is set to blank (Special:XowaDefaultTab)
|
|
</li>
|
|
<li>
|
|
<b>xowa</b> : one tab loads and it is set to the XOWA home page (home/wiki/Main_Page)
|
|
</li>
|
|
<li>
|
|
<b>previous</b>: all opened pages from the previous session loads. For example, if "en.w:Earth" and "en.w:Moon" were open when XOWA was last closed, these tabs will be reopened
|
|
</li>
|
|
<li>
|
|
<b>custom</b>: all pages specified in the custom box will load
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div class="xocfg_row flex_div">
|
|
<div class='xocfg_itm_help'>
|
|
<span class='xoimg_btn_x16 xoimg_help_tip' href='javascript:void(0)' onclick='return xo.help.toggle("xowa.app.startup.tabs.custom")' title='view more info'> </span>
|
|
</div>
|
|
<div id='xowa.app.startup.tabs.custom__name' class='xocfg_itm_name'>
|
|
Custom pages
|
|
</div>
|
|
<div id='xowa.app.startup.tabs.custom__undo' data-xocfg-type='memo' class='xocfg_itm_delete xocfg_itm_hide'>
|
|
<span class='xoimg_btn_x16 xoimg_list_undo' onclick='return xo.cfg_edit.delete__send("xowa.app.startup.tabs.custom")' title="reset to """> </span>
|
|
</div>
|
|
<div class='xocfg_itm_data'>
|
|
<textarea id="xowa.app.startup.tabs.custom" data-xocfg-key="xowa.app.startup.tabs.custom" data-xocfg-type="memo" accesskey="d" class="xocfg_data__memo" rows="4">
|
|
</textarea>
|
|
</div><input type='hidden' id='xowa.app.startup.tabs.custom__key_box' value='xowa.app.startup.tabs.custom'> <input type='hidden' id='xowa.app.startup.tabs.custom__ctx_box' value='app'>
|
|
</div>
|
|
<div id='xowa.app.startup.tabs.custom_help_div' class='xohelp_div'>
|
|
<div id='xowa.app.startup.tabs.custom_help_msg' class='xohelp_msg'>
|
|
<p>
|
|
Specify custom pages to show on startup:
|
|
</p>
|
|
<ul>
|
|
<li>
|
|
This option only applies if <code>custom</code> is selected for type.<br>
|
|
</li>
|
|
</ul>
|
|
<p>
|
|
Also, note the following:
|
|
</p>
|
|
<ul>
|
|
<li>
|
|
Aliases can be used. For example, "en.w:Earth" is a shortcut for "en.wikipedia.org/wiki/Earth"
|
|
</li>
|
|
<li>
|
|
Multiple pages are separated by new lines. For example, the following will load 2 tabs:
|
|
</li>
|
|
</ul>
|
|
<pre>
|
|
en.w:Earth
|
|
en.w:Moon
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
<h2>
|
|
Advanced
|
|
</h2>
|
|
<div class="xocfg_row flex_div">
|
|
<div class='xocfg_itm_help'>
|
|
<span class='xoimg_btn_x16 xoimg_help_tip' href='javascript:void(0)' onclick='return xo.help.toggle("xowa.app.startup.script")' title='view more info'> </span>
|
|
</div>
|
|
<div id='xowa.app.startup.script__name' class='xocfg_itm_name'>
|
|
Script
|
|
</div>
|
|
<div id='xowa.app.startup.script__undo' data-xocfg-type='memo' class='xocfg_itm_delete xocfg_itm_hide'>
|
|
<span class='xoimg_btn_x16 xoimg_list_undo' onclick='return xo.cfg_edit.delete__send("xowa.app.startup.script")' title="reset to """> </span>
|
|
</div>
|
|
<div class='xocfg_itm_data'>
|
|
<textarea id="xowa.app.startup.script" data-xocfg-key="xowa.app.startup.script" data-xocfg-type="memo" accesskey="d" class="xocfg_data__memo" rows="4">
|
|
</textarea>
|
|
</div><input type='hidden' id='xowa.app.startup.script__key_box' value='xowa.app.startup.script'> <input type='hidden' id='xowa.app.startup.script__ctx_box' value='app'>
|
|
</div>
|
|
<div id='xowa.app.startup.script_help_div' class='xohelp_div'>
|
|
<div id='xowa.app.startup.script_help_msg' class='xohelp_msg'>
|
|
<p>
|
|
Enter custom configuration.
|
|
</p>
|
|
<ul>
|
|
<li>
|
|
These scripts will run after the application starts up. They will also run whenever you click Save on this page.
|
|
</li>
|
|
<li>
|
|
These scripts are intended for advanced users. They are in the format of .gfs statements (for examples, see /xowa/xowa.gfs). Please do not enter scripts unless instructed, or else XOWA may fail to start up.
|
|
</li>
|
|
<li>
|
|
These scripts are saved to /xowa/user/anonymous/data/cfg/user_custom_cfg.gfs. If XOWA fails to start up, simply delete the file.
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</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="https://www.youtube.com/watch?v=q0qbXYXEH6M" title="See a video of XOWA Desktop in action">Video</a></li>
|
|
<li><a href="http://xowa.org/home/wiki/Help/Download_XOWA.html" title='Download the XOWA application'>Download XOWA</a></li>
|
|
<li><a href="http://xowa.org/home/wiki/Dashboard/Image_databases.html" title='Download offline wikis and image databases'>Download wikis</a></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="portal" id='xowa-portal-started'>
|
|
<h3>Getting started</h3>
|
|
<div class="body">
|
|
<ul>
|
|
<li><a href="http://xowa.org/home/wiki/App/Setup/System_requirements.html" title='Get XOWA's system requirements'>Requirements</a></li>
|
|
<li><a href="http://xowa.org/home/wiki/App/Setup/Installation.html" title='Get instructions for installing XOWA'>Installation</a></li>
|
|
<li><a href="http://xowa.org/home/wiki/App/Import/Simple_Wikipedia.html" title='Learn how to set up Simple Wikipedia'>Simple Wikipedia</a></li>
|
|
<li><a href="http://xowa.org/home/wiki/App/Import/English_Wikipedia.html" title='Learn how to set up English Wikipedia'>English Wikipedia</a></li>
|
|
<li><a href="http://xowa.org/home/wiki/App/Import/Other_wikis.html" title='Learn how to set up other Wikipedias'>Other Wikipedias</a></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="portal" id='xowa-portal-android'>
|
|
<h3>Android</h3>
|
|
<div class="body">
|
|
<ul>
|
|
<li><a href="http://xowa.org/home/wiki/Android/Setup.html" title='Setup XOWA on your Android device'>Setup</a></li>
|
|
<li><a href="https://www.youtube.com/watch?v=jsMTBxGweUw" title="See a video of XOWA Android in action">Video</a></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="portal" id='xowa-portal-help'>
|
|
<h3>Help</h3>
|
|
<div class="body">
|
|
<ul>
|
|
<li><a href="http://xowa.org/home/wiki/Help/About.html" title='Get more information about XOWA'>About</a></li>
|
|
<li><a href="http://xowa.org/home/wiki/Help/Contents.html" title='View a list of help topics'>Contents</a></li>
|
|
<li><a href="http://xowa.org/home/wiki/Help/Media.html" title='Read what others have written about XOWA'>Media</a></li>
|
|
<li><a href="http://xowa.org/home/wiki/Help/Feedback.html" title='Questions? Comments? Leave feedback for XOWA'>Feedback</a></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="portal" id='xowa-portal-blog'>
|
|
<h3>Blog</h3>
|
|
<div class="body">
|
|
<ul>
|
|
<li><a href="http://xowa.org/home/wiki/Blog.html" title='Follow XOWA''s development process'>Current</a></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="portal" id='xowa-portal-links'>
|
|
<h3>Links</h3>
|
|
<div class="body">
|
|
<ul>
|
|
<li><a href="http://dumps.wikimedia.org/backup-index.html" title="Get wiki datababase dumps directly from Wikimedia">Wikimedia dumps</a></li>
|
|
<li><a href="https://archive.org/search.php?query=xowa" title="Search archive.org for XOWA files">XOWA @ archive.org</a></li>
|
|
<li><a href="http://en.wikipedia.org" title="Visit Wikipedia (and compare to XOWA!)">English Wikipedia</a></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="portal" id='xowa-portal-donate'>
|
|
<h3>Donate</h3>
|
|
<div class="body">
|
|
<ul>
|
|
<li><a href="https://archive.org/donate/index.php" title="Support archive.org!">archive.org</a></li><!-- listed first due to recent fire damages: http://blog.archive.org/2013/11/06/scanning-center-fire-please-help-rebuild/ -->
|
|
<li><a href="https://donate.wikimedia.org/wiki/Special:FundraiserRedirector" title="Support Wikipedia!">Wikipedia</a></li>
|
|
<!-- <li><a href="" title="Support XOWA! (but only after you've supported archive.org and Wikipedia)">XOWA</a></li> -->
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
</body>
|
|
</html> |