Page MenuHomePhabricator

Add the protection log on top of articles protected from creation in page view, as in moveddeleted-notice within mw-warning-with-logexcerpt
Open, MediumPublicFeature

Description

When you are on a create-protected page and have no permission to create the page, you cannot find the reason, why this page is protected.

Please replace the move and delete log by the protection log and show the last protection, when the page is protected individuell against creation. The last protection will be the create-protection. This create protection is more usefull than the move or delete log at that place.

Thanks.

When the user right createpage/createtalk is missing, then the protection log is not useful and there should no change to the current behaviour (with this bug)


Version: unspecified
Severity: enhancement
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=38764

Details

Reference
bz25023

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:10 PM
bzimport set Reference to bz25023.
bzimport added a subscriber: Unknown Object (MLST).

If it's protected against creation, the edit tab doesn't show. Going to the edit url shows:
You do not have permission to edit this page, for the following reasons:

  • This page has been protected to prevent editing.
  • This title has been protected from creation by WikiSysop. The reason given is "Foo".

(In reply to comment #1)

If it's protected against creation, the edit tab doesn't show. Going to the
edit url shows:
You do not have permission to edit this page, for the following reasons:

  • This page has been protected to prevent editing.
  • This title has been protected from creation by WikiSysop. The reason

given is "Foo".

That is right, but a newbie does not know the way.

There is a message "There is currently no text in this page. You can search for this page title in other pages, or search the related logs. " where "search the related logs" leads you to the proper log.

Is that message what you want changed?
(noarticletext-nopermission)

Created attachment 7689
patch, to show the related log for create protected pages.

(In reply to comment #3)

There is a message "There is currently no text in this page. You can search for
this page title in other pages, or search the related logs. " where "search the
related logs" leads you to the proper log.

That is right, but it is better to show the log directly, with a message like: "This page has been protected from creation. The protect log for the page is provided below for reference."

Show noarticletext-nopermission when the user cannot create any page/talkpage, but remove the loglink from the message, because in the case the loglink is helpful the message above is shown.

I have add a patch. Thanks.

attachment bug25023.patch ignored as obsolete

That patch is in rtf format. It should be in plain text.

Created attachment 7714
New patch, which the same changes

Sorry, I do not see any difference, but I have create a new patch, which the same changes. I hope it is better.

attachment bug25023-2.patch ignored as obsolete

sumanah wrote:

Umherirrender, thank you for your patch! I'm sorry it has taken so long for us to respond.

Yes, now that your patch is in plain text rather than RTF, we can read it and try to apply it. :-) Unfortunately, in the past year, trunk has changed, and your patch no longer applies cleanly to Subversion trunk. Could you possibly update it? Thanks!

Adding the "design" keyword since this change has to do with designing an informative user interface.

Your logic for "the user cannot create any pages" seems incomplete. I'm not really comfortable with it.

Comment on attachment 7714
New patch, which the same changes

Please mark my patch as obsolete, because it is not so easy for me at the momment to create a new one. Thanks.

(In reply to comment #3)

There is a message "There is currently no text in this page. You can search for
this page title in other pages, or search the related logs. " where "search the
related logs" leads you to the proper log.

Not only that, but of course one can click "article" to open it in edit (-> show source) view and see the log.
Anyway, clarified summary.

  • Bug 51690 has been marked as a duplicate of this bug. ***

(In reply to comment #11)

  • Bug 51690 has been marked as a duplicate of this bug. ***

Bug 51690 wasn't exactly a duplicate. This bug suggests that the move/delete log should be replaced by the protection log whereas 51690 suggested to simply add the protection log in with the move/delete log.

(In reply to comment #12)

(In reply to comment #11)

  • Bug 51690 has been marked as a duplicate of this bug. ***

Bug 51690 wasn't exactly a duplicate. This bug suggests that the move/delete
log should be replaced by the protection log whereas 51690 suggested to
simply
add the protection log in with the move/delete log.

The summary says "Add".

Aklapper changed the subtype of this task from "Task" to "Feature Request".Feb 4 2022, 12:24 PM
Aklapper removed a subscriber: wikibugs-l-list.