dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a90c8f8
)
Follow-up r84610: made makeImage() b/c for callers
author
Aaron Schulz
<aaron@users.mediawiki.org>
Wed, 23 Mar 2011 21:45:32 +0000
(21:45 +0000)
committer
Aaron Schulz
<aaron@users.mediawiki.org>
Wed, 23 Mar 2011 21:45:32 +0000
(21:45 +0000)
includes/parser/ParserOutput.php
patch
|
blob
|
history
diff --git
a/includes/parser/ParserOutput.php
b/includes/parser/ParserOutput.php
index
95ae4ad
..
ae75cf8
100644
(file)
--- a/
includes/parser/ParserOutput.php
+++ b/
includes/parser/ParserOutput.php
@@
-265,7
+265,7
@@
class ParserOutput extends CacheTime {
* @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 );
}