r103380 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r103379
|
r103380
|
r103381
>
Date:
20:54, 16 November 2011
Author:
ialex
Status:
ok
Tags:
Comment:
Per Aaron, fix for
r102973
: create directly a WikiFilePage object and call setFile() on it to restore previous behaviour
Modified paths:
/trunk/phase3/includes/filerepo/LocalFile.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/phase3/includes/filerepo/LocalFile.php
—
—
@@ -1056,7 +1056,8 @@
1057
1057
}
1058
1058
1059
1059
$descTitle = $this->getTitle();
1060
- $wikiPage = WikiPage::factory( $descTitle );
1060
+ $wikiPage = new WikiFilePage( $descTitle );
1061
+ $wikiPage->setFile( $this );
1061
1062
1062
1063
# Add the log entry
1063
1064
$log = new LogPage( 'upload' );
Past revisions this follows-up on
Revision
Commit summary
Author
Date
r102973
Updated remaining functions executing NewRevisionFromEditComplete hook to use...
ialex
12:40, 14 November 2011
Status & tagging log
20:55, 16 November 2011
Aaron Schulz
(
talk
|
contribs
)
changed the
status
of r103380
[
removed:
new
added:
ok]