diff options
author | Jakub Klinkovský <j.l.k@gmx.com> | 2016-07-20 21:14:14 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2016-07-23 20:45:33 +0200 |
commit | f1c44a65db08b237e7d65ec243e050c2c8db49e6 (patch) | |
tree | dd7808043133220cd268532cf0ca74a07c702c35 | |
parent | 4bdf6e63e50da874ac4db65096d6d3af7f50aa64 (diff) |
LocalSettings: Enable support for userscripts and user-stylesheets
Related bug report: FS#46699 [1]
Enabling userscripts allows the users to use many existing scripts from
Wikipedia [2], which can greatly improve the experience of reading,
editing and maintaining the wiki. It will also allow us to make some
ArchWiki-specific scripts like Wiki Monkey [3] more portable (currently
it depends on browser extensions like Greasemonkey to work).
Enabling user-stylesheets lets the users customize the default Arch skin
on the wiki according to their preference, and more importantly, it
makes it easier for users to test modifications and prepare patches for
the main skin. This is probably the main blocker of FS#46697 [4].
[1] https://bugs.archlinux.org/task/46699
[2] https://en.wikipedia.org/wiki/Wikipedia:User_scripts
[3] https://wiki.archlinux.org/index.php/Wiki_Monkey
[4] https://bugs.archlinux.org/task/46697
-rw-r--r-- | LocalSettings.archlinux.org.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/LocalSettings.archlinux.org.php b/LocalSettings.archlinux.org.php index 0d5d0d2c..484ec190 100644 --- a/LocalSettings.archlinux.org.php +++ b/LocalSettings.archlinux.org.php @@ -81,6 +81,10 @@ $wgJobRunRate = 0; # Enable subpages in the main namespace (FS#39668) $wgNamespacesWithSubpages[NS_MAIN] = true; +# Enable support for userscripts and user-stylesheets (FS#46699) +$wgAllowUserJs = true; +$wgAllowUserCss = true; + ## ## Database settings |