mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/WikiEditor
synced 2024-11-24 08:14:33 +00:00
119f25e424
Add two new actions for the 'preview' feature: * preview-realtime-on – The WikiEditor 'Preview' toolbar button was clicked to turn the preview panel on. * preview-realtime-off – The WikiEditor 'Preview' toolbar button was clicked to turn the preview panel off. * preview-realtime-inuse – Fired without user interaction when the WikiEditor preview feature is already on when the editing form is opened. This also adds a new hook for the last of these to use and to match the enable/disable hooks. Bug: T298218 Change-Id: I1a2545c2b0491c1d07f9508fab70967d03d61594 |
||
---|---|---|
.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 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