On Mon, 2019-04-01 at 20:10 -0700, Nick Wilson (Quiddity) wrote:
à 19:10, Andre Klapper a écrit :
Overall, this is going to be quite complicated because of how the main
page currently works on mw.o (via all the sub-templates listed at
IIUC, It is currently using the (ancient) manual subpage-translation
system rather than the newer <translate> extension system. I.e. You
fairly easily if we want to keep using this old system, but AFAICT
none of the translations of that section would have any indication
that the source had changed (beyond watchlist/RC).
Thanks for explaining the history behind this and ! I was not aware of
the old manual subpage-translation system and this finally allows me to
understand why there are so many subpages!
If we want to keep using this old system
Let's not do that.
then I think the most practical order to do the update
in would be
1. Update https://www.mediawiki.org/wiki/Template:Main_page
it contains the new structure (but using the same 5 pre-existing
content sources (intro/using/developing/admin/news).
2. Create the new content source block (help), using the same
3. Then update the contents of the existing content source blocks.
Let's overhaul the whole thing please:
If instead we want to overhaul the whole thing and set
it up properly
with the <translate> system, then (to answer your question) we'd need
to wait until the proposal has been copied across to
before marking it
up, if you want to avoid page-moves.
Alright, when I'm going to do that later this week this would mean that
we'll have a time with less translations on the front page.
(Sidenote: I believe the main benefit of storing the
page in the
template namespace (at [[Template:Main_page]]) is that it allows the
page-specific styles to be moved out of Mediawiki:Common.css and into
Template:Main_page/styles.css, as TheDJ did for this wiki in 2017.
I'm not sure if there are other benefits.)
Ah! I guess I should do that and use the Template, as there is
currently too much repetitive CSS in that page?
Andre Klapper | Bugwrangler / Developer Advocate