Last modified: 2009-12-24 19:34:00 UTC
The API output for the cited URL goes like this: query: general: mainpage: | Wikipedia:Hauptseite base: | http://de.wikipedia.org/wiki/Wikipedia:Hauptseite sitename: Wikipedia generator: MediaWiki 1.16alpha-wmf phpversion: 5.2.4-2ubuntu5.7wm1 phpsapi: apache2handler dbtype: mysql dbversion: 5.1.33-log rev: 59858 case: first-letter rights: > Creative Commons Attribution-Share Alike 3.0 Unported lang: de For the "base" and "rights" properties (and others like it) this causes the trailing new line to be included in the property value (so you get "http://de.wikipedia.org/wiki/Wikipedia:Hauptseite\n"). This should instead use the "strip" chomp control ("-"), like so: query: general: mainpage: |- Wikipedia:Hauptseite base: |- http://de.wikipedia.org/wiki/Wikipedia:Hauptseite sitename: Wikipedia generator: MediaWiki 1.16alpha-wmf phpversion: 5.2.4-2ubuntu5.7wm1 phpsapi: apache2handler dbtype: mysql dbversion: 5.1.33-log rev: 59858 case: first-letter rights: >- Creative Commons Attribution-Share Alike 3.0 Unported lang: de See http://yaml.org/spec/1.0/#c-chomp-control for details.
Fixed in r60367.