Re: [MediaWiki-l] DismissableSiteNotice - click and hide

2018-02-16 Thread [[kgh]]
Heiya Brian, thanks a lot for your suggestion. To cut it short: It will not be possible to do this with DissmissableSiteNotice alone. I tried CenralNotice but it already fails to display the banner since it errors out because the geolocation service it imperatively tries to access is not

Re: [MediaWiki-l] Escaping template parameter values

2018-02-16 Thread Brian Wolff
Some extensions cant handle nowiki tags as input (ie. They dont unstrip markers before doing their processing). I dont know much about SMW but that would be my first guess as to why nowiki tags arent working in this context. Which basically leaves entity encoding as the necessary method. --

Re: [MediaWiki-l] Escaping template parameter values

2018-02-16 Thread George, Garrett J. (JSC-CB111)[SGT, INC]
I don't need any wiki parsing, the template is really just a way to have a data model for my extension to use and query using `ask` queries via semantic mediawiki. Reasons it might not be working: 1. AI Comment is a subobject template and something in there is causing issues. 2.

Re: [MediaWiki-l] DismissableSiteNotice - click and hide

2018-02-16 Thread Brian Wolff
CentralNotice (Which is different from DismissableSiteNotice) uses raw html for the banner. So you could definitely do that if you wanted in the central notice banners. Using the current stewvote banner as an example https://meta.wikimedia.org/wiki/Special:CentralNoticeBanners/edit/stewvote

[MediaWiki-l] (no subject)

2018-02-16 Thread Jagadish Bhetariya
Thanks J.M.Aarya ___ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Re: [MediaWiki-l] Escaping template parameter values

2018-02-16 Thread Brian Wolff
So, should work perfectly fine in template parameters. Unless you mean you want most wikitext to work, just not }} and friends. In which case there are two things you could do: either have a separate template containing just the characters (there is a built in template:! Where {{!}} Puts out a