r95962 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r95961‎ | r95962 | r95963 >
Date:10:54, 1 September 2011
Author:catrope
Status:ok
Tags:
Comment:
RL2: Fix r95953: put DBkey in title field, not prefixedDBkey
Modified paths:
  • /branches/RL2/extensions/Gadgets/backend/GadgetPageList.php (modified) (history)

Diff [purge]

Index: branches/RL2/extensions/Gadgets/backend/GadgetPageList.php
@@ -36,7 +36,7 @@
3737 $dbw->insert( 'gadgetpagelist', array(
3838 'gpl_extension' => self::determineExtension( $title ),
3939 'gpl_namespace' => $title->getNamespace(),
40 - 'gpl_title' => $title->getPrefixedDBKey()
 40+ 'gpl_title' => $title->getDBKey()
4141 ), __METHOD__, array( 'IGNORE' )
4242 );
4343 }
@@ -49,7 +49,7 @@
5050 $dbw = wfGetDB( DB_MASTER );
5151 $dbw->delete( 'gadgetpagelist', array(
5252 'gpl_namespace' => $title->getNamespace(),
53 - 'gpl_title' => $title->getPrefixedDBKey()
 53+ 'gpl_title' => $title->getDBKey()
5454 ), __METHOD__
5555 );
5656 }

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r95953RL2: Add gadgetpagelist table and track .js and .css pages in it...catrope09:38, 1 September 2011

Status & tagging log