r84636 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r84635‎ | r84636 | r84637 >
Date:21:45, 23 March 2011
Author:aaron
Status:ok
Tags:
Comment:
Follow-up r84610: made makeImage() b/c for callers
Modified paths:
  • /trunk/phase3/includes/parser/ParserOutput.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/parser/ParserOutput.php
@@ -265,7 +265,7 @@
266266 * @param $sha string base 36 SHA-1 of file
267267 * @return void
268268 */
269 - function addImage( $name, $timestamp, $sha1 ) {
 269+ function addImage( $name, $timestamp = null, $sha1 = null ) {
270270 $this->mImages[$name] = 1;
271271 $this->mImageTimeKeys[$name] = array( 'time' => $timestamp, 'sha1' => $sha1 );
272272 }

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r84610* Put parser output file version tracking to core...aaron17:35, 23 March 2011

Status & tagging log