Index: trunk/extensions/Collection/Collection.body.php |
— | — | @@ -627,7 +627,7 @@ |
628 | 628 | $revision = Revision::newFromTitle( $title, $oldid ); |
629 | 629 | $collection['items'][] = array( |
630 | 630 | 'type' => 'article', |
631 | | - 'content-type' => 'text/x-wiki', |
| 631 | + 'content_type' => 'text/x-wiki', |
632 | 632 | 'title' => $title->getPrefixedText(), |
633 | 633 | 'revision' => strval( $oldid ), |
634 | 634 | 'latest' => strval( $latest ), |
— | — | @@ -804,7 +804,7 @@ |
805 | 805 | } |
806 | 806 | $d = array( |
807 | 807 | 'type' => 'article', |
808 | | - 'content-type' => 'text/x-wiki', |
| 808 | + 'content_type' => 'text/x-wiki', |
809 | 809 | 'title' => $articleTitle->getPrefixedText(), |
810 | 810 | 'latest' => $latest, |
811 | 811 | 'revision' => $oldid, |
— | — | @@ -1195,7 +1195,7 @@ |
1196 | 1196 | } |
1197 | 1197 | $article = array( |
1198 | 1198 | 'type' => 'article', |
1199 | | - 'content-type' => 'text/x-wiki', |
| 1199 | + 'content_type' => 'text/x-wiki', |
1200 | 1200 | 'title' => $title->getPrefixedText() |
1201 | 1201 | ); |
1202 | 1202 | if ( $oldid ) { |