Difference between revisions of "28 October 2006"
m (link to diff) |
m |
||
Line 1: | Line 1: | ||
<table class=document-code><tr><td> | <table class=document-code><tr><td> | ||
− | ;5pm Changes to Apply syntax | + | ;5pm, Changes to Apply syntax |
A [http://www.organicdesign.co.nz/wiki/index.php?title=Document.php&diff=33592&oldid=33567 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 <tt>[</tt><tt>[*myArticle]]</tt> which used to be equivalent in operation to <tt>[</tt><tt>[+myArticle|]]</tt> (notice the empty pipe meaning use blank title), but is now equivalent to <tt>[</tt><tt>[*Empty Article|myArticle]]</tt>. It is a way of specifying that the transform apply to ''no article'' and is more efficient than explicitly using the [[Empty Article]]. | A [http://www.organicdesign.co.nz/wiki/index.php?title=Document.php&diff=33592&oldid=33567 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 <tt>[</tt><tt>[*myArticle]]</tt> which used to be equivalent in operation to <tt>[</tt><tt>[+myArticle|]]</tt> (notice the empty pipe meaning use blank title), but is now equivalent to <tt>[</tt><tt>[*Empty Article|myArticle]]</tt>. It is a way of specifying that the transform apply to ''no article'' and is more efficient than explicitly using the [[Empty Article]]. | ||
Line 12: | Line 12: | ||
<table class=document-code><tr><td> | <table class=document-code><tr><td> | ||
− | ;10am Caretaker goes psycho | + | ;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 al 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.pl|Caretaker]] screws up to this extent again we should probably fire him I think! --[[User:Nad|Nad]] 10:36, 28 Oct 2006 (NZDT) | 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 al 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.pl|Caretaker]] screws up to this extent again we should probably fire him I think! --[[User:Nad|Nad]] 10:36, 28 Oct 2006 (NZDT) | ||
</table> | </table> |
Revision as of 22:26, 13 November 2006
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:
can now be changed to this,
|
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 al 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) |