Page MenuHomePhabricator

Adjust "New page" option of the Contribute options to point to a community page when it exists
Closed, ResolvedPublic4 Estimated Story Points

Description

The Contribute entry point (T322740) lists the different ways to contribute to Wikimedia projects. Initially it has a few options and "New page" is one of them (with the description
"Start a new article for a topic that has been requested.").

The "New page" option, based on the conversations from T321379, is currently pointing to a useless special page and a long-term solution may require additional feature developments to be properly supported (specific UI for creating a new page and customization capabilities per-wiki).

Given the reduced scope of the initial deployment (T319362) for the Contribute entry point, this ticket proposes to update the target link to point to a more useful page instead and show the "New page" option when such page exists (which is the case for all target wikis of the initial deployment).

That is, the "New page" option will link to Wikipedia:Requested articles when the page is available, and not show the action when it is not.


Derived Requirement

Ensure that the "New page" option in the Contribute entry point links to a relevant community page instead of the current unused special page. Specifically, if Wikipedia:Requested articles exists on the target wiki, the option must appear and link to that page. If the page does not exist, the "New page" option should not be displayed.

Test Steps

Test Case 1: Display and link "New page" option when community page exists

  1. Navigate to a wiki where Wikipedia:Requested articles exists.
  2. Open the Contribute entry point.
  3. ✅❓❌⬜ AC1: Confirm that the "New page" option is displayed and that selecting the "New page" option opens Wikipedia:Requested articles..

Test Case 2: Cross-check behavior across devices

  1. Open the Contribute entry point on desktop view.
  2. Switch to mobile view (Minerva skin).
  3. ✅❓❌⬜ AC2: Confirm correct display and link behavior for the "New page" option in mobile view.

QA Results - TestWiki

ACStatusDetails
1Pass per T327063#11256735
2Pass per T327063#11256735

Event Timeline

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

I don't think the approach in the WIP patch of querying Wikidata makes sense. It would be much simpler and more performant to just have a configuration variable (which could be made available for community configuration).

Change #910063 abandoned by Nikerabbit:

[mediawiki/core@master] SpecialContribute page: Fix redirection target for "New page" card

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

@Pginer-WMF

That is, the "New page" option will link to Wikipedia:Requested articles when the page is available, and not show the action when it is not.

With this condition, there is a small but real risk that the Special:Contribute page has no contribution options at all. Do we want to risk it or do we prefer to always show the New page option even if it has it's suboptimal default target (Special:Wantedpages)?

@Pginer-WMF

That is, the "New page" option will link to Wikipedia:Requested articles when the page is available, and not show the action when it is not.

With this condition, there is a small but real risk that the Special:Contribute page has no contribution options at all. Do we want to risk it or do we prefer to always show the New page option even if it has it's suboptimal default target (Special:Wantedpages)?

Good point, Stephane.
I think it is ok to move one step at a time. We can keep the current destination as a fallback. In this way:

  • For communities lacking Wikipedia:Requested page, we still provide options to contribute.
  • If the community does not find the default option useful, we can recommend creating a Wikipedia:Requested page in their wiki.
  • Based on how the above goes in practice, we can decide to remove or change the fallback option. At that point, we may also have more options available on the Contribute menu.

The tooltip text (Start writing a new page) always makes me think of the Article wizard, more than any of the other pages.

T29311: Add a "create a page" interface to MediaWiki core might be a solution for this problem. I don't think this will require that many resources since it is just a special page with edit box.

Change #1155748 had a related patch set uploaded (by ToluAyo; author: ToluAyo):

[mediawiki/core@master] SpecialContribute page: Fix redirection target for "New page" card

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

T29311: Add a "create a page" interface to MediaWiki core might be a solution for this problem. I don't think this will require that many resources since it is just a special page with edit box.

Providing users with an option to create a new page makes perfect sense. However, this may require more than just creating a "special page with edit box".
We need to make sure that we are not creating an influx of content that overwhelms the reviewers. When creating new tools that make contribution easier (which opens the access to newcomers and other users that may be less familiar with the wiki rules), we need to make an effort to encourage quality content to be created. In this way, newcomers may have a more positive experience (their contribution not being reverted) and reviewers are not flooded with low quality contributions.

We are currently exploring ideas to better support the process of creating new articles and sections on Wikipedia (T396029) that can help make progress in this front. Meanwhile, for the contribute menu the idea is to link to an existing place where users can find community-defined opportunities to create new articles, where we expect they could be better suited for success.

@Pginer-WMF the current CTA's label is "View missing pages". It makes sense for Special:Wantedpages but as we make the link target configurable, do you think we need text that is a little more generic? Something that would still work for Special:Watedpages, which remains the default, but also Wikipedia:RequestedArticles and other possible entry points about the creation of new articles that may exist on different wikis.

@Pginer-WMF the current CTA's label is "View missing pages". It makes sense for Special:Wantedpages but as we make the link target configurable, do you think we need text that is a little more generic? Something that would still work for Special:Watedpages, which remains the default, but also Wikipedia:RequestedArticles and other possible entry points about the creation of new articles that may exist on different wikis.

Makes sense. We can use the "Start a new page" label, which would go along the lines of the translation call to action.

Change #1155748 merged by jenkins-bot:

[mediawiki/core@master] SpecialContribute page: Fix redirection target for "New page" card

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

Nikerabbit changed the task status from Open to In Progress.Aug 12 2025, 7:18 AM
Nikerabbit changed the task status from Open to In Progress.

Change #1188799 had a related patch set uploaded (by Sbisson; author: Sbisson):

[operations/mediawiki-config@master] SpecialContribute: configure new page target

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

SBisson moved this task from In-progress to Needs Code Review on the LPL Hypothesis board.
SBisson added a subscriber: ToluAyo.
Nikerabbit set the point value for this task to 4.Sep 18 2025, 6:16 AM

Change #1188799 merged by jenkins-bot:

[operations/mediawiki-config@master] SpecialContribute: configure new page target

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

Mentioned in SAL (#wikimedia-operations) [2025-09-22T20:26:46Z] <sbisson@deploy1003> Started scap sync-world: Backport for [[gerrit:1188799|SpecialContribute: configure new page target (T327063)]]

Mentioned in SAL (#wikimedia-operations) [2025-09-22T20:32:38Z] <sbisson@deploy1003> sbisson: Backport for [[gerrit:1188799|SpecialContribute: configure new page target (T327063)]] synced to the testservers (see https://wikitech.wikimedia.org/wiki/Mwdebug). Changes can now be verified there.

Mentioned in SAL (#wikimedia-operations) [2025-09-22T20:38:19Z] <sbisson@deploy1003> Finished scap sync-world: Backport for [[gerrit:1188799|SpecialContribute: configure new page target (T327063)]] (duration: 11m 33s)

Change #1191377 had a related patch set uploaded (by Sbisson; author: Sbisson):

[operations/mediawiki-config@master] Special:Contribute: configure new page target title for enwiki

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

It turns out I missed enwiki in my config patch so I submitted a new one that I will deploy today or next Monday

Change #1191377 merged by jenkins-bot:

[operations/mediawiki-config@master] Special:Contribute: configure new page target title for enwiki

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

Mentioned in SAL (#wikimedia-operations) [2025-09-25T20:04:19Z] <sbisson@deploy2002> Started scap sync-world: Backport for [[gerrit:rMW1191377bbc1f|Special:Contribute: configure new page target title for enwiki (T327063)]]

Mentioned in SAL (#wikimedia-operations) [2025-09-25T20:10:28Z] <sbisson@deploy2002> sbisson: Backport for [[gerrit:rMW1191377bbc1f|Special:Contribute: configure new page target title for enwiki (T327063)]] synced to the testservers (see https://wikitech.wikimedia.org/wiki/Mwdebug). Changes can now be verified there.

Mentioned in SAL (#wikimedia-operations) [2025-09-25T20:15:50Z] <sbisson@deploy2002> Finished scap sync-world: Backport for [[gerrit:rMW1191377bbc1f|Special:Contribute: configure new page target title for enwiki (T327063)]] (duration: 11m 31s)

New patch for enwiki was deployed to production

@SBisson Can you reviews some of the results if they are going to the correct ones like als, ru, etc? They seem to go to different pages than others, as seen in the GIFs.

UPDATE: Pass per T327063#11256735

Test Result - PROD

Status: ✅ PASS
Environment: PROD
OS: macOS Tahoe 26.0.1
Browser: Chrome 140
Device: MBA
Emulated Device: NA

Test Artifact(s):

https://www.wikidata.org/wiki/Q4664111#sitelinks-wikipedia

Test Steps

Test Case 1: Display and link "New page" option when community page exists

  1. Navigate to a wiki where Wikipedia:Requested articles exists.
  2. Open the Contribute entry point.
  3. AC1: Confirm that the "New page" option is displayed and that selecting the "New page" option opens Wikipedia:Requested articles.

Desktop

afalsarbecs
2025-10-02_15-42-47.mp4.gif (830×928 px, 669 KB)
2025-10-02_15-46-30.mp4.gif (768×926 px, 812 KB)
2025-10-02_15-49-38.mp4.gif (644×914 px, 1 MB)
2025-10-02_15-51-52.mp4.gif (734×928 px, 2 MB)
2025-10-02_15-53-34.mp4.gif (788×934 px, 1 MB)

Test Case 2: Cross-check behavior across devices

  1. Open the Contribute entry point on desktop view.
  2. Switch to mobile view (Minerva skin).
  3. AC2: Confirm correct display and link behavior for the "New page" option in mobile view.

Mobile

deesfrkoru
2025-10-02_15-55-19.mp4.gif (1×730 px, 1 MB)
2025-10-02_15-57-04.mp4.gif (1×670 px, 1 MB)
2025-10-02_15-58-08.mp4.gif (1×694 px, 1 MB)
2025-10-02_15-59-13.mp4.gif (1×698 px, 871 KB)
2025-10-02_16-00-58.mp4.gif (1×754 px, 2 MB)

@GMikesell-WMF All the examples above are successful. They all go to their local version of the "Wikipedia:Requested articles" page. None is going to "Special:WantedPages" as it was previously.

@SBisson Ok I guess their local versions of "Wikipedia:Requested articles" page just looked pretty different compared to others. Sounds good that those are successful. Thanks for confirming and all your work! I will move this to Sign-off.