Template talk:Edit filter warning
| This is the talk page for discussing improvements to the Edit filter warning template. |
|
Protected edit request on 3 June 2023
This edit request has been answered. Set the |answered= parameter to no to reactivate your request. |
Please sync with sandbox (permalink, diff). Discussed at WP:EFN#Easier reporting of false positives. Please do not make any changes to MediaWiki:Abusefilter-disallowed yet, that can come later. Suffusion of Yellow (talk) 23:29, 3 June 2023 (UTC)
Done Izno (talk) 00:55, 17 June 2023 (UTC)
Protected edit request on 18 June 2023
This edit request has been answered. Set the |answered= parameter to no to reactivate your request. |
Please sync the sandbox, which adds a line break that fixes Linter errors at pages like MediaWiki talk:Abusefilter-warning-empty-edit-request. At that page, a div tag was being opened at the end of a line that began with an asterisk, which causes trouble. Thanks. – Jonesey95 (talk) 16:18, 18 June 2023 (UTC)
Done Izno (talk) 16:41, 18 June 2023 (UTC)
Protected edit request on 19 July 2023
This edit request has been answered. Set the |answered= parameter to no to reactivate your request. |
Please change:
{{FULLPAGENAME}}
to
{{#ifeq:{{FULLPAGENAME}}|Special:CreateAccount|Special:UserLogin|{{FULLPAGENAME}}
We're seeing an edge case on WP:EFFP with account creations that are disallowed by a filter. While the user is browsing Special:CreateAccount at the time of the attempted account creation, the relevant log is at Special:UserLogin. This was recently floated at WP:EFN as a band-aid, and I think it makes to implement this pending broader discussion on whether we want to substantially rearrange the reporting flow for these sorts of disallows. — Red-tailed hawk (nest) 02:03, 19 July 2023 (UTC)
- CC:Suffusion of Yellow, Illusion Flame, Zippybonzo, and 74.73.224.126, who participated in the EFN discussion, in case they have any comments on this. — Red-tailed hawk (nest) 02:06, 19 July 2023 (UTC)
- What actual changes would this make? (Not familiar with this specific wikitext) - 🔥𝑰𝒍𝒍𝒖𝒔𝒊𝒐𝒏 𝑭𝒍𝒂𝒎𝒆 (𝒕𝒂𝒍𝒌)🔥 02:31, 19 July 2023 (UTC)
- Yes, that's a improvement. See also Special:Diff/1166047121. This will hide the button by default when filter trips on Special:CreateAccount, unless overridden by
fplink=yes, in which case (if the above patch is also applied} at least the link will point to Special:UserLogin. Suffusion of Yellow (talk) 02:32, 19 July 2023 (UTC)
Done can you please verify this is working correctly? — Martin (MSGJ · talk) 10:14, 20 July 2023 (UTC)
Restyling edit filter warnings to look okay with the Codex design style
Codex now includes its own icons and background whenever an abuse filter message is shown, so having it is a little redundant. I do not know if there is a way to turn off the Codex warning icons in all circumstances, s instead I am trying to come up with styling that works with the new Codex design system. See {{edit filter warning/sandbox}} for some of the work I have been doing (just right now).
There definitely are going to need to be more changes, but you can see the {{edit filter warning/testcases}} (I used {{cdx-message}} in order to simulate what the message looks like inside of a Codex box, but it is not a perfect 1:1 fit). Aasim (話す) 19:05, 14 October 2025 (UTC)
Protected edit request on 14 October 2025
This edit request has been answered. Set the |answered= parameter to no to reactivate your request. |
Please change the following (click show to expand diff):
| Line 17: | Line 17: | ||
|block |
|block |
||
|degroup = color:red; font-weight:bold; font-style:italic; |
|degroup = color:red; font-weight:bold; font-style:italic; |
||
|sternwarning = width: 100%; background: |
|sternwarning = width: 100%; background: rgba(255, 0, 0, 0.14); color: inherit; padding: 0.5em; border: 2px dotted; |
||
}} |
}} |
||
|image = [[File:{{{image|{{#switch: |
|image = [[File:{{{image|{{#switch: |
||
Reason: This change ensures that the stern warning displays with the correct colors in dark mode.
Aasim (話す) 19:30, 14 October 2025 (UTC)
- (This is unrelated to my above comment on making the message look nice using Codex.) Aasim (話す) 19:31, 14 October 2025 (UTC)
Protected edit request on 3 May 2026
| It is requested that an edit be made to the fully protected template at Template:Edit filter warning. (edit · history · last · links · sandbox · edit sandbox · sandbox history · sandbox last edit · sandbox diff · test cases · transclusion count · protection log) This template must be followed by a complete and specific description of the request, so that an editor unfamiliar with the subject matter could complete the requested edit immediately.
Edit requests to fully protected pages should only be used for edits that are either uncontroversial or supported by consensus. If the proposed edit might be controversial, discuss it on the protected page's talk page before using this template. Consider making changes first to the template's sandbox and test them thoroughly here before submitting an edit request. To request that a page be protected or unprotected, make a protection request. When the request has been completed or denied, please add the |
Please implement my changes in the sandbox.
A full list of changes:
- Adds a default text spiel based on the action in case the configuring administrator fails to describe the action effectively
Adds a(removed from edit request 17:03, 19 May 2026 (UTC)){{Codex demo}}template to wrap the entire text (specifically for previewing how the message will appear in the interface, it only calls {{cdx-message}} whencdxDemo=yesand otherwise just echoes whatever text is put in)- Removes the icons accompanying the filter since the Codex icons are used in all error messages from this abuse filter and are non-customizable at this time (but this potentially could change), this should prevent icon overflow see the screenshot below (added 17:03, 19 May 2026 (UTC))
Fixes the "report error" button to the center with some appropriate spacing(removed from edit request 17:03, 19 May 2026 (UTC))- Adds a "desc" parameter which should be filled with "$1" for MediaWiki to add the abuse filter description (in default text) (which will not be added to MediaWiki:Abusefilter-warning or related messages until consensus is achieved at WP:AFNB) (added 17:03, 19 May 2026 (UTC))
The main purpose of these changes are to ensure proper formatting when the entire template is wrapped in Codex styling. Aasim (話す) 04:16, 3 May 2026 (UTC)
Not done Several issues here:
- Restructuring edit filter warning messages to use Codex would need a much broader discussion; much of the enwiki community is very not on board with pushes to use the so-called latest-and-greatest technology.
- Experimental templates like {{Codex demo}} shouldn't be used in production interface templates as a general principle.
- The wrapper template is pointless anyway; if a specific message wants to do this it can call {{cdx-message}} directly * Pppery * it has begun... 21:33, 4 May 2026 (UTC)
- I'm not seeing any specific problem with the "report error" button.
- Is there consensus to include the filter descriptions in warnings? That seems like potentially a bad idea to me as it could easily tell vandals how to evade the filter and the text is written for a different audience.
- TLDR: the changes here are too broad and controversial to be done through the edit request process; please discuss them somewhere like WP:EFN instead. * Pppery * it has begun... 21:33, 4 May 2026 (UTC)
- I probably should have been a little clearer what this fixes.
- The Codex wrapping is done regardless, all the codex demo template does is simulate the wrapping for testcases. When the message is actually transcluded in the interface there isn't "double wrapping", unlike right now:

- This is what the actual text output of the sandbox (default output) is:
'"`UNIQ--templatestyles-00000019-QINU`"'<div role="note" class="tpl-note__wrapper noprint tpl-note--style-mbox" style=""><div class="tpl-note plainlinks tpl-note-error " style=""><div class="tpl-note__content" style=""><span class="tpl-note__text" style=""><div class="mw-parser-output"> '"`UNIQ--templatestyles-0000001B-QINU`"'<div class="plainlinks fmbox fmbox-editnotice" style="border:none;"><div class="mbox-text"><table style="width:100%;overflow:auto;"> <tr><td>'''Warning''': It appears this contribution might not be in line with our [[Wikipedia:Policy|policies]]. Please double-check for any potential problems, then submit your contribution when you are sure of your what you are doing. * If you need help with editing, you may ask in the [[Wikipedia:Help desk|help desk]] (or in the [[Wikipedia:Teahouse|teahouse]], for newer editors). * If you believe there are no problems with your edit, you may [[Wikipedia:Edit filter/False positives|report this error]]. </td></tr> </table></div></div></div></span><div class="tpl-note__text" style=""></div></div></div></div>
- Compared to without:
<div class="mw-parser-output"> '"`UNIQ--templatestyles-0000001F-QINU`"'<div class="plainlinks fmbox fmbox-editnotice"><div class="mbox-image">[[File:Information orange.svg |60px|Your action has triggered an edit filter]]</div><div class="mbox-text">{{{text}}}</div></div></div>
- I agree that including the abuse filter description will likely require consensus at WP:AFNB, but that does not mean the feature should not be added into the template right now. Aasim (話す) 01:58, 5 May 2026 (UTC)
- Continued in Wikipedia:Edit_filter_noticeboard#Double_wrapping_Codex_in_interface Aasim (話す) 20:58, 6 May 2026 (UTC)
- Reopening this ticket with clarifications as I believe I have addressed the concerns raised at WP:AFNB. Aasim (話す) 17:03, 19 May 2026 (UTC)
- Continued in Wikipedia:Edit_filter_noticeboard#Double_wrapping_Codex_in_interface Aasim (話す) 20:58, 6 May 2026 (UTC)
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.