mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/WikiEditor
synced 2024-11-24 16:26:39 +00:00
8284c0480d
The old S&R implementation introduces problems with regexes (T58228 and T50614) and is also rather slow. At some point in the past it was faster to do multiple search/replace actions using textSelection perhaps, but with current browsers doing a one shot replace will perform much faster. If you have CodeMirror enabled, there will be a delay after replacing all content on a major page, but no worse than the original page load one, which I think is acceptable. Bug: T58228 Bug: T50614 Bug: T25510 Change-Id: Ifab1d071d9f09ec55aa6556b5dca04378c4e5273 |
||
---|---|---|
i18n | ||
includes | ||
modules | ||
tests | ||
.eslintrc.json | ||
.gitignore | ||
.gitreview | ||
.phpcs.xml | ||
.stylelintrc.json | ||
CODE_OF_CONDUCT.md | ||
composer.json | ||
COPYING | ||
extension.json | ||
Gruntfile.js | ||
package.json | ||
README |
WikiEditor provides enhancements to the MediaWiki edit page # This extension requires MediaWiki 1.28 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: wfLoadExtensions( "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