Jump to content
MediaWiki

Talk:Content handlers

Add topic
From mediawiki.org
Latest comment: 4 years ago by Diegodlh in topic Add JsonConfig extension?
This page used the Structured Discussions extension to give structured discussions. It has since been converted to wikitext, so the content and history here are only an approximation of what was actually displayed at the time these comments were made.

Add JsonConfig extension?

[edit ]
Latest comment: 4 years ago 3 comments2 people in discussion

As far as I understand it, the JsonConfig extension should be listed in the list of Extension content handlers. It took me some time to realize that JSON visualizations such as this one were rendered by this extension, and I think that having it listed here would have helped me find out faster. Diegodlh (talk) 13:03, 1 April 2022 (UTC) Reply

I added an entry for JsonConfig after asking the same question in the MediaWiki discord server. Feel free to improve it if you understand the extension better than I do, which I just started trying to learn it.
Also
$ grep "ContentHandlerDefaultModelFor" */extension.json|cut -d "/" -f 1
Cite
and a few other extension results (but they are already listed)
If anyone is able to understand the Cite extension (I haven't used it yet) and is able to add an entry to the table for it, feel free to! I don't know how to yet.
Better: https://codesearch.wmcloud.org/search/?q=ContentHandlerDefaultModelFor&i=nope&files=extension.json&excludeFiles=&repos= Jasonkhanlar (talk) 15:29, 10 May 2022 (UTC) Reply
Thanks, @Jasonkhanlar! I learned a bit about the JsonConfig extension when I wrote my message, but I've already forgotten most of it. I'm sure you know more than me right now!
And regarding the Cite extension, I've used it a bit, but I'm afraid I have no clue what the ContentHandlerDefaultModelFor parameter does :(
Thanks for you help! Diegodlh (talk) 23:45, 11 May 2022 (UTC) Reply

AltStyle によって変換されたページ (->オリジナル) /