Page MenuHomePhabricator

Allow different path for CategoryTree css and js
Closed, ResolvedPublic

Description

Author: ivan

Description:
I'm hosting some wikis on one domain and I'm using a shared path for all
CategoryTree extension, e.g:

  1. http://mediawiki.org/wiki1
  2. http://mediawiki.org/wiki2
  3. http://mediawiki.org/extensions

The current configuration of CategoryTree requires that the "extensions" path
*should be* inside the wiki. I propose to add a new variable
$wgCategoryTreeExtPath (default: '/extensions/CategoryTree') to allow user to
configure their path (in my case: '/../extensions/CategoryTree').


Version: unspecified
Severity: enhancement

Details

Reference
bz9509

Event Timeline

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

ivan wrote:

Patch to allow different path for CategoryTree ext

Attached:

Fixed in r21044, thanks for the patch.

This seems like a crappy way to do it; surely better to be generic?
Recommend reverting.

  • Bug 8286 has been marked as a duplicate of this bug. ***