r111982 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r111981‎ | r111982 | r111983 >
Date:23:24, 20 February 2012
Author:jeroendedauw
Status:deferred
Tags:
Comment:
add some adittional mock info
Modified paths:
  • /trunk/extensions/EducationProgram/maintenance/importWEPData.php (modified) (history)

Diff [purge]

Index: trunk/extensions/EducationProgram/maintenance/importWEPData.php
@@ -119,11 +119,19 @@
120120 foreach ( $courses as $course => $org ) {
121121 $name = $course;
122122
 123+ $start = wfTimestamp( TS_MW );
 124+ $end = wfTimestamp( TS_MW );
 125+ $start{3} = '1';
 126+ $end{3} = '3';
 127+
123128 $course = EPCourses::singleton()->newFromArray(
124129 array(
125130 'org_id' => $orgs[$org],
126131 'name' => $course,
127132 'mc' => $course,
 133+ 'start' => $start,
 134+ 'end' => $end,
 135+ 'lang' => 'en',
128136 ),
129137 true
130138 );

Status & tagging log