Item:OSW7113f5cf921a4c82ad1872afeff9d01d: Difference between revisions

m
Protected "Transcend wikitext to store and edit structured & linked data": Protected as read-only import via Page Exchange extension ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) [cascading]
mNo edit summary
Tag: 2017 source edit
m (Protected "Transcend wikitext to store and edit structured & linked data": Protected as read-only import via Page Exchange extension ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) [cascading])
 
(2 intermediate revisions by the same user not shown)
Line 328: Line 328:
     }
     }
}
}
</syntaxhighlight>Original jsondata
</syntaxhighlight>
<syntaxhighlight lang="json">
{
    "my_list": ["Page1", "Page2", "Page3"]
}
</syntaxhighlight>Processed jsondata
<syntaxhighlight lang="json">
{
    "my_list": " * [[Page1]] <br>  * [[Page2]] <br>  * [[Page3]] <br> "
}
</syntaxhighlight>'''Result'''
Entries of my_list:
* [[Page1]]
* [[Page2]]
* [[Page3]]
</div>
</div>
</div>
</div>


*<nowiki>*Wiki-side feature are implemented in Lua => To be rewritten in PHP</nowiki>
*<nowiki>*Wiki-side feature are implemented in Lua => To be rewritten in PHP</nowiki>
*Why are parser calls needed at all? Currently there seems no options to provide a hook from the core that allows injecting slot-specific content / existing hooks are not aware of the current slot
*Why are parser calls needed at all? Currently there seems no options to provide a hook from the core that allows injecting slot-specific content


== Further links ==
== Further links ==
jsondata
Line 1: Line 1:
{
{
    "recommended_successor": [
"recommended_successor": [
        "Item:OSWf1df064239044b8fa3c968339fb93344"
"Item:OSWf1df064239044b8fa3c968339fb93344"
    ],
],
    "type": [
"type": [
        "Category:OSW494f660e6a714a1a9681c517bbb975da"
"Category:OSW494f660e6a714a1a9681c517bbb975da"
    ],
],
    "uuid": "7113f5cf-921a-4c82-ad18-72afeff9d01d",
"uuid": "7113f5cf-921a-4c82-ad18-72afeff9d01d",
    "name": "TranscendWikitextToStoreAndEditStructuredLinkedData",
"name": "TranscendWikitextToStoreAndEditStructuredLinkedData",
    "label": [
"label": [
        {
{
            "text": "Transcend wikitext to store and edit structured \u0026 linked data",
"text": "Transcend wikitext to store and edit structured \u0026 linked data",
            "lang": "en"
"lang": "en"
        }
}
    ],
],
    "statements": [
"statements": [
        {
{
            "uuid": "65cb09b2-cbab-4bf0-8e0b-0aa21ec68c2f",
"uuid": "65cb09b2-cbab-4bf0-8e0b-0aa21ec68c2f",
            "predicate": "Property:IsRelatedTo",
"predicate": "Property:IsRelatedTo",
            "object": "Item:OSWab674d663a5b472f838d8e1eb43e6784"
"object": "Item:OSWab674d663a5b472f838d8e1eb43e6784"
        }
}
    ]
]
}
}