mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/PageImages
synced 2024-11-15 12:00:40 +00:00
d9df7178a0
This patch only moves existing code around, but does not change any implementation detail. I found it very suprising that all code called by this hook handler is 100% exclusive to this hook handler. There is zero interaction between this hook handlers code and all other code. Why is it in the same file then? And why is it all static? It doesn't have to be. I had to change literally nothing, except cutting and pasting, removing all "static" and replacing all "self::..." with "$this->...". That's all. Change-Id: I5ffe6fdf4e57135e6f3b32636c80f22be758607c |
||
---|---|---|
.. | ||
phpunit |