Go to file
Sam Wilson 79a0d3040e Disable link-insert button if target is empty
Set the opening state of the insertion button (in the insert-link
dialog) to disabled, and also disable it whenever the target field
is empty. This makes it unneccessary to show an alert when trying
to insert a blank target so that code is removed.

Bug: T293167
Change-Id: I3541f438fad9b7e0bf23ead2f2e164e84565d254
2021-11-26 12:45:48 +08:00
.phan Replace usage of ConfirmEdit_ActivateCaptcha random properties. 2021-11-11 17:11:27 +02:00
i18n Disable link-insert button if target is empty 2021-11-26 12:45:48 +08:00
includes Merge "Use HookHandlers, implement hook interfaces and inject services" 2021-11-25 22:02:37 +00:00
modules Disable link-insert button if target is empty 2021-11-26 12:45:48 +08:00
tests/qunit Allow a free-text string 'title' field when adding characters 2021-10-04 15:48:55 +01:00
.eslintrc.json Fix eslint warnings 2021-05-23 15:49:49 +01: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 Fix excluded phpcs rules 2021-11-02 13:48:27 +08:00
.stylelintrc.json Update stylelint-config-wikimedia 2021-06-15 15:14:04 +01: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 mediawiki/mediawiki-codesniffer to 38.0.0 2021-10-24 15:59:59 +00:00
COPYING Add COPYING 2014-01-22 22:11:36 +00:00
extension.json Disable link-insert button if target is empty 2021-11-26 12:45:48 +08:00
Gruntfile.js Fix eslint warnings 2021-05-23 15:49:49 +01:00
package-lock.json build: Updating ansi-regex to 5.0.1 2021-10-09 09:07:37 +00:00
package.json Update stylelint-config-wikimedia 2021-06-15 15:14:04 +01:00
README Remove out-of-date version requirement from README 2021-10-04 10:34:13 +08:00

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