Reformatting of URL Schema #40

Open
opened 2024-10-03 06:29:03 +00:00 by Binzy_Boi · 0 comments

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.

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.
kumi added the
enhancement
label 2024-10-04 11:46:09 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: PrivateCoffee/wikimore#40
No description provided.