Page MenuHomePhabricator

wiki links to OTRS-tickets do not work anymore
Closed, ResolvedPublic

Description

Author: walter

Description:
I noticed that using a wiki link to point to a OTRS-ticket does not work anymore. You get the message that you have not rights to view that message. It seems you can also you the ID-number to link to a ticket and that does work.

Test message in the info-nl queue;
https://secure.wikimedia.org/otrs/index.pl?Action=AgentTicketZoom&TicketID=1960422

[[OTRS:2008092110017751]] does not work
[[OTRS:1960422]] does work

Can this be fixed please? This means that now the many links pointing to permissions on the wikis do not work anymore. Ok; you can use the search function to look up the ticket but that is not the idea.


Version: unspecified
Severity: major
URL: https://secure.wikimedia.org

Details

Reference
bz15681

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:20 PM
bzimport added a project: Znuny.
bzimport set Reference to bz15681.

bugs wrote:

(In reply to comment #0)

I noticed that using a wiki link to point to a OTRS-ticket does not work
anymore. You get the message that you have not rights to view that message. It
seems you can also you the ID-number to link to a ticket and that does work.

Test message in the info-nl queue;
https://secure.wikimedia.org/otrs/index.pl?Action=AgentTicketZoom&TicketID=1960422

[[OTRS:2008092110017751]] does not work
[[OTRS:1960422]] does work

Can this be fixed please? This means that now the many links pointing to
permissions on the wikis do not work anymore. Ok; you can use the search
function to look up the ticket but that is not the idea.

This isn't a bug, it's people using the internal link the wrong way (we probably should have used TicketNumber instead of TicketID in the past, but we can't change that now or we'll break bunches of links). We were talking about this yesterday on IRC, you can request a link directly to the ticket on [[Talk:Interwiki map]]. For example, an "ticket:" or "otrs#:" that links to "https://secure.wikimedia.org/otrs/index.pl?Action=AgentTicketZoom&TicketNumber=WHATEVER".

walter wrote:

A new interwiki prefix is created [[Ticket:]] to link directly to the ticket itself when the interwiki map gets updated, what can take some time.

But in the mean time all the old [[OTRS:ticketnumber]] links do not work anymore. I have never seen it used to link to the ticket ID and not the ticket number. I suspect there must be many broken links now.

I would like to get fallback system working again at server level so that depending on the number of characters it is used as ticket ID or ticket number.

For new links [[Ticket:]] can be used.

Please do not migrate all of the old links on the wiki. Wait to see if this can be fixed in software first.

I've added a redirect from these particular TicketID URLs to the corresponding TicketNumber URL. The ticket number must be of the kind that includes the date. Very old ticket numbers (before August 2005) did not include the date, and will not redirect.