Template talk:Contains special characters/Archive 1
Producing replacement character examples, part 1
editTwo comments:
- Strictly speaking, it's not the MSIE in itself, but only in combination with missing fonts or improper font settings. Without any font to render a specific char, also Mozilla or Opera will give up.
- The use of � "�" is misleading as it renders as "broken encoding glyph" in all browsers. The character that MSIE users see, when the character can not be displayed due to not being in the selected font, is the "missing character glyph", which is strictly speaking font dependant, but mostly an open rectangle. Perhaps using ௿ "" would be a better fit.
Pjacobi 21:04, 10 Oct 2004 (UTC)
- I made sure I didn't say "IE is crap and all character viewing problems are Microsoft's fault; death to Bill!", but I knew someone would complain anyway. OK, now I've put "not always display correctly". That is true. These characters do not always display correctly in IE (in the real world, they never display correctly in IE for the vast majority of people), and they will always display correctly in Firefox unless you do something to screw it up.
- I was just being realistic.
- I don't think � is misleading. In IE I get a box — the same box I see for the characters IE can't display at Pinyin. Your gives me a different, narrow box. In Mozilla, however, I get a question mark in a diamond with � and a normal question mark with your ௿ or with the characters Mozilla can't handle at Greek alphabet. I'll add a real question mark. Chameleon 21:35, 10 Oct 2004 (UTC)
I'm normally on Moz 1.7 for surfing but I have MSIE5 installed for testing, and I can test with MSIE6 and Opera7 from another computer. My only concern, is to not confuse users even, which may be already be confused due to their broken display.
Now MSIE5 displays two question marks on the warning template, but open rectangle for polytonic Greek on Greek alphabet.
OTOH it seems U+0BFF was a bad choice in any case. Let's try to do it systematically, if there is a system in it
Code | Char | Moz1.7 | MSIE5 | Opera8 |
---|---|---|---|---|
� | � | diamond-? | ? | box |
஀ | | ? | box | box |
Ϡ | Ϡ | sampi | box | box |
But perhaps it depends on too many factors, and a more vague description is needed.
217.227.2.156 21:49, 10 Oct 2004 (UTC) Oops, logged out. That was me again --Pjacobi 22:01, 10 Oct 2004 (UTC)
Internet Explorer
editThis template is not really needed: the issue is not with the so-called "special characters", but rather with MSIE's broken implementation of characters the browser cannot display. Under no circumstances should people be told NOT to use the correct characters just to work around bugs in outdated software. My ¢2. {Ανάριον} 10:07, 14 Oct 2004 (UTC)
- I hate IE as much as you, but I tried to make my wording NPOV. I fear your changes will simply be reverted by someone who believes it is too anti-IE.
- Nobody is being told not to use the correct characters just to work around bugs. Please don't interpret my template like that. Its entire purpose is to warn people (people consulting the article, rather than editors) about encoding problems they might come across. I think it does that well.
- I'll tell you why I created the thing. The other day, someone asked me to write out the letters of the Greek alphabet for him. I told him it would be quicker if he just looked up the appropriate article on Wikipedia, and he did so. An hour later, I asked how it had gone, and he told me "ah, Wikipedia haven't done the article right. It's corrupted or something, with little boxes instead of letters." Then I remembered he had refused to install Firefox on his computer. It really annoyed me that hundreds of people must come to our articles, just like him, and decide that we have made a mistake and not put the proper characters in. I set him straight, telling him the problem was IE, but what about all the people I don't get to tell? I decided to create a template that would inform IE users that, if they saw little boxes, there was a reason for it. Then, if they don't care about seeing the symbols, they can just ignore them, at least knowing that it is not a screw-up on our side; if they do care about seeing the symbols, they are informed of a way around the problem.
- I think this is essential. We desperately need this template until Internet Explorer users on Xp (the vast majority of people on the internet) can see our symbols "out of the box". Chameleon 11:07, 14 Oct 2004 (UTC)
- I'm going to revert:
- Calling IE "outdated" is just going to raise the ire of IE supporters. Let's keep cool. It is clear enough that IE is the main problem.
- Adding "௿" is not helpful. In IE, it displays a narrow box, which is not how obscure characters display in IE (they display a wider box). In Gecko-based browsers, it displays a question mark, which is already there.
- It is not true that installing a Unicode font helps. Windows comes with Arial Unicode MS. The problem is that this is not the default font, and that fact that IE can't deal with Unicode except when a Unicode font is used (unlike Mozilla, which makes the appropriate substitutions).
- I'm going to revert:
Chameleon 11:07, 14 Oct 2004 (UTC)
- Agreed with many points, but I still have to reword it.
- Don't get me wrong: MSIE was a good browser once, but the fact its standards support has hardly been updated in the past six years has made it the new Netscape 4: a single browser holding back the entire web. I've slightly reworded it again, focus should be on the browser being the problem, not the characters.
- And Arial Unicode MS does not come with Windows: this only comes with Microsoft Office. Unfortunately as you state MSIE is incapable of using Unicode fonts correctly, unlike Opera, Mozilla, Firething, etc.. {Ανάριον} 11:38, 14 Oct 2004 (UTC)
AFAIK the main MSIE problem is, that it doesn't try other fonts if the "normal" (selected by user, stylesheet, etc) font doesn't implement the character. Gecko browsers will try, and as a result you will sometimes see, that some rare latin characters (with underdot or underbar) are displayed from a different font.
For the concrete wording of the message, we should try to reproduce the "open box", as it is a very common display in MSIE. If ௿ doesn work, perhaps ଀ or Ϡ will.
Pjacobi 14:21, 14 Oct 2004 (UTC)
- Any unassigned character should work, for example U+0750: ݐ
- I think the main MSIE problem is that it, alone, refuses to use multiple fonts for one "range". If in Opera I mix "normal Latin" (ASCII) with a dark l, and my normal Latin font does not include it, the dark l will be taken from a font that does. Mozillas also work this way. In MSIE I would have to change my entire normal Latin font to the font that does include it, which often means all webpages will look bad (most large Unicode typefaces I find rather ugly, or they are too large/too small/too vague). Added to this problem is the impossibility to properly assign fonts to Unicode ranges in MSIE. {Ανάριον} 14:51, 14 Oct 2004 (UTC)
Producing replacement character examples, part 2
editNo, no, no! Stop changing the fake character! The result is that in IE you see a narrow box that does not correspond to the symbol you get when viewing Greek alphabet, etc, and in Gecko you get a question mark, so it reads ‘Bear this in mind if you encounter symbols such as "?" or "?"’, i.e. the same thing twice. My way was better. I'm reverting. Chameleon 18:10, 14 Oct 2004 (UTC)
- "?" or "?" doesn't look nice, but "??" (as in the original version of the page by you) does. My change addresses that. -- Paddu 22:26, 20 Nov 2004 (UTC)
Font advice
editIt was suggested that using "Arial Unicode MS" doesn't help so it's not a font-related problem. That by itself doesn't prove that installing other fonts wouldn't help. In fact, "Arial Unicode MS", — or for that matter most fonts too — doesn't include glyphs for all assigned unicode codepoints. A "unicode font" is not required to contain glyphs for all assigned unicode codepoints, only that whatever glyphs it contains are mapped to proper codepoints as per the Unicode standard.
There definitely is a problem with fonts, since not all systems have fonts to display all characters. This problem affects not only IE but also mozilla, etc. and can only be solved by installing proper fonts and configuring the browser to use them.
But having said that, there certainly is a difference between how IE and Gecko (at least on linux) select fonts to display glyphs from. On linux, an Xft build of mozilla uses fontconfig to search all the fonts in specific directories for any glyph (this includes fonts not specified in mozilla preferences). I'm not sure Gecko searches all fonts in Windows, but at least IE doesn't do that, e.g. http://hi.wikipedia.org/ showed only boxes until I specifically installed a Hindi unicode font.
BTW the size of the box shown probably has something to do with whether the codepoint is representable in 16-bits or requires 21-bits. Mozilla on linux shows a box with the codepoint value written inside in hex, which means different widths for different no. of hex digits.
I've changed the template to reflect the fact that any browser/GUI environment can have this problem (e.g. missing or misconfigured fonts) and changed the "fake character" to codepoints guaranteed to be unassigned in Unicode plus a question mark. HTH -- Paddu 22:23, 20 Nov 2004 (UTC)
Category confusion
editWhy does this template have a category of Category:Pages with special characters. This category doesn't exist, and doesn't lead to anywhere. Is there some intended use for it? Can it be removed? --Sortior 00:33, Nov 25, 2004 (UTC)
- Ugh! That category does exist (i.e. there exist pages under that category or under subcategories) and lists pages with special characters or subcategories that list some such pages. Just that there is no introductory text about the category on the caregory page itself.
- Whether it can be removed — What is listed in the category can be got here too: Special:Whatlinkshere/Template:SpecialChars but most of these kinds of templates seem to have a related category page, e.g. Template:Disambig, Template:Cleanup, Template:Aero-stub. Probably people feel category pages are more organised than Whatlinkshere. Also there might still be a limitation on the no. of links shown in Whatlinkshere (It used to be there, not sure if it's still there now). -- Paddu 07:49, 25 Nov 2004 (UTC)
- OK, at least Special:Whatlinkshere/Template:SpecialChars doesn't give any idea about subcategories but Category:Pages with special characters does. -- Paddu 09:10, 25 Nov 2004 (UTC)
- This category has since been emptied. -- Beland (talk) 17:15, 26 May 2020 (UTC)
Aesthetics
editI'm not going to complain about the content of the box, and I appreciate the idea behind it. but please make it smaller. It disfigures the articles. It should be both in smaller font and with less text. It doesn't have to explain the browserwars in a nutshell, you know. just tell people that if they have trouble reading the page, click here, and take them to a page that explains the issue. dab (ᛏ) 19:57, 18 Dec 2004 (UTC)
Template is not practical
editI don't think this template is practical. Every East Asia-, Middle East-, South Asia-, and Southeast Asia-related article is bound to contain special characters in a few cases. Articles like People's Republic of China, Japan, India, Thailand, South Korea, etc. all contain special characters. Since coming to Wikipedia I've worked on hundreds of China-related articles, including geography, history, language, culture, and famous people. Many of these articles already have disambiguates, maps, infoboxes, photos etc. crammed at the top, and I'm almost certain that all of them are going to contain Chinese characters in at least one place (if not several). So am I supposed to go back now and put this box into every single one of them? I think this destroys the look of a very large proportion of articles on Wikipedia. -- ran (talk) 04:54, Jan 25, 2005 (UTC)
- I honestly believe that it was meant for pages with heavy use of mathematical symbols. If these symbols do not resolve then the page is useless. On the other hand, if the small amount of other language characters don't resolve in a mainly text article there is no big loss. Or else they shouldn't be a big loss, the articles in the English wikipedia should be in English.--metta, The Sunborn ☥ 06:35, 25 Jan 2005 (UTC)
Okay, then I'm removing it from the Chinese language page. That article does not contain appreciably more special characters than any number of East Asia-related pages out there (including People's Republic of China and South Korea). -- ran (talk) 23:30, Jan 25, 2005 (UTC)
- I agree. When should we apply this template? Using this in every article which contains special characters is insane, but using it only in some articles bears the question which criteria we should use. At the moment the what links here section looks rather random to me. --Conti|✉ 20:28, Mar 24, 2005 (UTC)
One reason to have the note is so that people don't delete the special characters because they show up as ? in their browser and they don't realize that they are special chars. One thing that would help would be to not have the description on the page itself as it is now structured but instead link to a central place. This way we only clutter the page with a very brief note which if you click takes you to the explaination. WilliamKF 18:45, 28 January 2006 (UTC)
Too big for top
editThis template is too large cumbersome for any article, even in extreme cases. To use, add a NOTE at top (see template SpecialCharsNote, and put the SpecialChars link as a FOOTER under a HEADER called "Special characters." This at least is reasonable, and the note doesnt have to be at top, but just before the TOC. Thanks. -==SV 00:45, 25 Mar 2005 (UTC)
- Template:SpecialCharsNote refers to an anchor named Special_chars, but no such anchor exists in this template anymore. I was going to put it back in, but I can't figure out how to do it.
<a name="Special_chars">Note:</a>
goes into the rendered version with the anchor tags visible now. — mjb 05:01, 24 August 2005 (UTC)
Producing replacement character examples, part 3
editPaddu's attempts to force the display of unrenderable-character replacement characters (boxes, question marks, etc.) do not work so well across different browsers. It's actually not permitted in XHTML to include, even by reference, code points ending in FFFE and FFFF (hex). U+FFFD means "replacement character" and should always work (post-Netscape 4.0), to the extent that it will be a replacement character, but we can't guarantee its appearance, and we really want it to be unambiguous. Firefox 1.0.4 on WinXP was showing "????" for me, which just looks like sloppy code. Even if it were 5 question marks in a row, that would still not really be a very helpful example. I don't think it's necessary to attempt to show people what the replacement characters look like; a brief description is fine, so I have rephrased the content accordingly. I also tried to phrase it in such a way as to point out that having the right fonts is a critical factor, but not the only possible point of failure. — mjb 04:37, 12 July 2005 (UTC)
New anchor suggestion
edit- Also posted in Template talk:SpecialCharsNote.
It would be possible to specify an anchor by adding the id="????"
attribute to the <div>
tag in {{SpecialChars}}.
This would remove the necessity of adding a special header—which often looks clunkyanyway—and ensure that anywhere {{SpecialChars}} and {{SpecialCharsNote}} are used together they will work properly.
I suggest using "SpecialCharsTemplate
" as the anchor text.
I also suggest altering the wording slightly so that people actually expect to click for an explanation.
{{SpecialCharsNote}} would therefore contain:
:This article contains special characters: see [[#SpecialCharsTemplate|explnatory note]].
and {{SpecialChars}} would start:
<div class="boilerplate metadata" style="background-color: #f3f9ff; margin: 1em 2.5% 0 2.5%; padding: 0 10px; border: 1px solid #aaa;id="SpecialCharsTemplate">
Template is too big even at the bottom of an article
editThis template is too big for the bottom of an article, especially because it is not specific. Adding the little note at the top of the page makes the combined effect very ugly. I recommend that it is stripped down the minimum with a link to a page that explains what can be done about it. There are specific pages dealing with specific character sets, like {{IndicText}}. These are far more helpful. Also, as many pages with this template are about languages, it is possible to build a small notice into the footer of {{language}}. --Gareth Hughes 15:45, 25 November 2005 (UTC)
one more font
editI started with article Runic alphabet and was unable to read it (Mozilla 1.7.5/Win2k). Thus I followed the links from this template. Code2000 is stated to be shareware (sooner or later will ask for payment), Arial Unicode MS is stated to be available only through MS Office (which I do not have), and I did not managed to get something as TTF from Free software Unicode fonts. So I was stuck with all suggestions shown here. So I gave up and browsed further slightly annoyed. I think the suggestions here need improvement.
Browsing further I came across the TITUS (project), which helped me to see the runes. IMHO it might be valuable to other people, so I wrote a stub with link to the font download page. I am going to replace "Arial Unicode MS" with a link to the TITUS article, as MS Office owners will more or less have it while others will benefit from the TITUS font. -- Goldie (tell me) 10:23, 17 December 2005 (UTC)
- Help:IPA does mention TITUS, so looks like this is good. -- Beland (talk) 17:17, 26 May 2020 (UTC)
Hint from Chinese Wikipedia
editI am not sure if "special chars" include all Asian chars or vice versa. If yes, then the box should only notify readers with this information and maybe tell them to get the fonts; if not (like math symbols or chars from other languages), then maybe separate special chars templates regarding more specific types of characters (like Asian, maths, other languages, etc.) should be made. I guess readers prefer an eye-catching but small notice, so the template is better to be smaller and variated in terms of "types". And I support Phil's suggestion of a new anchor.
In Chinese Wiki, there are two templates about Unicode font extensions: "CJKA-Char" and "CJKB-Char" (region A and B extension of Chinese, Japanese and Korean characters). The template roughly reads:
- Attention: This article contains Unicode CJK Unified Ideographs extension region (A/B). If your computer does not support, the respective characters will be shown as spaces, question marks or boxes. Please refer to (another page explaining further about it- "Wikipedia: Unicode extension").
See Han unification if needed. I hope it helps... - Polobird 18:08, 16 January 2006 (UTC)
"CJKA-Char" and "CJKB-Char" has been merged to Template:CJK-New-Char months ago. --✉ Hello World! 09:06, 3 June 2007 (UTC)
Nominated for deletion
editThis template was nominated for deletion on March 4, 2006. The result was keep. The archived discussion can be found here. Zzyzx11 (Talk) 00:37, 11 March 2006 (UTC)
Template trimmed, but more work to be done
editOn 10 Feb 2006, Stevertigo trimmed the content down to just the bare minimum. Now we have a problem in that Wikipedia:Template messages/General still contains a complaint about the size of the template, and it still suggests using the Template:SpecialCharsNote at the top of the article. Please discuss where the SpecialChars template should go (top or bottom or both?) and whether SpecialCharsNote is needed, and make adjustments to Template messages/General accordingly. Thanks. —mjb 01:51, 20 March 2006 (UTC)
So noted
editI removed the "technical note:" prefix from the template on the grounds that none of the top-placed templates I've ever seen state what sort of information they are, nor is this of any interest to the reader. That a statement about "technical limitations" is a technical note should be considered obvious and uninteresting. 82.92.119.11 23:34, 16 April 2006 (UTC)
Category
editWhat exactly do we anticipate the category being used for? This is a meta-category and should properly be on the talk page, if a category is needed at all. But I would think what links here would be just as good. Christopher Parham (talk) 23:29, 1 August 2006 (UTC)
- The template no longer adds pages to a category. -- Beland (talk) 17:26, 26 May 2020 (UTC)
Runes
editThe template that is used showing the rune rows in the article Haglaz - can someone amend it to show the Armanen Futharkh also as this is a major rune row and should not be missed off. FK0071a 11:31, 22 November 2006 (UTC)
Hideable templates
edit{{Editprotected}}
This is the sort of template that pretty much only makes sense when WP is being viewed in a web browser. It doesn't make sense for print, for example - if special characters show up as boxes, that's a printing error, and there's nothing the reader can do about it. Templates like dablinks have a CSS style that hides them in print; this one should do the same IMO. Hairy Dude 13:23, 21 February 2007 (UTC)
- indeed. this is a help for users viewing Wikipedia in a webbrowser. It could be argued that the proper configuration of people's webbrowsers is none of Wikipedia's concerns. It just happens to be a question so frequently asked that it is efficient to tell people "your browser is to blame" preventively. It should be in Category:Wikipedia maintenance templates as a template that is not necessarily printworthy. dab (𒁳) 12:47, 20 July 2007 (UTC)
- Is it really asked that often? Most people I know would realize their browser/os/computer is to blame, should they see lots of hollow boxes. Shinobu 14:07, 31 July 2007 (UTC)
- I came here for the same reason. Please add the class
noprint
! (I also wonder whether the classinfobox
should be hidden in print by default.) — Christoph Päper 12:50, 24 March 2011 (UTC)- Done, 4 years later. — Martin (MSGJ · talk) 08:24, 25 March 2011 (UTC)
Why a table in a div?
editWhy is this template a table in a div? Shinobu 14:04, 31 July 2007 (UTC)
- This has apparently since been removed. -- Beland (talk) 17:28, 26 May 2020 (UTC)
no image!
editthis template has been doing fine for ages without being "prettified" with an image. If you're going to add an option of including an image, at least make it optional. I.e., no image is displayed if the "image" parameter is empty. --dab (𒁳) 13:21, 2 November 2008 (UTC)
- It's desired on sub-templates such as {{contains Chinese text}}. Now you've removed even the option of an image. This shouldn't have been removed without discussion. Do I need to raise an editrequested to have it restored? Chris Cunningham (not at work) - talk 15:08, 2 November 2008 (UTC)
- it that's the case, it should have been taken into account when these templates were merged. The burden is not on me to spend time with template-coding because somebody else did a sloppy merger. We can just revert to the situation prior to October 13 before this is addressed (i.e., you want to undo this edit). I also contest that an image is needed on {{contains Chinese text}}: it's useless clutter. --dab (𒁳) 15:22, 2 November 2008 (UTC)
- It isn't a "sloppy merger" at all. It was tested exhaustively, performed on the 13th of October, labelled as such in the edit summary, and no dissent was raised. If you're the only dissenter, then this should be reversed. I'm disappointed that you would use your administrative privilege to gain advantage in a content dispute here. Chris Cunningham (not at work) - talk 15:50, 2 November 2008 (UTC)
the upshot is that this template looked differently than it used to, without any discussion whatsoever on this page. Right above, the issue is raised whether these templates are still needed in the first place. I don't see you defending their utility. Instead, some random image suddenly appears in it. I have removed the addition of that image, that's all, I did not revert the merger. If you are dying to have the possibility to add an image to these templates, just implement the option properly (as in, {{#if:{{{image}}}| place image clutter here if you must|}}), no dissent from me there. I have not used any "administrative privilege". You also don't seem to have (or choose to show you have) an understanding of the term "content dispute". This is at best a "layout dispute", it doesn't affect article content one bit. It concerns the layout of certain templates that were changed unilaterally, without any discussion. You are beginning to sound disappointingly disingenious. If you stop the wikidrama, you can just fix this in five minutes. Thanks. --dab (𒁳) 15:56, 2 November 2008 (UTC)
- There's cascading protection on the page. If I could have fixed it myself I would have done so. The code is in the page's sandbox now anyway. (bah, always drama in this place.) Chris Cunningham (not at work) - talk 16:06, 2 November 2008 (UTC)
- alright, I didn't realize I was editing a protected page. Anyway, I was reverting an unilateral change, which is what it is protected against. I have implemented this change. I hope this fixes this particular issue. --dab (𒁳) 16:09, 2 November 2008 (UTC)
- alright, I'm not sure what's going on, but I'm going to put things back as best I can, but make it so that the use of an image is optional. I hope that satisfies everyone, but if not, let's discuss the matter. --Ludwigs2 01:15, 5 November 2008 (UTC)
- I've reset things, mostly. you can now specify a blank image on a page by page basis - use and empty parameter (image=). --Ludwigs2 02:21, 5 November 2008 (UTC)
Internet Explorer 7.0
editFollowing this path: Tools -> Internet Options -> Fonts -> Webpage Font:
from an IE menu bar reveals a pull-down menu. When I replaced the default selection (Times New Roman) with Lucida Sans Unicode, lots of mathmatical symbols suddenly started working correctly.
Spacing problem
edit{{editprotected}}
This template has an extra line in the beginning, which causes extra lines to appear depending on where the template is used. To resolve, find the following:
<noinclude>{{pp-template}}</noinclude> {| class="infobox" cellpadding=3 style="clear: right; width: 27em; border-collapse: collapse; font-size: 83%; line-height: 1.2em"
Replace it with:
<noinclude>{{pp-template}}</noinclude>{| class="infobox" cellpadding=3 style="clear: right; width: 27em; border-collapse: collapse; font-size: 83%; line-height: 1.2em"
And you're done! Gary King (talk) 19:38, 26 February 2009 (UTC)
- Fixed. --- RockMFR 23:19, 26 February 2009 (UTC)
Per Talk:Mojibake#Mojibake image, it appears "mojibake" only refers to gibberish characters from the regular keyboard, and not to firefox-style boxes and other stuff you sometimes get with font problems. This template currently links question marks, boxes, or other symbols to Mojibake, which is a bit misleading (it misled me into making an edit to that article, which turned out to be misinformed). Can we just remove that link, since it's not really contributing anything anyway? rʨanaɢ talk/contribs 02:49, 7 April 2009 (UTC)
- well, I think it would be better to find a different article to link it to - the phrase needs some explanation. let me see what I can dig up. --Ludwigs2 18:40, 8 April 2009 (UTC)
- This now links to Specials_(Unicode_block)#Replacement_character. -- Beland (talk) 17:32, 26 May 2020 (UTC)
fixed-width specification causes text overlapping
editThis template's fixed width specification does not allow it to resize when flowing to the right of a wide contents table. When a user sets their font to a larger size, this causes the template to render over the contents. See Medicinal mushrooms for an example. I observed this using Firefox 3.0.11 on OSX, using "minimum font size" 14, on a display 1280 pixels wide. In Firefox, the minimum font size option is under Preferences:Content:Fonts&Colors. - Rgrant (talk) 23:58, 18 July 2009 (UTC)
- {{editprotected}} I've also noticed that the width of this template seems much wider than the rest of the infoboxes on Wikipedia, and that this causes problems. A suggestion has been made on Template talk:Contains Chinese text that the width be reduced to 22em, which is the standard for infoboxes (e.g. template:infobox). Can we get the width reduced from 27 to 22em? Thanks, LK (talk) 12:08, 19 September 2009 (UTC)
Alt text support
edit{{editprotected}}
For WP:ACCESSIBILITY by visually-impaired readers, all functional images should have alt text as per WP:ALT; conversely, images that are purely decorative (i.e., they don't convey info that is not already available, and nothing happens if you click on them) need not have alt text. The image in this template is typically purely decorative, so I've fixed the sandbox to mark it that way by default; this can be overridden with two new arguments link= and alt=, which I've documented. Please install the sandbox edit to add this support. Thanks. Eubulides (talk) 19:24, 29 July 2009 (UTC)
- Done. --- RockMFR 00:52, 30 July 2009 (UTC)
Add selfref class
edit{{editprotected}}
This should really be class="infobox selfref" to properly identify it as a self-reference template. Chris Cunningham (not at work) - talk 18:06, 12 September 2009 (UTC)
- Done Hersfold (t/a/c) 21:43, 12 September 2009 (UTC)
Top of article?
editSeriously, this should be proposed at the pump before it is used on any more pages. The recommendation of placing this at the top of affected articles contradicts WP:LAYOUT (lead images should be at the top). It is true that maintenance templates are also placed at the top, but these are supposed to be temporary. The SpecialChars template is apparently supposed to be permanent. Sławomir Biały (talk) 14:00, 15 November 2009 (UTC)
Whitespace
editThere seems to be a lot of whitespace above this template, and thus on all the templates that transclude this; therefore, it looks ugly on some pages, such as Tone contour. I don't think it used to look this way, so maybe something has changed in the stylesheets or something (since this template doesn't include other ones). Does anyone know what might be causing this whitespace, and how to get rid of it? rʨanaɢ (talk) 07:48, 16 September 2010 (UTC)
- The actual problem here seems to be with {{Unreferenced}}, but I can't see what it's doing wrong yet. --Ludwigs2 21:50, 19 October 2010 (UTC)
- Ah, ok. the problem is that {{Unreferenced}} ends with a hidden comment <!-- end template -->, and the hidden comment acts like a real line and gives extra whitespace when the following line contains a table. wiki-syntax peculiarity, I guess, but you can resolve it by moving the IPA notice up onto the same line as the unreferenced template. --Ludwigs2 22:08, 19 October 2010 (UTC)
Same page is linked twice in this template
editThis template contains two links to Help:Special characters. Would anyone object if the second one was removed? Or is there a reason to include it? meshach (talk) 20:29, 19 October 2010 (UTC)
- Be a bit cautious here. this is a meta-template, and when other templates call it the first special chars link is replaced with a topic-appropriate link (look at {{IPA notice}}. there might be a better way to handle it, but you don't want to break the dependent templates. --Ludwigs2 22:11, 19 October 2010 (UTC)
New code
edit{{editprotected}}
Please replace the current code with sandbox. The new code uses {{Side box}} and gives more consistent looks with other templates. --fryed-peach (talk) 05:27, 24 June 2011 (UTC)
- No opposition to this proposal, so Done — Martin (MSGJ · talk) 16:14, 27 June 2011 (UTC)
- Recently added class
noprint
got lost in that revision, please readd. — Christoph Päper 22:16, 5 July 2011 (UTC)
- Recently added class
{{edit protected}}
The extra quotes are causing the class
attribute to terminate prematurely. Please fix this promptly as 4,500+ pages transcludes this template. Kxx (talk | contribs) 21:34, 6 July 2011 (UTC)
- Done. It was requested to be added as before - that line was class="infobox noprint selfref", so I just adapted that. Ronhjones (Talk) 08:26, 7 July 2011 (UTC)
Cuneiform
edit... comes up fairly often.
Is it possible to have a {{Contains cuneiform text}} template? Varlaam (talk) 04:54, 3 December 2011 (UTC)
- {{Contains cuneiform text}} now exists. -- Beland (talk) 17:39, 26 May 2020 (UTC)
Practical advice missing
editI bet 99% of people noticing this template, and clicking through to its linked content page, is doing so because they see broken content (empty squares etc), and thus expect practical advice on how to rectify the situation.
They might not require Wikipedia to handle every corner case, but they definitely will want to get a general hint that leads them in the right direction.
Sadly, the linked page is worse than useless in this regard. Its focus is on entering special characters, when I bet the majority of users only want to view them. And the short, sad, section on viewing them is incomprehensible even for me (as someone who thinks himself technically competent).
Suggestion: please expand the page to - at a minimum - acknowledge the major deficiencies in major browser/OS support, and direct users to the Update services of their respective operating system provider to learn more.
Thx, CapnZapp (talk) 08:32, 1 October 2012 (UTC)
- This now links to Help:Multilingual support which seems to be aimed at help with installing needed fonts. -- Beland (talk) 16:53, 26 May 2020 (UTC)
This edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Please change the link from Mojibake to Replacement character. Seeing mojibake does not indicate lack of fonts; it does indicate a problem with a browser which can’t correctly process UTF-8. On the other hand, “question marks, boxes, or other symbols” are an adequate description of the replacement character, which most browsers display if they can’t find the character in any font. � (talk) 10:48, 2 July 2013 (UTC)
Edit request
editThis edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
I made a change to the sandbox version so that if the compact
parameter is set, a smaller version of the template will be displayed, which will be useful for some articles. The boxes to the right are an example of this.--eh bien mon prince (talk) 00:47, 6 October 2013 (UTC)
- I like the idea, but it creates a horrible wording for the last test case. Can this be improved? — Mr. Stradivarius ♪ talk ♪ 01:09, 6 October 2013 (UTC)
- I'm open to suggestions, but it might be easier to change the
special
parameter to read just "Persian text" in this case.--eh bien mon prince (talk) 11:34, 6 October 2013 (UTC)- Done. After looking through a random selection of the transclusions, I'm inclined to agree with you. Almost all of them use subtemplates like {{contains Chinese text}}, all of which have the same standardised special wording that works fine with your suggestion. Those should probably be updated to pass the
|compact=
parameter through, but it looks like a lot of templates to work through... — Mr. Stradivarius ♪ talk ♪ 12:16, 7 October 2013 (UTC)
- Done. After looking through a random selection of the transclusions, I'm inclined to agree with you. Almost all of them use subtemplates like {{contains Chinese text}}, all of which have the same standardised special wording that works fine with your suggestion. Those should probably be updated to pass the
- I'm open to suggestions, but it might be easier to change the
Requested move 13 June 2014
edit- The following discussion is an archived discussion of a requested move. Please do not modify it. Subsequent comments should be made in a new section on the talk page. Editors desiring to contest the closing decision should consider a move review. No further edits should be made to this section.
The result of the move request was: moved. Though really moving templates is unnecessary work when you can just create redirects. Jenks24 (talk) 11:23, 29 June 2014 (UTC)
Template:Special characters → Template:Contains special characters – Per the similarly-named "Contains ... characters/text/etc" templates (and because the template doesn't e.g. list links to various articles about special characters, etc.) Relisted. Jenks24 (talk) 11:21, 21 June 2014 (UTC) Sardanaphalus (talk) 11:14, 13 June 2014 (UTC)
Survey
edit- Feel free to state your position on the renaming proposal by beginning a new line in this section with
*'''Support'''
or*'''Oppose'''
, then sign your comment with~~~~
. Since polling is not a substitute for discussion, please explain your reasons, taking into account Wikipedia's policy on article titles.
- Support per nom; suggest having a bot replace all transclusions as well, to indicate to editors who examine code to learn how to write articles that we have consistent naming on these templates. -- 65.94.171.126 (talk) 06:17, 14 June 2014 (UTC)
Discussion
edit- Any additional comments:
- The above discussion is preserved as an archive of a requested move. Please do not modify it. Subsequent comments should be made in a new section on this talk page or in a move review. No further edits should be made to this section.
Edit request
editThis edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
The template currently redirects to replacement character when it should go directly to specials (Unicode block)#Replacement character.
It currently says:
- "you may see {{{error|[[Replacement character|question marks, boxes, or other symbols]]}}}"
Instead, it should say
- "you may see {{{error|[[Specials (Unicode block)#Replacement character|question marks, boxes, or other symbols]]}}}".
Ogress 01:58, 13 September 2016 (UTC)
- My inclination is not to grant this request per WP:NOTBROKEN (understanding that WP:BRINT also exists). I'll leave the TER here in case another template-editor disagrees with me. --Izno (talk) 14:48, 13 September 2016 (UTC)
- Not done for now in the spirit of WP:NOTBROKEN. The current link (as a redirect) would probably be more flexible and futureproof. (It seems to be convention to make all links on navboxes direct links for aesthetic reasons... don't think this template qualifies) — Andy W. (talk · ctb) 14:57, 13 September 2016 (UTC)
Aging template
editI see this template is from 2006 or so. Is it still useful, given the progression of browsers/Unicode in these? e.g. IPA-related pages still have this thing. Can I propose phasing out somehow? -DePiep (talk) 22:37, 12 June 2010 (UTC)
- Yes, this is still essential: Unicode may be universally supported, but very few platforms come with fonts which cover the whole Unicode range. Chris Cunningham (not at work) - talk 11:43, 14 June 2010 (UTC)
All These Templates
editI don't know if this is the right place to talk about this, but I've noticed these text information templates pop up everywhere now, for every conceivable language.
Now, I was a contributor a long time ago, and if I remember correctly, they started with the Indic (Indian language) templates. These were used for a SPECIFIC purpose and it wasn't to inform casual readers. The reason it was introduced was because from Windows XP and before, complex text support was not enabled by default. This resulted in a peculiarity with some Indian scripts, where a word would look misspelt. Take the word 'Hello' as an example. Without complex text support, this may be rendered 'eHllo', and a good samaritan would correct this to 'Hello' again. However, if you had complex text support enabled, it would now appear as 'eHllo'. This resulted in a cat and mouse game of people (in good faith) changing the same text over and over and over again.
I don't think this problem occurs for other scripts, so I think all these templates are pretty pointless. 80.195.229.252 (talk) 21:24, 30 July 2010 (UTC)
- They're needed because the default install for Windows XP (at least) doesn't contain font support for any of the languages in question. Whether or not it actually results in layout artefects, it does result in square boxes where the glyphs should be. Chris Cunningham (user:thumperward: not at work) - talk 09:35, 5 August 2010 (UTC)
Inline/centrable option?
editCould we get an inline and/or centrable option for this template? It doesn't play well with columns, as can be seen in the "Notes" section to Kanae Yamamoto (artist). Curly Turkey ¡gobble! 05:42, 19 May 2015 (UTC)
How to align the box?
editThe template usually aligns to right. How you can align to left? 46.130.136.192 (talk) 21:51, 29 September 2016 (UTC)
When should Foreign character warning boxes be used?
editPlease see Wikipedia:Village pump (technical)/Archive 102#When should Foreign character warning boxes be used?. --115.67.34.95 (talk) 05:37, 11 September 2012 (UTC)
- For posterity: The original post linked above didn't receive any replies, but it was later reposted: Wikipedia:Village pump (policy)/Archive 107#When should Foreign character warning boxes be used? —Languorrises (talk) 15:16, 29 May 2019 (UTC)
Prefer specific templates over general?
editThe documentation Usage section says that Each particular language should have a separate template
. Is the implication that editors should use those more specific templates in place of the general one? (In which case the general template shouldn't be added to any articles in the future?) Or is that just a note that specific templates should always be available (and to create them if they're not)?
In the first case (the specific templates should always be used), should the general template be replaced wherever it's currently in use? If not, could they be? (The images in the specific templates are a nice, aren't they?) Or WP:DONTFIXIT?
Technical fixes
editIt seems like if it worked it would have already been done, but is there a reason that MediaWiki couldn't use web fonts to fix this? Instead of relying on the user's computer to have a font that supports exotic characters, we could supply one for download that we know supports all relevant characters. -- Beland (talk) 17:42, 26 May 2020 (UTC)
Inherent "Clear" template?
edit@Beland, Anypodetos, Primefac, and Mdaniels5757: "Recent" editors: Greetings and felicitations. There seems to be an inherent "Clear" template in this template, which interferes with the display of images in articles, e.g., in Qinghai (you'll need a browser window of about 2500 pixels or more to really see the effect). Is there a way to fix this? —DocWatson42 (talk) 09:04, 27 August 2020 (UTC)
- This template uses {{side box}}, and neither (as far as I am aware) uses any form of {{clear}} being employed. I believe the issue to which you're referring to stems from the fact that there are two infoboxes before this template, which makes for three sideboxes, followed by a number of poorly-placed images and tables. Primefac (talk) 10:34, 27 August 2020 (UTC)
Template-protected edit request on 31 August 2020
editThis edit request to Template:Contains special characters has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
For {{contains special characters|apl}} add a link for APL. -- PythonSwarm Talk | Contribs | Global 06:58, 31 August 2020 (UTC)
- PythonSwarm, it works properly when capitalized (APL). All parameters should probably just be made case insensitive to solve this. --Trialpears (talk) 08:10, 31 August 2020 (UTC)
- A reasonable alternative, but
I feel like there's something odd about using {{specialchars|armenian}} as opposed to {{specialchars|Armenian}}. I know it's just code and doesn't really need to be in MOS-approved format, so I'm just going on my personal opinion. Happy to code it as described if I'm in the minority. Primefac (talk) 14:38, 31 August 2020 (UTC)(see next) - Having looked again at the code, though, it will potentially cause issues. First, we be adding an extra half-dozen {{lc:...}} calls (which isn't really that big of a deal) but the output will also be affected; we shouldn't say
...instead of armenian letters
in place of Armenian, and the section links for some of the values will be broken. Primefac (talk) 14:45, 31 August 2020 (UTC)
- A reasonable alternative, but
- Not done for now: please establish a consensus for this alteration before using the
{{edit template-protected}}
template. It will be needed to overcome the issues I mention above. Primefac (talk) 01:00, 2 September 2020 (UTC)
Add language
editHi there, need to add Phoenician to the list of foreign scripts. The Phoenician Aleph can be used as a symbol. ~ Elias Z. (talkallam) 13:13, 20 November 2020 (UTC)
- Done. Example is at the right. Primefac (talk) 13:58, 20 November 2020 (UTC)
Vai
editI wanted to add Vai syllabary as a hard-coded value but I'm not allowed :( Snizzbut (talk) 23:06, 13 March 2021 (UTC)
- {{Contains special characters|Vai}} is shown at the right. Is there a thumbnail to use (see the languages for icon types), and should it link to anything other than the Vai syllabary? Primefac (talk) 23:16, 13 March 2021 (UTC)
Discussion at Wikipedia:Village pump (technical) § Only displaying Template:Contains special characters when needed?
editYou are invited to join the discussion at Wikipedia:Village pump (technical) § Only displaying Template:Contains special characters when needed?. {{u|Sdkb}} talk 06:34, 30 June 2021 (UTC)
Template-protected edit request on 16 August 2021
editThis edit request to Template:Contains special characters has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Add line
| Lydian = {{{image|Lydian S-02.svg}}}
between
| Lontara = Lontara.svg
and
| Manchu = {{{image|Manju gisun.svg}}}
To add support for the Lydian Alphabet/Language. The choice for the image is the Lydian character for Ś which is the first character of the name of Lydian in Lydian. snood1205(Say Hi! (talk)) 19:05, 16 August 2021 (UTC)
- @Snood1205: Shouldn't you also add something to the second #switch block, replacing "contains special characters" with something more specific. Currently your code produces
- which feels easter-egg-y) * Pppery * it has begun... 21:10, 16 August 2021 (UTC)
- That's completely correct, let me look into that and update the request. Sorry about that. snood1205(Say Hi! (talk)) 21:28, 16 August 2021 (UTC)
- Marking as answered since you still haven't updated the request. * Pppery * it has begun... 14:00, 20 August 2021 (UTC)
- Seconding the above close, I'd like to see this sandboxed and tested before being implemented. Primefac (talk) 12:31, 21 August 2021 (UTC)
- Marking as answered since you still haven't updated the request. * Pppery * it has begun... 14:00, 20 August 2021 (UTC)
- That's completely correct, let me look into that and update the request. Sorry about that. snood1205(Say Hi! (talk)) 21:28, 16 August 2021 (UTC)
Template-protected edit request on 21 November 2021
editHi there, need to add Lanna text to the list of foreign scripts and use this symbol This alphabet belongs to the Northern thai language in Thailand It's not the same language as Thai language Because this language originated in the Northern Thailand, which was formerly the language of the Lanna Kingdom. At present, this Tai Tham script is still being used. Autoisme (talk) 07:54, 21 November 2021 (UTC)
Template-protected edit request on 18 June 2022
editThis edit request to Template:Contains special characters has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
I have recently created File:Clicks.svg as a transparent vector version of File:Clicks.png. My edit request is to change the default Khoekhoe image to this new version. Cheers, e • 🗣 • 🏲 19:37, 18 June 2022 (UTC)
Template-protected edit request on 4 August 2022
editThis edit request to Template:Contains special characters has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Hi, could you please add an option for !Kung languages - or perhaps click languages in general? It would be the same as the option for Khoekhoe except with the option to change the language name. Sheila1988 (talk) 14:13, 4 August 2022 (UTC)
- Hi Sheila1988, could you please provide me with the information that you'd want to see if we were to add in this code? I'll provide the default parameters for you, feel free to edit it and change them as appropriate. Don't worry about re-activating the TPER, as I have this page on my watchlist. Primefac (talk) 19:16, 6 August 2022 (UTC)
{{Contains special characters | special = uncommon [[Unicode]] characters | fix = Help:Multilingual support | error = [[Specials (Unicode block)#Replacement character|question marks, boxes, or other symbols]] | characters = the intended characters | image = Replacement character.svg | link = Specials (Unicode block)#Replacement character | alt = <?> | compact = }}
Template-protected edit request on 22 August 2022: add Sogdian
editThis edit request to Template:Contains special characters has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Please apply the following changes from the sandbox: diff. Rummskartoffel 11:25, 22 August 2022 (UTC)
Edit request 28 August 2022
editThis edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Description of suggested change: fix anchor for changed section title
Diff:
− | | emoticon = [[Emoji#Unicode | + | | emoticon = [[Emoji#In Unicode|Unicode emoticons or emojis]] |
— Alexis Jazz (talk or ping me) 16:52, 28 August 2022 (UTC)
Edit request for Javanese script
editThis edit request to Template:Contains special characters has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Please replace the PNG version of Javanese script with the SVG version. The diff can be seen here. Thanks! — Labdajiwa (talk) 04:30, 28 September 2022 (UTC)
- Done — Martin (MSGJ · talk) 06:41, 28 September 2022 (UTC)
Template-protected edit request on 1 December 2022
editThis edit request to Template:Contains special characters has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
The picture of this template is elder please change it to new picture Sultanselim baloch (talk) 15:46, 1 December 2022 (UTC)
- Not done for now: It's not clear what changes you want to be made. There are multiple images used in this template. You will need to specify which to change, and provide a new file to replace it. Terasail[✉️] 16:25, 1 December 2022 (UTC)
Edit request for Vietnamese
editHi, could someone capitalize Nôm and Quốc as in the template, it isn't capitalized.
It should look like this,
This page contains Vietnamese text. Without proper rendering support, you may see question marks, boxes, or other symbols instead of chữ Nôm, chữ Hán and chữ Quốc ngữ. Lachy70 (talk) 19:28, 12 January 2023 (UTC)
- Sure thing. Primefac (talk) 08:58, 13 January 2023 (UTC)
template-protected edit request on 27 september 2023
editThis edit request to Template:Contains special characters has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
remove either the link from "special characters" or "rendering support". they both link to the same page. ltbdl (talk) 15:41, 27 September 2023 (UTC)
- Not done: "rendering support" links to different pages depending on the arguments to the template. Elli (talk | contribs) 18:14, 27 September 2023 (UTC)
Displaying only when needed
editWould it be theoretically possible to code this template so that it checks what rendering capabilities a reader has and displays only if the reader does not have the capability to render the characters? That would be nice, as it's a wasted warning in the situation where a reader's browser can actually render them. {{u|Sdkb}} talk 04:58, 8 January 2024 (UTC)
- I seem to have had this thought already two years back, but it got basically no response at the time, so might as well re-up here. {{u|Sdkb}} talk 05:33, 8 January 2024 (UTC)
- No, not without some privacy-infringing or resource-intensive gadget. Nardog (talk) 10:48, 8 January 2024 (UTC)
- No, browsers won't tell you about this for privacy reasons. You can do some tricks with Javascript that are pretty expensive to detect it, but it's not really worth it. —TheDJ (talk • contribs) 09:49, 9 January 2024 (UTC)
Template-protected edit request on 1 April 2024
editThis edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Could the image be added to the Ottoman Turkish template, as in Special:Diff/1193170987? – anlztrk (talk | contribs) 10:35, 1 April 2024 (UTC)