I have a template with this in it:
'''{{{foo}}}'''
So foo should be bold. If foo has no value, guess what appears?
' <---------
MK wrote:
I have a template with this in it:
'''{{{foo}}}'''
So foo should be bold. If foo has no value, guess what appears?
' <---------
The single quote is the result of having foo set to the empty string, not of being undefined.
When the parser sees six quotes it takes that as: literal quote, open italic, open bold. I once tried to change that into open bold, close bold but there was some opposition to changing the historical behavior and I didn't push it. I think most usages of six quotes I encountered were for having quoted, bold, italic text, which isn't proper format, since using six quotes they end up having the end quote bold and italic and the open one normal. I should take a look to it again.
mediawiki-l@lists.wikimedia.org