mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-24 14:13:54 +00:00
9de0b19ba4
Clean up the existing code a bit before refactoring to be reusable for a diff button in the edit form. Includes: * use the Html class rather than the Xml class for building the display html, and avoid manual html strings * replace formatVersionLink() with getVersionHeading() to reduce duplication in the handling of the headings for the old and new versions, and in the process fix the name used as a parameter to the old version heading (should be the old version editor, not the new version editor) * rename some parameters for clarity * organization and other cleanup Bug: T180954 Change-Id: I1c02f407e72789a871a23b0d4a279a5c341b1e93 |
||
---|---|---|
.phan | ||
db_patches | ||
i18n | ||
includes | ||
maintenance | ||
modules | ||
tests | ||
.eslintrc.json | ||
.gitignore | ||
.gitreview | ||
.phpcs.xml | ||
.stylelintrc.json | ||
AbuseFilter.alias.php | ||
CODE_OF_CONDUCT.md | ||
composer.json | ||
COPYING | ||
extension.json | ||
Gruntfile.js | ||
package-lock.json | ||
package.json |