[Bug] URLs with Additional Subdirectories Result in Errors #23
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: PrivateCoffee/wikimore#23
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
When encountering a URL that doesn't follow the expected URL schema by having additional subdirectories, Wikimore currently returns an Error in place of those pages.
This is most evident in browsing Wikibooks, where reading most books is impossible as the URLs for individual chapters is a subdirectory of the book itself.
For example, for the Guitar wikibook at the following Wikibooks and Wikimore links respectively, the table of contents displays as intended:
https://en.wikibooks.org/wiki/Guitar
https://wikimore.private.coffee/wikibooks/en/wiki/Guitar
However, when viewing individual chapters, Wikimore returns an error, as it appears it does not expect this change in URL schema. Here are the Wikibooks and Wikimore links respectively for the Harmonics chapter of the book, where Wikimore gives an error:
https://en.wikibooks.org/wiki/Guitar/Harmonics
https://wikimore.private.coffee/wikibooks/en/wiki/Guitar/Harmonics
While most prevalent in Wikibooks, this also occurs in other Wikimedia projects. On Wikipedia, the page for Selected Anniversaries displays as intended on both Wikipedia and Wikimore at the following links:
https://en.wikipedia.org/wiki/Wikipedia:Selected_anniversaries
https://wikimore.private.coffee/wiki/en/wiki/Wikipedia:Selected_anniversaries
However, clicking on any of the months at the top of the article, February for example, Wikimore gives an error similar to the case above:
https://en.wikipedia.org/wiki/Wikipedia:Selected_anniversaries/February
https://wikimore.private.coffee/wiki/en/wiki/Wikipedia:Selected_anniversaries/February
[Bug] URLs with Additional Subdirectoriesto [Bug] URLs with Additional Subdirectories Result in Errors