PHP Notice: Undefined variable: collation in /var/www/mediawiki/extensions/DynamicPageList/classes/Query.php on line 1799
While setting up CirrusSearch, I was continually seeing the notice as seen in the title. After looking at the source code for DPL, it looks like on line 1799 you're attempting to refer to an undefined local variable with the same name as the private field. Now I'm not sure if this is causing any additional issues behind the scenes as I haven't dug deeper on the matter, just wanted to let you know. I'll clone and submit a PR if you prefer.
Relevant info:
- PHP Version: 7.2.24-0ubuntu0.18.04.3 (fpm-fcgi)
- Mediawiki version: 1.31.6
- Elasticsearch version: 5.6.16
- DPL version: 3.3.3
Edited by Keith Russo