Options/Wiki/HTML
Portal
Controls the appearance of the Talk tab (right of Page tab):
- XOWA shows a Talk tab just like any other MediaWiki wiki
- However, the default wiki dumps (pages-articles) do not have the Talk namespace. In these situations, the Talk tab is non-functional.
- Some users may object to the continual presence of a non-functional tab. As such, the following options have been provided:
- Hide : Hide the tab if the namespace is missing. This is non-standard MediaWiki behavior, but is not distracting.
- Show as red link : Show the tab with a red color. This is standard MediaWiki behavior, but some users may find the red link distracting.
- Show as blue link : Show the tab with a blue color. This is non-standard MediaWiki behavior. It is not distracting but some users may object to the presence of a non-functional link.
Content
Enter a format for pages whose content is entirely source code:
Applicable pages include:
- MediaWiki:Common.css
- MediaWiki:*.js
- Module:*
The purpose of this option is to control the behavior of the pre when the page has source code with long lines. Example behaviors include:
- Horizontal scroll bar at bottom of html window: <pre>~{page_text}</pre>
- Horizontal scroll bar at bottom of pre: <pre style='overflow:auto'>~{page_text}</pre>
- Word-wrap: <pre style='white-space: pre-wrap; word-wrap: break-word;'>~{page_text}</pre>
See https://bugzilla.wikimedia.org/show_bug.cgi?id=260 for more context
Alt text
(obsolete): This setting controls whether or not the "alt" is actually inserted into the HTML. Compare that with "Show in html" which merely hides the already-inserted alt
Advanced users may want to disable this to reduce the size of the HTML. Regular users should use the "Show in html" option
Choose one of the following:
- checked : show alt text underneath caption (default. non-standard behavior, but recommended)
- unchecked : do not show alt text underneath caption (standard behavior)
Choose one of the following:
- checked : if no alt attribute is specified, alt will use caption
- unchecked : if no alt attribute is specified, alt will be empty (check the HTML source)
Choose one of the following:
- checked : show alt text underneath caption (default. non-standard behavior, but recommended)
- unchecked : do not show alt text underneath caption (standard behavior)
Collapsible
Collapsible settings only apply to the current viewing of the page. This setting is not stored for each page.
For example, if you are viewing "Page_A", you set your table of contents (TOC) setting to unchecked (always show), and you click "hide":
- Click a link -> Press back -> TOC is shown, not hidden
- Exit XOWA -> Reopen XOWA -> Go to "Page_A" -> TOC is shown, not hidden
Saving the hide/show setting on a page by page basis will be supported in a future version, but probably not anytime soon.
All table of contents have a Show / Hide link. See Diagnostics/Javascript/Table_of_contents
Choose one of the following:
- checked : default to show collapsed
- unchecked : default to show expanded