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

--- Comment #6 from Jeroen De Dauw <[email protected]> 2011-10-21 
19:40:38 UTC ---
estimateRowCount is not accurate, it's just an estimation that can be off a
lot. The code you copied with COUNT(*) is the way to go, and ought to work with
most SQL DBs. I think having a method param that switched the db code is very
odd. If you need different behavior for different types of DBs, switch on
$wgDBtype.

An prefix is best yes. I don't think it ought to be SPL though. 'SubPage' also
works, and results in nicer class names. Well, you'd not even need to change
them I guess :p

-- 
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