Can be fixed centrally; the main page doesn't need to be patrolled or requeued. Thus, the option shouldn't be shown. It also shouldn't be allowed via the API.
- Remove display of element on main page
- Don't allow requeueing via API
Can be fixed centrally; the main page doesn't need to be patrolled or requeued. Thus, the option shouldn't be shown. It also shouldn't be allowed via the API.
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | ifried | T207485 Enable page curation tools to be loaded on any page (optionally) | |||
Resolved | DannyS712 | T234073 Don't allow requeueing main page |
Change 539584 had a related patch set uploaded (by DannyS712; owner: DannyS712):
[mediawiki/extensions/PageTriage@master] Don't show option to enqueue main page
Change 539606 had a related patch set uploaded (by DannyS712; owner: DannyS712):
[mediawiki/extensions/PageTriage@master] Don't allow enqueueing main page via API
@MusikAnimal can you take a look at the second patch I submitted? The API shouldn't allow it either
Change 539584 merged by jenkins-bot:
[mediawiki/extensions/PageTriage@master] Don't show option to enqueue main page
Why would a New Page Reviewer want to relist the main page?
As far as I understand, relisting is confined to users of the NPR right, is that not so?
I don't think one would (at least not in good faith), but if anyone did, it would *probably* result in the toolbar being shown to admins & patrollers for a full month; better safe than sorry
Change 539606 merged by jenkins-bot:
[mediawiki/extensions/PageTriage@master] Don't allow enqueueing main page via API
Thanks DannyS712! Everything looks good in my testing but we'll put this through QA just in case.
With my Admin user ("Dom walden") on both https://en.wikipedia.beta.wmflabs.org/wiki/Main_Page and https://test.wikipedia.org/wiki/Main_Page I cannot see the "Add to the New Pages Feed" link.
Attempting to enqueue the main page via the API I see the error: The main page cannot be added to the pagetriage queue.
There is a possibility that if the main page is a redirect to another page (such as it is on dewiki), the page that it is redirected to might show the "Add to the New Pages Feed" link. However, PageTriage is only on enwiki so would only be a problem if enwiki decide to make their main page into a redirect.
This change should now be on production.
These changes should now be live. It would be great if a New Page Reviewer can confirm that it is working as expected, so tagging @Barkeep49 and @Insertcleverphrasehere. Thanks!
{ "error": { "code": "bad-pagetriage-enqueue-mainpage", "info": "The main page cannot be added to the pagetriage queue", "*": "See https://en.wikipedia.org/w/api.php for API usage. Subscribe to the mediawiki-api-announce mailing list at <https://lists.wikimedia.org/mailman/listinfo/mediawiki-api-announce> for notice of API deprecations and breaking changes." }, "servedby": "mw1344" }
confirmed to be working