Author: happy.melon.wiki
Description:
against r50336, refactors collection.hooks.php
While effective and functional, this code is not as well integrated with MediaWiki's coding conventions or architecture as it could/should be. This patched version is, I hope, more so. I've cleaned up some unused variables and globals, rewritten the hardcoded HTML output to use Xml::tags(), Linker::link() and $wgOut->addScriptFile(), and fixed some double escaping in the tooltips (bug18719, thanks to Niklas Laxström for pointing that one out). I confess I'm not 100% certain I've got the script loads correct, as I'm not entirely sure what script does what. Everything I tested worked as it should :D
Version: unspecified
Severity: enhancement
Attached: