Does this extension whitelist the wiki article wikitext or the fully processed page (including any semantic query results)
Specifically, is it possible to use this extension to whitelist semantic data?
Thanks!
/Rich
Does this extension whitelist the wiki article wikitext or the fully processed page (including any semantic query results)
Specifically, is it possible to use this extension to whitelist semantic data?
Thanks!
/Rich
hello @Revansx Richard, I answer this message because recently I came across your idea to whitelist specific api calls. This could be done recording semantic data within a slot, querying them with an api call like the following
(originally proposed by Derk-Jan @TheDJ, with rvslots=*) and then whitelisting the api call using your idea. (using a regex for the titles parameter)
Hi @Thomas-topway-it, thank you for the response.
So, iiuc you are saying I could:
then from some client location I can anonymously:
and the response will all the semantic properties in the page returned as JSON?
Is that right?
hello @Revansx sure, just some clarification:
2) you "whitelist" only the api call to that page or specific pages, rather than the page in itself, using your method here https://www.mediawiki.org/w/index.php?title=Topic:Wufvxmx4uylu9m3y&topic_showPostId=wufvxmx4v2jwhq26#flow-post-wufvxmx4v2jwhq26
Also, I assume this is only possible with either FlexForm or PageProperties (the 2 extensions that currently support recording of semantic properties in slots)
ah, right!
ref:
Add to LocalSettings.php:
if ( {$_SERVER['REQUEST_URI']} == "/api.php?action=query&...") { $wgGroupPermissions['*']['readapi'] = true; }
Thanks!
/Rich