1
0
mirror of https://github.com/gnosygnu/xowa.git synced 2026-03-02 03:49:30 +00:00

Refactor: Pull more classes into baselib

This commit is contained in:
gnosygnu
2021-12-19 16:19:19 -05:00
parent 48559edffe
commit 0e80d7ef6d
7999 changed files with 1375876 additions and 1365947 deletions

View File

@@ -1,58 +1,58 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
<!--
NOTE: this page loads local files
- Chrome is the easiest browser for local files; Use "chrome.exe --disable-web-security"
- Change C:/xowa/ to wherever it is on your system
-->
<!-- base -->
<base href="file:///C:/xowa/" target="_blank">
<!-- css -->
<link type="text/css" rel="stylesheet" href="bin/any/xowa/html/res/lib/alertify/themes/alertify.core.css">
<link type="text/css" rel="stylesheet" href="bin/any/xowa/html/res/lib/alertify/themes/alertify.bootstrap.css">
<link type="text/css" rel="stylesheet" href="bin/any/xowa/html/res/src/xowa/xocss/core/xocss_core-0.0.1.css">
<link type="text/css" rel="stylesheet" href="bin/any/xowa/html/res/src/xowa/xocss/core/xoimg_core-0.0.1.css">
<link type="text/css" rel="stylesheet" href="bin/any/xowa/html/res/src/xowa/xocss/help/xohelp-0.0.1.css">
<link type="text/css" rel="stylesheet" href="bin/any/xowa/addon/bldr/central/js/xo.log.css">
<link type="text/css" rel="stylesheet" href="bin/any/xowa/addon/bldr/central/bin/xobc.css">
<!-- js -->
<script type="text/javascript" src="bin/any/xowa/html/res/lib/alertify/lib/alertify-0.3.11.js"></script>
<script type="text/javascript" src="bin/any/xowa/html/res/lib/alertify/lib/xo-alertify-0.0.1.js"></script>
<script type="text/javascript" src="bin/any/xowa/html/res/lib/mustache/mustache-2.2.1.js"></script>
<script type="text/javascript" src="bin/any/xowa/html/res/lib/jquery/jquery-1.11.3.js"></script>
<script type="text/javascript" src="bin/any/xowa/html/res/src/xowa/xocss/help/xohelp-0.0.1.js"></script>
<script type="text/javascript" src="bin/any/xowa/html/res/lib/notifyjs/notifyjs-0.3.1.js"></script>
</head>
<body>
<div id='bldr_body' class='bldr_body'></div>
</body>
<!-- js -->
<script type="text/javascript" src="bin/any/xowa/addon/bldr/central/js/xo.log.js"></script>
<script type="text/javascript" src="bin/any/xowa/addon/bldr/central/js/xo.app.js"></script>
<script type="text/javascript" src="bin/any/xowa/addon/bldr/central/js/xo.app.swt.js"></script>
<script type="text/javascript" src="bin/any/xowa/addon/bldr/central/js/xo.elem.js"></script>
<script type="text/javascript" src="bin/any/xowa/addon/bldr/central/js/xo.tmpl.js"></script>
<script type="text/javascript" src="bin/any/xowa/addon/bldr/central/js/xo.notify.js"></script>
<script type="text/javascript" src="bin/any/xowa/addon/bldr/central/js/xo.server.js"></script>
<script>
xo.app.mode = 'swt';
</script>
<script type="text/javascript" src="bin/any/xowa/addon/bldr/central/js/xobc.util.js"></script>
<script type="text/javascript" src="bin/any/xowa/addon/bldr/central/js/xobc.localfile.js"></script>
<script>
xo.mode_is_debug = true;
xo.tmpl.load_many('bin/any/xowa/addon/bldr/central/bin/', 'xobc.main', 'xobc.row');
setTimeout(function() {
xo.tmpl.fmt('xobc.main', xo.elem.get('bldr_body'), {});
}, 0);
setTimeout(function() {
xo.bldr.core.reload__send();
// xo.bldr.todo.add_work__send('s.w-2016.03-file');
}, 600);
</script>
<script type="text/javascript" src="bin/any/xowa/addon/bldr/central/js/xobc.js"></script>
</html>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
<!--
NOTE: this page loads local files
- Chrome is the easiest browser for local files; Use "chrome.exe --disable-web-security"
- Change C:/xowa/ to wherever it is on your system
-->
<!-- base -->
<base href="file:///C:/xowa/" target="_blank">
<!-- css -->
<link type="text/css" rel="stylesheet" href="bin/any/xowa/html/res/lib/alertify/themes/alertify.core.css">
<link type="text/css" rel="stylesheet" href="bin/any/xowa/html/res/lib/alertify/themes/alertify.bootstrap.css">
<link type="text/css" rel="stylesheet" href="bin/any/xowa/html/res/src/xowa/xocss/core/xocss_core-0.0.1.css">
<link type="text/css" rel="stylesheet" href="bin/any/xowa/html/res/src/xowa/xocss/core/xoimg_core-0.0.1.css">
<link type="text/css" rel="stylesheet" href="bin/any/xowa/html/res/src/xowa/xocss/help/xohelp-0.0.1.css">
<link type="text/css" rel="stylesheet" href="bin/any/xowa/addon/bldr/central/js/xo.log.css">
<link type="text/css" rel="stylesheet" href="bin/any/xowa/addon/bldr/central/bin/xobc.css">
<!-- js -->
<script type="text/javascript" src="bin/any/xowa/html/res/lib/alertify/lib/alertify-0.3.11.js"></script>
<script type="text/javascript" src="bin/any/xowa/html/res/lib/alertify/lib/xo-alertify-0.0.1.js"></script>
<script type="text/javascript" src="bin/any/xowa/html/res/lib/mustache/mustache-2.2.1.js"></script>
<script type="text/javascript" src="bin/any/xowa/html/res/lib/jquery/jquery-1.11.3.js"></script>
<script type="text/javascript" src="bin/any/xowa/html/res/src/xowa/xocss/help/xohelp-0.0.1.js"></script>
<script type="text/javascript" src="bin/any/xowa/html/res/lib/notifyjs/notifyjs-0.3.1.js"></script>
</head>
<body>
<div id='bldr_body' class='bldr_body'></div>
</body>
<!-- js -->
<script type="text/javascript" src="bin/any/xowa/addon/bldr/central/js/xo.log.js"></script>
<script type="text/javascript" src="bin/any/xowa/addon/bldr/central/js/xo.app.js"></script>
<script type="text/javascript" src="bin/any/xowa/addon/bldr/central/js/xo.app.swt.js"></script>
<script type="text/javascript" src="bin/any/xowa/addon/bldr/central/js/xo.elem.js"></script>
<script type="text/javascript" src="bin/any/xowa/addon/bldr/central/js/xo.tmpl.js"></script>
<script type="text/javascript" src="bin/any/xowa/addon/bldr/central/js/xo.notify.js"></script>
<script type="text/javascript" src="bin/any/xowa/addon/bldr/central/js/xo.server.js"></script>
<script>
xo.app.mode = 'swt';
</script>
<script type="text/javascript" src="bin/any/xowa/addon/bldr/central/js/xobc.util.js"></script>
<script type="text/javascript" src="bin/any/xowa/addon/bldr/central/js/xobc.localfile.js"></script>
<script>
xo.mode_is_debug = true;
xo.tmpl.load_many('bin/any/xowa/addon/bldr/central/bin/', 'xobc.main', 'xobc.row');
setTimeout(function() {
xo.tmpl.fmt('xobc.main', xo.elem.get('bldr_body'), {});
}, 0);
setTimeout(function() {
xo.bldr.core.reload__send();
// xo.bldr.todo.add_work__send('s.w-2016.03-file');
}, 600);
</script>
<script type="text/javascript" src="bin/any/xowa/addon/bldr/central/js/xobc.js"></script>
</html>

View File

@@ -1,63 +1,63 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
<!--
NOTE: this page loads local files
- Chrome is the easiest browser for local files; Use "chrome.exe --disable-web-security"
- Change C:/xowa/ to wherever it is on your system
-->
<!-- base -->
<base href="file:///C:/xowa/" target="_blank">
<!-- css -->
<link type="text/css" rel="stylesheet" href="bin/any/xowa/html/res/lib/alertify/themes/alertify.core.css">
<link type="text/css" rel="stylesheet" href="bin/any/xowa/html/res/lib/alertify/themes/alertify.bootstrap.css">
<link type="text/css" rel="stylesheet" href="bin/any/xowa/html/res/src/xowa/xocss/core/xocss_core-0.0.1.css">
<link type="text/css" rel="stylesheet" href="bin/any/xowa/html/res/src/xowa/xocss/core/xoimg_core-0.0.1.css">
<link type="text/css" rel="stylesheet" href="bin/any/xowa/html/res/src/xowa/xocss/help/xohelp-0.0.1.css">
<link type="text/css" rel="stylesheet" href="bin/any/xowa/addon/bldr/info/bin/xobc_info.css">
<!-- js -->
<script type="text/javascript" src="bin/any/xowa/html/res/lib/alertify/lib/alertify-0.3.11.js"></script>
<script type="text/javascript" src="bin/any/xowa/html/res/lib/alertify/lib/xo-alertify-0.0.1.js"></script>
<script type="text/javascript" src="bin/any/xowa/html/res/lib/mustache/mustache-2.2.1.js"></script>
<script type="text/javascript" src="bin/any/xowa/html/res/lib/jquery/jquery-1.11.3.js"></script>
<script type="text/javascript" src="bin/any/xowa/html/res/src/xowa/xocss/help/xohelp-0.0.1.js"></script>
<script type="text/html" id="templates"></script>
<script type="text/javascript">
window.view = {
wiki_dir : 'wiki_dir'
, torrent : 'torrent_link'
, urls :
[
{ url : 'url1'
, size : '123 MB'
}
,
{ url : 'url2'
, size : '234 MB'
}
,
{ url : 'url3'
, size : '345 MB'
}
,
{ url : 'url4'
, size : '456 MB'
}
]
};
</script>
<script>
$("#templates").load("bin/any/xowa/addon/bldr/info/bin/xobc_info.mustache.html", function(response_txt, status_txt, xhr){
var template = response_txt;
var output = Mustache.render(template, window.view);
document.getElementById('main').innerHTML = output;
});
</script>
</head>
<body>
<div id='main' class='bldr_body'></div>
</body>
</html>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
<!--
NOTE: this page loads local files
- Chrome is the easiest browser for local files; Use "chrome.exe --disable-web-security"
- Change C:/xowa/ to wherever it is on your system
-->
<!-- base -->
<base href="file:///C:/xowa/" target="_blank">
<!-- css -->
<link type="text/css" rel="stylesheet" href="bin/any/xowa/html/res/lib/alertify/themes/alertify.core.css">
<link type="text/css" rel="stylesheet" href="bin/any/xowa/html/res/lib/alertify/themes/alertify.bootstrap.css">
<link type="text/css" rel="stylesheet" href="bin/any/xowa/html/res/src/xowa/xocss/core/xocss_core-0.0.1.css">
<link type="text/css" rel="stylesheet" href="bin/any/xowa/html/res/src/xowa/xocss/core/xoimg_core-0.0.1.css">
<link type="text/css" rel="stylesheet" href="bin/any/xowa/html/res/src/xowa/xocss/help/xohelp-0.0.1.css">
<link type="text/css" rel="stylesheet" href="bin/any/xowa/addon/bldr/info/bin/xobc_info.css">
<!-- js -->
<script type="text/javascript" src="bin/any/xowa/html/res/lib/alertify/lib/alertify-0.3.11.js"></script>
<script type="text/javascript" src="bin/any/xowa/html/res/lib/alertify/lib/xo-alertify-0.0.1.js"></script>
<script type="text/javascript" src="bin/any/xowa/html/res/lib/mustache/mustache-2.2.1.js"></script>
<script type="text/javascript" src="bin/any/xowa/html/res/lib/jquery/jquery-1.11.3.js"></script>
<script type="text/javascript" src="bin/any/xowa/html/res/src/xowa/xocss/help/xohelp-0.0.1.js"></script>
<script type="text/html" id="templates"></script>
<script type="text/javascript">
window.view = {
wiki_dir : 'wiki_dir'
, torrent : 'torrent_link'
, urls :
[
{ url : 'url1'
, size : '123 MB'
}
,
{ url : 'url2'
, size : '234 MB'
}
,
{ url : 'url3'
, size : '345 MB'
}
,
{ url : 'url4'
, size : '456 MB'
}
]
};
</script>
<script>
$("#templates").load("bin/any/xowa/addon/bldr/info/bin/xobc_info.mustache.html", function(response_txt, status_txt, xhr){
var template = response_txt;
var output = Mustache.render(template, window.view);
document.getElementById('main').innerHTML = output;
});
</script>
</head>
<body>
<div id='main' class='bldr_body'></div>
</body>
</html>

View File

@@ -1,65 +1,65 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
<!--
NOTE: this page loads local files
- Chrome is the easiest browser for local files; Use "chrome.exe --disable-web-security"
- Change C:/xowa/ to wherever it is on your system
-->
<!-- base -->
<base href="file:///C:/xowa/" target="_blank">
<!-- css -->
<link type="text/css" rel="stylesheet" href="bin/any/xowa/html/res/lib/alertify/themes/alertify.core.css">
<link type="text/css" rel="stylesheet" href="bin/any/xowa/html/res/lib/alertify/themes/alertify.bootstrap.css">
<link type="text/css" rel="stylesheet" href="bin/any/xowa/html/res/src/xowa/xocss/core/xocss_core-0.0.1.css">
<link type="text/css" rel="stylesheet" href="bin/any/xowa/html/res/src/xowa/xocss/core/xoimg_core-0.0.1.css">
<link type="text/css" rel="stylesheet" href="bin/any/xowa/html/res/src/xowa/xocss/help/xohelp-0.0.1.css">
<link type="text/css" rel="stylesheet" href="bin/any/xowa/addon/bldr/xodir/bin/xobc_xodir.css">
<!-- js -->
<script type="text/javascript" src="bin/any/xowa/html/res/lib/alertify/lib/alertify-0.3.11.js"></script>
<script type="text/javascript" src="bin/any/xowa/html/res/lib/alertify/lib/xo-alertify-0.0.1.js"></script>
<script type="text/javascript" src="bin/any/xowa/html/res/lib/mustache/mustache-2.2.1.js"></script>
<script type="text/javascript" src="bin/any/xowa/html/res/lib/jquery/jquery-1.11.3.js"></script>
<script type="text/javascript" src="bin/any/xowa/html/res/src/xowa/xocss/help/xohelp-0.0.1.js"></script>
<script type="text/html" id="templates"></script>
<script type="text/javascript">
window.view = {
dirs :
[
{ path : '/storage/Android/717F-03BD/data/org.xowa'
, is_internal : false
, is_custom : false
}
,
{ path : '/storage/emulated/0/Android/data/org.xowa'
, is_internal : true
, is_custom : false
}
,
{ path : '/storage/emulated/1/Android/data/org.xowa'
, is_internal : true
, is_custom : false
}
,
{ path : '(choose your own folder)'
, is_internal : false
, is_custom : true
}
]
};
</script>
<script>
$("#templates").load("bin/any/xowa/addon/bldr/xodir/bin/xobc_xodir.mustache.html", function(response_txt, status_txt, xhr){
var template = response_txt;
var output = Mustache.render(template, window.view);
document.getElementById('main').innerHTML = output;
});
</script>
</head>
<body>
<div id='main' class='bldr_body'></div>
</body>
</html>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
<!--
NOTE: this page loads local files
- Chrome is the easiest browser for local files; Use "chrome.exe --disable-web-security"
- Change C:/xowa/ to wherever it is on your system
-->
<!-- base -->
<base href="file:///C:/xowa/" target="_blank">
<!-- css -->
<link type="text/css" rel="stylesheet" href="bin/any/xowa/html/res/lib/alertify/themes/alertify.core.css">
<link type="text/css" rel="stylesheet" href="bin/any/xowa/html/res/lib/alertify/themes/alertify.bootstrap.css">
<link type="text/css" rel="stylesheet" href="bin/any/xowa/html/res/src/xowa/xocss/core/xocss_core-0.0.1.css">
<link type="text/css" rel="stylesheet" href="bin/any/xowa/html/res/src/xowa/xocss/core/xoimg_core-0.0.1.css">
<link type="text/css" rel="stylesheet" href="bin/any/xowa/html/res/src/xowa/xocss/help/xohelp-0.0.1.css">
<link type="text/css" rel="stylesheet" href="bin/any/xowa/addon/bldr/xodir/bin/xobc_xodir.css">
<!-- js -->
<script type="text/javascript" src="bin/any/xowa/html/res/lib/alertify/lib/alertify-0.3.11.js"></script>
<script type="text/javascript" src="bin/any/xowa/html/res/lib/alertify/lib/xo-alertify-0.0.1.js"></script>
<script type="text/javascript" src="bin/any/xowa/html/res/lib/mustache/mustache-2.2.1.js"></script>
<script type="text/javascript" src="bin/any/xowa/html/res/lib/jquery/jquery-1.11.3.js"></script>
<script type="text/javascript" src="bin/any/xowa/html/res/src/xowa/xocss/help/xohelp-0.0.1.js"></script>
<script type="text/html" id="templates"></script>
<script type="text/javascript">
window.view = {
dirs :
[
{ path : '/storage/Android/717F-03BD/data/org.xowa'
, is_internal : false
, is_custom : false
}
,
{ path : '/storage/emulated/0/Android/data/org.xowa'
, is_internal : true
, is_custom : false
}
,
{ path : '/storage/emulated/1/Android/data/org.xowa'
, is_internal : true
, is_custom : false
}
,
{ path : '(choose your own folder)'
, is_internal : false
, is_custom : true
}
]
};
</script>
<script>
$("#templates").load("bin/any/xowa/addon/bldr/xodir/bin/xobc_xodir.mustache.html", function(response_txt, status_txt, xhr){
var template = response_txt;
var output = Mustache.render(template, window.view);
document.getElementById('main').innerHTML = output;
});
</script>
</head>
<body>
<div id='main' class='bldr_body'></div>
</body>
</html>

View File

@@ -1,476 +1,476 @@
Welcome to your personal wiki!
Personal wikis are new and will be in continual development! If you encounter issues, please report them through the [[xowa.home:Help/Feedback|Feedback page]].
== Quick start ==
=== Editing this page ===
* Switch to edit mode by pressing <code>Edit</code> near the top-right of the page
* Edit the text by typing directly in the text box. For this example, enter <code>Hello, world!</code> at the top of the text box.
* Save the page by pressing the <code>Save page</code> button at the bottom of the text box
Congratulations! You should see <code>Hello, world!</code> at the top of the page
=== Creating a new page ===
* Navigate to a page by entering a page title in the url bar. For this example, enter <code>Test</code>.
* A blank page will open in edit mode. Enter in some text in the text box. For this example, enter <code>Some text for the page</code>
* Save the page.
Congratulations! You have just created a new page called <code>Test</code>
=== Linking to a page ===
* Switch to edit mode.
* Enter a link by entering text into the text box. For this example, use <code><nowiki>[[Test]]</nowiki></code>.
* Save the page. The word <code><nowiki>Test</nowiki></code> will show and be highlighted in blue.
* Click on the <code>Test</code> link. The <code>Test</code> page will open.
Congratulations! You have just linked to a page called <code>Test</code>
== Basic editing ==
The best place to start is Wikipedia's guide for editing: https://en.wikipedia.org/wiki/Help:Getting_started
The table below is provided for reference. Note the following columns:
* '''function''': the name of the function
* '''example''': an example of the function as shown in HTML
* '''wikitext''': the actual wikitext used to render the function
* '''html''': an alternative way of rendering the same wikitext, but only with html.
=== HTML tags ===
Most HTML tags are available.
* '''HTML tags can be used as an alternative to wikitext.''': For example, <i>italicized text</i> can also be shown with <code><nowiki>&lt;i>italicized text&lt;/i></nowiki>
* '''HTML tags are needed for other functions.''': For example, the following have no wikitext equivalent <code><nowiki>&lt;u>underline</u></nowiki></code>, <code><nowiki>&lt;s>strikethru</s></nowiki></code>, etc..
However, there are some notable exceptions:
* '''anchor tags are not allowed''': Any <code>&lt;a></code> will be rendered literally. Instead, use an internal / external link. For example, <code><nowiki>[[Test]]</nowiki></code>
* '''image tags are not allowed''': Any <code>&lt;img></code> will be rendered literally. Instead, use an internal link in the file namespace. For example, <code><nowiki>[[File:Image.png]]</nowiki></code>
* '''javascript / events are not allowed''': All javascript and "onevent" blocks are removed.
{|class=wikitable style="background:white"
|-
! function
! example
! wikitext
! html
|-
| italics
| ''italicized text''
| <code><nowiki>''italicized text''</nowiki></code>
| <code><nowiki>&lt;i>italicized text</&lt;i></nowiki></code>
|-
| bold
| '''bold text'''
| <code><nowiki>'''bold text'''</nowiki></code>
| <code><nowiki>&lt;b>bold text</&lt;b></nowiki></code>
|-
| bold and italics
| '''''bold and italicized text'''''
| <code><nowiki>'''''bold and italicized text'''''</nowiki></code>
| <code><nowiki>&lt;b>&lt;i>bold and italicized text&lt;/i>&lt;/b></nowiki></code>
|-
| underline
| <u>underlined text</u>
| <code><nowiki>N/A</nowiki></code>
| <code><nowiki>&lt;u>underlined text&lt;/u></nowiki></code>
|-
| strike-thru
| <s>strike-thru text</s>
| <code><nowiki>N/A</nowiki></code>
| <code><nowiki>&lt;s>strike-thru text&lt;/s></nowiki></code>
|-
| color
| <span style='color:green'>colored text</span>
| <code><nowiki>N/A</nowiki></code>
| <code><nowiki>&lt;span style='color:green'>colored text&lt;/span></nowiki></code>
|-
| external url: url only
| http://xowa.org
| <code><nowiki>http://xowa.org</nowiki></code>
| <code>N/A</code>
|-
| external url: url with name
| [http://xowa.org xowa web site]
| <code><nowiki>[http://xowa.org xowa web site]</nowiki></code>
| <code>N/A</code>
|-
| external url: numbered
| [http://xowa.org]
| <code><nowiki>[http://xowa.org]</nowiki></code>
| <code>N/A</code>
|-
| internal url: page only
| [[Test]]
| <code><nowiki>[[Test]]</nowiki></code>
| <code>N/A</code>
|-
| internal url: page with name
| [[Test|My test page]]
| <code><nowiki>[[Test|My test page]]</nowiki></code>
| <code>N/A</code>
|-
| paragraph<br/>
|
para 1
para 2
|
<pre>
para 1
para 2
</pre>
<ref group='basics'>enter a completely blank line between paragraphs</ref>
|
<pre>
<p>para 1</p>
<p>para 2</p>
</pre>
|-
| preformatted blocks
|
line 1
line 2
|
<pre>
line 1
line 2
</pre>
<ref group='basics'>start a line with a space</ref>
|
<pre>
&lt;pre>
line 1
para 2
&lt;/pre>
</pre>
|-
| list: bulleted
|
* a
** aa
*** aaa
* b
* c
** cc
|
<pre>
* a
** aa
*** aaa
* b
* c
** cc
</pre>
|
<pre>
<ul>
<li>a
<ul>
<li>aa
<ul>
<li>aaa</li>
</ul>
</li>
</ul>
</li>
<li>b</li>
<li>c
<ul>
<li>cc
</li>
</ul>
</li>
</ul>
</pre>
</pre>
|-
| list: numbered
|
# a
## aa
### aaa
# b
# c
## cc
|
<pre>
# a
## aa
### aaa
# b
# c
## cc
</pre>
|
<pre>
<ol>
<li>a
<ol>
<li>aa
<ol>
<li>aaa</li>
</ol>
</li>
</ol>
</li>
<li>b</li>
<li>c
<ol>
<li>cc
</li>
</ol>
</li>
</ol>
</pre>
|-
| header
|
=== Basic editing: Test Level a3 ===
==== Basic editing: Test Level a4 ====
===== Basic editing: Test Level a5 =====
=== Basic editing: Test Level b3 ===
=== Basic editing: Test Level c3 ===
==== Basic editing: Test Level c4 ====
|
<pre>
=== Basic editing: Test Level a3 ===
==== Basic editing: Test Level a4 ====
===== Basic editing: Test Level a5 =====
=== Basic editing: Test Level b3 ===
=== Basic editing: Test Level c3 ===
==== Basic editing: Test Level c4 ====
</pre>
|
<pre>
<h3> Basic editing: Test Level a3 </h3>
<h4> Basic editing: Test Level a4 </h4>
<h5> Basic editing: Test Level a5 </h5>
<h3> Basic editing: Test Level b3 </h3>
<h3> Basic editing: Test Level c3 </h3>
<h4> Basic editing: Test Level c4 </h4>
</pre>
|-
| table
|
{|class=wikitable
|+ caption
|-
! header a
! header b
|-
| cell 1a
| cell 1b
|-
| cell 2a
| cell 2b
|}
|
<pre>
{|class=wikitable
|+ caption
|-
! header a
! header b
|-
| cell 1a
| cell 1b
|-
| cell 2a
| cell 2b
|}
</pre>
|
<pre>
<table class="wikitable">
<caption>caption</caption>
<tr>
<th>header a</th>
<th>header b</th>
</tr>
<tr>
<td>cell 1a</td>
<td>cell 1b</td>
</tr>
<tr>
<td>cell 2a</td>
<td>cell 2b</td>
</tr>
</table>
</pre>
|}
=== Notes for Basics editing ===
<references group='basics'>
</references>
== Advanced editing ==
=== Category ===
Categories are supported. As a basic example, try the following:
* Edit this page
* Add the following text: <code><nowiki>[[Category:Test]]</nowiki></code>
* Scroll down to the bottom of the page. You will see a <code><nowiki>Categories</nowiki></code> section and <code><nowiki>Test</nowiki></code> listed
* Navigate to <code><nowiki>Category:Test</nowiki></code>. You will see the Main page listed
For more info, see https://en.wikipedia.org/wiki/Help:Category
=== Images ===
Images are supported, but the process is slightly complicated due to the set-up of third-party software.
Here is a broad overview:
* Set up imagemagick and inkscape on your machine. For more instructions, see http://xowa.org/home/wiki/App/Wiki_types/Wikia.com#Part_3c:_Setup_Imagemagick_and_Inkscape
* Place your images in your wiki directory. Assuming your wiki is set up in <code>C:\your_wiki</code>, then you need to copy an image to <code>C:\your_wiki\file\orig</code>. As an example, do the following:
** Download the image from <code><nowiki>https://upload.wikimedia.org/wikipedia/commons/9/97/The_Earth_seen_from_Apollo_17.jpg</nowiki></code>
** Move the image to <code>C:\your_wiki\file\orig\The_Earth_seen_from_Apollo_17.jpg</nowiki></code>
** Edit the page, and add the following text: <code><nowiki>[[File:The_Earth_seen_from_Apollo_17.jpg]]</nowiki></code>
* Preview the page. You should see the image.
For more info, see https://en.wikipedia.org/wiki/Wikipedia:Picture_tutorial
=== Table of contents ===
Table of contents (TOC) are automatically generated by XOWA if you have 4 headers (a header being something like <code><nowiki>== header ==</nowiki></code>)
If you have less than 4 headers, you can force a TOC by adding <code><nowiki>__TOC__</nowiki></code>
=== Math ===
LaT<sub>E</sub>X formatting is available. For example, the following is the formula for the Pythagorean theorem: <math>a^2 + b^2 = c^2</math>
=== References ===
Wikipedia-style references are supported. For example, this is a simple reference: <ref>Test footnote</ref>.
Note that you can hover over the reference number to get a tooltip preview
=== Sortable tables ===
Wikipedia-style sortable tables are supported.
{|class='wikitable sortable'
|-
! String
! Int
! Date - months
|-
| c
| 3
| Mar 1 2012
|-
| b
| 22
| Feb 2 2011
|-
| a
| 111
| Jan 3 2010
|}
=== Collapsible tables ===
Wikipedia-style collapsible tables are supported.
{| class="wikitable collapsible"
! Data
|-
| A
|-
| B
|-
| C
|}
=== More ===
Other features are supported, including Tabviews, Timelines, Graphs, Hieroglyphics and Musical scores. For examples, see [[xowa.home:Diagnostics]]
== Expert editing ==
=== Magic words ===
Most magic words are supported, such as <code><nowiki>{{CURRENTTIME}}</nowiki></code> and <code><nowiki>{{lc:string}}</nowiki></code>. For more info, see https://en.wikipedia.org/wiki/Help:Magic_words
=== Parser functions ===
Most parser functions are supported, such as <code><nowiki>{{#expr:2 + 2}}</nowiki></code>. For more info, see https://www.mediawiki.org/wiki/Help:Extension:ParserFunctions
=== Templates ===
Templates are supported, such as <code><nowiki>{{my_template|arg_1|arg_2|etc...}}</nowiki></code>. For more info, see https://en.wikipedia.org/wiki/Help:A_quick_guide_to_templates
Here's a brief example:
* Create a page called <code>Template:Test</code> with the text <code><nowiki>Hello, from Template:Test -- {{{1|empty}}}</nowiki></code>
* Edit any other page (like the <code>Main_Page</code>) and enter <code><nowiki>{{Test|argument 1}}</nowiki></code> in the text box.
* Preview or Save the page. You will see <code>Hello, from Template:Test -- argument 1</code>
=== Modules ===
Modules are supported, such as <code><nowiki>{{#invoke:my_module|my_function|arg_1|arg_2|etc...}}</nowiki></code>. For more info, see https://en.wikipedia.org/wiki/Wikipedia:Lua
Here's a brief example:
* Create a page called <code>Module:Test</code> with the following text
<pre>
local p = {}
function p.test( frame )
return "Hello from Module:Test -- " .. frame.args[1];
end
return p
</pre>
* Edit any other page (like the <code>Main_Page</code>) and enter <code><nowiki>{{#invoke:Test|test|argument 1}}</nowiki></code> in the text box.
* Preview or Save the page. You will see <code>Hello from Module:Test -- argument 1</code>
== Developer editing ==
<table class="metadata plainlinks ambox ambox-delete" style="">
<tr>
<td class="mbox-empty-cell">
</td>
<td class="mbox-text" style="">
<span class="mbox-text-span">
NOTE: The techniques in this section may change in future versions.
If you use any of the editing techniques here, please check back occasionally to see if anything has changed.
</span>
</td>
</tr>
</table>
=== CSS ===
XOWA stores the CSS for each wiki in <code>/xowa/user/anonymous/wiki/your_wiki_name/html</code>. For example, if you're on Windows and your wiki is named <code>test</code>, then the CSS would be at <code>C:\xowa\user\anonymous\wiki\test\html\xowa_common.css</code>
Note that the upper-lefthand icon is also stored there as <code>logo.png</code>
You can change these files and XOWA will not overwrite them. However, as with any file, please make sure you always keep backups.
=== Page template ===
XOWA stores the page template in <code>/xowa/bin/any/xowa/cfg/app/xowa.gfs</code>. The actual template is marked in a section called <code>page_read</code>.
Please note the following about changing the page:
* The file is replaced on every application update. If you make updates to the file, they will be lost.
** If you find that you need to edit this file, please contact me, and I will add a feature to make it configurable in a future release. Really, these instructions are only provided for users who want to experiment.
* The file uses a custom language specific to XOWA called gfs. Always backup the file when making changes. If you make an invalid change, XOWA will not start
* The file is only loaded at application start. Any changes will require a restart of the app
=== Scripting ===
XOWA allows custom hooks through Javascript or Lua. For detailed instructions see [[xowa.home:App/Xtn/Scripting]]
== Keyboard shortcuts ==
For a full list, see [[xowa.home:Special:XowaCfg?grp=xowa.gui.shortcuts]]
{|class='wikitable'
|-
| <b>Alt + Shift + E</b> || Edit the page. Switches to edit mode
|-
| <b>Ctrl + S</b> || Quick save the page. Stays in edit mode
|-
| <b>Alt + Shift + P</b> || Preview the page. Stays in edit mode
|-
| <b>Alt + Shift + S</b> || Save the page. Switches to read mode
|-
| <b>Ctrl + F</b> || Find text in the page
|-
|
<b>Ctrl + L</b> or <br/>
<b>Alt + D</b> || Focus the URL bar
|-
| <b>Ctrl + T</b> || New tab
|-
| <b>Ctrl + Tab</b> || Switch to next tab
|-
| <b>Ctrl + Shift + Tab</b> || Switch to previous tab
|-
| <b>Ctrl + W</b> || Close tab
|}
== Useful links ==
* Wikipedia's guide for editing: https://en.wikipedia.org/wiki/Help:Getting_started
* XOWA page on personal wikis: [[xowa.home:App/Personal wikis]]
* XOWA help page: [[xowa.home:Help/Contents|Contents page]]
== Notes ==
<references/>
Welcome to your personal wiki!
Personal wikis are new and will be in continual development! If you encounter issues, please report them through the [[xowa.home:Help/Feedback|Feedback page]].
== Quick start ==
=== Editing this page ===
* Switch to edit mode by pressing <code>Edit</code> near the top-right of the page
* Edit the text by typing directly in the text box. For this example, enter <code>Hello, world!</code> at the top of the text box.
* Save the page by pressing the <code>Save page</code> button at the bottom of the text box
Congratulations! You should see <code>Hello, world!</code> at the top of the page
=== Creating a new page ===
* Navigate to a page by entering a page title in the url bar. For this example, enter <code>Test</code>.
* A blank page will open in edit mode. Enter in some text in the text box. For this example, enter <code>Some text for the page</code>
* Save the page.
Congratulations! You have just created a new page called <code>Test</code>
=== Linking to a page ===
* Switch to edit mode.
* Enter a link by entering text into the text box. For this example, use <code><nowiki>[[Test]]</nowiki></code>.
* Save the page. The word <code><nowiki>Test</nowiki></code> will show and be highlighted in blue.
* Click on the <code>Test</code> link. The <code>Test</code> page will open.
Congratulations! You have just linked to a page called <code>Test</code>
== Basic editing ==
The best place to start is Wikipedia's guide for editing: https://en.wikipedia.org/wiki/Help:Getting_started
The table below is provided for reference. Note the following columns:
* '''function''': the name of the function
* '''example''': an example of the function as shown in HTML
* '''wikitext''': the actual wikitext used to render the function
* '''html''': an alternative way of rendering the same wikitext, but only with html.
=== HTML tags ===
Most HTML tags are available.
* '''HTML tags can be used as an alternative to wikitext.''': For example, <i>italicized text</i> can also be shown with <code><nowiki>&lt;i>italicized text&lt;/i></nowiki>
* '''HTML tags are needed for other functions.''': For example, the following have no wikitext equivalent <code><nowiki>&lt;u>underline</u></nowiki></code>, <code><nowiki>&lt;s>strikethru</s></nowiki></code>, etc..
However, there are some notable exceptions:
* '''anchor tags are not allowed''': Any <code>&lt;a></code> will be rendered literally. Instead, use an internal / external link. For example, <code><nowiki>[[Test]]</nowiki></code>
* '''image tags are not allowed''': Any <code>&lt;img></code> will be rendered literally. Instead, use an internal link in the file namespace. For example, <code><nowiki>[[File:Image.png]]</nowiki></code>
* '''javascript / events are not allowed''': All javascript and "onevent" blocks are removed.
{|class=wikitable style="background:white"
|-
! function
! example
! wikitext
! html
|-
| italics
| ''italicized text''
| <code><nowiki>''italicized text''</nowiki></code>
| <code><nowiki>&lt;i>italicized text</&lt;i></nowiki></code>
|-
| bold
| '''bold text'''
| <code><nowiki>'''bold text'''</nowiki></code>
| <code><nowiki>&lt;b>bold text</&lt;b></nowiki></code>
|-
| bold and italics
| '''''bold and italicized text'''''
| <code><nowiki>'''''bold and italicized text'''''</nowiki></code>
| <code><nowiki>&lt;b>&lt;i>bold and italicized text&lt;/i>&lt;/b></nowiki></code>
|-
| underline
| <u>underlined text</u>
| <code><nowiki>N/A</nowiki></code>
| <code><nowiki>&lt;u>underlined text&lt;/u></nowiki></code>
|-
| strike-thru
| <s>strike-thru text</s>
| <code><nowiki>N/A</nowiki></code>
| <code><nowiki>&lt;s>strike-thru text&lt;/s></nowiki></code>
|-
| color
| <span style='color:green'>colored text</span>
| <code><nowiki>N/A</nowiki></code>
| <code><nowiki>&lt;span style='color:green'>colored text&lt;/span></nowiki></code>
|-
| external url: url only
| http://xowa.org
| <code><nowiki>http://xowa.org</nowiki></code>
| <code>N/A</code>
|-
| external url: url with name
| [http://xowa.org xowa web site]
| <code><nowiki>[http://xowa.org xowa web site]</nowiki></code>
| <code>N/A</code>
|-
| external url: numbered
| [http://xowa.org]
| <code><nowiki>[http://xowa.org]</nowiki></code>
| <code>N/A</code>
|-
| internal url: page only
| [[Test]]
| <code><nowiki>[[Test]]</nowiki></code>
| <code>N/A</code>
|-
| internal url: page with name
| [[Test|My test page]]
| <code><nowiki>[[Test|My test page]]</nowiki></code>
| <code>N/A</code>
|-
| paragraph<br/>
|
para 1
para 2
|
<pre>
para 1
para 2
</pre>
<ref group='basics'>enter a completely blank line between paragraphs</ref>
|
<pre>
<p>para 1</p>
<p>para 2</p>
</pre>
|-
| preformatted blocks
|
line 1
line 2
|
<pre>
line 1
line 2
</pre>
<ref group='basics'>start a line with a space</ref>
|
<pre>
&lt;pre>
line 1
para 2
&lt;/pre>
</pre>
|-
| list: bulleted
|
* a
** aa
*** aaa
* b
* c
** cc
|
<pre>
* a
** aa
*** aaa
* b
* c
** cc
</pre>
|
<pre>
<ul>
<li>a
<ul>
<li>aa
<ul>
<li>aaa</li>
</ul>
</li>
</ul>
</li>
<li>b</li>
<li>c
<ul>
<li>cc
</li>
</ul>
</li>
</ul>
</pre>
</pre>
|-
| list: numbered
|
# a
## aa
### aaa
# b
# c
## cc
|
<pre>
# a
## aa
### aaa
# b
# c
## cc
</pre>
|
<pre>
<ol>
<li>a
<ol>
<li>aa
<ol>
<li>aaa</li>
</ol>
</li>
</ol>
</li>
<li>b</li>
<li>c
<ol>
<li>cc
</li>
</ol>
</li>
</ol>
</pre>
|-
| header
|
=== Basic editing: Test Level a3 ===
==== Basic editing: Test Level a4 ====
===== Basic editing: Test Level a5 =====
=== Basic editing: Test Level b3 ===
=== Basic editing: Test Level c3 ===
==== Basic editing: Test Level c4 ====
|
<pre>
=== Basic editing: Test Level a3 ===
==== Basic editing: Test Level a4 ====
===== Basic editing: Test Level a5 =====
=== Basic editing: Test Level b3 ===
=== Basic editing: Test Level c3 ===
==== Basic editing: Test Level c4 ====
</pre>
|
<pre>
<h3> Basic editing: Test Level a3 </h3>
<h4> Basic editing: Test Level a4 </h4>
<h5> Basic editing: Test Level a5 </h5>
<h3> Basic editing: Test Level b3 </h3>
<h3> Basic editing: Test Level c3 </h3>
<h4> Basic editing: Test Level c4 </h4>
</pre>
|-
| table
|
{|class=wikitable
|+ caption
|-
! header a
! header b
|-
| cell 1a
| cell 1b
|-
| cell 2a
| cell 2b
|}
|
<pre>
{|class=wikitable
|+ caption
|-
! header a
! header b
|-
| cell 1a
| cell 1b
|-
| cell 2a
| cell 2b
|}
</pre>
|
<pre>
<table class="wikitable">
<caption>caption</caption>
<tr>
<th>header a</th>
<th>header b</th>
</tr>
<tr>
<td>cell 1a</td>
<td>cell 1b</td>
</tr>
<tr>
<td>cell 2a</td>
<td>cell 2b</td>
</tr>
</table>
</pre>
|}
=== Notes for Basics editing ===
<references group='basics'>
</references>
== Advanced editing ==
=== Category ===
Categories are supported. As a basic example, try the following:
* Edit this page
* Add the following text: <code><nowiki>[[Category:Test]]</nowiki></code>
* Scroll down to the bottom of the page. You will see a <code><nowiki>Categories</nowiki></code> section and <code><nowiki>Test</nowiki></code> listed
* Navigate to <code><nowiki>Category:Test</nowiki></code>. You will see the Main page listed
For more info, see https://en.wikipedia.org/wiki/Help:Category
=== Images ===
Images are supported, but the process is slightly complicated due to the set-up of third-party software.
Here is a broad overview:
* Set up imagemagick and inkscape on your machine. For more instructions, see http://xowa.org/home/wiki/App/Wiki_types/Wikia.com#Part_3c:_Setup_Imagemagick_and_Inkscape
* Place your images in your wiki directory. Assuming your wiki is set up in <code>C:\your_wiki</code>, then you need to copy an image to <code>C:\your_wiki\file\orig</code>. As an example, do the following:
** Download the image from <code><nowiki>https://upload.wikimedia.org/wikipedia/commons/9/97/The_Earth_seen_from_Apollo_17.jpg</nowiki></code>
** Move the image to <code>C:\your_wiki\file\orig\The_Earth_seen_from_Apollo_17.jpg</nowiki></code>
** Edit the page, and add the following text: <code><nowiki>[[File:The_Earth_seen_from_Apollo_17.jpg]]</nowiki></code>
* Preview the page. You should see the image.
For more info, see https://en.wikipedia.org/wiki/Wikipedia:Picture_tutorial
=== Table of contents ===
Table of contents (TOC) are automatically generated by XOWA if you have 4 headers (a header being something like <code><nowiki>== header ==</nowiki></code>)
If you have less than 4 headers, you can force a TOC by adding <code><nowiki>__TOC__</nowiki></code>
=== Math ===
LaT<sub>E</sub>X formatting is available. For example, the following is the formula for the Pythagorean theorem: <math>a^2 + b^2 = c^2</math>
=== References ===
Wikipedia-style references are supported. For example, this is a simple reference: <ref>Test footnote</ref>.
Note that you can hover over the reference number to get a tooltip preview
=== Sortable tables ===
Wikipedia-style sortable tables are supported.
{|class='wikitable sortable'
|-
! String
! Int
! Date - months
|-
| c
| 3
| Mar 1 2012
|-
| b
| 22
| Feb 2 2011
|-
| a
| 111
| Jan 3 2010
|}
=== Collapsible tables ===
Wikipedia-style collapsible tables are supported.
{| class="wikitable collapsible"
! Data
|-
| A
|-
| B
|-
| C
|}
=== More ===
Other features are supported, including Tabviews, Timelines, Graphs, Hieroglyphics and Musical scores. For examples, see [[xowa.home:Diagnostics]]
== Expert editing ==
=== Magic words ===
Most magic words are supported, such as <code><nowiki>{{CURRENTTIME}}</nowiki></code> and <code><nowiki>{{lc:string}}</nowiki></code>. For more info, see https://en.wikipedia.org/wiki/Help:Magic_words
=== Parser functions ===
Most parser functions are supported, such as <code><nowiki>{{#expr:2 + 2}}</nowiki></code>. For more info, see https://www.mediawiki.org/wiki/Help:Extension:ParserFunctions
=== Templates ===
Templates are supported, such as <code><nowiki>{{my_template|arg_1|arg_2|etc...}}</nowiki></code>. For more info, see https://en.wikipedia.org/wiki/Help:A_quick_guide_to_templates
Here's a brief example:
* Create a page called <code>Template:Test</code> with the text <code><nowiki>Hello, from Template:Test -- {{{1|empty}}}</nowiki></code>
* Edit any other page (like the <code>Main_Page</code>) and enter <code><nowiki>{{Test|argument 1}}</nowiki></code> in the text box.
* Preview or Save the page. You will see <code>Hello, from Template:Test -- argument 1</code>
=== Modules ===
Modules are supported, such as <code><nowiki>{{#invoke:my_module|my_function|arg_1|arg_2|etc...}}</nowiki></code>. For more info, see https://en.wikipedia.org/wiki/Wikipedia:Lua
Here's a brief example:
* Create a page called <code>Module:Test</code> with the following text
<pre>
local p = {}
function p.test( frame )
return "Hello from Module:Test -- " .. frame.args[1];
end
return p
</pre>
* Edit any other page (like the <code>Main_Page</code>) and enter <code><nowiki>{{#invoke:Test|test|argument 1}}</nowiki></code> in the text box.
* Preview or Save the page. You will see <code>Hello from Module:Test -- argument 1</code>
== Developer editing ==
<table class="metadata plainlinks ambox ambox-delete" style="">
<tr>
<td class="mbox-empty-cell">
</td>
<td class="mbox-text" style="">
<span class="mbox-text-span">
NOTE: The techniques in this section may change in future versions.
If you use any of the editing techniques here, please check back occasionally to see if anything has changed.
</span>
</td>
</tr>
</table>
=== CSS ===
XOWA stores the CSS for each wiki in <code>/xowa/user/anonymous/wiki/your_wiki_name/html</code>. For example, if you're on Windows and your wiki is named <code>test</code>, then the CSS would be at <code>C:\xowa\user\anonymous\wiki\test\html\xowa_common.css</code>
Note that the upper-lefthand icon is also stored there as <code>logo.png</code>
You can change these files and XOWA will not overwrite them. However, as with any file, please make sure you always keep backups.
=== Page template ===
XOWA stores the page template in <code>/xowa/bin/any/xowa/cfg/app/xowa.gfs</code>. The actual template is marked in a section called <code>page_read</code>.
Please note the following about changing the page:
* The file is replaced on every application update. If you make updates to the file, they will be lost.
** If you find that you need to edit this file, please contact me, and I will add a feature to make it configurable in a future release. Really, these instructions are only provided for users who want to experiment.
* The file uses a custom language specific to XOWA called gfs. Always backup the file when making changes. If you make an invalid change, XOWA will not start
* The file is only loaded at application start. Any changes will require a restart of the app
=== Scripting ===
XOWA allows custom hooks through Javascript or Lua. For detailed instructions see [[xowa.home:App/Xtn/Scripting]]
== Keyboard shortcuts ==
For a full list, see [[xowa.home:Special:XowaCfg?grp=xowa.gui.shortcuts]]
{|class='wikitable'
|-
| <b>Alt + Shift + E</b> || Edit the page. Switches to edit mode
|-
| <b>Ctrl + S</b> || Quick save the page. Stays in edit mode
|-
| <b>Alt + Shift + P</b> || Preview the page. Stays in edit mode
|-
| <b>Alt + Shift + S</b> || Save the page. Switches to read mode
|-
| <b>Ctrl + F</b> || Find text in the page
|-
|
<b>Ctrl + L</b> or <br/>
<b>Alt + D</b> || Focus the URL bar
|-
| <b>Ctrl + T</b> || New tab
|-
| <b>Ctrl + Tab</b> || Switch to next tab
|-
| <b>Ctrl + Shift + Tab</b> || Switch to previous tab
|-
| <b>Ctrl + W</b> || Close tab
|}
== Useful links ==
* Wikipedia's guide for editing: https://en.wikipedia.org/wiki/Help:Getting_started
* XOWA page on personal wikis: [[xowa.home:App/Personal wikis]]
* XOWA help page: [[xowa.home:Help/Contents|Contents page]]
== Notes ==
<references/>

View File

@@ -1,30 +1,30 @@
<div
id='results_wiki_{{wiki}}_page_{{page_id}}'
class='xo_flex_div;'
>
<!-- DIV:page results -->
<div class='xo_flex_div xo_results_page_div'>
<!-- TOGGLE:page -->
<span
id="results_wiki_{{wiki}}_page_{{page_id}}_img"
class='xo_imgbtn_x20 {{expand_snips_icon}} xo_results_page_toggle'
onclick='xo.fulltext_searcher.toggle_div("results_wiki_{{wiki}}_page_{{page_id}}_content", "results_wiki_{{wiki}}_page_{{page_id}}_img"); return false;'
>&nbsp;</span>
<!-- HREF:page -->
<span class='xo_flex_div'><a href='/site/{{wiki}}/wiki/{{page_href}}'>{{page_name}}</a>&nbsp;(<span id='results_wiki_{{wiki}}_page_{{page_id}}_found'>{{found}}</span>&nbsp;found)</span>
<!-- BTN:get_snips -->
<span
id='results_wiki_{{wiki}}_page_{{page_id}}_rest'
class='xoimg_ellipsis xo_results_page_ellipsis'
onclick='xo.fulltext_searcher.snips_show_all("{{query_id}}", "{{wiki}}", "{{page_id}}");'
style='display:none;'
>&nbsp;
</span>
</div>
</div>
<!-- DIV:SNIPS -->
<div id='results_wiki_{{wiki}}_page_{{page_id}}_content' style='display:{{expand_snips_style}};'></div>
<div
id='results_wiki_{{wiki}}_page_{{page_id}}'
class='xo_flex_div;'
>
<!-- DIV:page results -->
<div class='xo_flex_div xo_results_page_div'>
<!-- TOGGLE:page -->
<span
id="results_wiki_{{wiki}}_page_{{page_id}}_img"
class='xo_imgbtn_x20 {{expand_snips_icon}} xo_results_page_toggle'
onclick='xo.fulltext_searcher.toggle_div("results_wiki_{{wiki}}_page_{{page_id}}_content", "results_wiki_{{wiki}}_page_{{page_id}}_img"); return false;'
>&nbsp;</span>
<!-- HREF:page -->
<span class='xo_flex_div'><a href='/site/{{wiki}}/wiki/{{page_href}}'>{{page_name}}</a>&nbsp;(<span id='results_wiki_{{wiki}}_page_{{page_id}}_found'>{{found}}</span>&nbsp;found)</span>
<!-- BTN:get_snips -->
<span
id='results_wiki_{{wiki}}_page_{{page_id}}_rest'
class='xoimg_ellipsis xo_results_page_ellipsis'
onclick='xo.fulltext_searcher.snips_show_all("{{query_id}}", "{{wiki}}", "{{page_id}}");'
style='display:none;'
>&nbsp;
</span>
</div>
</div>
<!-- DIV:SNIPS -->
<div id='results_wiki_{{wiki}}_page_{{page_id}}_content' style='display:{{expand_snips_style}};'></div>

View File

@@ -1,12 +1,12 @@
<div
id='results_wiki_{{wiki}}_page_{{page_id}}_line_{{line}}'
class='xo_flex_div xo_results_snip_div'
>
<!-- TEXT:line_num -->
<div class='xo_results_line_num'>
{{line}}
</div>
<!-- TEXT:line_html -->
<div>{{{html}}}</div>
</div>
<div
id='results_wiki_{{wiki}}_page_{{page_id}}_line_{{line}}'
class='xo_flex_div xo_results_snip_div'
>
<!-- TEXT:line_num -->
<div class='xo_results_line_num'>
{{line}}
</div>
<!-- TEXT:line_html -->
<div>{{{html}}}</div>
</div>

View File

@@ -1,47 +1,47 @@
<div id='results_wiki_{{wiki}}'>
<div class='xo_flex_div xo_results_wiki_div'>
<!-- TOGGLE:wiki -->
<span
id="results_wiki_{{wiki}}_img"
class='xo_imgbtn_x20 {{expand_pages_icon}} xo_results_wiki_toggle'
onclick='xo.fulltext_searcher.toggle_div("results_wiki_{{wiki}}_content", "results_wiki_{{wiki}}_img");'
>&nbsp;</span>
<!-- HREF:wiki -->
<div class='xo_flex_div'>
<a href='/site/{{wiki}}/wiki/'>{{wiki}}</a>&nbsp;
<div
id='results_wiki_{{wiki}}_searched_div'
class='xo_flex_text'
>(<span id='results_wiki_{{wiki}}_searched'>0</span>&nbsp;searched)
</div>
</div>
<!-- DIV:results -->
<div class='xo_flex_div xo_results_wiki_paging_div'>
<!-- BTN:paging_bwd -->
<span
id="results_wiki_{{wiki}}_bwd"
class='xo_imgbtn_x20 xoimg_paging_bwd xo_results_wiki_paging_btn'
onclick='xo.fulltext_searcher.paging_bwd("{{wiki}}")'
>&nbsp;</span>
<!-- TEXT:results; EX: "Results: 1 of 10" -->
<div class='xo_flex_div'>
Results: <div style='text-align:center;width:40px'>{{rng_bgn}}</div> - <div style='text-align:center;width:40px'>{{rng_end}}</div>
</div>
<!-- BTN:paging_fwd -->
<span
id="results_wiki_{{wiki}}_fwd"
class='xo_imgbtn_x20 xoimg_paging_fwd xo_results_wiki_paging_btn'
onclick='xo.fulltext_searcher.paging_fwd("{{wiki}}")'
>&nbsp;</span>
</div>
</div>
<!-- DIV:page list -->
<div id='results_wiki_{{wiki}}_content' style='display:{{expand_pages_style}};'></div>
</div>
<div style='clear:both;display:none;'></div>
<div id='results_wiki_{{wiki}}'>
<div class='xo_flex_div xo_results_wiki_div'>
<!-- TOGGLE:wiki -->
<span
id="results_wiki_{{wiki}}_img"
class='xo_imgbtn_x20 {{expand_pages_icon}} xo_results_wiki_toggle'
onclick='xo.fulltext_searcher.toggle_div("results_wiki_{{wiki}}_content", "results_wiki_{{wiki}}_img");'
>&nbsp;</span>
<!-- HREF:wiki -->
<div class='xo_flex_div'>
<a href='/site/{{wiki}}/wiki/'>{{wiki}}</a>&nbsp;
<div
id='results_wiki_{{wiki}}_searched_div'
class='xo_flex_text'
>(<span id='results_wiki_{{wiki}}_searched'>0</span>&nbsp;searched)
</div>
</div>
<!-- DIV:results -->
<div class='xo_flex_div xo_results_wiki_paging_div'>
<!-- BTN:paging_bwd -->
<span
id="results_wiki_{{wiki}}_bwd"
class='xo_imgbtn_x20 xoimg_paging_bwd xo_results_wiki_paging_btn'
onclick='xo.fulltext_searcher.paging_bwd("{{wiki}}")'
>&nbsp;</span>
<!-- TEXT:results; EX: "Results: 1 of 10" -->
<div class='xo_flex_div'>
Results: <div style='text-align:center;width:40px'>{{rng_bgn}}</div> - <div style='text-align:center;width:40px'>{{rng_end}}</div>
</div>
<!-- BTN:paging_fwd -->
<span
id="results_wiki_{{wiki}}_fwd"
class='xo_imgbtn_x20 xoimg_paging_fwd xo_results_wiki_paging_btn'
onclick='xo.fulltext_searcher.paging_fwd("{{wiki}}")'
>&nbsp;</span>
</div>
</div>
<!-- DIV:page list -->
<div id='results_wiki_{{wiki}}_content' style='display:{{expand_pages_style}};'></div>
</div>
<div style='clear:both;display:none;'></div>