Template talk:Documentation/Archive 4: Difference between revisions

Content deleted Content added
m Fixed Lint errors on this page
 
(2 intermediate revisions by 2 users not shown)
Line 4:
== Heading fix ==
 
{{tld|stale|2=No significant discussion here for over two months... Consensus does not appear to exist at this time. --'''''<font color="red">[[User:Thinboy00|Thin]]</font><fontspan colorstyle="greencolor:red;">Thin</span>]][[User talk:Thinboy00|boy]]</font><fontspan colorstyle="bluecolor:green;">boy</span>]][[Special:Contributions/Thinboy00|<span style="color:blue;">00]]</fontspan>]]''''' @149, i.e. 02:34, 10 November 2009 (UTC)}}
<nowiki>{{AccessibilityDispute}}</nowiki>
 
Line 11:
I should like to remind everyone that this matter is unresolved: [[Template talk:Documentation/Archive 2#Heading fix]]. [[User:Pigsonthewing|Andy Mabbett]] (User:Pigsonthewing); [[User talk:Pigsonthewing|Andy's talk]]; [[Special:Contributions/Pigsonthewing|Andy's edits]] 23:26, 23 August 2009 (UTC)
 
Is there any active debate going on here? If not, it may be best to remove the tags and mark the debate as {{tl2|stale}}... It looks like there's been no activity for months. --'''''<font color="red">[[User:Thinboy00|Thin]]</font><fontspan colorstyle="greencolor:red;">Thin</span>]][[User talk:Thinboy00|boy]]</font><fontspan colorstyle="bluecolor:green;">boy</span>]][[Special:Contributions/Thinboy00|<span style="color:blue;">00]]</fontspan>]]''''' @253, i.e. 05:04, 9 November 2009 (UTC)
 
:No. As far as I know, it's either one or the other. We break the documentation template to fix the accessibility issue, or we keep it like it is. Earlier discussion indicates that people prefer to keep a working documentation template for 99% of the users, rather than fix a problem that affects a small group of the remaining 1%, which even for them seems to be a rather "minor" annoyance at most. —[[User:TheDJ|Th<span style="color: green">e</span>DJ]] ([[User talk:TheDJ|talk]] • [[Special:Contributions/TheDJ|contribs]]) 14:16, 9 November 2009 (UTC)
Line 20:
::: Have you tried pinging SMcCandlish? His was the most lucid explanation of the problem in the original 2008 discussion. It's not likely that this will be fixed simply by bringing it up with no new material every six months. [[user:thumperward|Chris Cunningham (not at work)]] - [[user talk:thumperward|talk]] 13:06, 16 April 2010 (UTC)
 
[outdent] This really, really needs to be fixed, and I have to concur that nothing will be "broken" by fixing it; claimants to the contrary have never demonstrated otherwise. I've remained silent on this issue for several years mainly because it's just so unbelievably obvious that I've not felt that any further comment would be needed. I'm frankly pretty shocked that it hasn't been fixed after all this time. Where else are we willfully ignoring the [X]HTML specs and blatantly misusing markup in ways that cause actual, not just theoretical, accessibility and usability problems? If people care to review the earlier discussion, someone (''one'' someone, as far as I can tell), decided that because the "Template documentation" line as displayed on the template page kinda looked (to that person) like a level-2 heading, therefor every heading under it should be a level-3 heading, with the result that we now have invalid markup strewn across thousands and thousands of pages. The good news is that it's a very simple fix that a bot or a boring [[WP:AWB|AWB]] run could fix in short order. Honestly, I had no idea this matter was still open, and if it's not fixed, rapidly, it needs to be settled via an [[WP:RFC|RfC]]. I am extremely skeptical that the majority of Wikipedians will accept outright abuse of [X]HTML markup and violation of W3C specs and accessibility recommendations that have literally been around since the mid 1990s. Heading levels are stepwise for a reason, and their order and nesting has semantic meaning. In the intervening couple of years since I last raised this issue, I have quite regularly converted <nowiki>"===" markup to proper "==" syntax</nowiki> on template documentation pages that used the former, and I have yet to see a single case of anyone reverting me on it. There simply is no support at all for using semantically-invalid <code><nowiki><h3></nowiki></code> (<code><nowiki>===</nowiki></code>) code for headings on template /doc pages. And even if there were, the proper way to do it would be <code>==&lt;includeonly&gt;=&lt;/includeonly&gt;<var>Heading title here</var>==&lt;includeonly&gt;=&lt;/includeonly&gt;</code>, such that the heading appeared as a H2 heading when the page is viewed directly but a H3 heading when transcluded, and even then the "Template documentation" line would have to be coded, when transcluded, to be a real H2 heading in [[Template:Documentation/core2]]. Fix it one way or the other, but ''fix it''. — <fontspan facestyle="font-family: Trebuchet MS">'''[[User:SMcCandlish|SMcCandlish]]''' <span style="white-space:nowrap;">[[User talk:SMcCandlish|Talk⇒]] ʕ(<sup>Õ</sup>ل<sup>ō</sup>)ˀ</span> <small>[[Special:Contributions/SMcCandlish|Contribs]].</small></fontspan> 22:54, 16 April 2010 (UTC)
 
== [[Template:Category interwiki]] ==
Line 110:
</pre>
:Then you instead put {{tlf|flag doc}} on all the flag templates. Thus keeping the technical code and the text content separate.
 
</pre>
:--[[User:Davidgothberg|David Göthberg]] ([[User talk:Davidgothberg|talk]]) 16:39, 26 October 2009 (UTC)
::I have now made a start on this template at [[Template:Category interwiki]]. I am still in favour of supressing display of any content from the /doc page. (Otherwise there seems no neat way to do it; the output on the template is a mess; also is prevents misuse of the template when they should be using {{tl|documentation}}.) So I have implemented that. I have left the "standard message" feature off for now, while I think about it more. Still think it might be useful. &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 15:52, 10 January 2010 (UTC)
Line 116:
== Padding ==
 
I'd like to change the padding to <ttcode>1em 5px 5px 1em</ttcode>, as the content clings to close to the top and left border. Thoughts? <span style="font-family: verdana;"> — [[User:Edokter|<span style="color: #008;"><b><i>E</i>dokter</b></span>]] • [[User_talk:Edokter|<span style="color: #080;">Talk</span>]] • </span> 14:17, 25 October 2009 (UTC)
 
:I assume you mean you want more padding ''inside'' the green /doc boxes, right?
Line 126:
:--[[User:Davidgothberg|David Göthberg]] ([[User talk:Davidgothberg|talk]]) 15:10, 25 October 2009 (UTC)
 
::Yes I mean the padding inside the green box. Basically, I want 1em for top and left (as that seems to be the default for most content boxes), while retaining 5px for right and bottom, to prevent to much space between the edit links and the right border. (remember CSS notation is <ttcode>top right bottom left</ttcode>.) <span style="font-family: verdana;"> — [[User:Edokter|<span style="color: #008;"><b><i>E</i>dokter</b></span>]] • [[User_talk:Edokter|<span style="color: #080;">Talk</span>]] • </span> 15:38, 25 October 2009 (UTC)
 
:::Oops, you're right, I forgot it should be read in clockwise order. So I tested that: Ouch, it looks asymmetrical. I don't like it.
Line 133:
::::In that case, I propose a padding of 1em all around. <span style="font-family: verdana;"> — [[User:Edokter|<span style="color: #008;"><b><i>E</i>dokter</b></span>]] • [[User_talk:Edokter|<span style="color: #080;">Talk</span>]] • </span> 20:15, 25 October 2009 (UTC)
 
:Which as I stated above, is fine with me. Any one else have any comments before Edokter boldly goes ahead and changes the padding? (By editing the <ttcode>.template-documentation</ttcode> class in [[MediaWiki:Common.css]].)
:--[[User:Davidgothberg|David Göthberg]] ([[User talk:Davidgothberg|talk]]) 21:35, 25 October 2009 (UTC)
 
Line 170:
===Solution===
OK, managed to get access to a computer with IE7 for a few minutes. The above does not work, but I have found something that will work and it is called the [http://www.positioniseverything.net/articles/haslayout.html zoomfix]. Basically, we add the following to [[MediaWiki:Common.css]]
<sourcesyntaxhighlight lang=css>
.iezoomfix div.thumb,
.iezoomfix table.infobox {
zoom: 1;
}
</syntaxhighlight>
</source>
Now we add the iezoomfix class to the wikitable, and the problem is solved. —[[User:TheDJ|Th<span style="color: green">e</span>DJ]] ([[User talk:TheDJ|talk]] • [[Special:Contributions/TheDJ|contribs]]) 22:13, 5 March 2010 (UTC)
:We can also just set it on all child div's and table's, because i doubt it will break on any other browsers. —[[User:TheDJ|Th<span style="color: green">e</span>DJ]] ([[User talk:TheDJ|talk]] • [[Special:Contributions/TheDJ|contribs]]) 22:17, 5 March 2010 (UTC)