r97641 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r97640
|
r97641
|
r97642
>
Date:
16:26, 20 September 2011
Author:
nikerabbit
Status:
ok
Tags:
Comment:
I broke few parser tests in
r97633
by overlooking the return value. This fixes them.
Modified paths:
/trunk/phase3/includes/cache/LinkCache.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/phase3/includes/cache/LinkCache.php
—
—
@@ -200,8 +200,10 @@
201
201
# Set fields...
202
202
if ( $s !== false ) {
203
203
$this->addGoodLinkObjFromRow( $nt, $s );
204
+ $id = intval( $s->page_id );
204
205
} else {
205
206
$this->addBadLinkObj( $nt );
207
+ $id = 0;
206
208
}
207
209
208
210
wfProfileOut( __METHOD__ );
Past revisions this follows-up on
Revision
Commit summary
Author
Date
r97633
Added LinkCache::addGoodLinkObjFromRow, since addGoodLinkObj is not going to ...
nikerabbit
15:19, 20 September 2011
Status & tagging log
12:03, 14 November 2011
Reedy
(
talk
|
contribs
)
changed the
status
of r97641
[
removed:
new
added:
ok]