Page MenuHomePhabricator

Update the front-page of Wikimedia projects
Closed, ResolvedPublic

Description

IMPORTANT: Make sure to read the GSoC participant instructions and communication guidelines thoroughly before commenting on this task. This space is for project-specific questions, so avoid asking questions about getting started, setting up Gerrit, etc. When in doubt, ask your question on Zulip first!

Brief summary

In 2016, the front page of Wikipedia: www.wikipedia.org , underwent a subtle refresh. The code was moved from a series of scripts on meta.wikimedia.org into a git repository which utilizes Mustache templates and a build step to generate the final HTML page. Unfortunately, Wikimedia’s other projects, like Wikiquote, Wikisource, Wikibooks, etc. were left out of this refresh and their pages are still generated via the scripts on meta.wikimedia.org.

Project portals:

This project aims to convert these pages into HTML templates so that they can run through the same build-step as www.wikipedia.org.

Skills required

This project is well suited for anyone interested in semantic HTML & CSS and front-end build steps. The specific technologies involved are: Handlebars templates, Less CSS, plain Javascript, Node.js scripts and a build-step powered by Gulp.js. There is no server-side component to this project.

More Information

Possible mentor(s)

@Jdrewniak

Microtasks

Done / To-do

Related Objects

Event Timeline

There are a very large number of changes, so older changes are hidden. Show Older Changes

Change 758526 abandoned by Jdrewniak:

[wikimedia/portals@master] Merge branch 'wiktionary' into master.

Reason:

The patches have been merged into master individually.

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

Change 793819 had a related patch set uploaded (by Ladsgroup; author: Amir Sarabadani):

[wikimedia/portals@master] Switch wikibooks.org to the new portal system

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

@Ladsgroup Hello! I'm sorry but I think the deployment process of wikibooks.org should be delayed because it doesn't serve Chinese translation correctly, and its top 10 wikis are not rearranged by users' locale. Wiktionary.org has the same issue. Please see T308009 for more details. Thank you!

@Ladsgroup Hello! I'm sorry but I think the deployment process of wikibooks.org should be delayed because it doesn't serve Chinese translation correctly, and its top 10 wikis are not rearranged by users' locale. Wiktionary.org has the same issue. Please see T308009 for more details. Thank you!

Thanks to your patch, those seems to be fixed now. I do see zhwiktionary in wiktionary.org now. Shall I move on with the work?

@Ladsgroup Hello! I'm sorry but I think the deployment process of wikibooks.org should be delayed because it doesn't serve Chinese translation correctly, and its top 10 wikis are not rearranged by users' locale. Wiktionary.org has the same issue. Please see T308009 for more details. Thank you!

Thanks to your patch, those seems to be fixed now. I do see zhwiktionary in wiktionary.org now. Shall I move on with the work?

Yes, since it looks good to me now.

Change 812843 had a related patch set uploaded (by Ladsgroup; author: Amir Sarabadani):

[operations/puppet@production] wwwportals: Make sure portal assets are also visible in wikibooks vhost

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

Change 793819 merged by jenkins-bot:

[wikimedia/portals@master] Switch wikibooks.org to the new portal system

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

Change 812843 merged by Ladsgroup:

[operations/puppet@production] wwwportals: Make sure portal assets are also visible in wikibooks vhost

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

Change 812898 had a related patch set uploaded (by Ladsgroup; author: Amir Sarabadani):

[wikimedia/portals@master] Add wikiquote.org to the new portal

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

Wikibooks is also migrated now \o/

Change 812898 merged by jenkins-bot:

[wikimedia/portals@master] Add wikiquote.org to the new portal

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

Change 815794 had a related patch set uploaded (by Ladsgroup; author: Amir Sarabadani):

[operations/puppet@production] wwwportals: Make sure portal assets are also visible in wikiquote vhost

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

Change 815794 merged by Ladsgroup:

[operations/puppet@production] wwwportals: Make sure portal assets are also visible in wikiquote vhost

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

Change 815895 had a related patch set uploaded (by Ladsgroup; author: Amir Sarabadani):

[operations/mediawiki-config@master] Bump portals to HEAD

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

Change 815895 merged by jenkins-bot:

[operations/mediawiki-config@master] Bump portals to HEAD

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

Mentioned in SAL (#wikimedia-operations) [2022-07-21T07:43:23Z] <ladsgroup@deploy1002> Synchronized portals/wikipedia.org/assets: Wikimedia Portals Update: [[gerrit:815895|Adding Wikiquote to the new portals (T273179)]] (duration: 03m 08s)

Mentioned in SAL (#wikimedia-operations) [2022-07-21T07:46:33Z] <ladsgroup@deploy1002> Synchronized portals: Wikimedia Portals Update: [[gerrit:815895|Adding Wikiquote to the new portals (T273179)]] (duration: 03m 10s)

Wikiquote is also done now \o/

We should announce this and wikibooks in tech news.

Change 822713 had a related patch set uploaded (by Ladsgroup; author: Amir Sarabadani):

[wikimedia/portals@master] Migrate wikinews.org to the new portal

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

Change 822713 merged by jenkins-bot:

[wikimedia/portals@master] Migrate wikinews.org to the new portal

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

Change 824237 had a related patch set uploaded (by Ladsgroup; author: Amir Sarabadani):

[operations/puppet@production] wwwportals: Make sure portal assets are also visible in wikinews vhost

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

Change 824237 merged by Ladsgroup:

[operations/puppet@production] wwwportals: Make sure portal assets are also visible in wikinews vhost

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

Change 824239 had a related patch set uploaded (by Ladsgroup; author: Amir Sarabadani):

[operations/mediawiki-config@master] portals: Bump to HEAD

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

Change 824239 merged by jenkins-bot:

[operations/mediawiki-config@master] portals: Bump to HEAD

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

Change 829261 had a related patch set uploaded (by Ladsgroup; author: Amir Sarabadani):

[wikimedia/portals@master] Migrate wikiversity to the new portal system

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

Change 829261 merged by jenkins-bot:

[wikimedia/portals@master] Migrate wikiversity to the new portal system

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

Change 835151 had a related patch set uploaded (by Ladsgroup; author: Amir Sarabadani):

[operations/puppet@production] wwwportals: Make sure portal assets are also visible in wikiversity vhost

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

Change 835151 merged by Ladsgroup:

[operations/puppet@production] wwwportals: Make sure portal assets are also visible in wikiversity vhost

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

Change 835169 had a related patch set uploaded (by Ladsgroup; author: Amir Sarabadani):

[operations/mediawiki-config@master] Bump portals to HEAD

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

Change 835169 merged by jenkins-bot:

[operations/mediawiki-config@master] Bump portals to HEAD

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

Mentioned in SAL (#wikimedia-operations) [2022-09-26T12:44:56Z] <ladsgroup@deploy1002> Started scap: Backport for [[gerrit:835169|Bump portals to HEAD (T273179)]]

Mentioned in SAL (#wikimedia-operations) [2022-09-26T12:45:18Z] <ladsgroup@deploy1002> ladsgroup and ladsgroup: Backport for [[gerrit:835169|Bump portals to HEAD (T273179)]] synced to the testservers: mwdebug2001.codfw.wmnet, mwdebug1002.eqiad.wmnet, mwdebug1001.eqiad.wmnet, mwdebug2002.codfw.wmnet

Mentioned in SAL (#wikimedia-operations) [2022-09-26T12:51:02Z] <ladsgroup@deploy1002> Finished scap: Backport for [[gerrit:835169|Bump portals to HEAD (T273179)]] (duration: 06m 05s)

Given that wikivoyage is next but it has a completely different design, I suggested to get rid of that and use the standard portals. I posted this in village pumps of English and German and no objections so far (with lots of support). The reasons are:

  • This is not accessible, the contrast of the text is too low (because of the background image) for people with visual impairments.
  • The design is not following the Wikimedia standard (https://design.wikimedia.org/style-guide) for example the blue is not #36c
  • The general look doesn't follow the standard all other projects follow, that's part of the movement's brand.
  • The current design doesn't really take into account that we might have more wikivoyage languages in the future, doesn't have proper space for them (unlike the standard design)
  • The current design is completely broken in mobile.

image.png (800×360 px, 347 KB)

If there is no objections in a while, I'm going to just simply change it to the standard as port of switching to the new infrastructure.

Change 852959 had a related patch set uploaded (by Ladsgroup; author: Amir Sarabadani):

[wikimedia/portals@master] [WIP] Migrate wikivoyage.org to the new portal

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

Change 852959 merged by jenkins-bot:

[wikimedia/portals@master] Migrate wikivoyage.org to the new portal

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

Change 855659 had a related patch set uploaded (by Ladsgroup; author: Amir Sarabadani):

[operations/puppet@production] wwwportals: Make portal assets also visible in wikivoyage vhost

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

Change 855659 merged by Ladsgroup:

[operations/puppet@production] wwwportals: Make portal assets also visible in wikivoyage vhost

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

Change 855666 had a related patch set uploaded (by Ladsgroup; author: Amir Sarabadani):

[operations/mediawiki-config@master] Bump portals to HEAD

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

Change 855666 merged by jenkins-bot:

[operations/mediawiki-config@master] Bump portals to HEAD

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

Mentioned in SAL (#wikimedia-operations) [2022-11-10T18:12:58Z] <ladsgroup@deploy1002> Started scap: Backport for [[gerrit:855666|Bump portals to HEAD (T273179)]]

Mentioned in SAL (#wikimedia-operations) [2022-11-10T18:13:19Z] <ladsgroup@deploy1002> ladsgroup and ladsgroup: Backport for [[gerrit:855666|Bump portals to HEAD (T273179)]] synced to the testservers: mwdebug2001.codfw.wmnet, mwdebug1002.eqiad.wmnet, mwdebug1001.eqiad.wmnet, mwdebug2002.codfw.wmnet

Mentioned in SAL (#wikimedia-operations) [2022-11-10T18:18:13Z] <ladsgroup@deploy1002> Finished scap: Backport for [[gerrit:855666|Bump portals to HEAD (T273179)]] (duration: 05m 14s)

Change 856029 had a related patch set uploaded (by Ladsgroup; author: Amir Sarabadani):

[wikimedia/portals@master] Migrate wikimedia.org to the new portal

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

Change 856030 had a related patch set uploaded (by Ladsgroup; author: Amir Sarabadani):

[operations/mediawiki-config@master] Add w/api/index.php

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

Change 856029 merged by jenkins-bot:

[wikimedia/portals@master] Migrate wikimedia.org to the new portal

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

Change 857788 had a related patch set uploaded (by Ladsgroup; author: Amir Sarabadani):

[operations/mediawiki-config@master] Bump portals to HEAD

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

Change 857789 had a related patch set uploaded (by Ladsgroup; author: Amir Sarabadani):

[operations/puppet@production] wikimedia.org portal: Make portal assets also visible in the vhost

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

Change 857789 merged by Ladsgroup:

[operations/puppet@production] wikimedia.org portal: Make portal assets also visible in the vhost

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

Change 857788 merged by jenkins-bot:

[operations/mediawiki-config@master] Bump portals to HEAD

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

Change 856030 merged by jenkins-bot:

[operations/mediawiki-config@master] Add w/api/index.html

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

Mentioned in SAL (#wikimedia-operations) [2022-11-16T23:09:57Z] <ladsgroup@deploy1002> Started scap: Backport for [[gerrit:856030|Add w/api/index.html (T273179)]]

Mentioned in SAL (#wikimedia-operations) [2022-11-16T23:10:22Z] <ladsgroup@deploy1002> ladsgroup and ladsgroup: Backport for [[gerrit:856030|Add w/api/index.html (T273179)]] synced to the testservers: mwdebug2002.codfw.wmnet, mwdebug1001.eqiad.wmnet, mwdebug1002.eqiad.wmnet, mwdebug2001.codfw.wmnet

Mentioned in SAL (#wikimedia-operations) [2022-11-16T23:15:24Z] <ladsgroup@deploy1002> Finished scap: Backport for [[gerrit:856030|Add w/api/index.html (T273179)]] (duration: 05m 26s)

Change 857794 had a related patch set uploaded (by Ladsgroup; author: Amir Sarabadani):

[operations/mediawiki-config@master] Get rid of extract2.php

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

Change 858341 had a related patch set uploaded (by Ladsgroup; author: Amir Sarabadani):

[operations/mediawiki-config@master] Move api/index.html to docroot

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

Change 858341 merged by jenkins-bot:

[operations/mediawiki-config@master] Move api/index.html to docroot

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

Mentioned in SAL (#wikimedia-operations) [2022-11-17T14:57:18Z] <ladsgroup@deploy1002> Started scap: Backport for [[gerrit:858341|Move api/index.html to docroot (T273179)]]

Mentioned in SAL (#wikimedia-operations) [2022-11-17T14:57:42Z] <ladsgroup@deploy1002> ladsgroup and ladsgroup: Backport for [[gerrit:858341|Move api/index.html to docroot (T273179)]] synced to the testservers: mwdebug2002.codfw.wmnet, mwdebug2001.codfw.wmnet, mwdebug1001.eqiad.wmnet, mwdebug1002.eqiad.wmnet

Mentioned in SAL (#wikimedia-operations) [2022-11-17T15:04:25Z] <ladsgroup@deploy1002> Finished scap: Backport for [[gerrit:858341|Move api/index.html to docroot (T273179)]] (duration: 07m 07s)

Ladsgroup claimed this task.
Ladsgroup updated the task description. (Show Details)

Change 857794 merged by jenkins-bot:

[operations/mediawiki-config@master] Get rid of extract2.php

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

Mentioned in SAL (#wikimedia-operations) [2022-11-17T16:02:58Z] <ladsgroup@deploy1002> Started scap: Backport for [[gerrit:857794|Get rid of extract2.php (T273179)]]

Mentioned in SAL (#wikimedia-operations) [2022-11-17T16:03:23Z] <ladsgroup@deploy1002> ladsgroup and ladsgroup: Backport for [[gerrit:857794|Get rid of extract2.php (T273179)]] synced to the testservers: mwdebug2001.codfw.wmnet, mwdebug2002.codfw.wmnet, mwdebug1001.eqiad.wmnet, mwdebug1002.eqiad.wmnet

Mentioned in SAL (#wikimedia-operations) [2022-11-17T16:08:50Z] <ladsgroup@deploy1002> Finished scap: Backport for [[gerrit:857794|Get rid of extract2.php (T273179)]] (duration: 05m 51s)