Page MenuHomePhabricator

Add small Wikipedias like Balinese and Sakizaya to Wikipedia portal page
Closed, ResolvedPublic

Description

Hello all, The Balinese Wikipedia already has more than 2.200 articles. However, it does not appear yet in the list of our main page of wikipedia itself with more than 1,000 articles. Could you please add it? I'm not clear on which team is in charge of the wikipedia.org portal. Thanks in advance. The discussion also already talked in:

Event Timeline

@Jdrewniak Hello :) Can you help with this task? I cant find a way to do it myself.

If you would like to write a patch and put it into Gerrit for review, please follow https://www.mediawiki.org/wiki/Gerrit/Tutorial . The repository to git clone is wikimedia/portals - thanks!

Hi, @Aklapper @Jdrewniak
I've added those 2 languages manually in index.html

image.png (1×1 px, 295 KB)

image.png (1×1 px, 363 KB)

But later I've realized that index.html is added to the .gitignore file 😅
So I went through the remaining files(codes)
In the code, java script functions(controller.js and other) were written so that a language appears automatically on the main page based on the data. But the data(ie the .json files) of these two languages isn't there in the l10 folder and cannot be added manually.
image.png (1×1 px, 208 KB)

image.png (1×1 px, 322 KB)

I didn't understand from where the data is generated. 😅
Is there any other approach to solve this task?

Aklapper renamed this task from Add small Wikipedias like Balinese and Sakizaya to Wikipedia main page. to Add small Wikipedias like Balinese and Sakizaya to Wikipedia portal page.Feb 6 2021, 9:26 PM
Aklapper added a project: Discovery-ARCHIVED.

Hmm, I assume ban and szy need to be added to https://meta.wikimedia.org/wiki/Module:Project_portal/wikis , but hard to say as I cannot find docs either on https://meta.wikimedia.org/wiki/Project_portals how to add a site to a portal.

Thanks a lot! :) I'll try other tasks.

hi @Sriv26
yeah this is complicated.

The data for these portals actually comes from this page:
https://pagecounts.toolforge.org/pagecounts.json

There is some documentation about how the process works here:
https://gerrit.wikimedia.org/r/plugins/gitiles/wikimedia/portals/+/refs/heads/master/data/

Looking at the pagecounts.json page though, I can see that both banwiki and szywiki do exist, so this is likely an error with the data processing somewhere in that data folder.

I can try to poke around that code to see what the issue is (as I'm probably the only person who understands how it works) but it hasn't been touched in at least 5 years so something could be broken.

The data for these portals actually comes from this page:
https://pagecounts.toolforge.org/pagecounts.json

There is some documentation about how the process works here:
https://gerrit.wikimedia.org/r/plugins/gitiles/wikimedia/portals/+/refs/heads/master/data/

@Jdrewniak: Should that be documented / linked on https://meta.wikimedia.org/wiki/Project_portals so folks could be enabled to contribute patches? TIA.

Hi guys, look like not just 2 of this wikis, many wikis not included in wikipedia portal page. I will try to edit and add the list here sorted by name:

  1. Balinese wikipedia (ban)
  2. Gorontalo wikipedia (gor)
  3. Khmer (km)
  4. Madurese wikipedia (mad)
  5. Nias wikipedia (nia)
  6. Northern Sotho (nso)
  7. Sakizaya wikipedia (szy)
  8. Tarantino wikipedia (roa-tara)
  9. Western Armenian (hyw)

Hi guys, look like not just 2 of this wikis, many wikis not included in wikipedia portal page. I will try to edit and add the list here sorted by name:

  1. Balinese wikipedia (ban)
  2. Gorontalo wikipedia (gor)
  3. Khmer (km)
  4. Madurese wikipedia (mad)
  5. Nias wikipedia (nia)
  6. Northern Sotho (nso)
  7. Sakizaya wikipedia (szy)
  8. Tarantino wikipedia (roa-tara)
  9. Western Armenian (hyw)

Almost every language mentioned here is not present in l10n folder. Is this an issue related to the bot used to push strings from translatewiki or do we need to add these languages to the meta?

Is this issue open? May I work on it?

@Helix17: Hi and welcome. Please read the previous comments; for the status see the line below the task summary/title.
Please see also https://www.mediawiki.org/wiki/New_Developers#Communication - thanks! :)

ban Wikipedia is listed on https://www.wikipedia.org/ as of today. szy and othes are still not. Does WMF still maintain Wikimedia-Portals?

Does WMF still maintain Wikimedia-Portals?

@Aklapper "maintain" might be to strong a word, perhaps "benignly neglect" would be more precise.

Yup @Tacsipacsi this too can be resolved thanks to your work on T319138, thanks again!

Jdrewniak claimed this task.