Pathoschild / Wikimedia-contrib

A collection of user scripts and Tool Labs tools intended for users of Wikimedia Foundation wikis.
MIT License
45 stars 28 forks source link

Update tools for new `toolforge.org` domain #139

Closed MarcoAurelioWM closed 4 years ago

MarcoAurelioWM commented 4 years ago

Due to the introduction of the toolforge.org domain (See News/Toolforge.org, [Cloud] Toolforge: new domain toolforge.org and Task T234617 we should make sure all tools are ready to work with the new $tool.toolforge.org domain. The News/Toolforge.org page on Wikitech should have the required info/steps to achieve this. Thanks!

Pathoschild commented 4 years ago

See related Phabricator ticket re interwiki links.

Pathoschild commented 4 years ago

The meta project is now migrated and using --canonical.

Migrating crossactivity will take a bit more work due to what seems to be a Toolforge bug: if you have a folder under public_html that matches the account name, Toolforge requires it to appear twice in the path even when using the new domain (i.e. X.toolforge.org/X/X instead of the expected X.toolforge.org/X). I'm reworking how the tools are split to address that.

Pathoschild commented 4 years ago

All tools are migrated and using --canonical.

Crossactivity is now at meta2.toolforge.org, with an identical URL structure to the main meta.toolforge.org. They redirect as needed, so it's safe to access any tool through either host and all previous URLs should still work.

Let me know if you notice any issues!

szc126 commented 4 years ago

Within the last hour or so, I noticed that https://tools-static.wmflabs.org/meta/scripts/pathoschild.templatescript.js returns "404 Not Found" not found now. Does this happen for you as well? (Is this related?)

Pathoschild commented 4 years ago

@szc126 Yep, that should be fixed now. Thanks for reporting it!