HomePhabricator

Use an assoc array to configure $wgOresModels
3d71edef1404Unpublished

Authored by Legoktm on Feb 24 2016, 7:24 PM.

Unpublished Commit · Learn More

Repository Importing: This repository is still importing.

Description

Use an assoc array to configure $wgOresModels

Using a list-array will append instead of replacing, so use a assoc
array with values of true/false to enable or disable.

To add a new model:
$wgOresModels['foobar'] = true;

To disable an existing one:
$wgOresModels['barbaz'] = false;

Change-Id: Id2feaf4b794ded72e71df83d6327ec86a37cd6ae

Details

Committed
LegoktmFeb 24 2016, 7:25 PM
Parents
rEORS437a1dc90732: Fix phpdoc in PopulateDatabase
Branches
Unknown
Tags
Unknown
ChangeId
Id2feaf4b794ded72e71df83d6327ec86a37cd6ae

Event Timeline

Kunal Mehta <legoktm@member.fsf.org> committed rEORS3d71edef1404: Use an assoc array to configure $wgOresModels (authored by Kunal Mehta <legoktm@member.fsf.org>).Feb 24 2016, 7:25 PM