[Mediawiki-l] Solving the GROUP BY problem

Greg Sabino Mullane greg at endpoint.com
Fri Apr 29 13:52:05 UTC 2011

Tim Starling <tstarling at wikimedia.org> wrote:
> You could add a static function to User which provides the field name
> array. If it were used in User::loadFromDatabase(), then it would be
> immune to bit rot.

Dug into this a little bit, but is it promised that loadFromDatabase will 
be called early enough? Such as the case of a non-logged in user getting 
a list of contributions for an article?

Greg Sabino Mullane greg at endpoint.com
End Point Corporation
PGP Key: 0x14964AC8
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 163 bytes
Desc: not available
Url : http://lists.wikimedia.org/pipermail/mediawiki-l/attachments/20110429/7a7b4bf0/attachment.pgp 

More information about the MediaWiki-l mailing list