r110776 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r110775
|
r110776
|
r110777
>
Date:
20:20, 6 February 2012
Author:
reedy
Status:
ok
Tags:
Comment:
Add @since to getIP/getRawIP
Came in
r94932
, soemwhere after 1.18 was branched, so is in 1.19
Modified paths:
/trunk/phase3/includes/WebRequest.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/phase3/includes/WebRequest.php
—
—
@@ -1006,6 +1006,8 @@
1007
1007
/**
1008
1008
* Fetch the raw IP from the request
1009
1009
*
1010
+ * @since 1.19
1011
+ *
1010
1012
* @return String
1011
1013
*/
1012
1014
protected function getRawIP() {
—
—
@@ -1019,6 +1021,9 @@
1020
1022
/**
1021
1023
* Work out the IP address based on various globals
1022
1024
* For trusted proxies, use the XFF client IP (first of the chain)
1025
+ *
1026
+ * @since 1.19
1027
+ *
1023
1028
* @return string
1024
1029
*/
1025
1030
public function getIP() {
Past revisions this follows-up on
Revision
Commit summary
Author
Date
r94932
Moved wfGetIP() to WebRequest::getIP():...
ialex
20:03, 18 August 2011
Status & tagging log
20:25, 6 February 2012
Nikerabbit
(
talk
|
contribs
)
changed the
status
of r110776
[
removed:
new
added:
ok]