Certain links to MDS system drop '.' from URL
CharlasBug Collectors
Únete a LibraryThing para publicar.
1infinitebuffalo
If I go to the DDC view of a section of my catalog, say https://www.librarything.com/catalog/infinitebuffalo&ddc=891.851, and then use one of the lower 'Wording' breadcrumb links to visit the MDS page for the LT system, say the 'Polish' link there, the . is dropped from the MDS number in the URL --- so that link goes to https://www.librarything.com/mds/89185 and fails. The same is true from other DDC pages of my catalog, such as https://www.librarything.com/catalog/infinitebuffalo&ddc=973.91.
I've also encountered other places in the system that are supposed to link to some MDS page or other and fail, which I think are similar problems, though unfortunately I haven't always tracked systematically where the links are located and can't seem to locate them at the moment :-\
I see two potential solutions:
- make sure the . gets into that URL properly. Not certain how the links are built or how difficult it would be to fix the problem this way.
- automatically interpolate a . after the third digit of an MDS or DDC number in a URL if it's not there already---i.e., https://www.librarything.com/mds/891851 and https://www.librarything.com/mds/891.851 should just go to the same place, as should https://www.librarything.com/catalog/infinitebuffalo&ddc=891.851 and https://www.librarything.com/catalog/infinitebuffalo&ddc=891851 ...
I've also encountered other places in the system that are supposed to link to some MDS page or other and fail, which I think are similar problems, though unfortunately I haven't always tracked systematically where the links are located and can't seem to locate them at the moment :-\
I see two potential solutions:
- make sure the . gets into that URL properly. Not certain how the links are built or how difficult it would be to fix the problem this way.
- automatically interpolate a . after the third digit of an MDS or DDC number in a URL if it's not there already---i.e., https://www.librarything.com/mds/891851 and https://www.librarything.com/mds/891.851 should just go to the same place, as should https://www.librarything.com/catalog/infinitebuffalo&ddc=891.851 and https://www.librarything.com/catalog/infinitebuffalo&ddc=891851 ...
2lorannen
>1 infinitebuffalo: Took me a minute to find what link you were talking about—I see the error now! For devs, to reproduce:
- Go to the DDC view of infinitebuffalo's catalog, like this page: https://www.librarything.com/catalog/infinitebuffalo&ddc=891.851
- Near the top of the page, next to "Wording" click the link that reads "West and South Slavic languages"
- That link should go here: https://www.librarything.com/mds/891.8, but instead goes here: https://www.librarything.com/mds/8918, which gets you an "n/a" page
- Go to the DDC view of infinitebuffalo's catalog, like this page: https://www.librarything.com/catalog/infinitebuffalo&ddc=891.851
- Near the top of the page, next to "Wording" click the link that reads "West and South Slavic languages"
- That link should go here: https://www.librarything.com/mds/891.8, but instead goes here: https://www.librarything.com/mds/8918, which gets you an "n/a" page