This is a blog post I wrote last week about how to do something slightly horrifying in MediaWiki. It's not possible on Wikipedia itself since Wikipedia doesn't have the Variables extensions, but...
This is a blog post I wrote last week about how to do something slightly horrifying in MediaWiki. It's not possible on Wikipedia itself since Wikipedia doesn't have the Variables extensions, but most third-party hosts do. Even if you don't write MediaWiki code frequently, you might still enjoy the slight horrible-ness of all of this.
(note: normally I wouldn't have posted this to Tildes since I think there isn't THAT much relevance for people here, but with so much discussion about Tildes slowly fading out of existence I'm going to post my content a bit more often so that I'm helping to counteract that. If people find this uninteresting or want me to stop, I won't take it badly!! But, I would also encourage other members to have the same attitude with their own OC blog posts etc.)
I don't write MediaWiki code at all and this was a fun read. It's a bit tricky to follow–I had to keep scrolling back up–but fascinating that the template engine isn't as "linear" as others I'm...
I don't write MediaWiki code at all and this was a fun read. It's a bit tricky to follow–I had to keep scrolling back up–but fascinating that the template engine isn't as "linear" as others I'm used to.
The template engine is MOSTLY linear, but yeah the whole thing with strip markers is a bit wild. It leads to some wildly broken things when you use extensions that try to persist data in storage...
The template engine is MOSTLY linear, but yeah the whole thing with strip markers is a bit wild. It leads to some wildly broken things when you use extensions that try to persist data in storage prior to strip marker evaluation....
This is a blog post I wrote last week about how to do something slightly horrifying in MediaWiki. It's not possible on Wikipedia itself since Wikipedia doesn't have the Variables extensions, but most third-party hosts do. Even if you don't write MediaWiki code frequently, you might still enjoy the slight horrible-ness of all of this.
(note: normally I wouldn't have posted this to Tildes since I think there isn't THAT much relevance for people here, but with so much discussion about Tildes slowly fading out of existence I'm going to post my content a bit more often so that I'm helping to counteract that. If people find this uninteresting or want me to stop, I won't take it badly!! But, I would also encourage other members to have the same attitude with their own OC blog posts etc.)
I don't write MediaWiki code at all and this was a fun read. It's a bit tricky to follow–I had to keep scrolling back up–but fascinating that the template engine isn't as "linear" as others I'm used to.
The template engine is MOSTLY linear, but yeah the whole thing with strip markers is a bit wild. It leads to some wildly broken things when you use extensions that try to persist data in storage prior to strip marker evaluation....
I'm all in favour of posts about highly specific yet interesting things like this, personally!