Page MenuHomePhabricator

Undefined variable: r error on DynamicArticleList extension
Closed, InvalidPublic

Description

Author: romain.pelissier

Description:
The extension Dynamic Article List located at
http://meta.wikimedia.org/wiki/Dynamic_Article_List is very useful to display
the latest articles in a category (and sub).
I keep having an error "Undefined variable: r". Because I am not a php
programmer, I can't really find a way to make the extension work without this
error. I have tested a fix proposed on the talk page (the if (isset($r)) {
$r....}) but it is not a definitive fix because in my case, the extension stop
working.
Can someone help me and propose a new fix for this extension? Or at least
explain why this error fire and some way to fix this ? Thanks


Version: unspecified
Severity: normal
OS: Windows XP
Platform: PC

Details

Reference
bz7626

Event Timeline

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

gero.scholz wrote:

Maybe you could use the DP extension istead, see http://semeb.com/dpldemo

If DPL lacks a feature you need it might be possible to add it.

Is this issue still current with more recent versions of the extension and MediaWiki?

Marking INVALID. It's not in SVN, it seems horribly outdated (from checking MW.org: http://www.mediawiki.org/wiki/Extension:Dynamic_Article_List), and it also seems redundant to DPL.