r93935 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r93934
|
r93935
|
r93936
>
Date:
23:25, 4 August 2011
Author:
reedy
Status:
ok (
Comments
)
Tags:
Comment:
Adding Revision::newFromRow() function as alias for new Revision()
More consistent with how we do stuff everywhere else
Modified paths:
/trunk/phase3/includes/Revision.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/phase3/includes/Revision.php
—
—
@@ -122,6 +122,14 @@
123
123
}
124
124
125
125
/**
126
+ * @param $row
127
+ * @return Revision
128
+ */
129
+ public static function newFromRow( $row ) {
130
+ return new self( $row );
131
+ }
132
+
133
+ /**
126
134
* Load a page revision from a given revision ID number.
127
135
* Returns null if no such revision can be found.
128
136
*
Follow-up revisions
Revision
Commit summary
Author
Date
r93936
Followup
r89564
...
reedy
23:26, 4 August 2011
r93963
Add @since to Revision::newFromRow per Nikerabbit...
reedy
12:29, 5 August 2011
r94446
MFT to REL1_18:...
hashar
09:27, 14 August 2011
Comments
#
Comment by
Nikerabbit
(
talk
|
contribs
)
07:02, 5 August 2011
Add @since when we know which version this goes in?
Status & tagging log
09:28, 14 August 2011
Hashar
(
talk
|
contribs
)
changed the
tags
for r93935
[
removed:
1.18]
23:27, 4 August 2011
Reedy
(
talk
|
contribs
)
changed the
tags
for r93935
[
added:
1.18]
23:26, 4 August 2011
Aaron Schulz
(
talk
|
contribs
)
changed the
status
of r93935
[
removed:
new
added:
ok]