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
Would I be able to configure it where I just blacklist one page and leave the rest of the wiki public? --@HausaDictionary
Is it possible to use this extension to whitelist a specific API call.
something like:
if ( {$_SERVER['REQUEST_URI']} == "/api.php?action=query&meta=siteinfo&siprop=statistics&format=json") { $wgGroupPermissions['*']['readapi'] = true; }
but managed in the "MediaWiki:Public read whitelist" page
In my wiki only white listed pages are visible to everybody. Since that the MultimediaViewer is not working anymore. Does anybody have a solution for that?
I didn't understand how to use it.
This extension have been activated on the wiki farm where I have a wiki, but I don't know how to use on my wiki.
I mean, I have to write every whitelisted page in: MediaWiki:Public read whitelist, but have you got some examples, can I write absolute paths or relative ones
Would be nice if you could add a Category Tree to the MediaWiki:Public read whitelist page. Then you could have a Public category that would every page to be whitelisted.
Hi there,
how can I add a Special page with subpage to a Whitelist?
e.g.:
Special:Contributions/Users
Are there delimiters which I can use?
like !^ $! .*$