MinuteElectron schreef:
> Hello,
>
> Earlier today i tried:
>
> http://test.wikipedia.org/w/api.php?action=query&list=exturlusage&eulimit=50&euoffset=20&euprotocol=http&format=jsonfm
>
> Unfortunately this still shows irc:// links, which I don't believe it 
> should - since I specified euprotocol. Am I doing something incorrectly 
> or is this a bug?
It's not a bug. Read the help text for euquery: Search string without 
protocol. See [[Special:LinkSearch]]. Leave empty to list all external 
links (*euprotocol will be ignored*)
(emphasis added)
Since you didn't set euquery, euprotocol is ignored. There's currently 
no way to get all http:// links, as the LinkFilter class doesn't allow 
values for euquery that would match everything. If you *want* that 
functionality, though, I can probably add it.

Roan Kattouw (Catrope)

_______________________________________________
Mediawiki-api mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api

Reply via email to