Re: [Wikitech-l] Dynamically declaring parser functions?

2021-04-29 Thread Krinkle
It might be (more) feasible to use Lua (and Extension:Scribunto) for this, or even just templates more generally, as this allows one to define on-wiki mechanisms dynamically in a more flexible way. (I've not fully read the thread, apologies if this is incompatible with a requirement, I thought

Re: [Wikitech-l] Dynamically declaring parser functions?

2021-04-19 Thread FreedomFighterSparrow
Thanks for replying! The original idea was to make it very easy to change things up in LocalSettings.php, without ever touching code (which must be committed, pulled, etc). For example, if I disable extension:EmbedVideo in my "kiosk" mode, I just add the relevant parser functions to

Re: [Wikitech-l] Dynamically declaring parser functions?

2021-04-19 Thread Brian Wolff
Why not just use the normal magic i18n file? You could just not load it when you don't want it. -- Brian On Sunday, April 18, 2021, FreedomFighterSparrow < freedomfighterspar...@gmail.com> wrote: > My use case is this: > > I have three alternative access points to the wiki, where some things