Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Wikipedia: Wikitech
Being able to deprecated functions
 

Index | Next | Previous | View Flat


jeroendedauw at gmail

Apr 11, 2012, 6:14 AM


Views: 69
Permalink
Being able to deprecated functions

Hey,

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.

Cheers

--
Jeroen De Dauw
http://www.bn2vs.com
Don't panic. Don't be evil.
--
_______________________________________________
Wikitech-l mailing list
Wikitech-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Subject User Time
Being able to deprecated functions jeroendedauw at gmail Apr 11, 2012, 6:14 AM
    Re: Being able to deprecated functions z at mzmcbride Apr 11, 2012, 6:27 AM
        Re: Being able to deprecated functions jeroendedauw at gmail Apr 11, 2012, 6:57 AM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.