mediawiki-extensions-Scribunto/includes
Func b765524ac8 Handle EditFilterMergedContent hook properly to break hook chains and display error message
Extensions are supposed to return false to break hook chains when failed, which can avoid unnecessary call of later handlers in other extensions and work around with problems caused by difference betwen multiple triggers.

On mediawiki version 1.36 and before, just returning false in this hook can't display error message by default.
Set $status->value manually still to provide backward compatibility.

Bug: T280312
Change-Id: I935eb40d41c4bf9c123e131a54f6bfca2d517450
2021-06-26 12:21:06 +00:00
..
common Handle EditFilterMergedContent hook properly to break hook chains and display error message 2021-06-26 12:21:06 +00:00
engines Avoid using MWNamespace 2021-06-09 01:25:55 +00:00