MediaWiki Diskussion:Editnotice-0
aus Wikipedia, der freien Enzyklopädie
DIV-wrapper
Hi,
I've removed the <div id="editnotice-ns-0">
wrapper. Because this was unconditional (not inside the "if"), it caused the parsed output of this message to be non-empty. Therefore MediaWiki recognises this as 1 editnotice. The wikitext edit page renders it as empty string (not visible). But in the API (and used by Gadgets, VisualEditor, and other software) it will render is 1 editnotice. It could be added back with various extra "if"-functions, but I don't think the DIV is needed. MediaWiki already wraps the edit notice in a DIV with usable class names (e.g. <div class="mw-editnotice mw-editnotice-namespace mw-editnotice-0">
). --Krinkle (Diskussion) 01:51, 29. Aug. 2015 (CEST)
- The id here was older than MediaWiki ones (gerrit:36240). I have also remove the id from the other editnotices for the other namespaces. Der Umherirrende 09:48, 29. Aug. 2015 (CEST)