On Thu, Aug 26, 2010 at 7:21 PM, Conrad Irwin <[email protected]> wrote: > On 26 August 2010 16:13, Trevor Parscal <[email protected]> wrote: >> You can also use things like function_exists() to conditionally call >> MediaWiki versions of things or native PHP stuff. >> > > With respect, this is the wrong way to go about it. Unconditionally > remove all MediaWIki from within the library, and, if necessary, > create a wrapper that provides the extra functionality we need.
This. > The current examples of > deliberately MediaWIki free code are very good candidates for this as > they provide complex functionality that's really hard to do right yet > they have very simple interfaces. > IEContentAnaylzer is probably the best example. CDB-related stuff too. I went ahead and moved some stuff around in r71763. -Chad _______________________________________________ Wikitech-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikitech-l
