https://bugzilla.wikimedia.org/show_bug.cgi?id=17886





--- Comment #3 from Roan Kattouw <[email protected]>  2009-03-10 15:18:07 
UTC ---
(In reply to comment #2)
> (In reply to comment #1)
> > (In reply to comment #0)
> > > Created an attachment (id=5903)
 --> (https://bugzilla.wikimedia.org/attachment.cgi?id=5903) [details] 
[details] [details]
> > > Ability to export a whole namespace.
> > > 
> > This patch uses a raw SQL query instead of using the Database.php wrappers, 
> > and
> > doesn't limit its result in any way. Trying to export the main namespace on 
> > an
> > enwiki-sized wiki would be a very expensive operation.
> > 
> 
> Hello Roan,
> 
> How is that different from the code in the function above it, that retrieves 
> it
> by tag?
It's not, probably, but that doesn't mean that's the right way to do it :)
There's still some hardcoded SQL left in the codebase.

> Where can I see the correct way to do it?
> 
Lots of examples all over the place, grep for "$dbr->select".


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to