Page MenuHomePhabricator

Undefined variable in Special:RandomPage
Closed, ResolvedPublic

Description

If Special:RandomPage and alikes find no page to return, they tell: There are no pages in the namespace "" (even if the namespace is not main), and spit a warning like:

Notice: Undefined property: RandomPage::$namespace in C:\Projects\MediaWiki\includes\specials\SpecialRandompage.php on line 47


Version: 1.16.x
Severity: normal

Details

Reference
bz20273

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:51 PM
bzimport set Reference to bz20273.
bzimport added a subscriber: Unknown Object (MLST).
MaxSem created this task.Aug 16 2009, 5:30 AM
demon added a comment.Aug 16 2009, 6:23 AM

Fixed in r55124.