dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rev_deleted merge:
[lhc/web/wiklou.git]
/
includes
/
Revision.php
diff --git
a/includes/Revision.php
b/includes/Revision.php
index
71f214e
..
05a4a68
100644
(file)
--- a/
includes/Revision.php
+++ b/
includes/Revision.php
@@
-47,7
+47,7
@@
class Revision {
array( "rev_id=$matchId",
'page_id=rev_page',
'page_namespace' => $title->getNamespace(),
array( "rev_id=$matchId",
'page_id=rev_page',
'page_namespace' => $title->getNamespace(),
- 'page_title' => $title->getD
b
key() ) );
+ 'page_title' => $title->getD
B
key() ) );
}
/**
}
/**
@@
-110,7
+110,7
@@
class Revision {
array( "rev_id=$matchId",
'page_id=rev_page',
'page_namespace' => $title->getNamespace(),
array( "rev_id=$matchId",
'page_id=rev_page',
'page_namespace' => $title->getNamespace(),
- 'page_title' => $title->getD
b
key() ) );
+ 'page_title' => $title->getD
B
key() ) );
}
/**
}
/**
@@
-131,7
+131,7
@@
class Revision {
array( 'rev_timestamp' => $db->timestamp( $timestamp ),
'page_id=rev_page',
'page_namespace' => $title->getNamespace(),
array( 'rev_timestamp' => $db->timestamp( $timestamp ),
'page_id=rev_page',
'page_namespace' => $title->getNamespace(),
- 'page_title' => $title->getD
b
key() ) );
+ 'page_title' => $title->getD
B
key() ) );
}
/**
}
/**
@@
-190,7
+190,7
@@
class Revision {
return Revision::fetchFromConds(
wfGetDB( DB_SLAVE ),
array( 'page_namespace' => $title->getNamespace(),
return Revision::fetchFromConds(
wfGetDB( DB_SLAVE ),
array( 'page_namespace' => $title->getNamespace(),
- 'page_title' => $title->getD
b
key(),
+ 'page_title' => $title->getD
B
key(),
'page_id=rev_page' ) );
}
'page_id=rev_page' ) );
}
@@
-209,7
+209,7
@@
class Revision {
wfGetDB( DB_SLAVE ),
array( 'rev_id=page_latest',
'page_namespace' => $title->getNamespace(),
wfGetDB( DB_SLAVE ),
array( 'rev_id=page_latest',
'page_namespace' => $title->getNamespace(),
- 'page_title' => $title->getD
b
key(),
+ 'page_title' => $title->getD
B
key(),
'page_id=rev_page' ) );
}
'page_id=rev_page' ) );
}
@@
-794,9
+794,8
@@
class Revision {
* @param bool $minor
* @return Revision
*/
* @param bool $minor
* @return Revision
*/
- function newNullRevision( &$dbw, $pageId, $summary, $minor ) {
- $fname = 'Revision::newNullRevision';
- wfProfileIn( $fname );
+ public static function newNullRevision( &$dbw, $pageId, $summary, $minor ) {
+ wfProfileIn( __METHOD__ );
$current = $dbw->selectRow(
array( 'page', 'revision' ),
$current = $dbw->selectRow(
array( 'page', 'revision' ),
@@
-805,7
+804,7
@@
class Revision {
'page_id' => $pageId,
'page_latest=rev_id',
),
'page_id' => $pageId,
'page_latest=rev_id',
),
-
$fname
);
+
__METHOD__
);
if( $current ) {
$revision = new Revision( array(
if( $current ) {
$revision = new Revision( array(
@@
-818,7
+817,7
@@
class Revision {
$revision = null;
}
$revision = null;
}
- wfProfileOut(
$fname
);
+ wfProfileOut(
__METHOD__
);
return $revision;
}
return $revision;
}
@@
-888,4
+887,4
@@
define( 'MW_REV_DELETED_USER', Revision::DELETED_USER );
define( 'MW_REV_DELETED_RESTRICTED', Revision::DELETED_RESTRICTED );
define( 'MW_REV_DELETED_RESTRICTED', Revision::DELETED_RESTRICTED );
-?>
+