Topic on Manual talk:ImportTextFiles.php

MW 1.35.4, PHP warning when script runs with PHP 7.4

3
2003:C2:3F22:8200:ECC6:76B0:8D2F:F64E (talkcontribs)

When used with PHP 7.4.24, the script generates a PHP warning:


PHP Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /var/www/prod/mediawiki/extensions/ParserFunctions/includes/ExprParser.php on line 242


No warning in MW 1.31.15 with PHP 7.2.24.

Minor problem, I just wanted to mention ist.

This, that and the other (talkcontribs)
Reedy (talkcontribs)

I'm not sure why MW 1.35.4 in the title...

But 1.31 is EOL, and this issue was fixed in the 1.32 cycle, but never backported.