Go to file
Roan Kattouw d23d096281 Convert ext.wikiEditor module to packageFiles
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
2019-08-05 22:24:56 +00:00
.phan Upgrade to new phan 2019-03-16 21:44:36 -07:00
i18n Localisation updates from https://translatewiki.net. 2019-07-29 09:16:27 +02:00
includes Convert ext.wikiEditor module to packageFiles 2019-08-05 22:24:56 +00:00
modules Convert ext.wikiEditor module to packageFiles 2019-08-05 22:24:56 +00:00
tests/qunit Upgrade to new phan 2019-03-16 21:44:36 -07:00
.eslintrc.json build: Update eslint-config-wikimedia to 0.11.0 2019-03-13 22:45:20 +00:00
.gitignore build: Updating npm dependencies for security issues 2019-06-09 04:32:34 +00:00
.gitreview Whoops, track not trace 2016-10-24 17:04:09 -07:00
.phpcs.xml build: Updating mediawiki/mediawiki-codesniffer to 17.0.0 2018-03-29 07:08:22 +00:00
.stylelintrc.json Use json extension for .stylelintrc 2017-08-19 10:55:02 +02:00
CODE_OF_CONDUCT.md build: Updating mediawiki/phan-taint-check-plugin to 1.3.0 2018-08-19 17:48:56 +00:00
composer.json build: Updating dependencies 2019-07-16 05:06:19 +00:00
COPYING Add COPYING 2014-01-22 22:11:36 +00:00
extension.json Convert ext.wikiEditor module to packageFiles 2019-08-05 22:24:56 +00:00
Gruntfile.js build: Upgrade eslint-config-wikimedia 0.12.0, drop grunt-jsonlint 2019-05-07 11:30:32 -07:00
package-lock.json build: Updating dependencies 2019-07-16 05:06:19 +00:00
package.json build: Updating npm dependencies for security issues 2019-06-09 04:32:34 +00:00
README Update README 2019-02-23 16:36:49 +00:00

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