Page MenuHomePhabricator

Deploy updated www.wiktionary.org page
Closed, ResolvedPublic

Assigned To
Authored By
Jdrewniak
Mar 24 2022, 5:13 PM
Referenced Files
F35120693: Screen Shot 2022-05-09 at 11.38.48 AM.png
May 9 2022, 3:47 PM
F35112597: image.png
May 8 2022, 3:11 AM
F35112608: image.png
May 8 2022, 3:11 AM
F35112601: image.png
May 8 2022, 3:11 AM
Tokens
"Love" token, awarded by mxn."Like" token, awarded by Ladsgroup.

Description

As part of last years GSoC project, @Bharatkhatri351 updated the www.wiktionary.org portal to be built from the same system as www.wikipedia.org. However, this new update has not yet been deployed. This task describes the work needed to actually deploy all this hard work to production (finally!)

The configuration for the portals is already set, so no extra changes to mediawiki-config or puppet are required. The does need to

  • The www.wiktionary.org build output should be verified and compared to the existing portal (e.g. number & order of wikis, top-ten, search etc.)
  • The build step should be modified to create the www.wiktioary.org portal instead of pulling it from meta.
  • This change should be communicated on wiktionary village pump

Event Timeline

This change should be communicated on wiktionary village pump

Also remember to inform the Meta administrators on this talk page so they can decommission the system of modules that notifies them when the Wiktionary portal template needs to be updated.

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

[wikimedia/portals@master] Switch wiktionary to the new build

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

Can't say this work or not ^ I don't have npm installed (and won't install it). If I can get it to work with fresh, I'll give it a try.

Tested it locally:

image.png (980×1 px, 163 KB)

image.png (523×1 px, 128 KB)

Comparing to the current one:

image.png (968×1 px, 232 KB)

The languages around the logo don't match that much but it can be due to geo location and other new features the new thing has.

One other thing I couldn't see to work is the search, https://www.wiktionary.org/search-redirect.php?family=Wiktionary&language=en&search=abc&language=en&go=Go goes to Wikipedia

Looking at docroot/wwwportal/w/search-redirect.php the family name needs to be lowercase otherwise it just uses wikipedia.

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

[operations/mediawiki-config@master] search-redirect.php: Make sure the family is lowercased

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

Change 789972 merged by jenkins-bot:

[operations/mediawiki-config@master] search-redirect.php: Make sure the family is lowercased

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

Mentioned in SAL (#wikimedia-operations) [2022-05-09T13:36:19Z] <taavi@deploy1002> Synchronized docroot/wwwportal/w/search-redirect.php: Config: [[gerrit:789972|search-redirect.php: Make sure the family is lowercased (T304629)]] (duration: 00m 51s)

Change 786963 merged by jenkins-bot:

[wikimedia/portals@master] Switch wiktionary to the new build

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

I think the languages on the upper circle of the portal can be adjusted over time? For example, the Chinese Wiktionary has over 1.2M entries nowadays, which is quite a lot, but it is not on the upper circle of the portal.

Ladsgroup renamed this task from Prepare the updated www.wiktionary.org page for deployment to Deploy updated www.wiktionary.org page.May 9 2022, 3:23 PM
Ladsgroup added a project: User-notice.

I think the languages on the upper circle of the portal can be adjusted over time? For example, the Chinese Wiktionary has over 1.2M entries nowadays, which is quite a lot, but it is not on the upper circle of the portal.

The current change doesn't make it worse as it's currently the outdated version but yeah, it needs fixing.

Nuts. Unfortunately I spotted an issue with the wiktionary.org portal before deployment today.

Screen Shot 2022-05-09 at 11.38.48 AM.png (986×1 px, 411 KB)

It looks like the URLs that should be pointing to
https://www.wiktionary.org/portal/wiktionary.org/assets/img/Wiktionary-logo-tiles_1x.png
are pointing to
https://en.wiktionary.org/portal/wiktionary.org/assets/img/Wiktionary-logo-tiles_1x.png
(en.wiktionary.org instead of www.wiktionary.org) and causing 404's, at least on our debug servers, so looks like we'll have to verify the apache config before we deploy this.

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

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

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

Change 790402 merged by Ladsgroup:

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

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

That would fix it, it'll take half an hour to roll out.

Mentioned in SAL (#wikimedia-operations) [2022-05-09T17:22:03Z] <ladsgroup@deploy1002> Synchronized portals/wikipedia.org/assets: Wikimedia Portals Update: [[gerrit:790345|Bumping portals to master (T304629)]] (duration: 00m 52s)

Mentioned in SAL (#wikimedia-operations) [2022-05-09T17:22:54Z] <ladsgroup@deploy1002> Synchronized portals: Wikimedia Portals Update: [[gerrit:790345|Bumping portals to master (T304629)]] (duration: 00m 50s)

and it's live! Just want to say thank you @Ladsgroup for taking the lead on this deployment, and @Bharatkhatri351, your work is finally live!

3 questions/notes:

Also remember to inform the Meta administrators on this talk page so they can decommission the system of modules that notifies them when the Wiktionary portal template needs to be updated.

Reminder of this action-item.

I think the languages on the upper circle of the portal can be adjusted over time? For example, the Chinese Wiktionary has over 1.2M entries nowadays, which is quite a lot, but it is not on the upper circle of the portal.

The current change doesn't make it worse as it's currently the outdated version but yeah, it needs fixing.

Will this be [automatically?] updated soon? I think it would be best to announce this update in Tech News/etc, after this issue is resolved.
(Or, is it already fixed, and I just don't have Zhwikt listed in the circle due to my geo-location etc?)

Trizek-WMF moved this task to Announce in next Tech/News on the User-notice board.

I'm writing an entry in Tech News - Is there a short-term plan for updating the other portals?
I.e. Should I just write

Or can/should I write:

(Any suggested wording tweaks, are appreciated. Drafts always help!)

3 questions/notes:

Also remember to inform the Meta administrators on this talk page so they can decommission the system of modules that notifies them when the Wiktionary portal template needs to be updated.

Reminder of this action-item.

I made the comment in https://meta.wikimedia.org/wiki/Talk:Www.wiktionary.org_template and now it's archived.

I think the languages on the upper circle of the portal can be adjusted over time? For example, the Chinese Wiktionary has over 1.2M entries nowadays, which is quite a lot, but it is not on the upper circle of the portal.

The current change doesn't make it worse as it's currently the outdated version but yeah, it needs fixing.

Will this be [automatically?] updated soon? I think it would be best to announce this update in Tech News/etc, after this issue is resolved.
(Or, is it already fixed, and I just don't have Zhwikt listed in the circle due to my geo-location etc?)

I think it's already fixed.

Trizek-WMF moved this task to Announce in next Tech/News on the User-notice board.

I'm writing an entry in Tech News - Is there a short-term plan for updating the other portals?
I.e. Should I just write

Or can/should I write:

(Any suggested wording tweaks, are appreciated. Drafts always help!)

That's a good question. I'm hoping to get to the rest soon but I don't know how much work it is. It might take a week, might take months but it's in my todo list.

Hello, it is said that the new page is updated automatically.
If so, how are chosen the languages of the Wiktionaries that are displayed at the bottom? For example, if I am not wrong, the Tacawit Wiktionary (shy.wiktionary.org) that has about 3500 entries currently is not listed.

It is the same as the @Quiddity's comment above; I still do not see the Chinese Wiktionary in the top circle.

Hasn't seen Chinese Wiktionary yet.