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 @@
10071007 /**
10081008 * Fetch the raw IP from the request
10091009 *
 1010+ * @since 1.19
 1011+ *
10101012 * @return String
10111013 */
10121014 protected function getRawIP() {
@@ -1019,6 +1021,9 @@
10201022 /**
10211023 * Work out the IP address based on various globals
10221024 * For trusted proxies, use the XFF client IP (first of the chain)
 1025+ *
 1026+ * @since 1.19
 1027+ *
10231028 * @return string
10241029 */
10251030 public function getIP() {

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r94932Moved wfGetIP() to WebRequest::getIP():...ialex20:03, 18 August 2011

Status & tagging log