Webtags (preserving history): Difference between revisions

From Cumulus Wiki
Jump to navigationJump to search
m
→‎When it causes problems: add bullet about inconsistency, clarify other bullets
m (→‎When it causes problems: add bullet about inconsistency, clarify other bullets)
 
For web tags it is much more complicated, simply because it is not just month we may be representing, and we might require only one specifier (being careful whether we use a standard or custom modifier) or we might want to specify a combination of modifiers (and we might want to add a space character or other literals). It is difficult to summarise, but here are some potential issues:
* the reserved characters changeare different betweenin C1 and MX (affecting use of literals like "on" and "at" whichthat areappear in many commonlyEnglish requiredtime-stamps)
* MX introduces the concept of escaping characters (a '''\''' placed before a character can be either a control sequence or an instruction to display the character)
* MX is inconsistent e.g. '''format=d''' gives a different result depending on the tag it is applied to (e.g. the script conditional ''''<#metdateyesterday format=d>' == '<#yesterday format=d)>'''' will never be equal as the LHS returns a full date and the right hand side returns day of month only)
* in MX space in some cases may need to be within the single quotes containing other literals (as in MX space can modifychange the interpretation of a modifier character).
 
'''Confused even more now?''' I'm not surprised, but maybe some examples will help before we actually list the available modifiers.
5,838

edits

Navigation menu