![]() | On 7 December 2022, it was proposed that this page be moved from Template:Edit summary field to Template:Edit summary field. The result of the discussion was moved. |
![]() | This
edit request to
Template:The edit-summary field has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Hello! Could someone please copy/paste the sandbox back in here? (Somewhat of a pull request for templates.) See the sandbox for a demonstration. This changes the style to the new visual style (VisualEditor & 2017 wikitext editor).
In other words (x to y), please change:
<div class="mw-summary" style="width:50em; margin-left:{{{margin|30px}}}; background-color:#eeeeee; padding:5px;"><!-- -->{{int:summary}} {{Inputbox| }} </div>
To:
<div class="mw-summary" style="width:50em; margin-left:{{{margin|30px}}}; background-color:#ffffff; padding:0.5em;"><!-- -->{{int:summary}}<br> <div class="mw-ui-input" style="width:33em; height:4em;"><span style="color:#72777d;">Describe what you changed</span></div> </div>
Thank you! Tol | Talk | Contribs 17:02, 24 April 2021 (UTC)
@ Elli:, Ran these tests while not logged in, to make sure it's not something in my common css or js.
Test results of previous (4/26) vs. current (5/26) revision
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Not sure what the next step is; maybe grab the page source of the element and dump it here, so we can look at the html? Can you try some tests, while not logged in? Mathglot ( talk) 01:46, 28 May 2021 (UTC)
Before{{Inputbox}}After
. What I see there, is an empty input box, flush left, about 3/4 of the width of the page, with the word 'Before' above it, and the word 'After' below it. This test is visible only in rev.
1025527960 of the {{
The edit-summary field/sandbox}}. Can you tell me what you see there? Afaict, it is that template that generates the input box that was visible before your version, and that disappeared with your edit.<div class="mw-ui-input" style="width:50em; height:2.3em;"><span style="color:#72777d;"></span></div>
- in both situations. I guess I might have a custom style-sheet affecting mw-ui-input
? (though I don't have an idea why that would be the case) This doesn't appear to be related to caching.
Elli (
talk |
contribs)
03:35, 28 May 2021 (UTC)
Comparison of generated Html of sandbox test, and versions 4/26 and 5/26 of the template
|
---|
Html of sandbox revision 1025527960 contains the following code:
this generates the following Html on the rendered page: <div id="mw-content-text" class="mw-body-content mw-content-ltr" lang="en" dir="ltr"> <div class="mw-parser-output"> <p>Before</p> <div class="messagebox" style="border:0.15em inset; padding:0.1em; margin:0.1em; white-space:nowrap;"> </div> <p>After</p> Andrybak's revision 986882974 of April 26 has the {{ Inputbox}} template as well, and generates this: <small>(Briefly describe your changes)</small> </span> <div class="messagebox" style="border:0.15em inset; padding:0.1em; margin:0.1em; white-space:nowrap;"> </div> Elli's revision 1020034884 does not contain template {{ Inputbox}}; it generates this: (Briefly describe your changes)</small></span><br /> <div class="mw-ui-input" style="width:50em; height:2.3em;"> <span style="color:#72777d;"></span> </div> |
Edit summary (Briefly describe your changes)
This is a
minor edit
Watch this page
By publishing changes, you agree to the Terms of Use, and you irrevocably agree to release your contribution under the CC BY-SA 4.0 License and the GFDL. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
@
Elli and
Tol: if it matters, you can get the current behavior without the {{
Inputbox}} template; just use the any permitted Html tag, such as, say, the <p> tag, along with this style:
messagebox
class on
<p style="border:0.15em inset; padding:0.1em; margin:0.1em; white-space:nowrap;">Hi ,Tol and Elli!</p>
Hi ,Tol and Elli!
If you can show me what the "newer", or "more modern" output looks like, I'm sure we can imitate it. Mathglot ( talk) 03:19, 29 May 2021 (UTC)
Example: fixed typo, added content
|new=
and if you include it with any non-empty value (e..g, |new=y
), it produces this:When editing Wikipedia, there is a field labeled " Edit summary" below the main edit box. It looks like this:
Edit summary (Briefly describe your changes)
When editing Wikipedia, there is a field labeled " Edit summary" below the main edit box. It looks like this:
Edit summary (Briefly describe your changes)
|new=
param, but allow it as an override. Another way to do it, would be to not change the template at all, but just add code to your commons.css for class mw-summary
, and then you can do anything you want. I'll maybe mock up a version of that for you, then we don't have to change the template. Although, that would require opt-in, meaning mobile users wouldn't see it by default, which I gather was not what you were going for. But if you just want it for yourself when logged in, you have that capability already.
Mathglot (
talk)
01:05, 6 June 2021 (UTC)
@ Mathglot, Elli: I've fixed the issue (see Template:The edit-summary field/OOUI). I've made three subpages:
This way, they can all be edited and used separately. Because of this, I would like to change this page to use Template:The edit-summary field/OOUI. Do you think that transcluding it or copying it would be the best option? I personally support transcluding it: all past and future templates would have the OOUI version, but people could also transclude another version with the expectation that it won't change in the future. Tol ( talk | contribs) @ 02:28, 30 October 2021 (UTC)
![]() | This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Due to there being no opposition for a week to the above proposal (I've also included some wording changes), please implement the following change (which can be copied from the sandbox at revision #1054261722):
From | To |
---|---|
When editing |
When editing Wikipedia, there is a field labeled "[[Help:Edit summary|Edit summary]]" below the main edit box. It looks like this: |
{{{{{|safesubst:}}}The edit-summary field/{{{1|OOUI}}}}}<!-- Template:The edit-summary field --><noinclude> | |
{{documentation}} | {{documentation}} |
<!-- Add categories and interwikis to the /doc subpage, not here! --> | <!-- Add categories and interwikis to the /doc subpage, not here! --> |
</noinclude> | </noinclude> |
Thanks, Tol ( talk | contribs) @ 01:15, 9 November 2021 (UTC)
The result of the move request was: moved. ( closed by non-admin page mover) — Mdaniels5757 ( talk • contribs) 00:52, 15 December 2022 (UTC)
Template:The edit-summary field →
Template:Edit summary field – Per the
Manual of Style, Do not use articles (a, an, or the) as the first word
. While the MoS does not explicitly apply to non-article-space pages, it establishes standard convention for page titles. Additionally, per
Help:Edit summary, "edit summary" is not spelt with a hyphen. Cheers!
🐶 EpicPupper (he/him |
talk)
22:44, 7 December 2022 (UTC)
![]() | On 7 December 2022, it was proposed that this page be moved from Template:Edit summary field to Template:Edit summary field. The result of the discussion was moved. |
![]() | This
edit request to
Template:The edit-summary field has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Hello! Could someone please copy/paste the sandbox back in here? (Somewhat of a pull request for templates.) See the sandbox for a demonstration. This changes the style to the new visual style (VisualEditor & 2017 wikitext editor).
In other words (x to y), please change:
<div class="mw-summary" style="width:50em; margin-left:{{{margin|30px}}}; background-color:#eeeeee; padding:5px;"><!-- -->{{int:summary}} {{Inputbox| }} </div>
To:
<div class="mw-summary" style="width:50em; margin-left:{{{margin|30px}}}; background-color:#ffffff; padding:0.5em;"><!-- -->{{int:summary}}<br> <div class="mw-ui-input" style="width:33em; height:4em;"><span style="color:#72777d;">Describe what you changed</span></div> </div>
Thank you! Tol | Talk | Contribs 17:02, 24 April 2021 (UTC)
@ Elli:, Ran these tests while not logged in, to make sure it's not something in my common css or js.
Test results of previous (4/26) vs. current (5/26) revision
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Not sure what the next step is; maybe grab the page source of the element and dump it here, so we can look at the html? Can you try some tests, while not logged in? Mathglot ( talk) 01:46, 28 May 2021 (UTC)
Before{{Inputbox}}After
. What I see there, is an empty input box, flush left, about 3/4 of the width of the page, with the word 'Before' above it, and the word 'After' below it. This test is visible only in rev.
1025527960 of the {{
The edit-summary field/sandbox}}. Can you tell me what you see there? Afaict, it is that template that generates the input box that was visible before your version, and that disappeared with your edit.<div class="mw-ui-input" style="width:50em; height:2.3em;"><span style="color:#72777d;"></span></div>
- in both situations. I guess I might have a custom style-sheet affecting mw-ui-input
? (though I don't have an idea why that would be the case) This doesn't appear to be related to caching.
Elli (
talk |
contribs)
03:35, 28 May 2021 (UTC)
Comparison of generated Html of sandbox test, and versions 4/26 and 5/26 of the template
|
---|
Html of sandbox revision 1025527960 contains the following code:
this generates the following Html on the rendered page: <div id="mw-content-text" class="mw-body-content mw-content-ltr" lang="en" dir="ltr"> <div class="mw-parser-output"> <p>Before</p> <div class="messagebox" style="border:0.15em inset; padding:0.1em; margin:0.1em; white-space:nowrap;"> </div> <p>After</p> Andrybak's revision 986882974 of April 26 has the {{ Inputbox}} template as well, and generates this: <small>(Briefly describe your changes)</small> </span> <div class="messagebox" style="border:0.15em inset; padding:0.1em; margin:0.1em; white-space:nowrap;"> </div> Elli's revision 1020034884 does not contain template {{ Inputbox}}; it generates this: (Briefly describe your changes)</small></span><br /> <div class="mw-ui-input" style="width:50em; height:2.3em;"> <span style="color:#72777d;"></span> </div> |
Edit summary (Briefly describe your changes)
This is a
minor edit
Watch this page
By publishing changes, you agree to the Terms of Use, and you irrevocably agree to release your contribution under the CC BY-SA 4.0 License and the GFDL. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
@
Elli and
Tol: if it matters, you can get the current behavior without the {{
Inputbox}} template; just use the any permitted Html tag, such as, say, the <p> tag, along with this style:
messagebox
class on
<p style="border:0.15em inset; padding:0.1em; margin:0.1em; white-space:nowrap;">Hi ,Tol and Elli!</p>
Hi ,Tol and Elli!
If you can show me what the "newer", or "more modern" output looks like, I'm sure we can imitate it. Mathglot ( talk) 03:19, 29 May 2021 (UTC)
Example: fixed typo, added content
|new=
and if you include it with any non-empty value (e..g, |new=y
), it produces this:When editing Wikipedia, there is a field labeled " Edit summary" below the main edit box. It looks like this:
Edit summary (Briefly describe your changes)
When editing Wikipedia, there is a field labeled " Edit summary" below the main edit box. It looks like this:
Edit summary (Briefly describe your changes)
|new=
param, but allow it as an override. Another way to do it, would be to not change the template at all, but just add code to your commons.css for class mw-summary
, and then you can do anything you want. I'll maybe mock up a version of that for you, then we don't have to change the template. Although, that would require opt-in, meaning mobile users wouldn't see it by default, which I gather was not what you were going for. But if you just want it for yourself when logged in, you have that capability already.
Mathglot (
talk)
01:05, 6 June 2021 (UTC)
@ Mathglot, Elli: I've fixed the issue (see Template:The edit-summary field/OOUI). I've made three subpages:
This way, they can all be edited and used separately. Because of this, I would like to change this page to use Template:The edit-summary field/OOUI. Do you think that transcluding it or copying it would be the best option? I personally support transcluding it: all past and future templates would have the OOUI version, but people could also transclude another version with the expectation that it won't change in the future. Tol ( talk | contribs) @ 02:28, 30 October 2021 (UTC)
![]() | This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Due to there being no opposition for a week to the above proposal (I've also included some wording changes), please implement the following change (which can be copied from the sandbox at revision #1054261722):
From | To |
---|---|
When editing |
When editing Wikipedia, there is a field labeled "[[Help:Edit summary|Edit summary]]" below the main edit box. It looks like this: |
{{{{{|safesubst:}}}The edit-summary field/{{{1|OOUI}}}}}<!-- Template:The edit-summary field --><noinclude> | |
{{documentation}} | {{documentation}} |
<!-- Add categories and interwikis to the /doc subpage, not here! --> | <!-- Add categories and interwikis to the /doc subpage, not here! --> |
</noinclude> | </noinclude> |
Thanks, Tol ( talk | contribs) @ 01:15, 9 November 2021 (UTC)
The result of the move request was: moved. ( closed by non-admin page mover) — Mdaniels5757 ( talk • contribs) 00:52, 15 December 2022 (UTC)
Template:The edit-summary field →
Template:Edit summary field – Per the
Manual of Style, Do not use articles (a, an, or the) as the first word
. While the MoS does not explicitly apply to non-article-space pages, it establishes standard convention for page titles. Additionally, per
Help:Edit summary, "edit summary" is not spelt with a hyphen. Cheers!
🐶 EpicPupper (he/him |
talk)
22:44, 7 December 2022 (UTC)