Freephile Wiki:ToDo: Difference between revisions

No edit summary
Line 1: Line 1:
== Replace in-text annotations ==
== Replace in-text annotations ==
# Need to convert any usage of SMW property annotation to use the parsoid-friendly [https://www.semantic-mediawiki.org/wiki/Help:Setting_values #set parser function syntax]. <code>#set</code> was favored all the way back in 2014 but debated and not actually removed or resolved.<ref>[https://github.com/SemanticMediaWiki/SemanticMediaWiki/issues/584 584 was closed because it wasn't deprecated] [https://github.com/SemanticMediaWiki/SemanticMediaWiki/issues/4727 4727 is still open in 2025]</ref>.
# Need to convert any usage of SMW property annotation to use the parsoid-friendly [https://www.semantic-mediawiki.org/wiki/Help:Setting_values #set parser function syntax]. <code>#set</code> was favored all the way back in 2014 but deprecating in-text annotation was debated and not actually removed or resolved.<ref>[https://github.com/SemanticMediaWiki/SemanticMediaWiki/issues/584 584 was closed because it wasn't deprecated] [https://github.com/SemanticMediaWiki/SemanticMediaWiki/issues/4727 4727 is still open in 2025]</ref>.


Note that <nowiki>[[foo::bar]]</nowiki> '''inside''' an ask query does not need to change because it is already in the <nowiki>{{#ask: }}</nowiki> context which is parsed differently. You can see an ask query in action at [[People]]
Note that <nowiki>[[foo::bar]]</nowiki> '''inside''' an ask query does not need to change because it is already in the <nowiki>{{#ask: }}</nowiki> context which is parsed differently. You can see an ask query in action at [[People]]
Line 23: Line 23:


=== Info ===
=== Info ===
There are some edge cases and complexities involved like the property link syntax of <nowiki>[[has property::@@@]]</nowiki>
# https://www.youtube.com/watch?v=lS1xPkERWCM&t=2146s
# https://www.youtube.com/watch?v=lS1xPkERWCM&t=2146s
# https://www.mediawiki.org/wiki/Parsoid/Extension_API
# https://www.mediawiki.org/wiki/Parsoid/Extension_API