* Create a new Title from a prefixed DB key
*
* @param string $key The database key, which has underscores
- * instead of spaces, possibly including namespace and
- * interwiki prefixes
+ * instead of spaces, possibly including namespace and
+ * interwiki prefixes
* @return Title|null Title, or null on an error
*/
public static function newFromDBkey( $key ) {
}
$dbw = wfGetDB( DB_MASTER );
- $dbw->onTransactionPreCommitOrIdle( function () {
- ResourceLoaderWikiModule::invalidateModuleCache( $this, null, null, wfWikiID() );
- } );
+ $dbw->onTransactionPreCommitOrIdle(
+ function () {
+ ResourceLoaderWikiModule::invalidateModuleCache( $this, null, null, wfWikiID() );
+ },
+ __METHOD__
+ );
$conds = $this->pageCond();
DeferredUpdates::addUpdate(