Page MenuHomePhabricator

Extensions and skins are required to be in $IP/extensions and $IP/skins after json registration changes
Closed, ResolvedPublic

Description

This change https://gerrit.wikimedia.org/r/#/c/166705/16/includes/GlobalFunctions.php introduced the assumption that your exensions and skins folders are subfolders of your installation path. We already have $wgExtensionAssetsPath and $wgStyleDirectory (badly named!) which allow you to override this assumption.

We should

  1. use $wgStyleDirectory anywhere $IP/skins was introduced
  2. create a $wgExtensionDirectory and replace $IP/extensions with it

Event Timeline

Esanders created this task.May 6 2015, 12:33 PM
Esanders raised the priority of this task from to Needs Triage.
Esanders updated the task description. (Show Details)
Esanders added subscribers: Esanders, Legoktm.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptMay 6 2015, 12:33 PM
Esanders set Security to None.May 6 2015, 12:50 PM
Esanders added a subscriber: Krinkle.

Change 209216 had a related patch set uploaded (by Esanders):
[WIP] Allow override of extension directory

https://gerrit.wikimedia.org/r/209216

Change 209216 merged by jenkins-bot:
Allow override of extension directory

https://gerrit.wikimedia.org/r/209216

Change 209292 had a related patch set uploaded (by Legoktm):
Allow override of extension directory

https://gerrit.wikimedia.org/r/209292

Change 209292 merged by jenkins-bot:
Allow override of extension directory

https://gerrit.wikimedia.org/r/209292

Legoktm closed this task as Resolved.May 6 2015, 7:13 PM
Legoktm assigned this task to Esanders.