Forum:Parser extension tags

ShoutWiki — express yourself and be heard!
Jump to navigation Jump to search

Forums: Index Community help

Why is there no <css> and <infobox> tags in ShoutWiki? --Lyon Cyborg (talk) 23:37, 19 June 2018 (UTC)

By the topic title, you seem aware that those tags are not standard MediaWiki, but are provided by extensions. The <infobox> tag that you probably mean is for Wikia's proprietary "portable" (i.e., mobile-friendly) XML infobox syntax. As for CSS, there's a reason why MediaWiki allows only admins to specify CSS to be loaded into other people's browsers. In addition to breaking pages and styles for other users, CSS can also be used to exploit browser bugs. MediaWiki removes some inline CSS attributes for the same reason. If there's some styling you think you need to apply to all users, I'd suggest you work it out with your wiki's admins. Otherwise, inline CSS is an option, albeit not recommended for more than limited styling. That said, staff could choose to implement Wikia-style infoboxes and user-written system CSS, but I doubt it. --Saftzie (talk) 04:54, 20 June 2018 (UTC)
That is, I as a steward of the World Universe on ShoutWiki, should make these extensions myself? --Lyon Cyborg (talk) 21:18, 20 June 2018 (UTC)
As a bureaucrat, you can request that staff install specific extensions. As an admin, you can already write whatever system CSS you want. You should be very cautious about allowing non-admins to write system CSS. I don't believe Wikia portable infoboxes are open source, so someone would have to write a work-alike extension. In both cases, staff could still refuse to install them, even if you wrote them yourself. --Saftzie (talk) 23:03, 20 June 2018 (UTC)