Page MenuHomePhabricator

Allow non-default api endpoints for graph extension custom protocols
Open, LowPublic

Description

It should be possible for the Graph extension to specify non-default api endpoint via the wgGraphAllowedDomains parameter. For example, instead of setting it as

$wgGraphAllowedDomains = [
  'wikiraw' => [ 'tools.wikimedia.pl' ],
  'http' => [ 'tools.wikimedia.pl' ]
];

it should be:

$wgGraphAllowedDomains = [
  'wikiraw' => [ 'http://tools.wikimedia.pl/a/b/c/api.php' ]
];

Event Timeline

Yurik created this task.Sep 18 2016, 2:59 AM