Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
User:Abel/common.js
(view source)
Revision as of 05:31, 27 April 2019
215 bytes added
,
5 years ago
m
no edit summary
Line 28:
Line 28:
function controller_display_function(){
function controller_display_function(){
−
console.log( "it's a controller" )
+
console.log( "it's a controller" )
+
var obj = JSON.parse ( mw.config.values.wbEntity );
var qId = obj[wbEStruct["qIDPropName"]];
var qId = obj[wbEStruct["qIDPropName"]];
var api = new mw.Api();
var api = new mw.Api();
Line 40:
Line 41:
function input_display_function() {
function input_display_function() {
−
console.log( "it's a personal data item" )
+
console.log( "it's a personal data item" )
+
var obj = JSON.parse ( mw.config.values.wbEntity );
obj[wbEStruct["qIDPropName"]]
obj[wbEStruct["qIDPropName"]]
Line 48:
Line 50:
function data_maintenance_display() {
function data_maintenance_display() {
+
var obj = JSON.parse ( mw.config.values.wbEntity );
}
}
Abel
530
edits
Navigation menu
Personal tools
English
Log in
Request account
Namespaces
User page
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
User contributions
Logs
View user groups
Special pages
Printable version
Interaction
Community portal
WebXray
Recent changes
Contact Page
Telegram
Discourse forum
MyData Slack