Page MenuHomePhabricator

Tool 'abbreviso' has it's URL as a 404 page on toolinfo
Closed, ResolvedPublic

Description

The tool 'abbreviso' current has it's URL on the toolinfo page as https://tool.wmflabs.org/abbreviso/None which returns a 404 error. It should be updated to https://abbreviso.toolforge.org

Steps to reproduce
  1. go to https://admin.toolforge.org/tool/abbreviso
  2. click 'AbbrevIso journal title abbreviation' to go to the webservice page
  3. notice how it link to https://tool.wmflabs.org/abbreviso/None which gives you a 404 error

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJul 9 2020, 10:19 AM
Nintendofan885 edited projects, added Striker; removed Tool-admin.Jul 9 2020, 4:36 PM

How do I fix this?
I tried editing at https://toolsadmin.wikimedia.org/tools/id/abbreviso .
The only relevant field is "Path to tool below main webservice" which I guess is supposed to be the relative path to the tool's main page?
Changing it only changes the link for the title at https://toolsadmin.wikimedia.org/tools/id/abbreviso
it doesn't seem to affect the link for the title at https://admin.toolforge.org/tool/abbreviso
(whether I put empty-string, '/', 'abbreviso/' or an absolute URL).
(The nodejs tool itself is configured to allow paths with or without the /abbreviso/ part).

Also note on both pages these are subpaths of the obsolete URL "https://tools.wmflabs.org/abbreviso/" instead of "https://abbreviso.toolforge.org/" (T245804).

bd808 added a subscriber: bd808.Jul 10 2020, 3:57 PM

How do I fix this?

https://toolsadmin.wikimedia.org/tools/id/abbreviso/info/id/780/history?version_id2=1639&version_id1=1637 should fix the None problem.

As you have noticed, T245804: Reassign base URLs for toolinfo records' web service links needs to be fixed for everyone to change the tools.wmflabs.org part.

Nintendofan885 closed this task as Resolved.Jul 10 2020, 4:10 PM

It goes to now go to https://tools.wmflabs.org/abbreviso// (it probably shouldn't have the double slash at the end though)