Page MenuHomePhabricator

MediaWiki:Titleprotected not showing when attempting to edit protected titles
Open, Needs TriagePublicBUG REPORT

Assigned To
None
Authored By
Awesome_Aasim
Jul 7 2022, 1:30 AM
Referenced Files
F35310275: image.png
Jul 7 2022, 2:40 AM
F35310270: image.png
Jul 7 2022, 2:40 AM
F35310246: image.png
Jul 7 2022, 2:14 AM
F35310248: image.png
Jul 7 2022, 2:14 AM

Description

List of steps to reproduce (step by step, including full links if applicable):

  1. I visit a protected title, such as https://en.wikipedia.org/wiki/This_page_does_not_exist
  2. I append ?action=edit to the URL to attempt to create the protected page.

What happens?:
MW shows a message that the page is protected so only administrators can create it. (It copies from MediaWiki:Protectedpagetext)

What should have happened instead?:
MW should have shown two messages, one that the page is protected so that only administrators can edit it (MediaWiki:Protectedpagetext), and another (MediaWiki:Titleprotected) informing the user that the page title is protected with the reason for the protection. Wikipedia breaks up the protection message for new page creation across these two pages.

Software version (if not a Wikimedia wiki), browser information, screenshots, other information, etc.:
https://www.whatismybrowser.com/w/ADZA5DS

Event Timeline

TheresNoTime subscribed.

I can't really replicate this (other than via my administrator account), as a page which is fully protected can only be created by an admin and a page with a title restriction can only be overridden by an admin..?

Logged out

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

Non-admin account

image.png (905×1 px, 161 KB)

I intended to add screenshots but apparently I forgot. Anyway here is a couple:

image.png (625×2 px, 60 KB)

image.png (1×785 px, 201 KB)

Both screenshots are missing the MediaWiki:Titleprotected message that was historically always there.

@Awesome_Aasim: Which exact MediaWiki software version is this about?

@Awesome_Aasim: Which exact MediaWiki software version is this about?

This is on the current WMF prod release. See also https://en.wikipedia.org/w/index.php?title=Wikipedia:Village_pump_(technical)&oldid=1096897669#What_happened_with_MediaWiki:Titleprotected?

Some of this may be documentation confusions or collisions between when each of these should or shouldn't be used: titleprotected, protectedpagetext, nocreatetext, noarticletext-nopermission, permissionserrorstext-withaction, customjsprotected