Page MenuHomePhabricator

DynamicPageList.php call a function not existing in mediawiki < 1.14
Closed, InvalidPublic

Description

Author: un1c0.za

Description:
In link 453 of DynamicPageList.php is called "link" function on a Skin object:
$output .= $sk->link($title, htmlspecialchars($titleText), array(), $query, array( 'forcearticlepath', 'known' ) );

In mediawiki of version older than 1.14 this function don't exist and cause this error message:
"Fatal error: Call to undefined method SkinMonoBook::link() in /var/www/wiki/extensions/DynamicPageList.php on line 459"

The problem begin from this commit:
http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/intersection/DynamicPageList.php?r1=41411&r2=41044


Version: unspecified
Severity: major

Details

Reference
bz17097

Event Timeline

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

This is why we branch extensions, as trying to use newer versions of extensions with older copies of MediaWiki doesn't always work. If you need a 1.14.x copy of an extension, please visit http://www.mediawiki.org/wiki/Special:ExtensionDistributor and select the appropriate extension & version.

As a side-note, the 1.15.x branch is the current stable release and you are encouraged to upgrade.