Is that a recent change? [1] and [2] *were* returning the same things...
Thanks for the replies. --SatyrTN
On 10/10/07, Roan Kattouw roan.kattouw@home.nl wrote:
Ian Cabell schreef:
Does "categorymembers" work different from the others? When I try
http://en.wikipedia.org/w/api.php?format=xmlfm&action=query&list=emb...
<
http://en.wikipedia.org/w/api.php?format=xmlfm&action=query&list=emb...
it returns exactly the same results as
http://en.wikipedia.org/w/api.php?format=xmlfm&action=query&list=emb...
<
http://en.wikipedia.org/w/api.php?format=xmlfm&action=query&list=emb...
"categorymembers" doesn't seem to be the same -
http://en.wikipedia.org/w/api.php?format=xmlfm&action=query&list=cat...
<
http://en.wikipedia.org/w/api.php?format=xmlfm&action=query&list=cat...
returns nothing, while
http://en.wikipedia.org/w/api.php?format=xmlfm&action=query&list=cat...
<
http://en.wikipedia.org/w/api.php?format=xmlfm&action=query&list=cat...
returns the list of articles.
--SatyrTN
Weirdly enough, the above is simply not true: [1] returns the expected result whereas [2] returns nothing (no page transcludes {{:LGBTProject}}).
The described semantics of categorymembers are accurate, and, as Brion pointed out, correct.
Catrope
[1]
http://en.wikipedia.org/w/api.php?format=xmlfm&action=query&list=emb... < http://en.wikipedia.org/w/api.php?format=xmlfm&action=query&list=emb...
[2]
http://en.wikipedia.org/w/api.php?format=xmlfm&action=query&list=emb... < http://en.wikipedia.org/w/api.php?format=xmlfm&action=query&list=emb...
Mediawiki-api mailing list Mediawiki-api@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-api