Template talk:Edit request/layout
Jump to navigation
Jump to search
hr
[edit]@Jarekt: Thanks for removing the langbar – unfortunately, you removed the nuke hr instead of the always-displayed one. Please move the remaining hr into the nuke div. FDMS 4 15:53, 8 July 2016 (UTC)
- User:FDMS4, I am sorry I do not know what you mean. Could you post a code snippet of what change you would like to see. --Jarekt (talk) 16:50, 8 July 2016 (UTC)
- @Jarekt: Please replace the syntax by the following:
<div class="messagebox standard-talk com-edit-request" style="direction: {{#dir:{{{lang|}}}}}; background:#fff">
[[File:Info_non-talk.svg|{{#ifeq:{{#dir:{{{lang|}}}}}|rtl|right|left}}|link=|48px]] {{lang|{{{lang|}}}|{{{text|empty}}}}}
<!-- The following block is only visible for admins. jQuery UI adds effects. Therefore the classes. If you do not have JS enabled, you don't see them.
--><div class="nukeblock com-edit-request-admin-area" style="display:none; text-align:center">
----
{{Clickable button
|target={{fullurl:{{SUBJECTPAGENAME}}|action=edit<!--
-->{{#ifexpr:
{{#ifeq:
{{Str endswith
| {{#titleparts:{{PAGENAME}}|-1}}
|.js
}}|yes|1}}0 or
{{#ifeq:
{{Str endswith
|{{FULLPAGENAME}}
|.js}}|yes|1}}0
|&withJS=MediaWiki:EscapeAndClean.js
}}&summary={{urlencode:Fulfilling [[Template:Edit request|edit request]] by [[User:{{REVISIONUSER}}|{{REVISIONUSER}}]]. Thanks for helping!}}}}
|text=Fulfill this request after you checked that it does not contain evil code<!--
-->{{#ifexpr:
{{#ifeq:
{{Str endswith
| {{#titleparts:{{PAGENAME}}|-1}}
|.js
}}|yes|1}}0 or
{{#ifeq:
{{Str endswith
|{{FULLPAGENAME}}
|.js}}|yes|1}}0
|, beautify and escape unsafe characters
}}
|external=true
|iconPrimary=ui-icon-circle-check
|class=ui-button-large
}}
</div><!--
Finally some machine-readable data
--><div style="display:none">
<span class="com-edit-request-revision-user">{{REVISIONUSER}}</span>
</div>
<div style="clear:both;"/>
</div><noinclude>
[[Category:Layout templates|{{PAGENAME}}]]
</noinclude>
- This way, non-admins no longer see the now-superflous horizontal rule that previously separated the template text from the langbar, while admins still get a horizontal rule separating the template text from their assistive nukeblock class div. FDMS 4 17:10, 8 July 2016 (UTC)
- Done --Jarekt (talk) 18:32, 8 July 2016 (UTC)
- This way, non-admins no longer see the now-superflous horizontal rule that previously separated the template text from the langbar, while admins still get a horizontal rule separating the template text from their assistive nukeblock class div. FDMS 4 17:10, 8 July 2016 (UTC)