Reformatting of URL Schema #40
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#40
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?
Currently in Wikimore, there is a lot of variation in terms of how the URLs are formatted between projects. While one uses the "wiki" directory to access Wikipedia pages, other Wikimedia projects have Wikimore directories that contain the full project name.
Even this is not a standard rule, as Wikispecies is simply "species" and the various Wikimedia pages such as Wikimedia Portugal, Mexico, and Nigeria start with the country code followed by "wikimedia", those being ptwikimedia, mxwikimedia, and ngwikimedia respectively.
Users of frontends like Wikimore tend to use them in conjunction with tools such as the Redirector browser extension, or LibRedirect. Creating a URL schema that follows general rules throughout projects will help simplify the implementation of Wikimore for these extensions, as well as help users manually redirect pages in cases where that potentially may be needed.
Currently, the issue of making human-readable redirects is worked around utilizing redirects. This is done by appending the Wikimore instance domain to the beginning of the URL of a Wikimedia project page. For example, the Wikisource page for Salome (Wilde 1904)
https://en.wikisource.org/wiki/Salom%C3%A9_(Wilde_1904)
would have a human readable redirect at
https://wikimore.private.coffee/en.wikisource.org/wiki/Salom%C3%A9_(Wilde_1904)
which would redirect to
https://wikimore.private.coffee/wikisource/en/wiki/Salom%C3%A9_(Wilde_1904)
While this is a solution that works currently for most applications, it would be worth making a permanent fix by restructuring the URLs that Wikimore utilizes to display pages.