Index: trunk/extensions/Translate/utils/TranslateYaml.php |
— | — | @@ -108,10 +108,11 @@ |
109 | 109 | case 'spyc': |
110 | 110 | require_once( dirname( __FILE__ ) . '/../spyc/spyc.php' ); |
111 | 111 | return Spyc::YAMLDump( $text ); |
| 112 | + case 'syck-pecl': |
| 113 | + // Just horrible output |
| 114 | + //return syck_dump( $text ); |
112 | 115 | case 'syck': |
113 | 116 | return self::syckDump( $text ); |
114 | | - case 'syck-pecl': |
115 | | - return syck_dump( $text ); |
116 | 117 | default: |
117 | 118 | throw new MWException( "Unknown Yaml library" ); |
118 | 119 | } |