http://www.mediawiki.org/wiki/Special:Code/MediaWiki/84636
Revision: 84636
Author: aaron
Date: 2011-03-23 21:45:32 +0000 (Wed, 23 Mar 2011)
Log Message:
-----------
Follow-up r84610: made makeImage() b/c for callers
Modified Paths:
--------------
trunk/phase3/includes/parser/ParserOutput.php
Modified: trunk/phase3/includes/parser/ParserOutput.php
===================================================================
--- trunk/phase3/includes/parser/ParserOutput.php 2011-03-23 21:42:46 UTC
(rev 84635)
+++ trunk/phase3/includes/parser/ParserOutput.php 2011-03-23 21:45:32 UTC
(rev 84636)
@@ -265,7 +265,7 @@
* @param $sha string base 36 SHA-1 of file
* @return void
*/
- function addImage( $name, $timestamp, $sha1 ) {
+ function addImage( $name, $timestamp = null, $sha1 = null ) {
$this->mImages[$name] = 1;
$this->mImageTimeKeys[$name] = array( 'time' => $timestamp,
'sha1' => $sha1 );
}
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs