Template talk:In use/Archive 2

Latest comment: 9 years ago by BeenAroundAWhile in topic Locking the page during inuse
Archive 1Archive 2Archive 3

Modified

Template modified per discussion on my talk page. --BrownHairedGirl (talk) • (contribs) 18:30, 27 February 2009 (UTC)

Wording

Current wording is:

This template page is actively undergoing a major edit for a short while. To help avoid edit conflicts, please do not edit this page while this message is displayed. Please remove it, or replace it with {{Underconstruction}}, between editing sessions.

The third sentence, as currently worded, counsels the reader to remove or replace the page, which I do not believe is what is intended.

Ideally the message should be two paragraphs: paragraph one discusses the page, and why anyone other than the person who placed the template in the page should not edit it. Paragraph two is advice to the person who placed the template in the page in the first place, recommending to them that they remove or replace the template between editing sessions. This second paragraph should perhaps be in a smaller, italicized font.--NapoliRoma (talk) 16:06, 2 April 2009 (UTC)

Revisiting this: would it be possible to change it from

This template page is actively undergoing a major edit for a short while. To help avoid edit conflicts, please do not edit this page while this message is displayed. Please remove it, or replace it with {{Underconstruction}}, between editing sessions.

...to

This template page is actively undergoing a major edit for a short while. To help avoid edit conflicts, please do not edit this page while this message is displayed.
If you are the editor who added this template, please be sure to remove it or replace it with {{Underconstruction}} between editing sessions.

? This would fix the pronoun confusion and make it clear who this specific sentence is aimed at. Thanks, NapoliRoma (talk) 23:50, 6 May 2009 (UTC)

Done. How does it look now? EdokterTalk 00:07, 7 May 2009 (UTC)
Looks great -- thanks!--NapoliRoma (talk) 04:20, 7 May 2009 (UTC)

Blocking cats in certain spaces

I've cleaned up Category:Articles actively undergoing a major edit a bit but it's notable that most of the pages now left there are sandboxes in the user space. Would it be possible to exclude such pages from the category? Le Deluge (talk) 14:53, 6 May 2009 (UTC)

Only by explicitly adding |category=no to the template in those sandboxes. EdokterTalk 15:24, 6 May 2009 (UTC)
I was thinking of a modification of the template, using something like {{Main other}} - the documentation for that uses only-categorise-if-in-mainspace as one of its examples. Alternatively, if you wanted something more complicated you could use {{Namespace detect}} but I don't think it needs to be that fancy. But I don't have edit rights, so it would be up to someone else to do it. Le Deluge (talk) 18:16, 6 May 2009 (UTC)
This tempalte already uses namespace detection to display certain text, but it cannot detect if a given page is a sandbox. Whether all namespaces should be categorized, I leave to others. EdokterTalk 18:26, 6 May 2009 (UTC)
It's a reasonable bet that any sandboxes will be in user space, so excluding sandboxes can be achieved by not categorising articles in user space. Just look at Category:Articles actively undergoing a major edit to see what I mean. Le Deluge (talk) 18:50, 6 May 2009 (UTC)
You have a point. I'll have a look. EdokterTalk 20:42, 6 May 2009 (UTC)
  Done. User and User_talk pages are no longer categorized. EdokterTalk 20:53, 6 May 2009 (UTC)
Much better - cheers. Le Deluge (talk) 22:14, 6 May 2009 (UTC)

Last edited time?

Is there a compelling reason that we shouldn't add a last edited timestamp to this template? Is see adding something like

 This page was [{{fullurl:{{FULLPAGENAME}}|diff=cur}} last edited] {{#if: {{REVISIONUSER}} | by [[{{ns:2}}:{{REVISIONUSER}}|{{REVISIONUSER}}]] {{toolbar|1=[[Special:Contributions/{{REVISIONUSER}}|contribs]]|2=[[Special:Log/{{REVISIONUSER}}|logs]]}} }} [{{fullurl:{{FULLPAGENAME}}|action=purge}} {{time ago|{{REVISIONTIMESTAMP}}}}].

before "Please remove..."

Comments? Is the username important here, or just the time? Should "hasn't been edited" remain linked?—C45207 | Talk 10:58, 6 August 2009 (UTC)

I like the general idea very much. Including the username is not important; linking "hasn't been edited" is also not important, as you just told them right there the last time the page was edited. So, in the interest of simplicity, I'd leave both of those bits out.--NapoliRoma (talk) 03:22, 9 August 2009 (UTC)
How does the above look?—C45207 | Talk 06:59, 15 August 2009 (UTC)
There is a problem with the last edited time which I think has to do with time zones. Necessarily this is hard to reproduce in a permanent form, but an article (Sailing at the 1936 Summer Olympics) that was last edited at 07:39 UTC 19 June 2010 07.39 UTC (8.39 BST, my time) was, when I saw it at 08.41 BST, as labelled as being "24 hours ago" when obviously it was only a couple of minutes ago. I frequently see on {{inuse}} and {{underconstruction}} it telling me that my last edit was "in one minute's time" and so on, which is obviously absurd. I think therefore there is a rollover error somewhere in the code for computing the delta times. Right now I don't have time to investigate this; I merely note it. It's not a particularly new problem. Si Trew (talk) 07:44, 19 June 2010 (UTC)
In fact, when I look at Template:Inuse, it tells me "This page was last revised at 07:45, 19 June 2010 (UTC) (2 months ago)", whereas that time is not two months ago. Is it getting the two datetimes for each part of the message from different places? The last edit on that page (i.e. the template itself) was indeed 2 months ago, on 12 April 2010, but not this is not what is shown. And indeed, it was not at 07:45 (which is the time I viewed the page) but at 02:12 (both times UTC). It seems it picks up the current time somehow. But this may be a special case, of course, being that it's the templates "transclusion" (well, elaboration) on its own page; but that still doesn't explain the inconsistency in the absolute reported time and the delta time. Si Trew (talk) 07:51, 19 June 2010 (UTC)

{{editprotected}}

The "last revised" time is certainly incorrect, as it is actually the current time. It seems that it never would have worked properly. I can only guess that no one ever noticed because this template isn't supposed to remain on a page for that long. I have placed a corrected version at Template:In use/sandbox. Anomie 12:51, 19 June 2010 (UTC)
  Done — Martin (MSGJ · talk) 17:38, 19 June 2010 (UTC)

Categories

{{editprotected}} Category:Articles actively undergoing a major edit and Category:Articles actively undergoing construction have been renamed somewhere, but the deletion summary doesn't tell the new name and I can't find it from CfD logs either. The links to the categories should probably be either corrected or removed in the documentation, and the category fixed in the template itself. Same goes for other templates as well. Thanks, Jafeluv (talk) 21:43, 27 August 2009 (UTC)

Done. — RockMFR 23:48, 27 August 2009 (UTC)

Blocking bots

I heard from some editors that the {{inuse}} template blocks bots (in addition to sensible editors)... do we know what exactly bots are looking at to make this determination? My intent is to duplicate the functionality for the copyeditors' blocking banner, {{GOCEinuse}}. If it is just adding Category:Pages_actively_undergoing_a_major_edit, then we can do that quite easily... Any input much appreciated. –Paul M. Nguyen (chat|blame) 02:33, 19 September 2010 (UTC)

It doesn't block all bots, just bots that are coded to pay attention to the template. How it does so depends on the bot. AnomieBOT's OrphanReferenceFixer, for example, looks for Category:Pages actively undergoing a major edit. Other bots might look for transclusion of the template (using the API's prop=templates), or for "{{in use}}" and the like in the wikitext. Anomie 13:24, 19 September 2010 (UTC)
Thanks for the tip. We'll consider using a standardized message in the inuse tag while copyediting; I think this is the smoothest integration. –Paul M. Nguyen (chat|blame) 15:05, 19 September 2010 (UTC)

automated bot removal?

If interested, I have a bot that removes the {{current}} tag from pages where the page hasn't been edited for a while (12 hours, configurable). I can make that work for this template. If interested, discuss here and give me a talkback or other note on my talk page- I won't watch this template. tedder (talk) 01:54, 7 October 2010 (UTC)

Already handled by JL-Bot. -- JLaTondre (talk) 10:55, 7 October 2010 (UTC)

Hello, the name of the template in Dutch is "meebezig". Could someone insert the interwiki link to "nl:sjabloon:meebezig". Thank you. --Ziko (talk) 11:35, 23 October 2011 (UTC)

You should be able to add it yourself at the bottom of Template:In use/doc. Anomie 13:56, 23 October 2011 (UTC)
  Done Debresser (talk) 15:24, 23 October 2011 (UTC)

Display as Editnotice

I don't think this template should be displayed on top of the article, since 99% of any given article's readers don't want to edit it anyway. It should rather be displayed as a Wikipedia:Editnotice, like Template:TFA-editnotice. Could someone please change this? --bender235 (talk) 22:21, 15 June 2012 (UTC)

I think such a decision needs input from more editors, and I am not sure I agree with you. The template has two jobs: (1) Please don't edit the article to help avoid edit conflicts, and (2) This article may look like a mess right now, but it's alright, it's in the middle of getting fixed. As an Editnotice, you completely lose number (2), and the editors who want to edit don't know that they shouldn't until they've clicked "edit"; at that point they may have already wasted some time thinking about how to improve the article. So count me rather on the nay side. – sgeureka tc 14:57, 16 June 2012 (UTC)

Edit request

There are three HTML tags in use that have been depreciated. <br> is superseded by <br />, and both <small></small> and <big></big> are obsolete; phasing out of use, in favor of <span style=";"></span> tags. Templates {{small}} and {{big}} were made to facilitate this transition. Therefor I request the following changes be made to this protected template:

  1. Where the template states:

    while this message is displayed.<br>

    Correct it to say:

    while this message is displayed.<br />

  2. Where it is coded as:

    <small>{{#if:{{{time|}}}|This message was added at {{{time|}}}.|}} This page was last revised at {{#time:H:i, j F Y|{{REVISIONTIMESTAMP}}}} (UTC) ({{time ago|{{REVISIONTIMESTAMP}}}}). Please remove this template if this page [{{fullurl:{{FULLPAGENAME}}|action=history}} hasn't been edited] in several hours. If you are the editor who added this template, please be sure to remove it or replace it with {{tl|Underconstruction}} between editing sessions.</small>

    Replace it to code as

    {{small|{{#if:{{{time|}}}|This message was added at {{{time|}}}.|}} This page was last revised at {{#time:H:i, j F Y|{{REVISIONTIMESTAMP}}}} (UTC) ({{time ago|{{REVISIONTIMESTAMP}}}}). Please remove this template if this page [{{fullurl:{{FULLPAGENAME}}|action=history}} hasn't been edited] in several hours. If you are the editor who added this template, please be sure to remove it or replace it with {{tl|Underconstruction}} between editing sessions.}}

Thank you, --My76Strat (talk) 08:08, 23 January 2013 (UTC)

In reality, changes like these should not be something we have to worry about as editors, but rather they should be made server-side (in the wiki software). I think there were some bugs on this in Bugzilla. As such, I don't really think this change is helpful. (I also might point out that <small>...</small> is not deprecated in the HTML5 specification.) — This, that, and the other (talk) 09:36, 23 January 2013 (UTC)
  Not done: Nor is <br> deprecated in HTML5. Anomie 13:16, 23 January 2013 (UTC)
Thank you for that reply. I know I didn't imagine receiving information about the changes I suggested, The edit I would have made, if able. Until someone told me, I was mistaken. I appreciate your giving of time to answer my request. Cheers—My76Strat (talk) 01:08, 24 January 2013 (UTC)

Edit protected - automatic display for sections

While the template shows up wherever we place it (like at the top of the article), it does not appear when opening a section for editing. Can the template behavior be modified so that the template appears on the sections when they get opened? Thanks. – S. Rich (talk) 14:37, 28 July 2013 (UTC)

@Srich32977: Could you explain what you mean by "appears on the sections when they get opened"? If you put the template at the top of the article, and then edit a section rather than the whole article, then you don't see the template. If that is what you mean, then this is the way MediaWiki works, and it can't be changed. But I think perhaps that you might mean something else, and I just haven't understood it properly, so I would be grateful if you could clarify. — Mr. Stradivarius ♪ talk ♪ 15:13, 28 July 2013 (UTC)
Yes, you have restated it correctly. I was hoping the template could be fixed to pop-up when sections get opened for editing. Alas, if that's how MediaWiki works, then we'll live with it. Thanks. – S. Rich (talk) 15:18, 28 July 2013 (UTC)
Disabled request. You may be confused with edit notices which appear on the editing page. This template is ment to only show on the page itself, not when editing the page, or a section. Edokter (talk) — 15:20, 28 July 2013 (UTC)
I'm not confused. I was hoping the template could be modified so it would show up on sections as they were opened for editing. If it can't be modified to do so, then that's fine. – S. Rich (talk) 16:28, 28 July 2013 (UTC)
That is technically not possible. Edit notices are controlled on a per-page basis. A template cannot insert itself as an edit notice. Edokter (talk) — 16:42, 28 July 2013 (UTC)

Locking the page during inuse

I have been maintaining and updated Ink Master season 3. During some major edits (adding new episode details) I continuously have editing conflicts with unregistered users. I place the {{inuse|2 hours|time="kevintampa5"}} tags and they are ignored. Is it possible to have the page locked from editing by unregistered users during an inuse tag implementation so I don't have to retype a whole section just added? Just to note, some edits reflect incorrect information, but others are accurate, just lacking citations and references. But when making a large change, it becomes difficult to make changes with people editing a page being edited. Perhaps an alert box/message box would pop-up alerting the editor, The page is currently being edited and current user editing is not recommended. Please check back shortly to make your edit. the inuse tags are automatically removed after a few hours anyhow, so it wouldn't be an issue to apply such a restriction.

Regarding the above, see https://en.wikipedia.org/wiki/Wikipedia:Edit_lock. BeenAroundAWhile (talk) 22:44, 9 May 2015 (UTC)

Template-protected edit request on 18 February 2015

166.137.252.30 (talk) 00:21, 18 February 2015 (UTC)

  Not done: it's not clear what changes you want to be made. Please mention the specific changes in a "change X to Y" format. -- John of Reading (talk) 08:12, 18 February 2015 (UTC)

Issue on mobile

I've recently used the template and it refused to show up on the mobile version of the site. Tvx1 02:15, 28 February 2015 (UTC)

That is intended. See Template talk:Main#Appearance (or lack thereof) on mobile browsers. -- [[User:Edokter]] {{talk}} 08:56, 28 February 2015 (UTC)