<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="he">
	<id>https://israherb.org/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Mediawiki-talk%3AGadget-BidiTools</id>
	<title>Mediawiki-talk:Gadget-BidiTools - היסטוריית גרסאות</title>
	<link rel="self" type="application/atom+xml" href="https://israherb.org/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Mediawiki-talk%3AGadget-BidiTools"/>
	<link rel="alternate" type="text/html" href="https://israherb.org/mediawiki/index.php?title=Mediawiki-talk:Gadget-BidiTools&amp;action=history"/>
	<updated>2026-06-13T12:08:00Z</updated>
	<subtitle>היסטוריית הגרסאות של הדף הזה בוויקי</subtitle>
	<generator>MediaWiki 1.31.1</generator>
	<entry>
		<id>https://israherb.org/mediawiki/index.php?title=Mediawiki-talk:Gadget-BidiTools&amp;diff=603&amp;oldid=prev</id>
		<title>Kinslayer: דף חדש:  The BiDiTools gadget assists editors who edit mixed RTL and LTR text.  Examples of where this becomes problematic (in say an R2L Hebrew document):  * If the sentence ends with an Engli...</title>
		<link rel="alternate" type="text/html" href="https://israherb.org/mediawiki/index.php?title=Mediawiki-talk:Gadget-BidiTools&amp;diff=603&amp;oldid=prev"/>
		<updated>2008-04-18T07:14:55Z</updated>

		<summary type="html">&lt;p&gt;דף חדש:  The BiDiTools gadget assists editors who edit mixed RTL and LTR text.  Examples of where this becomes problematic (in say an R2L Hebrew document):  * If the sentence ends with an Engli...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;דף חדש&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
The BiDiTools gadget assists editors who edit mixed RTL and LTR text.  Examples of where this becomes problematic (in say an R2L Hebrew document):&lt;br /&gt;
&lt;br /&gt;
* If the sentence ends with an English word, the period will appear on the wrong side.&lt;br /&gt;
* A single-lined, ordered list with consecutive English words will display these words in the wrong order.&lt;br /&gt;
* 'Words' such as chemical names will appear with their molecules reversed.&lt;br /&gt;
* etc...&lt;br /&gt;
&lt;br /&gt;
Unicode has a BiDi (bidirectional) algorithm which computes which text should be written right-to-left (R2L) and left-to-right (L2R).  Usually it guesses these orders correctly, but in the complicated cases given above, it will guess wrong.  To this end, special BiDi control characters can be embedded in documents to tell the BiDi engine how to display the text.  This gadget provides buttons and other help for working with these special characters.&lt;br /&gt;
&lt;br /&gt;
'''Important''': The BiDiTools gadget is intended for users who already have a good understanding of how BiDi works.  Although the codes are explained below, users of this gadget are expected to understand why invisible characters can make their whole document appear backwards.&lt;br /&gt;
&lt;br /&gt;
The characters (with identically named buttons):&lt;br /&gt;
&lt;br /&gt;
{| border=1 cellpadding=2&lt;br /&gt;
! Char !! Name !! Description&lt;br /&gt;
|-&lt;br /&gt;
| LRE || Left-to-Right Embedding || Use to place a LTR 'section' of chars in a RTL section.&lt;br /&gt;
|-&lt;br /&gt;
| RLE || Right-to-Left Embedding || Use to place a RTL 'section' of chars in a LTR section.&lt;br /&gt;
|-&lt;br /&gt;
| PDF || Pop Directional Format || End markup for LRE, RLE, LRO, RLO.&lt;br /&gt;
|-&lt;br /&gt;
| LRO || Left-to-Right Override || Override letter ordering.  Could be useful &lt;br /&gt;
|-&lt;br /&gt;
| RLO || Right-to-Left Ovverride || Use for a 'section' of LTR chars in a RTL paragraph.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== User installation and usage ==&lt;br /&gt;
&lt;br /&gt;
* To install the BidiTools gadget, simply select it in your [[Special:Preferences]] under 'Gadgets'.&lt;br /&gt;
** You shouldn't use this with the [[MediaWiki:Gadget-EvilUnicodeConverter|EvilUnicodeConvert]] gadget as some functions contradict.&lt;br /&gt;
** To change the document direction, enable the [[MediaWiki:Gadget-BiDiEditing|BidiEditing]] or [[MediaWiki:Gadget-BiDiEditing2|BidiEditing2]] in [[Special:Preferences]].&lt;br /&gt;
&lt;br /&gt;
* Clicking on any of the buttons will insert their respective character in your text.&lt;br /&gt;
** Make sure any text preceded by a LRE,RLE,LRO,RLO is followed by a PDF afterwards.&lt;br /&gt;
* If you highlight a block of text first and then click a button, the PDF is automatically added at the end.&lt;br /&gt;
* Click the BiDi-&amp;gt;HTML or HTML-&amp;gt;BiDi button to switch between using your chars and seeing where they are.&lt;br /&gt;
&lt;br /&gt;
== Administrators ==&lt;br /&gt;
&lt;br /&gt;
=== Notes ===&lt;br /&gt;
&lt;br /&gt;
* On save, all the Unicode BiDi chars are converted to their HTML entity equivalents.  This is prevent confusing users without the gadget who might not understand why their editor is behaving backwards for no reason.  Likewise, on load, HTML chars are converted to Unicode so that they display correctly in the editor.&lt;br /&gt;
&lt;br /&gt;
=== Installation on other Wikis ===&lt;br /&gt;
&lt;br /&gt;
# Install [[Extension:Gadgets]]&lt;br /&gt;
# View the source / edit [[MediaWiki:Gadget-BiDiTools.js]] and this page and copy them to your Wiki&lt;br /&gt;
# Edit [[MediaWiki:Gadgets-definition]] and add the line '* BiDiTools|BiDiTools.js'.&lt;br /&gt;
# Check [[Special:Gadgets]] to make sure BiDiTools appears on the list.&lt;br /&gt;
&lt;br /&gt;
== Development ==&lt;br /&gt;
&lt;br /&gt;
This is still a work in process.  Comments and additions are welcome.&lt;/div&gt;</summary>
		<author><name>Kinslayer</name></author>
		
	</entry>
</feed>