Template talk:OTRS pending

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Shouldn't this template be protected? --ALE! ¿…? 08:44, 23 July 2009 (UTC)

Not used a lot, but you could semi-protect it to prevent newbies from accidentally editing this template. Multichill (talk) 17:40, 23 July 2009 (UTC)


It would be helpful for that template to mention the permissions-commons@wikimedia.org email. I had to go back to the upload screen to find it after uploading the image. --Piotr Konieczny aka Prokonsul Piotrus Talk 16:27, 19 October 2010 (UTC)

Confusing instructions[edit]

✓ Done – Taken care of. – Kerαunoςcopiagalaxies 23:31, 2 June 2011 (UTC)
This template and its usage needs to be clarified. My discussion is in regards to File:Avril_Lavigne_(Black_Star_Tour)_at_Kartika_Expo.jpg. I tagged it {{OTRS pending}} (exactly as explained at WP:OTRS) and the file was placed in a category called "OTRS pending – no time stamp given" (or similar). Well, I didn't know I was supposed to add a time stamp, the documentation doesn't mention it. But the documentation says to use {{subst:OP}} instead. So I replace the tag with the subst'd template, but now the file is not in any category, even though the documentation says it will be. So, what's the right way to use this template, or does it not matter because of the email system? Still, it would be nice to have some synchronization between Usage and WP:OTRS (and elsewhere the template is mentioned). Since I'd rather have my file in an OTRS-related category, no matter what kind, I will replace the subst with the actual template. Thanks. – Kerαunoςcopiagalaxies 20:10, 2 June 2011 (UTC)

Okay, I think I get it... the file is categorized, but not visibly so. Confusing, but there you have it. – Kerαunoςcopiagalaxies 20:13, 2 June 2011 (UTC)


If the template needs the month name to have a certain format (eg January?), we can use {{ucfirst:{{lc:{{{month|}}}}} to force that. It's probably just needed for the category name?

Also, we could probably use parser functions (#iferror on an #expr) to detect if the month parameter is a number, and if it is, convert that to the required month name. That would be more multilingual than requiring the English month name. Rd232 (talk) 09:24, 12 April 2012 (UTC)

Faulty cats[edit]

Any way of avoiding all sorts of faulty cats as here ? --Foroa (talk) 16:37, 11 September 2012 (UTC)

I don't know how they're being created. {{MONTHNUMBER}} should be sanitising such inputs. Rd232 (talk) 16:54, 11 September 2012 (UTC)

[1] - manually adding the template with wrong parameters (month number instead of month name). Update the OTRS pending template to change month numbers to month names for cats? Month should also become case-insensitive to prevent months like september. Some translated month names should be added too. Days should ignore two-digit entries like 04 and just use 4 for cats.--Denniss (talk) 11:10, 12 September 2012 (UTC)

After looking at it a bit I realised the calculation at the top has some sanitisation of inputs going on, but the categorisation further down was just taking whatever inputs the template was given. It's now run through #time to ensure it meets the required formatting (and where it fails it should throw all errors into the same category, probably Category:OTRS pending as of Error: Invalid time). It's a start. Rd232 (talk) 23:21, 12 September 2012 (UTC)
Added conversion of numeric month input to English month name (you'd think #time would do this, but...). Rd232 (talk) 23:35, 12 September 2012 (UTC)

Auto no permission tag after 30 days[edit]

{{edit requested}} After 30 days the template automatically converts into a no permission tag, using the OTRS pending date for categorization. This should be changed as it adds cats that are usually long deleted. If possible add 30 days or one month to the date or use the current date for npd tags. An even better solution would be to get this done by a daily bot run. --Denniss (talk) 21:13, 10 November 2012 (UTC)

  • As you leave this option includes a template without the proposed changes, and change the header template {{OTRS pending header}} to automatically added after 30 days in the category "Category:OTRS pending as of ..." category "Category:Media missing permission". Get something like this. I can do myself, header is not protected. --Art-top (talk) 20:45, 20 November 2012 (UTC)

✓ Done

-- Rillke(q?) 14:22, 27 June 2013 (UTC)

@Rillke, Stefan4, Denniss, Fastily, Shil88: With the current OTRS backlog and response times of the order of two months, this "auto destruct" setting should be adjusted to at least 60 days. --Dschwen (talk) 18:23, 11 February 2015 (UTC)

@Dschwen: Just go ahead. -- Rillke(q?) 19:00, 11 February 2015 (UTC)
  • Considering that 30 days currently is too little, an extension sounds like a good idea. --Stefan4 (talk) 20:57, 11 February 2015 (UTC)
  • Ok, ✓ Done. This template is designed pretty nicely. I just now noticed that we have Template:OTRS_pending/backlog to make the adjustment easy. --Dschwen (talk) 20:59, 11 February 2015 (UTC)

Error in the title of the month[edit]

{{Edit protected}} An invalid parameter months (value different from the English names of the months), the template generates an error and because of this file does not fall into any of the categories of OTRS and lost. I corrected the error, see Template:OTRS pending/tmp. In the new version of the error in the date file is placed into the category of Category:OTRS pending - No timestamp given. Ask administrators to make changes to the template. --Art-top (talk) 20:29, 20 November 2012 (UTC)

  • P.S. Recently I have to catch about 30 of these lost files from a link on the template. How many of them still have and how many more will be - is unknown. --Art-top (talk) 20:34, 20 November 2012 (UTC)
✓ Done MorganKevinJ(talk) 01:42, 10 December 2012 (UTC)

Edit request[edit]

If we replace the rows of hashes, id=################}, with Xs, id=XXXXXXXXXXXXXXXXXXXX}, the they would become selectable with double mouse-click (on Windows PCs, at least). This would facilitate copy-paste-select-replace operations. Andy Mabbett (talk) 23:44, 25 November 2012 (UTC)

✓ Done edited Template:OTRS pending/en which is not protected. MorganKevinJ(talk) 01:44, 10 December 2012 (UTC)

Email "has been sent"?[edit]

Template says that an email "has been sent" to OTRS. Shouldn't it say, "has been (or will soon be)"? Believe it or not I'm unsure whether I should add the template to some files I recently uploaded because I'm afraid some sort of you-used-the-wrong-template police will descend on me for adding a template which doesn't state the facts correctly.

While we're at it, Commons:OTRS is confusing with respect to use of this template. One place it seems to say {{OTRS pending}}, another seems to say {{subst:OP}} -- what am I really supposed to do? EEng (talk) 01:23, 27 April 2013 (UTC)

The latter template just puts the date info along with the former template. So it's probably easier to use that. As far as when to put it, it's not that important. Killiondude (talk) 18:52, 25 June 2013 (UTC)
Great that you're telling me that, but for the benefit of millions of other editors the instructions should be clear and unambiguous. Can it just say what to do, period? 20:47, 26 June 2013 (UTC)
The template itself and the documentation seems fine (with regard to "has been sent"). I'll take a stab at updating Commons:OTRS. I was looking there last week and that page and its related pages were definitely a bit confusing (and I've been here a while!). Killiondude (talk) 23:50, 26 June 2013 (UTC)
You Commons guys and gals are worth your weight in gold. Too few of you with too much to do. EEng (talk) 01:18, 27 June 2013 (UTC)

I tried to de-clutter things and reword what I could. I also introduced {{OTRS Navigation}}. We'll see if the higher-ups balk. If you see a specific statement that needs amending, let me know. It's late here. :) Killiondude (talk) 06:37, 27 June 2013 (UTC)

Confusing Text[edit]

Could the "or if the email contains sufficient confirmation of the validity of the license" text be rewritten? DatGuy (talk) 12:15, 1 October 2016 (UTC)


There is a discussion about this template at Commons:Village_pump/Proposals#Adding_provision_for_ticket_number_in_Template:OTRS_pending. Jee 04:54, 8 April 2017 (UTC)