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





--- Comment #7 from Brad Jorsch <[email protected]>  2009-07-15 
04:02:47 UTC ---
Created an attachment (id=6341)
 --> (https://bugzilla.wikimedia.org/attachment.cgi?id=6341)
Patch against r53286 to apply cmnamespace in php rather than sql (and rather
than just ignoring it with a warning)

Rather than just ignoring cmnamespace (even with a warning), why not filter by
cmnamespace in the PHP code that builds the result dataset when $wgMiserMode is
enabled?

While this could result in the categorymembers node being empty if the
requested namespaces are particularly sparse in the category, that sort of
thing can happen anyway since r46845 so it's much less of a breaking change. It
also would save bandwidth in the same circumstances, by not returning 5000
results the client doesn't want; when categorymembers is being used as a
generator, it would also save having the generated modules querying those
unwanted pages.


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
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