Interestingly, the first example on that page gets it right, then the others are wrong. I am too tired to work out how to fix it, so if you have got to the bottom of it, please update the wiki page.
Hopefully Sam Hemelryk, or Petr Skoda, who are the people that implemented most of this, will see this thread, and review any changes you make, or fix the page if you can't.