https://bugzilla.wikimedia.org/show_bug.cgi?id=37678
Web browser: ---
Bug #: 37678
Summary: Making widget-container configurable for different
Instances
Product: MediaWiki extensions
Version: REL1_18 branch
Platform: All
OS/Version: All
Status: UNCONFIRMED
Severity: enhancement
Priority: Unprioritized
Component: Widgets
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
Mobile Platform: ---
Created attachment 10764
--> https://bugzilla.wikimedia.org/attachment.cgi?id=10764
Patchfile to wenhance Widgets
This Patch allows you to set the storage-container for widgets ($compiled_dir)
via LocalSettings.php or includes/DefaultSettings.php. Background is to use the
Widgets-Extension for with multiple Instances of mediawiki by running the same
Codebase. This is typically done within a "Wikifarm-Envronment".
Applying the patch like this:
cp wrenderer-patch.txt $IP/extensions/Widgets
cd $IP/extensions/Widgets
patch -R WidgetRenderer.php < wrenderer-patch.txt
After that the storage-container ($compile_dir) can be set via
LocalSettings.php for each instance with an individual path by typing
$wgWidgetsCompileDir = "$IP/localExtensions/compiled_templates/";
or any other path where your Webserver has the right to write files.
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l