Page MenuHomePhabricator

translatewiki.net main page should be using the current skin
Open, Needs TriagePublicFeature

Description

Feature summary (what you would like to be able to do and where):
I am not saying that translatewiki.net should retire custom https://translatewiki.net/ main page entirely (though I think most of it other than the signup form could be implemented with wikitext these days). But I do think that currently, it provides a very degraded main page experience that is impossible to opt-out from.

I think it would be better if the main page used and adjusted the display in the current skin of the user to display its contents instead of just overwriting entire HTML.

Benefits (why should this be implemented?):
Mostly for registered users but this is more or less for everyone:

  1. It would be a more unified experience across the website, as many people are accustomed to clicking on the main page and expecting the skin to still be there.
  2. Users (especially registered users) could use default MediaWiki search as well as ‘Find and fix translations’ search (which are two different things).
  3. Users could use sidebar actions from the main page.
  4. Some code duplication, like footer links for hosting/MediaWiki, could be removed.
  5. Stuff that is irrelevant for Special:MainPage would/could still be not shown, like tabs, main page heading, etc.

With the current default skin (Vector 2022) it could look something like this:

image.png (1,898×940 px, 649 KB)

Event Timeline

stjn renamed this task from translatewiki.net main page should be embeddable in the current skin to translatewiki.net main page should be using the current skin.Nov 25 2024, 2:21 PM

I think you have a good list of the benefits, but I don't necessarily agree with the proposed solution. I would suggest to reframe the task as what you want fixed/changed instead of a specific solution.

What I want fixed/changed is the fact I can’t use the skin normally on the main page, so this is how the task is framed. I don't know about IP experience (though ideally it should be uniform), but as a logged-in user, it is frustrating. I ended up fixing it for myself by changing the link from the logo element with scripts, but it was a point of frustration for years before that (and I only resorted to scripts because Vector-2022 doesn’t have as many useful links in the user section as other skins). I don't think I would necessarily be alone in that assessment.

The screenshot is just a mockup, though, not a ‘solution’.

Seems like a similar problem was mentioned by @Nikki and @Nemo_bis at T149521: Allow to find a page title from the main page, if they don't mind me mentioning them.

Agree. Some users want to go to MediaWiki features directly from the main page. This is the all the menus are intended for.

Examples: Recent changes, search, watchlist, Echo indicators...

Note Vector 2022 can hide menus so you still can have full-page mainpage.

By now the main page should be full-width by default in Vector 2022 (after a lot of begging by me personally). So it shouldn’t be an issue.

Echo indicators is the thing I forgot, though. Thanks for listing it, it is another argument to make this switch.

One thing I forgot to mention: main page CSS specifically would still be customisable, so you could, for example, still keep the whole page a light gray colour by default by using body.page-Main_Page class. Default first heading can be hidden via Mainpage-title / Mainpage-title-loggedin messages (or, again, CSS). Apart from some content being pushed slightly lower, personally I don’t get the downsides of this.

Yeah, I also always ingored the main page as useless for me, and it's doesn't have to be this way.

Offtop: I doubt this is a very good entry point:

image.png (1,431×539 px, 80 KB)

A small selection of random project names and logos, without descriptions, doesn't tell a newcomer anything, and people who already know what they want to translate, I assume, click "Show all projects". It would be great to have the project search input immediately. This can, of course, be implemented using main page scripts, not a custom main page.

Also, the number of messages disappears when the page loads. Gif:

chrome_SLhFN401AC.gif (769×351 px, 24 KB)

Can we at least do this for logged-in users, please? It’s a very bad experience to type in https://translatewiki.net/ in the browser bar and end up on a page that doesn’t have a sidebar, any notification indicators, or a normal search bar, as well as no easy way to go anywhere else other than through my user page. As a semi-regular user of the website, I really struggle to understand who is helped by the main page functioning like that.

Can we at least do this for logged-in users, please? It’s a very bad experience to type in https://translatewiki.net/ in the browser bar and end up on a page that doesn’t have a sidebar, any notification indicators, or a normal search bar, as well as no easy way to go anywhere else other than through my user page. As a semi-regular user of the website, I really struggle to understand who is helped by the main page functioning like that.

I think this is reasonable and I would review a patch if someone wants to give it a shot.

Change #1300083 had a related patch set uploaded (by Saint Johann; author: Saint Johann):

[mediawiki/extensions/TwnMainPage@master] Display main page with current skin for registered users

https://gerrit.wikimedia.org/r/1300083

@Nikerabbit, in case you missed it, there is now a patch here.