Page MenuHomePhabricator

Create Community section of Special:AllEvents
Closed, ResolvedPublic5 Estimated Story Points

Description

As a Wikimedia user, I would like to be able to easily see which WikiProjects are on my local wiki, so that I can see which WikiProjects that I can join and, therefore, find more ways of connecting with other contributors on the wikis.

Background: This ticket represents the main work to expand the Event List into a Community List, in which there is a new tab ("Communities") that displays the WikiProjects of all the local wiki. We will only display the local WikiProjects for this task, but we may consider a way of discover WikiProjects on other wikis in the future. Because we want to start small and build iteratively, we will now include many usability features in the scope of this task (see out of scope section). However, such usability improvements may be considered after the MVP work is complete.

Acceptance Criteria:

  • Given that I am on Special:AllEvents,
    • The page title should be "Community list"
    • I should see two tabs: "Events" and "Communities"
      • Events should show events (what we currently have on the event list)
      • Communities should show WikiProjects of that wiki only
      • And if I click on "Communities,"
        • I should see:
          • A description below: "Discover WikiProjects—groups of contributors focused on specific topics, tasks, or areas of the wiki."
          • A list of all WikiProjects on the local wiki, with each WikiProject in a separate card, and ordered by ID
        • And each card should have:
          • WikiProject name
          • Description (if any)
            • If no description: empty state
        • And if the user clicks anywhere on the card,
          • They should be redirected to the WikiProject page
            • Note: I do not have a super strong preference on where/how the clicking occurs, so if there is another suggestion from design or engineering, this can be shared. For example, we can change it so clicking the name brings you to the WikiProject page.
        • There should be pagination if there are more than X number of WikiProjects -> we need info from Gregory on this

Out of scope:

  • A curated list that features certain or specific WikiProjects
  • Data that is out of scope: topics, logo, founders, other wikis the project is on
  • Functionality this out of scope: search, filters

Design
Design specs
Desktop prototype
Mobile prototype

Mobile: Communities tabDesktop: Communities tabEmpty state
image.png (1×384 px, 159 KB)
image.png (1×1 px, 127 KB)
image.png (1×1 px, 57 KB)

Event Timeline

There are a very large number of changes, so older changes are hidden. Show Older Changes
ifried updated the task description. (Show Details)
ifried updated the task description. (Show Details)
ifried updated the task description. (Show Details)
Daimona subscribed.

Reviewed this at eng meeting 2024-08-20. Questions:

  • Are we still using a handcrafted list of (15?) WikiProjects to display?
  • I think "en.wiki" is not standard. We should maybe use either the URL ("en.wikipedia.org") or the DB name ("enwiki")
  • Descriptions can't be truncated. I believe we should just display the full description for now.

Hi @Daimona, here are my responses:

Reviewed this at eng meeting 2024-08-20. Questions:

  • Are we still using a handcrafted list of (15?) WikiProjects to display?

No, we will display all of the WikiProjects of a local wiki for the MVP.

  • I think "en.wiki" is not standard. We should maybe use either the URL ("en.wikipedia.org") or the DB name ("enwiki")

Yes, URL or DB name could also work. I like how the DB name is shorter, but I also think the URL is more user-friendly. @gonyeahialam, do you have a recommendation or preference?

  • Descriptions can't be truncated. I believe we should just display the full description for now.

Okay, good to know, and cc @gonyeahialam

ifried updated the task description. (Show Details)

>> - Descriptions can't be truncated. I believe we should just display the full description for now.

Okay, good to know, and cc @gonyeahialam

Yes, full description can be displayed for now. I don't think there is any character limit for the description on Wikidata, hence the need for a truncation or a character limit in the future.

@ifried I wanna make sure you saw the following:

I identified a few possible error states that weren't accounted for:

  • We might be unable to connect to the query service to get a list of WikiProjects. I imagine we would show an error message if that happens. What would the copy be?
  • We might be unable to connect to the Wikidata API to get additional information about WikiProjects. Same as above.
  • There might be unlabelled entities in Wikidata. For example, Q54408876 is the WD item for WikiProject Cuba. It only has a label in Spanish, meaning we have no label to show in languages that don't fall back to Spanish (which is the vast majority of them). For now I'm skipping such entities, and I hope that's okay.
  • Not an error per se, but for a lot of WikiProjects, the Wikidata description is pretty much useless. For example, taking the 350 WikiProjects that exist on eswiki, the English description for 227 of them is just Wikimedia subject-area collaboration. There's nothing we can do about it, and it was already mentioned in T370950, so I'm just noting it here for completeness now that I can provide actual numbers.

Change #1071866 had a related patch set uploaded (by Mhorsey; author: Mhorsey):

[mediawiki/extensions/WikimediaCampaignEvents@master] Create interface for wikiproject lookup

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

Change #1072153 had a related patch set uploaded (by Mhorsey; author: Mhorsey):

[mediawiki/extensions/CampaignEvents@master] Add styles to support communityList

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

Change #1072155 had a related patch set uploaded (by Mhorsey; author: Mhorsey):

[mediawiki/extensions/CampaignEvents@master] Move card template to WikimediaCampaignEvents extension

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

Change #1072155 merged by jenkins-bot:

[mediawiki/extensions/CampaignEvents@master] Move card template to WikimediaCampaignEvents extension

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

  • There might be unlabelled entities in Wikidata. For example, Q54408876 is the WD item for WikiProject Cuba. It only has a label in Spanish, meaning we have no label to show in languages that don't fall back to Spanish (which is the vast majority of them). For now I'm skipping such entities, and I hope that's okay.

Quick note: this can also happen when requesting the data in a language that the Wikibase API does not support (e.g., the special "qqx" language).

Change #1072153 merged by jenkins-bot:

[mediawiki/extensions/CampaignEvents@master] Add styles to support communityList

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

The AC still say:

And each card should have:
The wiki of the WikiProject (such as 'en.wiki' for English Wikipedia)

Should this be the case even if we're only showing local wikiprojects? We also had a conversation about the format in T372691#10085528 but no decision AFAICS.

Let's not add it for now as this is only local wikiprojects. We can then iterate and add it after the fact. tagging @ifried so that she is aware of this.

Change #1071866 merged by jenkins-bot:

[mediawiki/extensions/WikimediaCampaignEvents@master] Create interface for wikiproject lookup

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

Moved to QA with the caveat that Error states and the infochip are not yet implemented, once confirmation is received of the format of those, we can continue with implementation.

Update: Error state work will be covered in the scope of T374837.

vaughnwalters subscribed.

Acceptance Criteria:

  • Given that I am on Special:AllEvents,
    • ✅ The page title should be "Community list"
      Screenshot 2024-09-25 at 4.01.55 PM.png (370×920 px, 46 KB)
    • ✅ I should see two tabs: "Events" and "Communities"
      Screenshot 2024-09-25 at 4.02.19 PM.png (172×628 px, 13 KB)
      • ✅ Events should show events (what we currently have on the event list)
      • Communities should show WikiProjects of that wiki only
        • (QA Note, for testing on local, I have to hardcode it to use a live wiki, so this is not really testable until it is in a live env)
      • And if I click on "Communities,"
        • I should see:
          • ❌ A description below: "Discover WikiProjects, which are groups of contributors focused on specific topics, tasks, or areas of the wiki."
            • The text currently is "Discover WikiProjects - groups of contributors focused on specific topics, areas of Wikipedia, or tasks." so this needs changed to match the AC
          • ❌ An alphabetized list of all WikiProjects on the local wiki, with each WikiProject in a separate card
            • The list is not currently alphabetized
              Screenshot 2024-09-25 at 4.06.36 PM.png (1×1 px, 210 KB)
        • And each card should have:
          • ✅ WikIProject name
          • ✅ Description (if any)
            Screenshot 2024-10-10 at 1.39.24 PM.png (748×1 px, 101 KB)
            • ✅ If no description: empty state
              Screenshot 2024-10-10 at 1.38.13 PM.png (752×1 px, 115 KB)
        • And if the user clicks anywhere on the card,
          • ✅ They should be redirected to the WikiProject page
            • Note: I do not have a super strong preference on where/how the clicking occurs, so if there is another suggestion from design or engineering, this can be shared. For example, we can change it so clicking the name brings you to the WikiProject page.
        • There should be pagination if there are more than X number of WikiProjects -> we need info from Gregory on this

❌ A description below: "Discover WikiProjects, which are groups of contributors focused on specific topics, tasks, or areas of the wiki."
The text currently is "Discover WikiProjects - groups of contributors focused on specific topics, areas of Wikipedia, or tasks." so this needs changed to match the AC
❌ An alphabetized list of all WikiProjects on the local wiki, with each WikiProject in a separate card

The text does not match the updated AC in T372894. I believe the text in T372894 is correct.

The list is not currently alphabetized

@Daimona am I correct that we discussed this and you had said this was not a requirement anymore?

The list is not currently alphabetized

@Daimona am I correct that we discussed this and you had said this was not a requirement anymore?

Yup, this was discussed and we went with ordering by ID instead.

Yes, we changed the ordering to be by ID.

I have changed the AC to reflect this.

❌ A description below: "Discover WikiProjects, which are groups of contributors focused on specific topics, tasks, or areas of the wiki."
The text currently is "Discover WikiProjects - groups of contributors focused on specific topics, areas of Wikipedia, or tasks." so this needs changed to match the AC

The text does not match the updated AC in T372894. I believe the text in T372894 is correct.

Moving this to product sign off. @ifried note that the AC needs updated to match the current description text which is Discover WikiProjects - groups of contributors focused on specific topics, areas of Wikipedia, or tasks. if we are going with the copy that is in T372894:

@vaughnwalters & @MHorsey-WMF:

One thing is that WikiProjects are not just for Wikipedia. This is why I wrote "...areas of the wiki" in the AC. Can we change it to say "...areas of the wiki"?

I have updated the AC to replace the "...which are..." with a dash, but I do think it is important to not say that it is merely for Wikipedia.

Change #1079962 had a related patch set uploaded (by Mhorsey; author: Mhorsey):

[mediawiki/extensions/WikimediaCampaignEvents@master] Copy edit on collaboration list to remove reference to wikipedia.

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

Change #1079962 merged by jenkins-bot:

[mediawiki/extensions/WikimediaCampaignEvents@master] Copy edit on collaboration list to remove reference to wikipedia.

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

@vaughnwalters & @MHorsey-WMF:

One thing is that WikiProjects are not just for Wikipedia. This is why I wrote "...areas of the wiki" in the AC. Can we change it to say "...areas of the wiki"?

I have updated the AC to replace the "...which are..." with a dash, but I do think it is important to not say that it is merely for Wikipedia.

This copy has been updated - sending back to product sign off.

Screenshot 2024-10-16 at 12.06.37 AM.png (178×1 px, 39 KB)

This work has been released, so I am marking it as done.

See also T356153, a request to show the Wikimedia Outreach Dashboard with related ongoing projects. That request might be outdated by the current request, because the Wikimedia Outreach Dashboard is typically at the backend of the new Events tool... identifying contributions of participants to an event.

Thanks for sharing this ticket, @Geertivp! I don't know if we will work on it, but I'll read it over and think about the request in greater detail. If I have any follow-up questions, I'll add it to the ticket. Much appreciated!