User "Happy-melon" posted a comment on MediaWiki.r85872.
Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/85872#c18790
Commit summary:
Clean up some direct $db->query($sql) calls. Remove limit/offset parameters
from Article::getContributors() as they weren't being used anywhere and
probably didn't work properly anyway.
Comment:
AFAICT, this is what it does; the query is something like
<source lang=mysql>
SELECT '*' FROM `page` WHERE (
( `page_namespace` = 0 AND `page_title` IN ( 'foo', 'bar', 'baz' ) ) OR
( `page_namespace` = 1 AND `page_title` IN ( 'baz', 'nada', 'quok' ) ) OR
( `page_namespace` = 2 AND `page_title` = 'blat' ) )
</source>
Am I misunderstanding the problem?
_______________________________________________
MediaWiki-CodeReview mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview