<b>XOWA Popups</b> is based on MediaWiki's <ahref="https://www.mediawiki.org/wiki/Extension:Hovercards"rel="nofollow"class="external text">Hovercards</a> and <ahref="https://en.wikipedia.org/wiki/Wikipedia:Tools/Navigation_popups"rel="nofollow"class="external text">Navigation popups</a>. It does not aim to be an exact reproduction of either, but picks the best features from each.
</p>
<p>
The javascript was modified from Reference tooltips, which was kindly provided by <ahref="https://de.wikipedia.org/wiki/Benzuter:Schnark"rel="nofollow"class="external text">Schnark</a>.
The following is a list of intentional design differences from MediaWiki's Hovercards and Navigation Popups:
</p>
<ul>
<li>
Popups retrieve as much text as possible, including sections, not just text from the introductory paragraphs. This behavior is necessary because:
<ul>
<li>
Wikis like Wiktionary don't have a concept of an introductory paragraph.
</li>
<li>
Many articles have very short introductory sentences, which do not provide much info.
</li>
</ul>
</li>
<li>
Popups are word based, not sentence based. There are some defects with MediaWiki's Hovercards which stops at abbreviations. For example, "St." counts as a sentence.
</li>
<li>
Popup lengths are customizable, not fixed (unlike MediaWiki Hovercards's 2 sentences)
</li>
<li>
Popups show links, lists, advanced formatting, and math equations.
<b>Redlinks</b>: Popups do not indicate missing links in red. This should be added within the next few releases
</li>
<li>
<b>Single image</b>: XOWA will provide a single image preview, just like MediaWiki Hovercards. However, it may be several weeks before this is included.
</li>
<li>
<b>Popup window management</b>: Popups are automatically hidden / shown based on mouse movement. A future version may provide the ability to "move", "pin", "close", etc. I may need some help with the javascript to do so. See: /xowa/bin/any/xowa/html/modules/xowa.popups/xowa.popups.js
</li>
<li>
<b>Performance</b>: Most articles should preview in less than one second, but some articles may take as long as 5. This performance will be improved whenever HTML dumps are included in XOWA, though this may be several months.
<b>XOWA Popups</b> has the following rules for words:
</p>
<ul>
<li>
A word is one or more characters terminated by a space, tab, new line, wikitext token, or end of document. For example, "A B C" is three words: 2 terminated by a space, and one by the end of the document. Meanwhile, "A[[B]]C" is three words, as <code>[[</code> and <code>]]</code> are wikitext tokens.
</li>
<li>
Words inside a <table>, <div>, [[File:]], or [[Category:]] are not included.
</li>
<li>
Words counts are not exact. Currently, the following rules govern word counts, but may change in the future:
<ul>
<li>
A header counts as one word. For example, "== A B C ==" is one word, not three.
</li>
<li>
The entire caption of an external link counts as one word. For example, "[http://a.org b c d]" is one word, not three.
<b>XOWA Popups</b> uses a modified version of the XOWA parser. The popup parser has the following attributes:
</p>
<ul>
<li>
<b>Faster incremental parsing</b>: An article is parsed incrementally, in smaller pieces, rather than all at once. This allows for speedier, sub-second article views, which is important for large articles (> 40 KB).
</li>
<li>
<b>Textual data only</b>: In keeping with both MediaWiki approaches, only textual data is shown. Tables, boxes (infoboxes, navboxes), and images are removed from the preview.
<li><ahref="http://dumps.wikimedia.org/backup-index.html"title="Get wiki datababase dumps directly from Wikimedia">Wikimedia dumps</a></li>
<li><ahref="https://archive.org/search.php?query=xowa"title="Search archive.org for XOWA files">XOWA @ archive.org</a></li>
<li><ahref="http://en.wikipedia.org"title="Visit Wikipedia (and compare to XOWA!)">English Wikipedia</a></li>
</ul>
</div>
</div>
<divclass="portal"id='xowa-portal-donate'>
<h3>Donate</h3>
<divclass="body">
<ul>
<li><ahref="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/ -->