Wikipedia talk:Editnotice

From Wikipedia, the free encyclopedia
Jump to: navigation, search
the Wikipedia Help Project (Rated Project-class)
WikiProject icon This page is within the scope of the Wikipedia Help Project, a collaborative effort to improve Wikipedia's help documentation for readers and contributors. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks. To browse help related resources see the Help Menu or Help Directory. Or ask for help on your talk page and a volunteer will visit you there.
 Project  This page does not require a rating on the project's quality scale.
 ???  This page has not yet received a rating on the project's importance scale.

Edit notice template for discussion[edit]

I've nominated {{Article style}} for discussion. Since this template has parameters for things that would be present in nearly every article, such as citations, dates, and words that are spelled differently in the US and UK, the logical inference is that it should be added as an edit notice to almost every article. Followers of this page may have an opinion about whether any edit notice intended for use on nearly all articles is appropriate. Jc3s5h (talk) 22:23, 27 March 2015 (UTC)

Make use of MediaWiki:Editnotice-notext[edit]


I've made some changes to Template:Editnotice load to make use of MediaWiki:Editnotice-notext instead of always outputting something even if the page has no notices. Previously it unconditionally outputted markup (falling back to a simple DIV element with some redlinks, made invisible via CSS by default, made visible to sysops).

To better support Wikipedia's edit notice system (phab:T91715) in MediaWiki, I implemented part of this into the core MediaWiki software. This allows gadgets, and tools using the API to know whether a page has an edit notice or not. This was previously not possible as there was no mechanical distinction between the template outputting a notice or the template outputting a red link to create a notice.

I've move this logic onto Template:Editnotice load/notext, called from the new MediaWiki:Editnotice-notext (supplementing MediaWiki:Editnotice-0, etc.). I also moved some of the core logic to Template:Editnotice load/content so that the core template can determine whether or not to output the wrapping DIV. I'd be open to finding a nicer way to go about this.

I've tested that Barack Obama, Wikipedia:Your first article, and Sandbox; still output their edit notice. And that e.g. Nutella or Foobrazkrink have no edit notice and output a native <div class="mw-editnotice-notext"> instead. Krinkle (talk) 21:05, 30 March 2015 (UTC)
This is broken. See Wikipedia:Village pump (technical)/Archive 135#New editnotice created, but it doesn't appear when the page is edited --Redrose64 (talk) 22:34, 30 March 2015 (UTC)
Fixed. See relevant section at Village pump (technical). --Krinkle (talk) 05:16, 31 March 2015 (UTC)
Is there any way to make Template:Editnotice load work without adding adding tons of pages to Category:Pages using duplicate arguments in template calls? Plastikspork ―Œ(talk) 04:35, 31 March 2015 (UTC)
@Plastikspork: Thanks, Fixed. Can I ask how you discovered this? There's over 50,000 pages in that category. Template:Editnotice load is only transcluded about 40 times. --Krinkle (talk) 04:58, 31 March 2015 (UTC)

Standart edit notices[edit]

Shouldn't we have standart edit notices for particular things? For example, for natural disasters, plane crashes etc.? --Edgars2007 (talk/contribs) 14:37, 10 April 2015 (UTC)

@Edgars2007: {{Editnotice templates}} presents a bunch of templates that are used to create some standard edit notices. There's doesn't seem to be one for current events, though. Perhaps the article banners at Wikipedia:Template messages/General#Timing-related messages are enough? -- John of Reading (talk) 15:16, 10 April 2015 (UTC)
I think article banners aren't the same as edit notices, where you can tell people not to screw up article, generally speaking :) --Edgars2007 (talk/contribs) 15:20, 10 April 2015 (UTC)

Editnotice for stub contest[edit]

I'd love to put an editnotice across WP about the Stub Contest, but worried it looks a bit COI if I do it. How do folks feel? Cas Liber (talk · contribs) 11:31, 1 August 2015 (UTC)