What are these {{#if things and lcfirst and all that? I don't remember these... am I totally missing something?
On May 9, 2006, at 8:29 PM, Steve Summit wrote:
I had written:
- It might also be possible to implement the test and
optional text right there in 'noarticletext', using the new in-line conditional expressions. (But I'm not sure they're quite powerful enough.)
Brion replied:
I'd say give this a shot, and if it doesn't look like it's going to work we could probably add a special-case on the software as 1)
Thanks.
I was about to say, "but the new in-line conditional expressions don't do string functions like lowercasifying things", but shows what I know. Minh Nguyen proposed:
{{#ifeq: [[{{NAMESPACE}}:{{lcfirst:{{PAGENAME}}}}]] | {{:{{NAMESPACE}}:{{lcfirst:{{PAGENAME}}}}}} | | Did you mean '''[[{{NAMESPACE}}:{{lcfirst:{{PAGENAME}}}}]]'''? }}
Oh! Splendid! I didn't know about those. I'll install the parser in my test wiki, and try this out. Thanks very much. _______________________________________________ Wikitech-l mailing list Wikitech-l@wikimedia.org http://mail.wikipedia.org/mailman/listinfo/wikitech-l