Exactly. Using wgDbType outside of the database should never be necessary. -Chad
On May 16, 2009 12:59 PM, "Roan Kattouw" <[email protected]> wrote: 2009/5/16 Freako F. Freakolowsky <[email protected]>: > Why was this approach opposed? > I am working on Oracle abstraction at the moment and i was planni... What I think DJ Bauch meant was that conditional code in special pages deciding which SQL to use based on $wgDBtype is a bad idea and has been opposed. Adding a function to the Database class to form compound queries has, to my knowledge, not been opposed. Roan Kattouw (Catrope) _______________________________________________ Wikitech-l mailing list [email protected].... _______________________________________________ Wikitech-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikitech-l
