I think EI should not guess the namespace, because you can transclude from any namespace. Categories are different, since it is only used with NS 14.
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=embeddedin&eilimit=20&eititle=Template:LGBTProject 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=embeddedin&eilimit=20&eititle=LGBTProject
"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=categorymembers&cmlimit=20&cmcategory=Category:Compositions_by_Alexander_Glazunov 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=categorymembers&cmlimit=20&cmcategory=Compositions_by_Alexander_Glazunov returns the list of articles.
--SatyrTN
I think embeddedin should handle this the same as categorymembers: what happens if you have Template:Example and Template:Template:Example and someone specifies &eititle=Template:Example ? The fact that the namespace prefix is implied and must not be specified should be documented of course.
Catrope
Mediawiki-api mailing list Mediawiki-api@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-api