Template talk:MongolUnicode

Vertical text works in Chrome
So, apparently there are at least two major web browsers that more or less support vertical writing: Microsoft Internet Explorer and Google Chrome. I updated the template to make it work in Chrome; it's experimental, but to the best of my understanding it works (my version is 17.0.963.65 (Developer Build 124586 Linux) Ubuntu 11.10).

There is a problem, though: Now that it works, Mongolian text embedded in English creates very large line spacing. See the opening paragraph of Nambaryn Enkhbayar for an example. I don't really have anything clever to say about this except that it probably needs some kind of a solution. On IE it worked like that for a while now, but i use IE too rarely to notice. I don't use Chrome very often either, but a lot of people do. And it will work in Firefox one day, too. --Amir E. Aharoni (talk) 16:34, 9 March 2012 (UTC)


 * Just tested on latest version of Chrome under Windows 7 and vertical layout is indeed working correctly. One way of dealing with overlong vertical Mongolian is to put a   tag in place of spaces, for example  (is this spelled correctly?). This breaks the Mongolian into left-to-right sections in Chrome, but under IE9 it breaks into right-to-left sections, which is wrong. BabelStone (talk) 23:07, 9 March 2012 (UTC)
 * I did that on Om mani padme hum and i think that it's nice. I don't know about other articles with longer words, however. Hey, this may finally start serious discussion about the combination of horizontal and vertical text... --Amir E. Aharoni (talk) 14:14, 10 March 2012 (UTC)
 * I like that as well, and have tried the same on Yongning Temple Stele, although it runs off the side of the info box on my system . BabelStone (talk) 19:58, 10 March 2012 (UTC)
 * I've fixed the template so that break-segmented vertical text now displays correctly in IE as well as Chrome. I have also fixed the Phagspa template so that vertical 'Phags-pa text displays correctly in Chrome (e.g. see Stele of Sulaiman). BabelStone (talk) 21:10, 10 March 2012 (UTC)
 * Using  causes problems with browsers such as Firefox that don't support vertical layout, so the best solution is to wrap each Mongolian word in a separate MongolUnicode template separated by a space character. I have updated the documentation accordingly. BabelStone (talk) 10:27, 19 January 2014 (UTC)
 * Now Firefox started providing support for vertical layout, but you must enable it to get proper rending, I have updated the documentation accordingly, and I have improved typesetting for 'Phags-pa text.--Great Brightstar (talk) 23:18, 15 May 2015 (UTC)

Adding Mongolian Script to Articles
Dear contributors, Mongolian script in unicode still has a long, long way to go before it can render everything accurately. I dont know if this is the right place to say this, but please stop adding script to articles (the majority of them are wrong, or the rendering is not per the grammar/rules). Also, cyrillic to script is not a one-to-one transcription. -- chinneeb - talk 06:30, 25 March 2012 (UTC)

Cross platform compatibility
I tried in Template:MongolUnicode/sandbox to make it cross platform compatible. Right now it can be displayed vertically but there are some layout issues in browsers other than IE. See User:Quest for Truth/anchor for demonstration. It seems that the width and height is not swapped when it is rotated 90deg. --Quest for Truth (talk) 19:09, 11 June 2012 (UTC)


 * Under IE9 the sandbox version does not seems to be an improvement (no difference in layout except that the line progression is now incorrectly rtl instead ltr), and under Chrome the sandbox version is much much worse. For me the current template works fine for both IE9 and Chrome, so I wonder what layout issues you are trying to fix with other browsers. BabelStone (talk) 23:31, 11 June 2012 (UTC)
 * I have improved the compatibility since Firefox got support in 38 (even if it has disabled by default at that time). --Great Brightstar (talk) 14:23, 25 January 2016 (UTC)

Chrome.
So is there any way to fix this in Chrome? The current sandbox version uses webkit's rotate, resulting in overlap. Its especially noticable when the text is long. And “-webkit-writing-mode: vertical-lr” just seems to be ineffective at rotating Mongol Script. See: http://i.imgur.com/4wKowXP.jpg. Any suggestions? I'm gonna remove the webkit attributes for now, horizontal text is better than the garbled mess right now. -- chinneeb - talk 16:22, 28 February 2014 (UTC)
 * There are some problems with Chrome, although it should be noted that the vertical layout works fine in IE. The current sandbox example of long text is not realistic as words of this extreme length do not occur naturally, and breaking multi-word Mongolian text into individual vertical words, as in the bottom example usually produces acceptable display. I think it is OK to remove the webkit attributes as they are obsolete, but I would oppose removing the ability of render text vertically on systems that support vertical layout. BabelStone (talk) 19:39, 28 February 2014 (UTC)
 * Oh of course, I know it works perfectly on FF & IE, but do you have any ideas on what to do with Chrome? -webkit-transform:rotate(90deg) + -webkit-transform-origin + a bunch of padding or margins enough for any actual word in Mongol Script? -- chinneeb - talk 04:23, 1 March 2014 (UTC)
 * Now Chrome porformanced pretty good in this sequence, so I have dropped -webkit-text-orientation.--Great Brightstar (talk) 22:55, 12 May 2015 (UTC)

Semi-protected edit request on 26 February 2016
Could Almas' Mongolian White font be added to the list of font choices. It is the only one that works on Macintosh computers and is the only one that will let the text properly display on an Apple.

Freeelf (talk) 02:54, 26 February 2016 (UTC)
 * Red question icon with gradient background.svg Not done: it's not clear what changes you want to be made. Please mention the specific changes in a "change X to Y" format.  B E C K Y S A Y L E S  05:44, 15 March 2016 (UTC)
 * Yes check.svg Done: OK, I added it. You can also try Oyun Qagan Tig font, which performanced better if you are browsing certain articles with Chrome or Firefox on OS X. --Great Brightstar (talk) 15:19, 24 March 2016 (UTC)

Appears as one long line of horizontal text
iOS 14.2 Safari unknown version. Don’t need to trouble shoot this, am told it displays correctly on other platforms and am happy to click away if so. Just fyi in case it is helpful, see Inner Mongolia University of Finance and Economics. Elinruby (talk) 15:38, 13 December 2020 (UTC)

Welp, on iOS 15.4.1 it becomes something worse: a vertical layout of horizontal glyphs, so that the whole thing is disconnected. Honestly not using this template and keeping the native Unicode RTL rendering is better. Artoria2e5 🌉 02:25, 15 May 2022 (UTC)

Template parameters
Why are there so many overridable parameters to this template ? Are they even in use ? —Th e DJ (talk • contribs) 20:30, 25 May 2023 (UTC)


 * To clarify, most of these style settings can be inherited from a higher level. It's a really bad idea to mix multiple functionalities into such a basic single purpose template and makes it a lot less maintainable. —Th e DJ (talk • contribs) 20:36, 25 May 2023 (UTC)
 * @TheDJ: The main problem is that vertical scripts like Mongolian have their own styling requirements, especially when embedded in horizontal text, but MediaWiki doesn't provide any styles for vertical scripts. I made T340268 earlier this year for that, in fact. It's difficult to make the template automatically work for everything, so I can understand why people would want to adjust values for the page they're editing without having to risk breaking things on other pages.
 * By the way, how did you generate the statistics below?
 * - Nikki (talk) 01:13, 9 October 2023 (UTC)
 * It is from https://bambots.brucemyers.com/TemplateParam.php —Th e DJ (talk • contribs) 13:28, 9 October 2023 (UTC)

Yikes.. this templates' usage really needs some cleanup.

Template: MongolUnicode

Page count: 1044

Transclusion count: 5663

Monthly data as of: 2023-05-01

Valid name key: Y = Yes, N = No, D = Deprecated, R = Required, S = Suggested