Open main menu

Commons people with access to OTRSEdit

A partial list of OTRS volunteers who are administrators on Commons is at m:OTRS/personnel (look for people with a "Y" in the "Commons" column.). Some OTRS volunteers can also be found on Category:Commons OTRS volunteers.

Is this template too complicated?Edit


Is this template too complicated? For instant, what is the function of the parameter "freeform" (idem for "debug") ?

The following code would be easier (limiting itself to the parameter ticket, id, or 1), wouldn't it ?

  The permission for use of this work has been archived in the Wikimedia OTRS system; it is available <template error: no id or ticket is specified>Category:Items missing OTRS ticket ID for users with an OTRS account. To confirm the permission, please contact someone with an OTRS account.

Afrikaans | asturianu | Boarisch | беларуская | беларуская (тарашкевіца)‎ | български | বাংলা | català | нохчийн | čeština | dansk | Deutsch | English | Esperanto | español | eesti | euskara | فارسی | suomi | français | galego | עברית | hrvatski | magyar | Bahasa Indonesia | italiano | 日本語 | 한국어 | lietuvių | latviešu | македонски | മലയാളം | मराठी | Bahasa Melayu | Plattdüütsch | Nederlands | norsk | polski | português | português do Brasil | română | русский | sicilianu | slovenčina | slovenščina | српски / srpski | svenska | ไทย | Türkçe | українська | اردو | Tiếng Việt | 中文 | 中文(简体)‎ | 中文(繁體)‎ | 粵語 | +/−
{| class="messagebox" style="width: 100%;"
| width="70" | [[Image:OTRS Wikimedia.svg|70px]]
| The permission for use of this work has been archived in [[Commons:OTRS|the Wikimedia OTRS system]]; it is available <span class="plainlinksneverexpand">{{ #if: {{{ticket|}}}| '''[{{{ticket}}} here]'''{{{category|[[Category:Items with OTRS permission confirmed]]}}}
        |{{ #if: {{{id|}}}|as '''[[otrs:{{{id}}}|ticket {{{id}}}]]'''{{{category|[[Category:Items with OTRS permission confirmed]]}}}
                       |{{ #if: {{{1|}}}|[[otrs:{{{1}}}|ticket {{{1}}}]]
                                | <span style="color: red; font-weight: bold; font-style: italic"><template error: no id or ticket is specified></span>{{{category|[[Category:Items missing OTRS ticket ID]]}}}
	}}</span> for users with an OTRS account. To confirm the permission, please contact [[m:OTRS/personnel|someone with an OTRS account]]. 
{{ #if: {{{ticket|}}}|<br /><small>Ticket link: {{{ticket}}}</small>}}
| colspan="2" |
<center><hr width="90%" />{{Template:PermissionOTRS/lang}}</center>

Cheers.--Bapti 14:21, 13 March 2008 (UTC)

Yes, it is too complicated. Unfortunately this is I think because different wikis use different parameters for this and the template tries to support them all. I have no idea what the freeform thing is. I'll check how this template is used and see whether I can simplify it. -- Bryan (talk to me) 19:14, 20 March 2008 (UTC)


Is there anything stopping a bot from converting the image pages now using the deprecated {{ConfirmationOTRS}} to use {{PermissionOTRS}} instead? /Lokal_Profil 01:12, 30 March 2008 (UTC)

Working on it.. Rocket000 09:44, 30 March 2008 (UTC)
And   Done. Rocket000 12:33, 30 March 2008 (UTC)
Thanks. /Lokal_Profil 00:06, 31 March 2008 (UTC)


It would be nice if there was an optional field to add details. As in [1] -- Drini 20:14, 4 July 2008 (UTC)

Would it be possible to explain your wish more specific? I kind of understand what you would like to have, but it would be easier to understand if you write us more details. Thank you, my name 22:34, 2 July 2008 (UTC)
P.S.: Please don't forget to sign your contributions on talk pages such as this one.

The proposal is to add a "note" field. The first 2 lines on the linked exampel are what we have now (links to the otrs ticket). The 3rd line is the proposal which could be used to add notes like "permission was given under the license XY for reuse all content from site ABC") that one is a bit simplist, but more examples could be constructed (it's always good to have the ability to add details when needed) -- Drini 20:14, 4 July 2008 (UTC)


  El permiso para el uso de esta obra se ha recibido en el sistema OTRS de Wikimedia. (ticket en OTRS).
Si necesitas verificar el permiso, consulta a uno de los asistentes de OTRS.
  • Permiso para usar material del sitio bajo la licencia GFDL. -- m:drini 20:28 21 jun 2008 (UTC)

comes from

    |nota=Permiso para usar material del sitio bajo la licencia GFDL. -- m:drini  20:28 21 jun 2008 (UTC) }}

-- Drini 20:16, 4 July 2008 (UTC)

{{PermissionOTRS}} is supposed to be used inside {{Information}}. You would leave your note elsewhere inside that Information template, probably above or below the "PermissionOTRS" which is in the "Permission" section. Cbrown1023 talk 20:00, 5 July 2008 (UTC)
I think Drini's idea is very good: it increases transparency and makes life simpler for those without OTRS access. Many of us use the PermissionOTRS gadget that admits only introduction of the link, so adding further description would mean a second edit on the page; the script could be, however, adapted so two consecutive windows appear (first the link, then the short description). I don't know if you're using something like that already on or if it's all done manually. Patrícia msg 14:44, 28 August 2008 (UTC)

Add a tickmark to the templateEdit

I was confused recently by this template. I thought it meant that somebody had only submitted an ticket, not that it had also been confirmed. The reintroduction of a green checkmark icon of some kind would make things far clearer, as would a change in wording/emphasis of "archived"; perhaps replacing it with "verified and archived". --Tom Edwards (talk) 11:31, 15 November 2008 (UTC)

Yeah, it's a very good point to replace "archived" in "verified and archived". For the icon, I don't think a checkmark icon is clearer than the OTRS logo. And this logo is very useful to identify an OTRS permission on first glance.--Bapti 15:24, 15 November 2008 (UTC)
Thanks for that. Perhaps I'm nitpicking here, but it would be better to highlight only the words "verified and archived" (that way they stand out against the supporting text).
Also, I wasn't very clear about what I had in mind for the image. See the replacement above-left. :-) --Tom Edwards (talk) 11:24, 16 November 2008 (UTC)
it would be better to highlight only the words "verified and archived"
Yeah, maybe it's better to higligt only "verified and archived".
For the picture, I see your point but i think it's quite dissapointed to strike the OTRS logo with a green checkmark. Perhaps, it would make more sens to have the checkmark on the left for exemple instead of over the logo.--Bapti 18:43, 16 November 2008 (UTC)
I think the current version is fine. No need to change the images. - Rjd0060 (talk) 18:47, 16 November 2008 (UTC)
I agree with Rjd0060 (talk · contribs). Cirt (talk) 18:56, 16 November 2008 (UTC)

Link to people with an accountEdit

The template says "To confirm the permission, please contact someone with an OTRS account.".

I propose changing the link to Category:Commons OTRS volunteers for obvious reasons. Any reason not to? - Rjd0060 (talk) 19:10, 16 November 2008 (UTC)

I agree with this change especially as there is a link to m:OTRS/personnel on Category:Commons OTRS volunteers :)--Bapti 20:45, 16 November 2008 (UTC)
Without objection, motion carried. Cirt (talk) 16:14, 21 November 2008 (UTC)
Yeah, hope there is no problem with that. I think it just makes sense to do it that way. - Rjd0060 (talk) 16:54, 21 November 2008 (UTC)


This template is going to be hard to auto translate. Anyone feels like he can pull this one of? Multichill (talk) 21:55, 14 March 2009 (UTC)

Add link to OTRS NoticeboardEdit

I'd like to replace

It is available for users with an OTRS account. To confirm the permission, please contact someone with an OTRS account.


It is available for users with an OTRS account. To confirm the permission, please contact someone with an OTRS account or leave a note at the OTRS noticeboard.

Any objections? - Rjd0060 (talk) 03:52, 23 April 2009 (UTC)

Sounds good. Cirt (talk) 04:17, 23 April 2009 (UTC)
No objections, so   Done. See here. - Rjd0060 (talk) 01:51, 25 April 2009 (UTC)

No link to ticket with ticket numberEdit

Here a ticket number is specified, but no link is produced. --Nemo 11:11, 31 December 2009 (UTC)

Category:Items with OTRS permission confirmedEdit

Category discussion notification Category:Items with OTRS permission confirmed has been listed at Commons:Categories for discussion so that the community can discuss ways in which it should be changed. We would appreciate it if you could go to voice your opinion about this at its entry.

If you created this category, please note that the fact that it has been proposed for discussion does not necessarily mean that we do not value your kind contribution. It simply means that one person believes that there is some specific problem with it. If the category is up for deletion because it has been superseded, consider the notion that although the category may be deleted, your hard work (which we all greatly appreciate) lives on in the new category.
In all cases, please do not take the category discussion personally. It is never intended as such. Thank you!

Беларуская (тарашкевіца) | Deutsch | English | Español | Français | עברית | Magyar | Italiano | 日本語 | Македонски | Polski | Português | Русский | ಕನ್ನಡ | ತುಳು | +/−

Two related categories are also discussed there.   — Jeff G. (talk|contribs) 07:40, 15 January 2010 (UTC)

Add a See also section and move to doc-subpageEdit


1. Add a See also section:

See also

2. Add a {{Documentation}} subpage, so others than admins can edit the documentation. Alternatively go for a semi-protected template. Nsaa (talk) 19:14, 17 March 2010 (UTC)

  Not done, there's already a documentation for this template at Template:PermissionOTRS/doc. However, the documentation template has been screwed up and it hasn't been fixed yet. Furthermore, I can see no point in linking to en.wikipedia's OTRS pending template, as this is the permission and not the pending template. --The Evil IP address (talk) 22:19, 20 March 2010 (UTC)

Missing TicketsEdit

There is a lot of files in the Category:Items missing OTRS ticket ID directory. All these files produce valid looking templates like


This work is free and may be used by anyone for any purpose. If you wish to use this content, you do not need to request permission as long as you follow any licensing requirements mentioned on this page.

Wikimedia has received an e-mail confirming that the copyright holder has approved publication under the terms mentioned on this page. This correspondence has been reviewed by an OTRS member and stored in our permission archive. The correspondence is available to trusted volunteers.

If you have questions about the archived correspondence, please use the OTRS noticeboard.

It was suggested that {{PermissionOTRS}} with no ticket ID produce template with a warning instead of affirmation that ticket is "verified and archived". Any objections? --Jarekt (talk) 12:51, 14 April 2010 (UTC)

  •   Support Only objections is that it was not my idea ;-) It is far better that it has some kind of text saying that this files is claimed to have a permission but a link to the ticket is missing or whatever you think is a good text. --MGA73 (talk) 07:49, 16 April 2010 (UTC)
  •   Support Obviously ;-) --Leyo 07:59, 16 April 2010 (UTC)
  •   Comment I just found this File:Igreja Matriz de Treixedo 25.jpg it is bad... There is not ticket but template thinks so. If anyone knows how to fix that we could do that also. --MGA73 (talk) 19:06, 16 April 2010 (UTC)
Just forget that... It is probably better to keep the template simple and try to find and fix tickets with a bad syntax. So that is what I'm trying to do with my bot right now. --MGA73 (talk) 10:10, 18 April 2010 (UTC)
  •   Support I designed this category as a more AGF replacement for my previous attempt, Category:Items with OTRS permission confirmed but needing more research, when I was working on the OTRS-related templates in September 2007. Ideally, it should be empty, and OTRS account-holders with time on their hands should be patrolling it for new erroneous syntax. If producing a (preferably red) error message rather than a valid-looking pretty box would help reduce that workload without arousing too much ire from our contributors, I would support it. For text of the error message, borrowing from the source of Template:Delete, I suggest "No OTRS ticket ID given. PLEASE give an OTRS ticket ID, or this item will end up in Category:Items missing OTRS ticket ID."   — Jeff G. ツ 05:57, 5 May 2010 (UTC)

Going fartherEdit

If OTRS (including its incoming queue) is searchable for the pagename, a bot with read-only OTRS access could theoretically be programmed to initiate deletion proceedings against any item alleging an OTRS ticket without a ticket ID and without mention of the item's pagename in OTRS, and we could add "and could eventually be deleted" to that error message. Any objections?   — Jeff G. ツ 05:57, 5 May 2010 (UTC)

2 years laterEdit

I proposed 2 years ago adding a small field to improve the template by adding notes, which we've been using on eswiki since then.

Examples: [2] [3] [4]

We usually do it to explicit the source/license on the ticket but it is sometimes useful for other infobits. This greatly helps people without OTRS access who can't access the original ticket.

I just want to know if it would be really bad or hurtful to add it (if it hadn't been done so).
If it's too much problem, I apologize, as I will continue adding that information bits (field note or not) as in File:EarthAngels.jpg [5] but it really looks messy and I think the alternative is better. -- Drini 19:35, 3 June 2010 (UTC)
I checked the documentation but I found no clue if it's enabled or not, and I looked at the template code only to get puzzled by the template code and getting scared away. -- Drini 19:46, 3 June 2010 (UTC)

Delinking "as"Edit

Would anyone oppose my delinking "as" in the template? It would make more sense to only link "ticket ###" especially as ticket:### is the format of the interwiki link. --Philosopher Let us reason together. 00:14, 3 December 2011 (UTC)

No opposition, so lets throw an editprotected tag up here. --Philosopher Let us reason together. 02:04, 14 June 2012 (UTC)
Maybe I'm looking wrong, but I don't see where "as" is linked... Trijnsteltalk 19:09, 14 June 2012 (UTC)
  Done by another admin. Romaine (talk) 19:51, 19 June 2012 (UTC)
In future, please be more specific where and what to change. I had non-english interface and was slightly confused. Thank you. -- RE rillke questions? 11:47, 14 June 2012 (UTC)
This comment has been restored. It was deleted by Sílvia Gomes. Also I marked it as done. -- Rillke(q?) 20:57, 11 September 2012 (UTC)

The word "verified" should be removed or replacedEdit

In this 2008 edit, the word "verified" was added to the template, in bold. But OTRS agents do not really verify licenses, as various DRs and otrs notice-board discussions show. I propose that the declaration in the ticket does not correspond to reality. So I propose to remove that word, or to replace it with something less pretentious. /Pieter Kuiper (talk) 16:22, 8 January 2012 (UTC)

I second this as verified sounds like some 100% guarantee which it is not. While some sort of verification is expected to take place through an OTRS process it usually relies to some extent on the trust of third party statements. --AFBorchert (talk) 16:50, 8 January 2012 (UTC)

  Done I agree that this addition was not right. I corrected it in en and pl versions. Could other users correct other languages?--Jarekt (talk) 18:40, 21 February 2012 (UTC)

related discussionEdit

At the noticeboard is a discussion to remove the link and notice to contact somebody directly: Commons:OTRS/Noticeboard#PermissionOTRS. mabdul 17:54, 9 January 2012 (UTC)

Acompanhamento de solicitaçãoEdit

Boa tarde, peço desculpa por incomodar, mas aconselharam-me a falar com um volutário do OTRS, pelo que vim falar aqui. Acontece que o meu email está demorado a ser respondido e a imagem carregada foi proposta para eliminação apesar de ter sido carregada via OTRS, pelo que eu gostaria, se não se importasse, que fizesse o acompanhamento da solicitação, o pedido diz respeito à seguinte imagem:

Obrigada, Atenciosamente,Shania Twain Portugal (talk)

Template is not working correctly?Edit

Is it just me or does {{PermissionOTRS}} not send the files to Category:Items missing OTRS ticket ID? --MGA73 (talk) 12:50, 17 March 2012 (UTC)

  Fixed -- Rillke(q?) 21:11, 11 September 2012 (UTC)
There are now 354 files in that category. I've already fixed some. There are several cases like this one where parameter 1 is the URL instead of the ID. It would be got if a bot could fix these cases. --Leyo 20:58, 14 September 2012 (UTC)
This should be even doable with VisualFileChange, option custom replace. -- Rillke(q?) 21:05, 14 September 2012 (UTC)
I might try it, but I am unsure if e.g. replacing by id=3538172 would yield a correct link, since I cannot prove it. --Leyo 21:16, 14 September 2012 (UTC)
Hmm. The OTRS seems like confusing people with their ticket and id usage. Now they point to ticket, even if id= was used in the template. I marked those what were used completely without reference as |missingID=true so it is easy to filter them (either out of that category or into a new category or both) by editing the template. About 20 of the remaining ones in the category had some parameters but their format was not recognized by my regexps. -- Rillke(q?) 21:57, 14 September 2012 (UTC)

Edit requestEdit

{{Edit request}}

There is extra linebreak due to the debug if expression at the end being on its own line; this results in an extra paragraph after the box when the template is used. Here's requesting that the linebreak be moved into the if expression. For the sake of avoiding any potential confusion, I have copied the entirety of the template source and made the change as follows:

{{ #if: {{{ticket|}}} 
  | {{{ticket}}}
  | {{ #if: {{{id|}}}
    | {{ #if: {{{freeform|}}}
      | {{{freeform}}}
      | {{ #if: {{{1|}}}
        | {{#ifeq:{{#expr:{{{1}}}> 1980000000000000 and {{{1}}}<3000000000000000}}|1
          | {{ #if: {{{2|}}}
            | {{#ifeq:{{#expr:{{{2}}}>1980000000000000 and {{{2}}}<3000000000000000}}|1
            | {{{1}}}{{#if: {{{2|}}}|{{!}}{{{2}}}}}{{#if: {{{3|}}}|{{!}}{{{3}}}}}{{#if: {{{4|}}}|{{!}}{{{4}}}}}{{#if: {{{5|}}}|{{!}}{{{5}}}}}{{#if: {{{6|}}}|{{!}}{{{6}}}}}{{#if: {{{7|}}}|{{!}}{{{7}}}}}{{#if: {{{8|}}}|{{!}}{{{8}}}}}{{#if: {{{9|}}}|{{!}}{{{9}}}}}
              | <span style="color: red; font-weight: bold; font-style: italic"><template error: no id or ticket is specified></span>
{{ #if: {{{ticket|}}} 
  | {{ #if: {{{id|}}}
    | {{{id}}}
    | {{ #if: {{{freeform|}}}
      | {{ #if: {{{1|}}}
        | {{#ifeq:{{#expr:{{{1}}}>1980000000000000 and {{{1}}}<3000000000000000}}|1
          | {{{1}}}
          | {{ #if: {{{2|}}}
            | {{#ifeq:{{#expr:{{{2}}}>1980000000000000 and {{{2}}}<3000000000000000}}|1
            | {{{2}}}
{{ #if: {{{ticket|}}} 
  | {{{category|[[Category:Items with OTRS permission confirmed]]}}}
  | {{ #if: {{{id|}}}
    | {{{category|[[Category:Items with OTRS permission confirmed]]}}}
    | {{ #if: {{{freeform|}}}
      | {{{category|[[Category:Items with freeform OTRS permission confirmed|{{PAGENAME}}]]}}}
      | {{ #if: {{{1|}}}
        | {{#ifeq:{{#expr:{{{1}}}>1980000000000000 and {{{1}}}<3000000000000000}}|1
          | {{{category|[[Category:Items with OTRS permission confirmed]]}}}
          | {{ #if: {{{2|}}}
            | {{#ifeq:{{#expr:{{{2}}}>1980000000000000 and {{{2}}}<3000000000000000}}|1
            | {{{category|[[Category:Items with OTRS permission confirmed]]}}}
              {{ #if: {{{nocat|}}}
                |<includeonly>{{{category|[[Category:Items missing OTRS ticket ID]]}}}{{gibox|text='''Warning:''' This file is missing essential information needed to confirm validity of the OTRS ticket.|type=issue}}</includeonly>
}}{{ #if: {{{debug|}}}|
<small>Template PermissionOTRS was called with the following parameters:{{{1}}}{{!}}{{{2}}}{{!}}id={{{id}}}{{!}}ticket={{{ticket}}}{{!}}freeform={{{freeform}}}{{!}}debug={{{debug}}}</small>}}{{ #if:{{{category|}}}{{{nocat|}}}{{{freeform|}}}|{{DebugTag}} }}<noinclude>


Thanks. -— Isarra 17:11, 13 August 2012 (UTC)

  Snipe! Blurpeace 17:26, 13 August 2012 (UTC)

Confirm permissionEdit

Hello OTRS volunteers commons came to tell you what my email is slow to be answered, it's been two days that I sent the email with permission to use the image want you to answer my email and confirm permission please, now the image is still in the public domain, and it should be of limited use for the file in wikipedia


Sorry for my bad english. My _______________________________________________________________________________________________

Olá voluntários do OTRS commons vim aqui para dizer que o que o meu email está demorado a ser respondido, já faz 2 dias que eu mandei o email com a permissão de uso da imagem quero que respondam o meu email e confirmem a permissão por favor, atualmente a imagem ainda está em domínio púplico, e ela deverá ser de uso restrito para o arquivo na wikipédia

Preference for ticket= vs id=Edit

The documentation says to use ticket= "when you know the URL of the OTRS ticket" and then to use id= "when you only know the ID number". That implies that the full-URL form is preferable. However, the former (apparently preferred) way displays the link as "here" whereas the other form displays the actual ticket id#. It seems like actually displaying the id# is a better way, since it's the permanent identifier of the ticket and is one that has a meaning to non-OTRS people). It also protects against changes to URL interface to the OTRS system (just need to update the template, which generates links from the id#, rather than fixing the hardcoded URLs in every place that the template is used). DMacks (talk) 06:26, 9 September 2012 (UTC)

ticket= parameter brokenEdit

{{Edit request}} The URLs generated by the ticket= template parameter are broken. The CGI interface currently takes a TicketID= parameter rather than TicketNumber= DMacks (talk) 06:32, 9 September 2012 (UTC)

Thank you for bringing this to our attention. I do not disagree with you but the request needs to be a little bit more specific do you want me to remove the ticket= option or do you have a suggestion as to what replacement code will fix the problem? MorganKevinJ(talk) 00:53, 10 September 2012 (UTC)
In the URL links that are generated, the CGI parameter-name should be "TicketID" rather than "TicketNumber". For example:{{{id}}}
There are a total of three such/similar occurrences. To verify that it's correct, check that the links in the documentation examples #2 ({{PermissionOTRS|id=0000000000000000}}) and 3 ({{PermissionOTRS|2000000000000000}}) produce links that do not result in "Error: No TicketID is given!" error-pages from the OTRS system. DMacks (talk) 05:11, 10 September 2012 (UTC)
If an OTRS volunteer had confirmed that, I would have replaced these 3 occurrences. -- Rillke(q?) 20:48, 11 September 2012 (UTC)
Ticket:0000000000000 still links to TicketNumber. The IW-map must be changed? (should be done before)
I had a talk with a member of the Wikimedia Support team (OTRS) and he confirmed that both links (id and ticket) work. Please prove that this change is required (or ask an other OTRS member who is also admin here, directly). Thank you. -- Rillke(q?) 20:39, 14 September 2012 (UTC)
To test I cloned the template to User:DMacks/test1 and put a live ticket# value into its examples at User:DMacks/test1/doc—I have OTRS en permissions and can access it using the normal OTRS system (no comment on its specific merits obviously):
  • {{PermissionOTRS|ticket=}}
generates links to
(obviously:), to which OTRS responds "No Permission!" even when I am already viewing that ticket in another browser tab.
  • {{PermissionOTRS|id=2012052010005694}}
generates links to
to which OTRS displays the ticket as expected.
So I no longer understand at all what's going on except that these two URLs are not functionally equivalent synonyms. Why "the other" one worked vs not in my earlier test (using the actual template doc examples) I also don't know or care (except to again demonstrate that they are not equivalent URL syntaxes, or at best the lay language meanings of the terms "ticket ID" and "ticket #" are not numerically equal). DMacks (talk) 05:36, 15 September 2012 (UTC)

Update required to use the interwiki mapped shortcutEdit

Looks to be about time that we change the notation of this template to utilise the interwiki mapped shortcut [[ticket:ddddddddddd]] rather than the more complex extended form on show.  — billinghurst sDrewth 09:34, 18 November 2012 (UTC)

This template handles both calls like {{PermissionOTRS|ticket=}} and more standard {{PermissionOTRS|id=################}}. Right now both are handled by the same code and that can not be done by [[ticket:ddddddddddd]]. So for simplicity sake the current version is better. --Jarekt (talk) 17:52, 18 February 2013 (UTC)

Incorrect use of the templateEdit

If you use the template incorrectly, the template should preferably notify you and put the file in some maintenance category. For example, File:1258984509 cover2009.jpg has {{PermissionOTRS|ticket number}}. Since the tag contains the words "ticket number" instead of including the actual ticket number, there is no way to verify whether the permission is correct. --Stefan4 (talk) 14:54, 14 February 2013 (UTC)

  Comment I nominated this file for deletion. I agree that your proposal would be quite useful, but I have no idea how to do that. Yann (talk) 15:14, 14 February 2013 (UTC)
  Fixed in the current version. --Jarekt (talk) 03:45, 4 March 2013 (UTC)

Rewrite of the templateEdit

This template wikicode seems to be very complicated to the point of not readable. I looked through it, identified several options which are no longer used and removed them. Then rewrote the template at {{PermissionOTRS/sandbox}} and tested the new and old versions at {{PermissionOTRS/testcases}}. The new version should be much simpler and readable, and the part of the code for detecting Category:Items missing OTRS ticket ID, should work this time. Are there any other test cases I should make sure that work before swapping the templates? --Jarekt (talk) 18:06, 18 February 2013 (UTC)

Edit request of 14 March 2013Edit


Please go to Template:PermissionOTRS/en and change "The permission for use of this work" to "Permission to use this work". The current wording sounds very unnatural. Nyttend (talk) 13:12, 14 March 2013 (UTC)

  Done--Jarekt (talk) 14:09, 14 March 2013 (UTC)

This template misleads people about the licence and is badly wordedEdit

I routinely use Wikimedia Commons to obtain images for classroom use and I'm careful to note the license terms so that I can abide by them (even though it's not always necessary under my local copyright law). However, this template regularly makes me do a double-take and I imagine it's even more confusing for people who aren't used to Commons.

Imagine someone arrives at a Commons page from Wikipedia, wondering whether they can use an image on their website or in their presentation. They see the heading Permission and are confronted with an unreadable paragraph about something called OTRS. They are told "If you wish to reuse this work elsewhere, please read the instructions at COM:REUSE." They go to the mysterious COM:REUSE (perhaps wondering "is that some other website????") and find a page that does not contain any reference whatsoever to OTRS! If they persist and read further down the image page they may find the Creative Commons license/PD/etc. terms of use, but that relatively clear statement is muddled by this template. They must "attribute the work in the manner specified by the author or licensor" that what OTRS is for?

Can this template please be rewritten or hidden so that people can use the images in Commons as the authors and uploaders intended?! Why not change 'Permission' to 'Are you the copyright holder?' or something else more informative? 14:35, 25 April 2013 (UTC)

  Support. make the text smaller and put a "heading" saying   Permission confirmed or similar. -- 11:01, 27 April 2013 (UTC)
  • I wondered what this tag meant when I first came across it. I thought it was some special license that needed other permissions besides the CC/GDFL. It could be worded better. "This template is not a license. It merely verifies the licensing elsewhere on this file page has been accepted by the OTRS system. Com:Re-users may wish to verify #xxxxxxxxxxxxx is valid for the licensing at Com:OTRS/NB or check the file history to insure it was added correctly." --Canoe1967 (talk) 18:22, 3 August 2013 (UTC)
  Agree --Jarekt (talk) 19:04, 3 August 2013 (UTC)
  Agree. That looks like enough consensus. Should we have an admin boldly change it?--Canoe1967 (talk) 19:45, 3 August 2013 (UTC)
  Oppose The reference to OTRS and the ticket number are important. What OTRS is all about can be easily examined by following the link. --AFBorchert (talk) 20:39, 3 August 2013 (UTC)
I think one of the main issues is re-users asking about how to attribute at the OTRS notice board. I have seen a few queries there. They go to com:reuse and it doesn't explain the OTRS tag so they end up at OTRS asking. We may also look into seeing if a bot can detect a non-OTRS member adding or modifying an OTRS tag which has also been done.--Canoe1967 (talk) 20:51, 3 August 2013 (UTC)
A bot for this task is not required; this is caught by filter 69. OTRS is linked to and this should explain it. The link to the OTRS noticeboard is helpful as well even if occassionally unrelated questions about reusing images are asked for. --AFBorchert (talk) 21:12, 3 August 2013 (UTC)

Ok. So lets look at the actual text:

"The permission to use this work has been archived in the Wikimedia OTRS system. It is available as ticket #2000000000000000 for users with an OTRS account. If you wish to reuse this work elsewhere, please read the instructions at COM:REUSE. If you are a Commons user and wish to confirm the permission, please leave a note at the OTRS noticeboard."

How should we improve it, if at all? To me the first 2 sentences are fine. The 3rd sentence about the com:reuse seems unnecessary, and it seems to be confusing to others. If nothing else it is in a wrong place stuck between 2 sentences about OTRS. The forth sentence starting with "If you are a Commons user " seems to be putting unnecessary conditions about who is allowed to leave a note. May be it should just be "If you wish to confirm...". I also agree with the suggestion to clearly state somewhere that this is not a license, and may be that license should be somewhere on the page. Finally I think we should add some small print asking regular non-OTRS users not to add it to the files themselves, but to wait for OTRS agent to do it for them. --Jarekt (talk) 04:08, 4 August 2013 (UTC)

Being in the Permission field may be part of the confusion as well. If it were after any licenses then only commons users would probably read it. It could be shortened to:
"Licensing was approved by the the Wikimedia OTRS system with ticket #2000000000000000. If you wish to confirm the permission before re-using, please leave a note at the OTRS noticeboard."--Canoe1967 (talk) 06:50, 4 August 2013 (UTC)
I am sorry but I think that this adds more confusion. Firstly, what is the Wikimedia OTRS system? This is basically a tool, a piece of software. It certainly does not approve anything. Secondly, we have an OTRS team who processes, among other tasks, incoming permission tickets. But it does not approve them but simply tags the images with this ticket, if the permission ticket appears genuine and sound. Please note also that a similar verb verified was removed before due to this discussion. --AFBorchert (talk) 08:36, 4 August 2013 (UTC)
I agree my wording isn't perfect. The 'system' is a combination of the emails, the volunteers, and the software. I still feel that the existing wording is confusing as it looks like more permission is needed to re-use the file. Just being in the permission section causes that. If the summary template had a received section it would fit better there. Moving it below all licenses would probably solve most issues. I put Template:Personality rights above licenses because I feel that should be read first before re-use off-wiki. With most images the license should be read before the OTRS template that just processed it.--Canoe1967 (talk) 10:09, 4 August 2013 (UTC)

Privacy linkEdit

{{Editprotected}} It's proposed to add, in Template:PermissionOTRS/en after "available", a (linked) adverb "only" (and similarly on the Template:OTRS received text). One word can save some confusion.[6] --Nemo 11:51, 18 April 2014 (UTC)

  Done in en and pl versions.--Jarekt (talk) 13:49, 18 April 2014 (UTC)
The "only" should go after the "as ticket #xxx" text. Otherwise the "only" modifies the ticket number rather than users when the template is used with a ticket number. --Jfhutson (talk) 15:17, 17 May 2014 (UTC)
I think that was the intention, although both interpretations work fine and mean about the same. The template page version modifying users was accidental and I removed "only" if ticket info is missing. --Jarekt (talk) 03:24, 18 May 2014 (UTC)

Clarify the second sentenceEdit

{{Edit request}} I suggest that the second sentence in the box can be made clearer by changing from "It is available for users ..." to "The details of the permission are available for checking by users ..." because it currently gives the impression that the permission to reuse the work is for OTRS members only. Green Giant (talk) 22:36, 30 August 2014 (UTC)

I don't really think that people will misunderstand this. The preceding sentence references that it is referring to the permission for the work. Rjd0060 (talk) 03:14, 31 August 2014 (UTC)
If we assume that uninformed readers know what OTRS is about but we shouldn't assume that. The "It" in the second sentence refers to "The permission to use this work" in the first sentence, so the second sentence can be read as meaning that only OTRS members can reuse the work, rather than anyone can reuse the work. It might be clearer to just remove the second sentence altogether because we can assume that OTRS members will know how to check the permission anyway. Green Giant (talk) 06:47, 31 August 2014 (UTC)
I respectfully disagree...This has been the first question in ... years. But if anybody else has anything to say... Rjd0060 (talk) 19:15, 31 August 2014 (UTC)
@Rjd0060: As an OTRS agent, I have regularly seen requests that were presumably prompted by such misunderstanding, asking how they can get permission to use: ticket:2014071110012203 and ticket:2014070310017116 for recent examples. Although they don't necessarily say "I am asking because I saw this tag", but these kind of requests for permissions to use are significantly more frequent for images with the OTRS tag than for others in my experience. I believe a clearer wording and design would help reduce the workload of OTRS agents. whym (talk) 23:30, 2 September 2014 (UTC)
On the one hand I agree with Green Giant that the second sentence could be made more clear. If it was a new template than I would not mind changing it. But on the other hand it is not that bad, it did not change from the version #1, I do not like to make short templates longer, current version is mostly in synch with English wikipedia template (including that sentence) and the changes might trigger need to change 60 other language subtemplates. But I guess I am weakly leaning towards changing, I would propose changing "It is available for users with an OTRS account." to "Full documentation is available to OTRS volunteers." Or may be ".. is available for review by ..", "... can be reviewed by ...", "... can be verified by ...". Any other opinions? --Jarekt (talk) 02:57, 1 September 2014 (UTC)
  • I find the text ambiguous and unclear. The second sentence could mean three things:
  1. Only people with OTRS access can view the permission statement.
  2. Only people with OTRS access are permitted to use the material.
  3. Only people with OTRS access can access the material.
If you are having trouble identifying the correct interpretation, you could take a look at the Swedish translation, which tells you that either the second or the third interpretation is the correct one, whereas the first one is impossible (wrong gender of "it").
I suggest that we disambiguate the English text and check all translations for errors such as the one in the Swedish translation. --Stefan4 (talk) 21:30, 2 September 2014 (UTC)
One of the reasons I made this request is that some files have the OTRS template in the Summary section and the actual license in the Licensing section. See for example File:Blausen 0353 Epidermis.png, which is the subject of a request currently at the OTRS noticeboard. I don't wish to criticise this method of displaying the license but I can see how uninformed readers might notice the OTRS template and might miss the CC license. This could be solved by adding a new parameter to contain the actual license, similar to how {{PD-Art}} can incorporate one of several PD templates, e.g. {{PD-Art|PD-old-100}}. For an example please see File:" Manuel da Costa Ataíde - Agonia e Morte de São Francisco ".jpg. So an OTRS agent could add the following to a file that has been licensed through OTRS: {{PermissionOTRS |id=################ |license=CC-BY-SA 4.0}} and the result would be the normal OTRS box with a license beneath the ticket link but incorporated within the box. Green Giant (talk) 11:05, 3 September 2014 (UTC)
No, the license should be added directly to the file and not through additional parameters to {{PermissionOTRS}}. License templates are often often quite complicated (see Commons:Multi-license copyright tags for example) and come with additional parameters. There is no need to complicate this template any further. I agree that the traditional way of adding {{PermissionOTRS}} to the permission field of the {{Information}} template and putting license in a new License section might not be the best layout, but for some reason that is how most files use it. We are not going to change it.
By the way I just looked at the template code of the second sentence and in most cases (when {{PermissionOTRS}} is using "id" parameter) the sentence will be: "It is available only as ticket #xxxxxxxxxxxxxxxxxx for users with an OTRS account.". May be change to "Full documentation is available only to OTRS volunteers as ticket #xxxxxxxxxxxxxxxxxx."? --Jarekt (talk) 12:45, 3 September 2014 (UTC)
Fair enough but at the very least OTRS members should be encouraged (but not forced) to put the OTRS template and license template together, either in Permissions or Licensing. One uninformed reader has just explained that they asked about the permission to use an image at the OTRS noticeboard because they were confused by the wording of the template. Including this user, there are four current requests and approximately thirty more archived requests in 2014, which have asked for permission to use an image, despite those images having appropriate licenses. The only reason they are asking at the noticeboard is because the OTRS template confuses them about the licensing. Perhaps it is time to revise the wording of this template so there is as little potential for confusion as possible? Green Giant (talk) 01:31, 7 September 2014 (UTC)

This really does need fixing because the stream of people asking permission is growing - see the most recent three. Green Giant (talk) 22:21, 1 October 2014 (UTC)

  Done en and pl version. Green Giant thank you for pushing this. --Jarekt (talk) 11:38, 2 October 2014 (UTC)



Hi folks! As noted above, this template has a history of making people think they need to ask the noticeboard for permission before using the content in question. Here is a rewrite that:

This work is [[freedomdefined:Definition|free]] and may be used by anyone for any purpose. If you wish to '''[[Commons:Reusing content outside Wikimedia|use this content]]''', you do not need to request permission as long as you follow any licensing requirements mentioned on this page.

Wikimedia has received an e-mail confirming that the copyright holder has approved publication under the terms mentioned on this page. This correspondence has been '''{{color|#0f7f1f|reviewed}}''' by a [[:Category:Commons OTRS volunteers|trusted volunteer]] and stored in our [[Commons:OTRS|permission archive]]. The correspondence is available to trusted volunteers{{ #if: {{{1|}}} | {{nbsp}}<span class="plainlinksneverexpand">{{#if: {{{2|}}} | as '''[{{{1}}} ticket #{{{2}}}]'''|[{{{1}}} here]}}</span>}}.

<small>If you are a Commons user and have questions about the archived correspondence, please use the [[Commons:OTRS/Noticeboard|OTRS noticeboard]].</small>

Here's the current text from Template:PermissionOTRS/en for comparison:

The permission to use this work has been <span style="font-weight:bold;color:#0F7F1F;">archived</span> in [[Commons:OTRS|the Wikimedia OTRS system]]. Full documentation is available [[w:en:Secrecy of correspondence|only]] to [[:Category:Commons OTRS volunteers|OTRS volunteers]] {{ #if: {{{1|}}} | <span class="plainlinksneverexpand">{{#if: {{{2|}}} | as '''[{{{1}}} ticket #{{{2}}}]'''|[{{{1}}} here]}}</span>}}. If you wish to reuse this work elsewhere, please read the instructions at [[COM:REUSE]]. If you are a Commons user and wish to confirm the permission, please leave a note at the [[Commons:OTRS/Noticeboard|OTRS noticeboard]].

LX (talk, contribs) 22:19, 30 June 2015 (UTC)

Hi, It looks indeed better. Regards, Yann (talk) 22:54, 30 June 2015 (UTC)
This edit request has been sitting for five weeks now, there seems to be some support, no opposition, and yet the text is being changed without implementing the changes above. What gives? LX (talk, contribs) 08:39, 6 August 2015 (UTC)
I made that change because anybody can ask for confirmation, not just Commoners. I would rather see far less text because I think it confuses some people. So far this year, we've had twenty requests and there were more than forty last year from people who think OTRS can give them permission to use an image. I get the impression that they ask at the noticeboard because of the text of the template. In fact I would support a complete redesign of the OTRS templates and the methodology. Green Giant (talk) 01:53, 7 August 2015 (UTC)
I don't have an issue with removing the bit about "if you are a Commons user". Anyone reading the text is a Commons user in my book. I agree that people ask for permission at the noticeboard because of the template – that's precisely what the reworded version addresses. What I don't understand is why the edit request is neither implemented nor rejected. Using full protection on a demonstrably confusing template and then ignoring edit requests is not how page protection is supposed to be used. LX (talk, contribs) 08:59, 7 August 2015 (UTC)
  Done – requested lowering of the protection level and updated the template myself instead. LX (talk, contribs) 09:18, 7 August 2015 (UTC)
I made a small change to reflect status quo. --Steinsplitter (talk) 09:33, 7 August 2015 (UTC)
Sorry, but as I explained above, it's a bad idea to keep throwing the abbreviation of the tool that our permission archive happens to use in the face of new users. (Besides, "a otrs member" isn't even proper English – it should be "an", and writing the abbreviation in all lowercase makes me wonder if these volunteers look like the image on the right.) As for your edit comment, the fact that not all trusted volunteers have access does not negate the fact that the correspondence has been reviewed by a (particular kind of) trusted volunteer. I stand by my original wording. LX (talk, contribs) 09:46, 7 August 2015 (UTC)
LX, for what it's worth, I appreciate the effort that you've put into the re-write, and I understand your frustration. It took just over a month to get the template changed by a few words when I made the suggestion last year. I fully   Support the change of the wording because it is definitely an improvement but I want to see a complete rethink of how and why we use the OTRS templates. As experienced users, we've become adapted to the intricacies of Wikimedia, so I think we are resistant to changing methods. However, after reviewing the OTRS noticeboard archives, it has become clear to me that a significant number of people (more than 60 in 18 months), have been misled by an OTRS box into thinking that they need to ask OTRS for permission to use an image. This could be for any number of reasons but it cannot be addressed by putting more information into the already crowded box on the file page. One idea I have been thinking about is to make the file page box as simple and clear as possible and move the bulk of the information to a separate ticket information page. The box needs only three sections:
  • the logo at the left
  • the words "Ticket:20xxxxxxxxxxxxxx" in the centre, with a link to the ticket, and in smaller text below it, the words "Authorized users only"
  • the words "More information" at the right, with a link to the ticket information page.
In that ticket page we'd have a lot more room to clarify the details of the ticket, including for example:
  • the text that you've proposed above
  • the date when the ticket was created, because we shouldn't assume that people will work out that the first eight digits in the ticket number are the date
  • the name of the author/copyright holder
  • the attribution if provided by the author, although this might not always be necessary
  • the license(s) issued with the ticket
  • a list of works/files covered by said licenses
  • the name of the volunteer who dealt with the ticket (as a first point of contact)
  • a list of tickets associated with the same author
Some tickets cover multiple files and some authors have multiple tickets. In the 2015 archive of the OTRS noticeboard (i.e. just seven months) there were nine separate queries in which the requestor would have been helped by a public list of files linked to a ticket. The only way a non-OTRS person can find this out is to carry out a search for the ticket number but the results won't tell them whether those files are actually covered by that ticket and they will still end up asking at the noticeboard. I've actually been asking about this on the OTRS wiki since Wednesday 5 August, but if this sounds like something Commoners might want, I'm happy to ask for the discussion to be moved to the Commons VP/Proposals. Green Giant (talk) 11:31, 7 August 2015 (UTC)
Yes, I think it would be a good idea to increase the transparency in this way, which wouldn't require disclosure of any sensitive information. It sounds like it might require some software (or at least gadget) support, though. LX (talk, contribs) 14:32, 7 August 2015 (UTC)
The name of the volunteer will be added by the otrs script yet, but not displayed (i only included it for otrs received). The date shouldn't be a problem or parsing it from the ticket id. Tickets associated with the same author, license etc. is causing a lot of load if there are a lot of affected files, even if you add a "view/hide" function, the content is still loaded in the background. --Steinsplitter (talk) 14:41, 7 August 2015 (UTC)
The reason I want the name of the volunteer to be more visible is for the sake of inexperienced users. I know and you know how to find this information but that isn't my purpose. When I say a list of files and a list of tickets, I mean literally a set of wiki-links rather than calling on the OTRS software. I wouldn't want to see a gallery or have the page calling up changes from the ticket subdomain. This is something that I would expect volunteers to do, manually if necessary but preferably by script. There would not be any need to strain the servers more than they are now. The ticket pages wouldn't be templates that would need transcluding anywhere. The increased OTRS workload is down to a shortage of volunteers, an awkward interface and resistance to change but that is no reason to keep this information as secret as possible from other users. I really don't want to see another twenty users asking OTRS for permission over the remaining months of 2015. I think 60 confused newbies in 18 months is an indication that we are doing things wrong. I'd rather that they looked at a file page, noted a simple OTRS box and IF they were intrigued by what it mean't, they could click on the "More information" link and be taken to a summary of the ticket, with links to help pages and FAQ's like Commons:OTRS/Noticeboard/FAQ (which was viewed less than 1,000 times over the last three month) before they see a link suggesting they make a request at the OTRS Noticeboard (16,000 views in three month). Instead of crowding the file page, let's make it clearer and simpler for other users. One example that I'm impressed by is the {{Tracked}} template, which simply tells me where to find the task on Phabricator but doesn't feel the need to tell me about what Phabricator is or why tracking is done over there. Simple and effective. Green Giant (talk) 17:28, 7 August 2015 (UTC)

Category:Pages using PermissionOTRS template with incorrect parameterEdit

I added a parameter maintenance. The file pages with other than the specified parameters show up in the above linked category. In addition to spelling or syntax errors, several of the errors occur due to the use of undefined parameters such as date, source, user, comment or similar. Shall we allow their use too? --Leyo 19:20, 21 November 2015 (UTC)

User is used by gadget etc. It allows to see who processed the ticket. Comment, source and date is not needed as far i can see. --Steinsplitter (talk) 19:44, 21 November 2015 (UTC)
@Leyo: Your edit is adding ugly red warnings to thousands of files (and the cat is becoming bigger an bigger because jobqueue is updating all transclusions). To prevent adding red warnings to ten thousands of page i removed the template for now. --Steinsplitter (talk) 19:59, 21 November 2015 (UTC)
I was aware of that (important for a “diagnosis”). The red warnings are intended. I am, however, fine with your temporary removal to discuss what undocumented parameters are also to be allowed. --Leyo 20:15, 21 November 2015 (UTC)
It would be perfect if we could suppress the red warnings. But there is noting written about how to in the documentation :-(. --Steinsplitter (talk) 20:21, 21 November 2015 (UTC)
They don't need to be suppressed, at least not after the preliminary phase. --Leyo 20:42, 21 November 2015 (UTC) PS. There were ~180,000 images in Category:Pages using Book template with incorrect parameter in the beginning.
Wow. If you like to add the template again, feel free :) --Steinsplitter (talk) 21:25, 21 November 2015 (UTC)
Let's not get the job queue too busy and wait for other comments concerning allowed parameters first.
The pattern comment=signature seems to occur quite often (examples). Such uses might be normalized by bot to user=user name.
Other errors originate from the transclusion in other templates, e.g. in Template:OCHA map. --Leyo 21:50, 21 November 2015 (UTC)
Ok. No worries about the job queue - the graph seems fine :). Currently running a +b script to convert all comment=sig to comment=user (based on my research, this is the main problem - the data param is not so often used.). --Steinsplitter (talk) 07:55, 22 November 2015 (UTC)
OK, let's see what remains afterwards. --Leyo 12:20, 22 November 2015 (UTC)
Two years ago when I rewrote this template I spend a lot of time looking at those parameters and I remember noticing a huge variety of unused parameters. I am not sure what would Category:Pages using PermissionOTRS template with incorrect parameter help with. There are only 2 parameters that matter "id" (aka. 1 or 2) or alternative "ticket", if they are both missing than the file ends up in Category:Items missing OTRS ticket ID. If the file is not in Category:Items missing OTRS ticket ID than no matter what incorrect parameters it is using we should not care. --Jarekt (talk) 22:48, 22 November 2015 (UTC)
@Jarekt: I seen you today cleaning up stuff. Thanks! There should be only the parameters aforementioned by you (the user parameter seems useful as well so that users can see quickly who processed the ticket, likely this should be implanted in the template). --Steinsplitter (talk) 15:17, 23 November 2015 (UTC)
The problem is that many wikipedias have similar, but slightly different PermissionOTRS templates and when files are transferred from those wikipedias, they come with those regional settings. For example German Wikipedia adds id to the unnamed parameter #2. Serbian does not use "ticketNumber" (which we call "id") but "ticketID" so their uploads end up in Category:Items with incorrect OTRS ticket ID. I clean up what I could, but There is not much else that can be done. I marked parameter "2" as depreciated and fixed all files that used it (I hope) but I think that parameter "2" should stay because there are a lot of transfers from German Wikipedia. One thing I would love to do is to find some way of replace templates using "ticket" with "id", but I do not a way to automatically look up those. --Jarekt (talk) 15:41, 23 November 2015 (UTC)

Special:Diff/179858347: It's about time for re-activation. --Leyo 11:54, 21 May 2017 (UTC)

@Leyo: Done (the red warnings are currently hidden via CSS, but you can unhide them via your local css; Just want to avoid that people are popping up here to complain;). The category will likely be filed with thousands of files in the next days. Should non existing parameters be removed? --Steinsplitter (talk) 11:37, 22 May 2017 (UTC)
Thank you. Concerning CSS, I would prefer a user group specific approach, i.e. how it may be done in de-WP for editors and sysops. Showing the warning to autoconfirmed users (allowing them to fix their own errors), i.e. not to show it to all readers is probably OK. --Leyo 15:59, 22 May 2017 (UTC)
@Jarekt: "ticket" with "id" stuff is done. I think we can remove unnecessary prams with a regex replacement (remove everything, catch ID and user, then construct new template). --Steinsplitter (talk) 13:13, 22 May 2017 (UTC)
That is an excellent news Steinsplitter. I am eager to retire ticket parameter from PermissionOTRS template. I will work on that once we empty Category:Items with ticket OTRS permission confirmed. --Jarekt (talk) 14:36, 22 May 2017 (UTC)
@Jarekt: I am purging the pages by bot to get the cat filled contemporary. Btw a start - maybe you have improvements (feel free to run a better regex with your awb bot)? --Steinsplitter (talk) 12:44, 24 May 2017 (UTC)
I was thinking more about {{#invoke:TemplatePar|check and filling of Category:Pages using PermissionOTRS template with incorrect parameter and I am not convinced we need it. {{PermissionOTRS}} after retiring "ticket" parameter is now very simple: it just need 16 digit number passed as "id", "1" or "2". That is the only thing it is looking for. What other parameters are in the template is irrelevant. We can spend effort standardizing it, and cleaning it up but to me that sounds like cosmetic change that make no difference to the display of the page. In other templates Parameter check is useful to look for no longer used parameters, syntax errors or information which is not properly displayed by the template. But in case of {{PermissionOTRS}} if we have id we have all we need and if we do not we add an error category. --Jarekt (talk) 13:46, 24 May 2017 (UTC)
Yes, sounds reasonable. Agree. --Steinsplitter (talk) 14:40, 24 May 2017 (UTC)
Disagree. It a way to detect inappropriate additions including potential vandalism. There is no harm in having this maintenance category. --Leyo 21:28, 27 May 2017 (UTC)
There is no harm, but clean up of those issues is (in my opinion) a cosmetic change of beautifying code without any visual changes. I will not object if someone does it, but I do not see it as necessary. I would object to maintenance category, which no one is planning to use. The issue is that many OTRS templates were transferred from other wikis which have different formats, my main concern is to have ticket number and all other users, dates comments, signatures, etc. are irrelevant. --Jarekt (talk) 03:04, 28 May 2017 (UTC)
The bot policy applies to articles in en.wikipedia, not to files on Commons. --Leyo 20:07, 28 May 2017 (UTC)
Yes, we do not have many policies on Commons, but as a frequent bot operator, I assure you that idea of cosmetic changes and trying to strike a balance between time, benefits and potential risks is something we think about. We, including me, do not always get the balance right but we try. That said if you want to work on those images, that is fine with me. --Jarekt (talk) 21:17, 28 May 2017 (UTC)
Many of the files in the maintenance category shouldn't be there anymore. We probably need to be patient. --Leyo 09:03, 30 May 2017 (UTC)
I noticed that too. This weekend some of the Category:Creator template maintenance finally caught up with a change I made to template:Creator in the end of April, so 2 months is a norm. We could use to remove files from Category:Pages using PermissionOTRS template with incorrect parameter that should not be there, but it is easier to just wait. --Jarekt (talk) 12:02, 30 May 2017 (UTC)
At a rate of ~7 touches per minute, this task would take ten hours. --Leyo 12:42, 30 May 2017 (UTC)
10 hours is faster than 2 months. At the moment I do not have working version of pywikipediabot but in the past I run some much longer jobs. --Jarekt (talk) 13:07, 30 May 2017 (UTC)
Touching them right now, there are only ~3k in the cat so i shouldn't take too long. --Steinsplitter (talk) 14:09, 30 May 2017 (UTC)
Thanks. I could reduce the category content to 275 files by now. --Leyo 15:51, 30 May 2017 (UTC)

BTW: Such fixes are far from being cosmetic. ;-) --Leyo 16:08, 30 May 2017 (UTC)

  Done all remaining ones fixed.   — Jeff G. ツ 04:26, 31 May 2017 (UTC)

Thank you, but several of your fixes are incorrect and may have caused new issues. Some edits were just unnecessary since I had fixed them before (and thus were not in the maintenance category anymore). Please go through your edits to check. --Leyo 09:18, 31 May 2017 (UTC)
@Leyo: I'm sorry, but I was working from a list of 274 generated by JWB, I thought the "comment", "date", and "2" parameters were illegal, and the signature of de:Benutzer:Redlinux was particularly vexing because it had an embedded vertical bar.   — Jeff G. ツ 12:03, 31 May 2017 (UTC)
Did you checked & fixed all your replacements by hand? --Steinsplitter (talk) 12:41, 31 May 2017 (UTC)
@Steinsplitter: I did them all for this section alphabetically by hand in JWB (not using regexes). I am going through my edits per Leyo the same way, restoring unique comments I had put outside, but some RL issues have been getting in the way.   — Jeff G. ツ 14:30, 1 June 2017 (UTC)
  Done   — Jeff G. ツ 22:22, 2 June 2017 (UTC)

Missing parameter/line "Permission="Edit

Sometimes the parameter "Permission=" is missing in the {{Information}} template, and when it happens it cause a problem and we have to check what was the problem. Is it possible to change the template to add the line automatically when this line is missing? -- Geagea (talk) 12:40, 18 February 2016 (UTC)

Geagea, I moved this question to MediaWiki_talk:Gadget-PermissionOTRS.js#Missing_parameter.2Fline_.22Permission.3D.22. The template has nothing to do with process of adding it to files, which is done by .js files. --Jarekt (talk) 12:49, 18 February 2016 (UTC)
I'll take a look on this tonight. Thanks for report.User: Perhelion 16:10, 18 February 2016 (UTC)
  Done User: Perhelion 08:42, 24 April 2016 (UTC)

Layout (difference to EN)Edit

There appear an over large line-break to the last line "Ticket link: " (it looks like 2 empty lines) , but not on the EN version for some reasons. There appears a extra ‹p› element with extra margin (0.5 % of the page, on the EN version there is another ‹p› element before so the margin get swallowed). To remove the ‹p› the line-break on Template:PermissionOTRS/layout should be removed, at the {{#if. Maybe something has changed on how the Wiki-syntax get parsed? -- User: Perhelion 19:57, 7 April 2017 (UTC)

It seems that if you have a line break between two <small>s, they are in the same paragraph, while if its just normal content, the <br> becomes the first tag in the paragraph, which makes it have a huge “padding”. I think the best solution would be to migrate to the Translate extension, and use the same HTML tags in all language versions, thus have the same appearance regardless of the language. --Tacsipacsi (talk) 15:08, 8 April 2017 (UTC)
I agree with this, but that must be also done by an admin. -- User: Perhelion 17:50, 8 April 2017 (UTC)
Actually, for most of the task, no sysop is needed. Migrating to the Translate extension consists of the following steps:
  1. Preparing the page. Template:PermissionOTRS/i18n has to be created based on the English page, but with <translate> tags. This can be done by any user.
  2. Marking for translation. This page should be marked for translation by a translation admin. (It’s not the same as sysop: most sysops are not translation admins, while for example I’m one despite of not being a sysop.)
  3. Migrating the existing translations. Every translation has to be migrated to the new system. I don’t know about any other way than copying the texts one by one. This can be done by anyone. (I usually move the original pages before marking the page for translation – it cannot be done afterwards – for copyright reasons, while it causes a little service disruption. Maybe not ideal for a such highly-visible template.)
  4. Embedding the new version. As the location of the translations changes, the main template should be changed to embed the new version. This is the only step to be done by a sysop.
--Tacsipacsi (talk) 20:23, 8 April 2017 (UTC)

Shall we retire use of parameter "2"?Edit

One of the allowed ways to pass 16-digit ticket number is through parameter 2. That is to keep it compatible with de:Vorlage:OTRS which uses {{OTRS|Datum|Ticketnummer|Unterschrift}} format. That way transfers from German Wikipedia with OTRS template work without changes to the template. Files using that option are added to Category:Items with OTRS permission in parameter 2. Years ago I added "id" parameter to all the files in that directory and lately I corrected 3 new files. I wonder how often do we get transfers from German Wikipedia that use that option. Is anybody periodically cleaning Category:Items with OTRS permission in parameter 2 or did we have only 3 files in last few years? If we do not use that option I would like to remove support for parameter "2" from the code in order to simplify it. Future files transfered from German Wikipedia would end up in Category:Items missing OTRS ticket ID and (hopefully) would be fixed there. --Jarekt (talk) 13:57, 24 May 2017 (UTC)

I cleaned it up a few times with VFC. It is moved by a bot, i can image the bot operator @Wdwd: may fix it. --Steinsplitter (talk) 14:39, 24 May 2017 (UTC)
I transfer regular files from de.wp to commons via user:wdwdbot like File:Peter Gentsch.jpg - a file which you fixed. My script never set the parameter "2" explicit like "2=123456789". I could change the bot behavior for future transfers to change the text in the template from:
to the new string:
Whould that be okay? BTW, thanks for the ping.--Wdwd (talk) 15:13, 24 May 2017 (UTC)
Wdwd, that would be great. {{PermissionOTRS|id=Ticketnumber|date=Date|user=sign}} would be even better. --Jarekt (talk) 16:24, 24 May 2017 (UTC)

I removed support for ticket ID passed as parameter #2. --Jarekt (talk) 16:50, 24 May 2017 (UTC)


{{Editrequest}} In this edit, "Category:Categorys with OTRS permission template" was introduced. Please compare wikt:categorys with wikt:categories and consider changing to the latter spelling.   — Jeff G. ツ 23:49, 21 October 2017 (UTC)

  Done The categories itself get fixed soon. Thank you! -- User: Perhelion 04:32, 22 October 2017 (UTC)

Add “lang” parameterEdit


Please copy over the sanbox to the live template; I’ve added the {{{lang}}} parameter (it’s useful in other templates to fix the language in order to make it as consistent as possible, at least within that template). I’ve also added a test case for it. —Tacsipacsi (talk) 21:22, 3 September 2018 (UTC)

  Done -- User: Perhelion 11:09, 4 September 2018 (UTC)


Maybe this link should be replaced with this link? Benjamin (talk) 02:16, 19 February 2019 (UTC)

  Done. I agree that is a better link. --Jarekt (talk) 14:57, 19 February 2019 (UTC)
Return to "PermissionOTRS" page.