https://bugzilla.wikimedia.org/show_bug.cgi?id=46470
Web browser: ---
Bug ID: 46470
Summary: Expose {{DEFAULTSORT}} as a separate type in Parsoid
output
Product: Parsoid
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: General
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
Mobile Platform: ---
Right now, I get:
$ echo '{{DEFAULTSORT:foo}}' | node js/tests/parse.js
<body data-parsoid='{"dsr":[0,20,0,0]}'><span
data-parsoid='{"tsr":[0,19],"src":"{{DEFAULTSORT:foo}}","dsr":[0,19,null,null]}'
about="#mwt1" typeof="mw:Object/Template"></span><meta about="#mwt1"
property="mw:TemplateParams"
content='[{"id":"mwt1","target":"DEFAULTSORT:Foo","params":{}}]'>
</body>
So {{DEFAULTSORT:foo}} is simply interpreted as a template. For bug 46465, I
would like this to be its own RDFa type instead, just like __NOTOC__
--
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l