Hey all,
This thread is much in line with the "wfRunHooks deprecation" one from January. Rather than turning global functions into static functions, this time it's about namespacing global functions.
All extensions calling wfSuppressWarnings now are supposed to change this to MediaWiki\suppressWarnings, for no obvious gain. Important to keep in mind here is that this is not a simple search and replace, since that'd make extensions incompatible with anything before MediaWiki 1.26 alpha. Either we need to ignore the deprecations (which is not something you want people to learn as good practice), or we need to add some kind of wrapper in each extension.
There also is the question of consistency. Nearly all global functions are still namespaced using the wf prefix. Will they all be changed? Or will just a few functions be migrated?
I'd really prefer this kind of busywork for extension maintainers not to be created without very good reason. There are enough breaking changes to keep up with as it is.
Cheers
-- Jeroen De Dauw - http://www.bn2vs.com Software craftsmanship advocate Developer at Wikimedia Germany ~=[,,_,,]:3