Page MenuHomePhabricator

[S] Enable the reporting tool on all talk namespaces
Closed, ResolvedPublic

Assigned To
Authored By
Dreamy_Jazz
Nov 9 2023, 6:06 PM
Referenced Files
F41494063: image.png
Nov 14 2023, 2:22 AM
F41503056: image.png
Nov 14 2023, 2:22 AM
F41493958: image.png
Nov 14 2023, 2:22 AM
F41493907: image.png
Nov 14 2023, 2:22 AM
F41493860: image.png
Nov 14 2023, 2:22 AM
F41493827: image.png
Nov 14 2023, 2:22 AM
F41493730: image.png
Nov 14 2023, 2:22 AM
F41503027: image.png
Nov 14 2023, 2:22 AM

Description

To allow users to try out the reporting tool, we want to allow users to use any talk namespace when using the reporting tool.

This means updating the wgReportIncidentEnabledNamespaces config to include all namespace numbers for talk pages that are added by mediawiki core.

Extensions that add other talk namespaces will be handled by modifying the site configuration for the wiki that has the extension installed.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Change 973214 had a related patch set uploaded (by Dreamy Jazz; author: Dreamy Jazz):

[mediawiki/extensions/ReportIncident@master] Allow use of Report tool on all talk namespaces

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

Change 973214 merged by jenkins-bot:

[mediawiki/extensions/ReportIncident@master] Allow use of Report tool on all talk namespaces

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

Suggested QA steps:

  1. Install ReportIncident (if not already installed)
  2. Load a Talk page
  3. Verify that the Report link appears in the Tools menu
  4. If the DiscussionTools extension is loaded, verify that Report links are shown in the overflow menu next to comments.

You can repeat these steps for a variety of talk pages. This has been limited to built-in talk namespaces by default, but probably should be expanded to all talk page types on beta wikis. See https://www.mediawiki.org/wiki/Manual:Namespace#Built-in_namespaces for a list of built-in talk page namespaces.

Test wiki created on Patch demo by DJacksonA using patch(es) linked to this task:
https://patchdemo.wmflabs.org/wikis/f66a3ec91b/w

Test wiki on Patch demo by DJacksonA using patch(es) linked to this task was deleted:

https://patchdemo.wmflabs.org/wikis/f66a3ec91b/w/

Djackson-ctr subscribed.

I have verified that the new code has been implemented and is functioning and displaying as expected, and thank you for the QA Steps @Dreamy_Jazz.

NOTE: Ticket Description says (we want to allow users to use any talk namespace), but for the scope of this ticket we will only focus on the built-in talk namespaces per the QA Steps.

Testing was executed at the following urls:
https://commons.wikimedia.beta.wmflabs.org/
https://meta.wikimedia.beta.wmflabs.org/


image.png (607×883 px, 237 KB)

image.png (469×926 px, 230 KB)

image.png (474×1 px, 222 KB)

image.png (752×950 px, 154 KB)

image.png (733×1 px, 113 KB)

image.png (572×1 px, 88 KB)

image.png (519×1 px, 88 KB)

image.png (441×1 px, 69 KB)

image.png (757×1 px, 174 KB)

image.png (625×958 px, 155 KB)

image.png (309×1 px, 46 KB)