Page MenuHomePhabricator

Default configuration for Metadata editor does not work
Closed, DeclinedPublic

Description

If no $wgMetadataWhitelist is defined the extension will return the function early and leaving it pretty much in a disabled state.

I think the basic function (for category and language links) should work either way. Not everybody needs $wgMetadataWhitelist for templates.

Or even better, for consistancy, put a default value in it. That way people can use it right away and don't need to pick a fancy name themselfs.

I propose to change line 26 from
$wgMetadataWhitelist = '';

to

$wgMetadataWhitelist = 'MediaWiki:MetadataWhitelist';

  • Krinkle

Version: unspecified
Severity: enhancement

Details

Reference
bz24803

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:10 PM
bzimport set Reference to bz24803.

Also I'd like to point out that doesn't have to exist. it can be inexistant or empty, no matter.
As long as $wgMetadataWhitelist is set to some pagename, atleast the extension will work.

Qgil removed IAlex as the assignee of this task.Jan 12 2015, 7:35 AM
Qgil lowered the priority of this task from Medium to Lowest.
Aklapper subscribed.

The MetadataEdit extension is not maintained anymore, does not work with currently supported versions of MediaWiki, and hence has been archived. Closing this task as "declined" to reflect reality. See https://www.mediawiki.org/wiki/Gerrit/Project_ownership#Requesting_repository_ownership if you are interested in taking over maintainership. Thanks!