mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/WikiEditor
synced 2024-11-23 15:57:15 +00:00
b799a886ca
Modules loaded with packageFiles are always executed in module scope (with a closure), even in debug mode. The behaviour of non-packageFiles debug mode is the only reason files have closures. https: //www.mediawiki.org/wiki/Manual:Coding_conventions/JavaScript#Closure Change-Id: Idd7ffde7900adbca914c43a6bf7cb1b3fbf92bfa |
||
---|---|---|
.phan | ||
i18n | ||
includes | ||
modules | ||
tests/qunit | ||
.eslintrc.json | ||
.gitignore | ||
.gitreview | ||
.phpcs.xml | ||
.stylelintrc.json | ||
CODE_OF_CONDUCT.md | ||
composer.json | ||
COPYING | ||
extension.json | ||
Gruntfile.js | ||
jsdoc.json | ||
package-lock.json | ||
package.json | ||
README |
WikiEditor provides enhancements to the MediaWiki edit page For installation, once the code is copied into your extensions directory, you can load it for your wiki by adding to LocalSettings.php the line: wfLoadExtension( 'WikiEditor' ); By default, when installed this extension will be available to all users, and logged-in users can disable it from their preferences. If you wish all users to have it, and be unable to disable it, add it to $wgHiddenPrefs in your LocalSettings.php: $wgHiddenPrefs[] = 'usebetatoolbar'; More can be found on the extension's page: https://www.mediawiki.org/wiki/Extension:WikiEditor