jeroendedauw at gmail
Apr 11, 2012, 6:14 AM
Being able to deprecated functions
I am currently working on some WikiData code that deprecates a number of
core functions since new more generic ones have been introduced (don't
panic - this is all on a branch). Since I want to see if I'm using anything
that got deprecated right away, I have deprecation warnings turned on. Now
a lot of the code is still using these now deprecated core functions and it
will take some time to change all of this. So my question now is how can I
continue working ignoring these specific notices I cannot fix now while not
turning notices off altogether?
I actually know this cannot be done in with current wfDeprecated and
associated config. A few months back I added 3 lines (a global setting and
an if with array_key_exists in its condition) that allow ignoring specific
deprecation notices, but it got reverted since the functionality was not
worth the 3 lines according to some people.
So please enlighten me on how I can proceed with working now.
Jeroen De Dauw
Don't panic. Don't be evil.
Wikitech-l mailing list
Wikitech-l [at] lists