Go to file
Sam Wilson 9a5e7dd919 Realtime preview: allow loading as a gadget
* Prevent the realtimepreview module loading on anything
  other than wikitext pages (as is already done PHP-side
  but that is bypassed when loaded as a gadget).
* Give the #wpTextbox1 a class so we don't always style it.

Bug: T307039
Bug: T308176
Bug: T309330
Change-Id: I26111a61c8cf37520b3619faf09d76445973edd3
2022-06-09 17:27:24 +08:00
.phan Realtime Preview: add as a Beta Feature 2022-04-06 13:45:44 -04:00
i18n Localisation updates from https://translatewiki.net. 2022-06-08 08:28:24 +02:00
includes Merge "Use new ResourceLoader namespace" 2022-05-25 02:16:51 +00:00
modules Realtime preview: allow loading as a gadget 2022-06-09 17:27:24 +08:00
tests/qunit tests: Remove use of QUnit 1.x setup()/teardown() 2022-05-03 01:22:12 +02:00
.eslintrc.json build: Update eslint-config-wikimedia to 0.21.0 2022-02-07 17:27:27 +00:00
.gitignore Add JSDoc configuration and test 2022-05-03 15:28:02 +08: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 dependencies 2022-05-21 17:46:08 +00:00
COPYING Add COPYING 2014-01-22 22:11:36 +00:00
extension.json Realtime Preview onboarding popup 2022-06-01 14:11:49 +08:00
Gruntfile.js Add JSDoc configuration and test 2022-05-03 15:28:02 +08:00
jsdoc.json Add JSDoc configuration and test 2022-05-03 15:28:02 +08:00
package-lock.json build: Updating grunt to 1.5.3 2022-05-27 04:15:59 +00:00
package.json build: Updating grunt to 1.5.3 2022-05-27 04:15:59 +00: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