r68657 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r68656‎ | r68657 | r68658 >
Date:12:32, 28 June 2010
Author:jojo
Status:ok
Tags:
Comment:
use only one notation
Modified paths:
  • /trunk/extensions/Collection/Collection.body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Collection/Collection.body.php
@@ -627,7 +627,7 @@
628628 $revision = Revision::newFromTitle( $title, $oldid );
629629 $collection['items'][] = array(
630630 'type' => 'article',
631 - 'content-type' => 'text/x-wiki',
 631+ 'content_type' => 'text/x-wiki',
632632 'title' => $title->getPrefixedText(),
633633 'revision' => strval( $oldid ),
634634 'latest' => strval( $latest ),
@@ -804,7 +804,7 @@
805805 }
806806 $d = array(
807807 'type' => 'article',
808 - 'content-type' => 'text/x-wiki',
 808+ 'content_type' => 'text/x-wiki',
809809 'title' => $articleTitle->getPrefixedText(),
810810 'latest' => $latest,
811811 'revision' => $oldid,
@@ -1195,7 +1195,7 @@
11961196 }
11971197 $article = array(
11981198 'type' => 'article',
1199 - 'content-type' => 'text/x-wiki',
 1199+ 'content_type' => 'text/x-wiki',
12001200 'title' => $title->getPrefixedText()
12011201 );
12021202 if ( $oldid ) {

Status & tagging log