Page MenuHomePhabricator

Undefined array index reported when viewing a page that cannot be edited.
Closed, ResolvedPublic

Description

Author: jsousa

Description:
When the 'Edit pages on double click (JavaScript)' option is enabled, viewing a
page that the user cannot edit (ex. Mediawiki:Sidebar) presents the message (in
plain html in the background):

Notice: Undefined index: edit in
C:\kb\mediawiki-1.7.1\includes\SkinTemplate.php on line 415

I think that the variable iseditable is being determined incorectly, but I don't
have enough experience to fix it. iseditable is set on line 172.


Version: 1.7.x
Severity: normal
OS: Windows XP
Platform: PC

Details

Reference
bz6832

Event Timeline

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

Could not duplicate. Can you specify the exact way you reached the page as well
as what skin you are using?

jsousa wrote:

Using monobook, I just modified the url to index.php?title=MediaWiki:Sidebar.
I was also able to reproduce it by performing the following steps:

  1. log in as Wikisysop
  2. protect the main page (sysops only)
  3. log out
  4. log in as a user and view the main page.

robchur wrote:

*** This bug has been marked as a duplicate of bug 10113 ***