Page MenuHomePhabricator

PHP notice when deleting a page only a hidden user has edited
Closed, ResolvedPublic

Description

The error is:
<b>Notice</b>: Trying to get property of non-object in <b>.../includes/Article.php</b> on line <b>2490</b>

Steps to reproduce:

  1. EvilUser creates and edits page Somepage.
  2. EvilUser is blocked and hidden.
  3. Try to delete Somepage and you'll get the PHP notice.

Article.php tries to generate an autosummary "only contributor", which fails because the contributor's name is hidden.

I'm going to try to fix this bug myself :)


Version: unspecified
Severity: normal

Details

Reference
bz22627