r40388 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r40387‎ | r40388 | r40389 >
Date:17:30, 3 September 2008
Author:demon
Status:old
Tags:
Comment:
Add @ingroup definitions to these. Created new group HTTP for web-related things (cookies, headers, HTTP requests, etc).
Modified paths:
  • /trunk/phase3/includes/HttpFunctions.php (modified) (history)
  • /trunk/phase3/includes/WebRequest.php (modified) (history)
  • /trunk/phase3/includes/WebResponse.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/WebRequest.php
@@ -39,7 +39,8 @@
4040 * not create a second WebRequest object; make a FauxRequest object if
4141 * you want to pass arbitrary data to some function in place of the web
4242 * input.
43 - *
 43+ *
 44+ * @ingroup HTTP
4445 */
4546 class WebRequest {
4647 var $data = array();
@@ -641,6 +642,7 @@
642643 /**
643644 * WebRequest clone which takes values from a provided array.
644645 *
 646+ * @ingroup HTTP
645647 */
646648 class FauxRequest extends WebRequest {
647649 var $wasPosted = false;
Index: trunk/phase3/includes/HttpFunctions.php
@@ -2,6 +2,7 @@
33
44 /**
55 * Various HTTP related functions
 6+ * @ingroup HTTP
67 */
78 class Http {
89 static function get( $url, $timeout = 'default' ) {
Index: trunk/phase3/includes/WebResponse.php
@@ -2,6 +2,7 @@
33 /**
44 * Allow programs to request this object from WebRequest::response()
55 * and handle all outputting (or lack of outputting) via it.
 6+ * @ingroup HTTP
67 */
78 class WebResponse {
89

Status & tagging log