Options/Config script

From XOWA: the free, open-source, offline wiki application
 

Window

 
Window Mode
 

Choose one of the following:

  • previous: window starts at same rect as previous session (default)
  • maximized: window always starts maximized
  • absolute: window bounds are set to rect below
  • relative: window starts at full screen, and then adjusted by rect below
  • default: window starts at default rect (determined by operating system)
 
Window Size
 

Enter 'x,y,w,h' numbers separated by commas. Note that this setting is used in conjunction with 'Window Mode'

  • absolute: absolute rect of window; EX: 0,0,1280,1024 means x=0 y=0 w=1280 h=1024
  • relative: 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
  • previous, maximized, default: does nothing
 
Safe Mode
 

Choose one of the following:

  • checked: prevents window that would be located off screen; EX: x=-9999 or y=9999
  • unchecked: allows off-screen rect.

NOTE: if you create an unviewable rect you will need to edit the options file

Tabs

 
Startup type
 

Choose a startup page from one of the following:

  • blank: one tab loads and it is set to blank (Special:XowaDefaultTab)
  • xowa : one tab loads and it is set to the XOWA home page (home/wiki/Main_Page)
  • previous: 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
  • custom: all pages specified in the custom box will load
 
Custom pages
 

Specify custom pages to show on startup:

  • This option only applies if custom is selected for type.

Also, note the following:

  • Aliases can be used. For example, "en.w:Earth" is a shortcut for "en.wikipedia.org/wiki/Earth"
  • Multiple pages are separated by new lines. For example, the following will load 2 tabs:
en.w:Earth
en.w:Moon

Advanced

 
Script
 

Enter custom configuration.

  • These scripts will run after the application starts up. They will also run whenever you click Save on this page.
  • 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.
  • These scripts are saved to /xowa/user/anonymous/data/cfg/user_custom_cfg.gfs. If XOWA fails to start up, simply delete the file.

Namespaces

XOWA

Getting started

Android

Help

Blog

Donate