Page MenuHomePhabricator

Protected pages have "edit" text instead of "view source"
Closed, ResolvedPublic

Description

Author: zigger

Description:
Protected pages have "edit" text instead of "view source" on the action=edit link.

Clicking the link does get a source view page instead of an edit page.

Protected pages also display edit links on sections, unlike 1.4, but I see that
as a feature.

Tested locally with all shipped enabled skins, and as anonymous editor.
No proxies are used.
Tried refreshes, forced-refreshes, restarting server processes, action=purge,
and emptying cache table.


Version: 1.5.x
Severity: normal
URL: http://test.leuksman.com/index.php?title=Special%3ALog&type=protect&user=&page=

Details

Reference
bz2354

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 8:32 PM
bzimport added a project: MediaWiki-Parser.
bzimport set Reference to bz2354.
bzimport added a subscriber: Unknown Object (MLST).

zigger wrote:

Also in 1.5, the "Older revision" and "Newer revision" links are missing from
source view pages of old revisions.
Hopefully this has the same cause.

zigger wrote:

(In reply to comment #1)

Also in 1.5, the "Older revision" and "Newer revision" links are missing from
source view pages of old revisions.
Hopefully this has the same cause.

Nope, that feature isn't in 1.4 either, so I'll report a separate request.

leercontainer-bugzilla wrote:

Also, if you are and admin, protected pages display the "protect" link, and
clicking on it will give you the protection page where you can protect it again,
incidentally the protection page displays the "unprotect" link :-)

Check
http://test.leuksman.com/index.php/Special:Log/protect
to see that I protected
http://test.leuksman.com/index.php/This_is_a_test_333
thrice, without unprotecting.

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

Article was stuffing the restrictions field in Title incorrectly.