28 October 2006

From Organic Design wiki
5pm, Changes to Apply syntax

A change has been made to document.php which affects the XmlWiki Apply operator (*). These changes affect what happens when the apply operator is used with only a single item, eg [[*myArticle]] which used to be equivalent in operation to [[+myArticle|]] (notice the empty pipe meaning use blank title), but is now equivalent to [[*Empty Article|myArticle]]. It is a way of specifying that the transform apply to no article and is more efficient than explicitly using the Empty Article.

Another shortened version for specifying no article is available for the case where more than one transform is to be applied, here's an example of the old and new syntax:

[[*Empty Article|Transform1|Transform2...]]

can now be changed to this,

[[*|Transform1|Transform2...]]
  • See Apply examples for more details as it has been updated with the new syntax information
  • Note: Bender changed all the articles which used the Apply oeprator in the old way, but unfortunately I forgot to add the empty pipe on the end so those embeds will now have headings where they should be blank.
10am, Caretaker goes psycho

Bender went nuts and messed up over 3000 articles, I fixed the problem so the same thing wouldn't happen again, but I couldn't get him to revert all the changes so I had to revert the site to the last backup. Sorry if any edits had been done between 2am and 10am because they've been lost. If the Caretaker screws up to this extent again we should probably fire him I think! --Nad 10:36, 28 Oct 2006 (NZDT)