User:Iritscen/TestSpace: Difference between revisions
Jump to navigation
Jump to search
(→XML Overview: new single-table format using class and id) |
(→XML Overview: fully implementing hovercell id and adding in sample descriptions for all file types; breaking descrip field into separate cell from row header; linkifying file types) |
||
Line 11: | Line 11: | ||
==XML Overview== | ==XML Overview== | ||
{|class="wikitable hovertable" style="width:100%; text-align:center" | {|class="wikitable hovertable" style="width:100%; text-align:center" | ||
|- | |- | ||
| | |''Explanation of file type'' | ||
|style="width:11.66%; background-color:#DDDDDD;" class="hovercell" id="txtc"| [[TxtC]] | |||
| | | | ||
| | | | ||
| | |||
| | |||
|- | |||
| rowspan=11 class="hovertable_descrip" | | |||
<span style="display:none" id="txtc">This is console text.</span> | |||
<span style="display:none" id="igpa">In-Game User Interface Page Array.</span> | |||
<span style="display:none" id="igpg">In-Game User Interface Page.</span> | |||
<span style="display:none" id="tsff">A font family.</span> | |||
<span style="display:none" id="tsfl">A font language.</span> | |||
<span style="display:none" id="tsft">Actual font bitmaps.</span> | |||
<span style="display:none" id="tsga">A glyph array linking 256 possible symbols to their bitmaps (TSFTs).</span> | |||
<span style="display:none" id="pspc">Part Specification (coordinates for finding a UI symbol in a bitmap collection of UI elements.</span> | |||
<span style="display:none" id="txmp">A texture map!</span> | |||
<span style="display:none" id="igsa">In-Game user interface String Array.</span> | |||
<span style="display:none" id="igst">In-Game user interface STring.</span> | |||
|- | |- | ||
| http://ssg.oni2.net/design/60x20c.gif | | http://ssg.oni2.net/design/60x20c.gif | ||
|style="width:11.66%; background-color:#DDDDDD; background-image: repeating-linear-gradient(-45deg, transparent, transparent 10px, rgba(255,255,255,.5) 10px, rgba(255,255,255,.5) 20px);"| IGPA | |style="width:11.66%; background-color:#DDDDDD; background-image: repeating-linear-gradient(-45deg, transparent, transparent 10px, rgba(255,255,255,.5) 10px, rgba(255,255,255,.5) 20px);" class="hovercell" id="igpa"| [[IGPA]] | ||
| | | | ||
| | | | ||
Line 26: | Line 41: | ||
| | | | ||
| http://ssg.oni2.net/design/60x20c.gif | | http://ssg.oni2.net/design/60x20c.gif | ||
| style="width:11.66%; background-color:#DDDDDD; background-image: repeating-linear-gradient(-45deg, transparent, transparent 10px, rgba(255,255,255,.5) 10px, rgba(255,255,255,.5) 20px);"| IGPG | | style="width:11.66%; background-color:#DDDDDD; background-image: repeating-linear-gradient(-45deg, transparent, transparent 10px, rgba(255,255,255,.5) 10px, rgba(255,255,255,.5) 20px);" class="hovercell" id="igpg"| [[IGPG]] | ||
| | | | ||
| | | | ||
Line 34: | Line 49: | ||
| | | | ||
| http://ssg.oni2.net/design/60x20b.gif | | http://ssg.oni2.net/design/60x20b.gif | ||
|style="width:11.66%; background-color:#CCCCFF;"| TSFF | |style="width:11.66%; background-color:#CCCCFF;" class="hovercell" id="tsff"| [[TSFF]] | ||
| | | | ||
| | | | ||
Line 42: | Line 57: | ||
| http://ssg.oni2.net/design/60x20a.gif | | http://ssg.oni2.net/design/60x20a.gif | ||
| http://ssg.oni2.net/design/60x20c.gif | | http://ssg.oni2.net/design/60x20c.gif | ||
|style="width:11.66%; background-color:#CCCCFF; background-image: repeating-linear-gradient(-45deg, transparent, transparent 10px, rgba(255,255,255,.5) 10px, rgba(255,255,255,.5) 20px);"| TSFL | |style="width:11.66%; background-color:#CCCCFF; background-image: repeating-linear-gradient(-45deg, transparent, transparent 10px, rgba(255,255,255,.5) 10px, rgba(255,255,255,.5) 20px);" class="hovercell" id="tsfl"| [[TSFL]] | ||
| | | | ||
|- | |- | ||
Line 49: | Line 64: | ||
| http://ssg.oni2.net/design/60x20a.gif | | http://ssg.oni2.net/design/60x20a.gif | ||
| http://ssg.oni2.net/design/60x20c.gif | | http://ssg.oni2.net/design/60x20c.gif | ||
|style="background-color:#CCCCFF; background-image: repeating-linear-gradient(-45deg, transparent, transparent 10px, rgba(255,255,255,.5) 10px, rgba(255,255,255,.5) 20px);"| TSFT | |style="background-color:#CCCCFF; background-image: repeating-linear-gradient(-45deg, transparent, transparent 10px, rgba(255,255,255,.5) 10px, rgba(255,255,255,.5) 20px);" class="hovercell" id="tsft"| [[TSFT]] | ||
| | | | ||
|- | |- | ||
Line 57: | Line 72: | ||
| | | | ||
| http://ssg.oni2.net/design/60x20c.gif | | http://ssg.oni2.net/design/60x20c.gif | ||
|style="width:11.66%; background-color:#CCCCFF; background-image: repeating-linear-gradient(-45deg, transparent, transparent 10px, rgba(255,255,255,.5) 10px, rgba(255,255,255,.5) 20px);"| TSGA | |style="width:11.66%; background-color:#CCCCFF; background-image: repeating-linear-gradient(-45deg, transparent, transparent 10px, rgba(255,255,255,.5) 10px, rgba(255,255,255,.5) 20px);" class="hovercell" id="tsga"| [[TSGA]] | ||
|- | |- | ||
| | | | ||
| | | | ||
| http://ssg.oni2.net/design/60x20b.gif | | http://ssg.oni2.net/design/60x20b.gif | ||
| PSpc | | class="hovercell" id="pspc" | [[PSpc]] | ||
| | | | ||
| | | | ||
Line 70: | Line 85: | ||
| http://ssg.oni2.net/design/60x20a.gif | | http://ssg.oni2.net/design/60x20a.gif | ||
| http://ssg.oni2.net/design/60x20c.gif | | http://ssg.oni2.net/design/60x20c.gif | ||
| TXMP | | class="hovercell" id="txmp" | [[TXMP]] | ||
| | | | ||
|- | |- | ||
Line 76: | Line 91: | ||
| | | | ||
| http://ssg.oni2.net/design/60x20c.gif | | http://ssg.oni2.net/design/60x20c.gif | ||
|style="background-color:#DDDDDD; background-image: repeating-linear-gradient(-45deg, transparent, transparent 10px, rgba(255,255,255,.5) 10px, rgba(255,255,255,.5) 20px);"| IGSA | |style="background-color:#DDDDDD; background-image: repeating-linear-gradient(-45deg, transparent, transparent 10px, rgba(255,255,255,.5) 10px, rgba(255,255,255,.5) 20px);" class="hovercell" id="igsa"| [[IGSA]] | ||
| | | | ||
| | | | ||
Line 84: | Line 99: | ||
| | | | ||
| http://ssg.oni2.net/design/60x20c.gif | | http://ssg.oni2.net/design/60x20c.gif | ||
|style="background-color:#DDDDDD; background-image: repeating-linear-gradient(-45deg, transparent, transparent 10px, rgba(255,255,255,.5) 10px, rgba(255,255,255,.5) 20px);"| IGSt | |style="background-color:#DDDDDD; background-image: repeating-linear-gradient(-45deg, transparent, transparent 10px, rgba(255,255,255,.5) 10px, rgba(255,255,255,.5) 20px);" class="hovercell" id="igst"| [[IGSt]] | ||
| | | | ||
|} | |} |
Revision as of 18:02, 16 November 2012
Fixing the XEB script
References:
- http://en.wikipedia.org/wiki/User_talk:MarkS/extraeditbuttons.js#Updates
- http://en.wikipedia.org/wiki/Wikipedia:Village_pump_%28technical%29/Archive_93#Parts_of_the_toolbar_seem_shy
- https://bugzilla.wikimedia.org/show_bug.cgi?id=31511
Takeaway:
- Is ResourceLoader on?
- The diffs here make the toolbar-modifying code use mw.toolbar, a necessary change: http://de.wikipedia.org/w/index.php?title=MediaWiki%3AGadget-Extra-Editbuttons.js&diff=94521213&oldid=94132318
XML Overview
Explanation of file type | TxtC | ||||
| |||||
IGPA | |||||
IGPG | |||||
TSFF | |||||
TSFL | |||||
TSFT | |||||
TSGA | |||||
PSpc | |||||
TXMP | |||||
IGSA | |||||
IGSt |