mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/WikiEditor
synced 2024-11-13 18:36:57 +00:00
d23d096281
This allows us to bundle the wgWikiEditorMagicWords and mw.msg.wikiEditor(?!) config vars that were previously exported globally in the startup module. This code is old and crufty, so this is a somewhat minimal conversion: * Use require() for jquery.wikiEditor.{dialogs,toolbar}.config.js, and for jquery.wikiEditor.{dialogs,toolbar}.js * Don't attempt to convert jquery.wikiEditor.js to something require-based, instead just run it and let it set the $.wikiEditor and $.fn.wikiEditor globals * Consolidate ext.wikiEditor.{dialogs,toolbars}.js into ext.wikiEditor.js Bug: T222828 Change-Id: Ia75d685cbde786e8fceb6db36f2436b2beea1499 |
||
---|---|---|
.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 | ||
package-lock.json | ||
package.json | ||
README |
WikiEditor provides enhancements to the MediaWiki edit page # This extension requires MediaWiki 1.33 or higher. 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