Exactly. Using wgDbType outside of the database should never be necessary.
-Chad
On May 16, 2009 12:59 PM, "Roan Kattouw" roan.kattouw@gmail.com wrote:
2009/5/16 Freako F. Freakolowsky freak@drajv.si:
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 Wikitech-l@lists.wikimedia....
wikitech-l@lists.wikimedia.org