edwardspec / mediawiki-moderation

Extension:Moderation is a powerful anti-spam extension for MediaWiki CMS. It protects small/medium wikis against vandalism by sending all edits/uploads from new users to moderation.
https://mediawiki.org/wiki/Extension:Moderation
GNU General Public License v3.0
30 stars 22 forks source link

BagOStuff::decr() method is deprecated/removed #76

Closed Krinkle closed 1 year ago

Krinkle commented 1 year ago

BagOStuff::decr(), deprecated since 1.28, has been removed in 1.40.

For your attention, as of https://gerrit.wikimedia.org/r/c/mediawiki/core/+/896438/.

It looks like it is ununsed, only there to satisfy an interface. If you do need something like it, there is incrWithInit() which can be called with -1.

edwardspec commented 1 year ago

Thanks. It being removed won't break anything, so no action is required.

It looks like it is unused, only there to satisfy an interface.

Testsuite still needs to run in 1.35-1.39, so can't remove ModerationTestsuiteBagOStuff::decr() for now.