|
|
Line 1: |
Line 1: |
| ==Fixing the XEB script== | | {|border=1 cellspacing=0 cellpadding=2 |
| References:
| | !Kind |
| *http://en.wikipedia.org/wiki/User_talk:MarkS/extraeditbuttons.js#Updates
| | !Type |
| *http://en.wikipedia.org/wiki/Wikipedia:Village_pump_%28technical%29/Archive_93#Parts_of_the_toolbar_seem_shy
| | !Name |
| *https://bugzilla.wikimedia.org/show_bug.cgi?id=31511
| | !Platform<onlyinclude> |
| | |-<includeonly> |
| | |Group 1</includeonly> |
| | |style="font-family:cursive; font-weight:bold" align="center"|f |
| | |bool |
| | |[[User:Iritscen/TestSpace#chr_has_lsi|chr_has_lsi]] |
| | |align="center" data-sort-value="wm"|[[Image:Platform-Win.png|20px]] [[Image:Platform-Mac.png|20px]] |
| | |-<includeonly> |
| | |Group 2</includeonly> |
| | |style="font-size:166%; font-family:cursive" align="center"|v |
| | |bool |
| | |[[User:Iritscen/TestSpace#chr_envanim_block|chr_envanim_block]] |
| | |align="center" data-sort-value=" m"|[[Image:Platform-empty.png|20px]] [[Image:Platform-Mac.png|20px]]</onlyinclude> |
| | |} |
| | |
| | ==Task A== |
| | {{BSLfunc |
| | |type=bool |
| | |name=chr_has_lsi |
| | }} |
| | |
| | ==Task B== |
| | {{BSLvar |
| | |name=gl_fog_red |
| | |type=float |
| | |default=0.25 |
| | |mac=no |
| | }} |
| | {{BSLvar |
| | |name=gl_fog_green |
| | |type=string |
| | |default=0.25 |
| | }} |
| | {{BSLvar |
| | |name=gl_fog_blue |
| | |type=float |
| | |default=0.25 |
| | }} |
| | {{BSLvar |
| | |name=gl_fog_start |
| | |type=float |
| | |default=0.925 |
| | }} |
| | {{BSLvar |
| | |name=gl_fog_end |
| | |type=float |
| | |default=1.0 |
| | }} |
| | {{BSLfunc |
| | |type=void |
| | |default= |
| | |name=gl_fog_start_changeto |
| | |arg1default= |
| | |arg1type=float |
| | |arg1name=start_val |
| | |arg2default= |
| | |arg2type=int |
| | |arg2name=frames |
| | }} |
| | {{BSLfunc |
| | |type=void |
| | |default= |
| | |name=gl_fog_end_changeto |
| | |arg1default= |
| | |arg1type=float |
| | |arg1name=start_val |
| | |arg2default= |
| | |arg2type=int |
| | |arg2name=frames |
| | }} |
| | |
| | ==Task C== |
| | {{BSLfunc |
| | |type=void |
| | |name=playback |
| | |arg1type=string |
| | |arg1name=ai_name |
| | |arg1alttype=int |
| | |arg1altname=script_id |
| | |arg2type=string |
| | |arg2name=film_name |
| | |arg3optional=yes |
| | |arg3type=string |
| | |arg3name=mode |
| | |arg4optional=yes |
| | |arg4type=int |
| | |arg4name=num_frames |
| | }} |
|
| |
|
| Takeaway:
| | ==Task D== |
| *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==
| | |
| {|class="hovertable" style="width:100%; text-align:center"
| | [[Category:Userspace]] |
| |-
| |
| |''Explanation of file type''
| |
| |style="width:11.66%;" 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
| |
| |style="width:11.66%;" class="hovercell embedded" id="igpa"| [[IGPA]]
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |-
| |
| |
| |
| |
| |
| | http://ssg.oni2.net/design/60x20c.gif
| |
| | style="width:11.66%;" class="hovercell embedded" id="igpg"| [[IGPG]]
| |
| |
| |
| |
| |
| |
| |
| |-
| |
| |
| |
| |
| |
| |
| |
| | http://ssg.oni2.net/design/60x20b.gif
| |
| |style="width:11.66%;" class="hovercell" id="tsff"| [[TSFF]]
| |
| |
| |
| |
| |
| |-
| |
| |
| |
| |
| |
| |
| |
| | http://ssg.oni2.net/design/60x20a.gif
| |
| | http://ssg.oni2.net/design/60x20c.gif
| |
| |style="width:11.66%;" class="hovercell embedded" id="tsfl"| [[TSFL]]
| |
| |
| |
| |-
| |
| |
| |
| |
| |
| |
| |
| | http://ssg.oni2.net/design/60x20a.gif
| |
| | http://ssg.oni2.net/design/60x20c.gif
| |
| |class="hovercell embedded" id="tsft"| [[TSFT]]
| |
| |
| |
| |-
| |
| |
| |
| |
| |
| |
| |
| | http://ssg.oni2.net/design/60x20a.gif
| |
| |
| |
| | http://ssg.oni2.net/design/60x20c.gif
| |
| |style="width:11.66%;" class="hovercell embedded" id="tsga"| [[TSGA]]
| |
| |-
| |
| |
| |
| |
| |
| |
| |
| | http://ssg.oni2.net/design/60x20b.gif
| |
| | class="hovercell" id="pspc" | [[PSpc]]
| |
| |
| |
| |
| |
| |-
| |
| |
| |
| |
| |
| |
| |
| | http://ssg.oni2.net/design/60x20a.gif
| |
| | http://ssg.oni2.net/design/60x20c.gif
| |
| | class="hovercell" id="txmp" | [[TXMP]]
| |
| |
| |
| |-
| |
| |
| |
| |
| |
| |
| |
| | http://ssg.oni2.net/design/60x20c.gif
| |
| |class="hovercell embedded" id="igsa"| [[IGSA]]
| |
| |
| |
| |
| |
| |-
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | http://ssg.oni2.net/design/60x20c.gif
| |
| |" class="hovercell embedded" id="igst"| [[IGSt]]
| |
| |
| |
| |}
| |