Changes
Jump to navigation
Jump to search
← Older edit
MediaWiki:Gadget-relateditems.js
(view source)
Revision as of 02:01, 7 January 2020
3 bytes added
,
4 years ago
no edit summary
Line 76:
Line 76:
});
});
api.get({
api.get({
−
query: 'PREFIX pdio: <
http
://wiki.personaldata.io/entity/>\
+
query: 'PREFIX pdio: <
https
://wiki.personaldata.io/entity/>\
−
PREFIX pdiot: <
http
://wiki.personaldata.io/prop/direct/>\
+
PREFIX pdiot: <
https
://wiki.personaldata.io/prop/direct/>\
SELECT ?subject ?subjectLabel ?property ?inversepropertyLabel ?rank WHERE {{\
SELECT ?subject ?subjectLabel ?property ?inversepropertyLabel ?rank WHERE {{\
SELECT ?subject ?property ?inverseproperty ?rank WHERE { \
SELECT ?subject ?property ?inverseproperty ?rank WHERE { \
Line 94:
Line 94:
var page = data.results.bindings[k];
var page = data.results.bindings[k];
var rank = page.rank.value.replace('http://wikiba.se/ontology#', '').replace('Rank', '').toLowerCase();
var rank = page.rank.value.replace('http://wikiba.se/ontology#', '').replace('Rank', '').toLowerCase();
−
var pid = page.property.value.replace('
http
://wiki.personaldata.io/entity/', 'i');
+
var pid = page.property.value.replace('
https
://wiki.personaldata.io/entity/', 'i');
if (pid != stid){
if (pid != stid){
var statementgroup = '\
var statementgroup = '\
Podehaye
Bureaucrats
, editors,
Interface administrators
,
Ninjas
, nuke,
Administrators
,
Widget editors
15,627
edits
Navigation menu
Personal tools
Log in
Request account
Namespaces
Message
Discussion
Variants
Views
Read
View source
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
New Item
New Property
All items
All properties
All pages
Active Users
SAR service dev
Query Service
Maintenance
Administrator
Tools
Special pages
Printable version
Interaction
Community portal
WebXray
Recent changes
Contact Page
Telegram
Discourse forum
MyData Slack