there should be a file located at /includes/Hook/TestCanonicalRedirectHook.php

https://github.com/wikimedia/mediawiki/blob/master/includes/Hook/TestCanonicalRedirectHook.php

On Tue, Dec 15, 2020 at 7:21 PM Jeffrey Walton <noloader@gmail.com> wrote:
On Tue, Dec 15, 2020 at 7:02 PM John <phoenixoverride@gmail.com> wrote:
>
> That's not a development "test", rather it's a function interface that should be kept.

Thanks.

Would you happen to know the file or directory name of the offender? I
don't seem to have a directory called "TestCanonicalRedirectHook".
"HookRunner.php" will not trigger the removal.

  cd /tmp
  wget https://releases.wikimedia.org/mediawiki/1.35/mediawiki-1.35.0.tar.gz
  tar -xzf mediawiki-1.35.0.tar.gz
  cd mediawiki-1.35.0
  find . -iname 'TestCanonicalRedirectHook'
  <no output>

Jeff