Freephile Wiki:ToDo
From Freephile Wiki
Replace in-text annotations[edit]
- Need to convert any usage of SMW property annotation to use the parsoid-friendly #set parser function syntax.
#setwas favored all the way back in 2014 but debated and not actually removed or resolved.[1].
Note that [[foo::bar]] inside an ask query does not need to change because it is already in the {{#ask: }} context which is parsed differently. You can see an ask query in action at People
A template for 'Animal' could use this:
{{#set:
Species = {{{Species|}}}
| Habitat = {{{Habitat|}}}
| Diet = {{{Diet|}}}
}}
Any any page such as 'Lion' would call the template
{{Animal|Species=Lion|Habitat=Savanna|Diet=Carnivore}}instead of in-page property annotations.
Some of the property annotations that were updated
Info[edit]
- https://www.youtube.com/watch?v=lS1xPkERWCM&t=2146s
- https://www.mediawiki.org/wiki/Parsoid/Extension_API
- https://www.semantic-mediawiki.org/wiki/Help:Setting_values/Working_with_the_template_parameter
- https://www.semantic-mediawiki.org/wiki/Semantic_Annotations#Technical_threat_for_inline_annotations
- Issue #5624 Enhance #set: parser function with display option