Wikipedia talk:Editnotice

From Wikipedia, the free encyclopedia
Jump to: navigation, search
the Wikipedia Help Project  
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.
 ???  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.

MediaWiki now has classes for edit notices[edit]

The task phab:T70749 was fixed by gerrit:154397, so maybe we could update this to use the new classes? Helder 15:05, 12 January 2015 (UTC)

  • @He7d3r: Interesting development. Although the added classes are not specific to a particular editnotice, so it can't be used to hide a particular editnotice in css I guess ? But now this can at least be done in js, we could mention this as well. Cenarium (talk) 12:29, 13 January 2015 (UTC)
    • I'm not sure that this is what you're referring to but you can already can hide specific editnotices (as long as they include a css id in {{editnotice}}), for example #UAA-edit-notice { display: none; } (in your .css file) hides the two editnotices at Template:Editnotices/Page/Wikipedia:Usernames for administrator attention. Callanecc (talkcontribslogs) 12:54, 13 January 2015 (UTC)
      • I know, I've added ids myself, but it's not practical since one needs to have an id to start with and then to edits one's own css. Now a user doesn't need a specific id and can hide via js. With those generic ids for every editnotice, I think that we could make a gadget that allows to dismiss edit notices on a per page, per base or per namespace basis. It would add dismiss links, similarly to watchlist notices, handled by MediaWiki:Common.js/watchlist.js. The only thing I'm uncertain about is how to store the info. The watchlist uses cookies, but it wouldn't be permanent. Maybe it could automatically create and update a user subpage such as Special:MyPage/Dismissed editnotices.js (.js only to prevent others from editing it). Cenarium (talk) 13:28, 13 January 2015 (UTC)

Change to Template:Base userpage editnotice[edit]

I'm not sure if this is the right place for this, the edit notice talk pages for user and user talk namespaces are empty and the village pump discussion for the creation seems to be over. The first fmbox on Template:Base userpage editnotice should link to WP:UP and WP:SOCIALNETWORK to give users a better understanding of what is and isn't allowed. What I'm proposing is changing is a place for limited autobiographical and personal content. to something along the lines of is a place for [[WP:UP|limited autobiographical and personal content]], it is '''not''' for [[WP:SOCIALNETWORK|social network content]]. If I put this in the wrong place yell at me on my talk page. PhantomTech (talk) 05:18, 9 March 2015 (UTC)

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)