AYUSH GARG has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/188381

Change subject: documentation of ChannelFeed and AtomFeed class of Feed.php
......................................................................

documentation of ChannelFeed and AtomFeed class of Feed.php

Change-Id: Ib99d1545808ca5f47299c9f9f34f5722a3db6694
---
M includes/Feed.php
1 file changed, 6 insertions(+), 4 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/81/188381/1

diff --git a/includes/Feed.php b/includes/Feed.php
index 2fdfa42..f2f48d6 100644
--- a/includes/Feed.php
+++ b/includes/Feed.php
@@ -1,4 +1,4 @@
-<?php
+<?php
 /**
  * Basic support for outputting syndication feeds in RSS, other formats.
  *
@@ -184,7 +184,8 @@
 }
 
 /**
- * @todo document (needs one-sentence top-level class description).
+ *An Abstract class to support the outputting of syndication feeds in Atom and 
Rss format.  
+ *
  * @ingroup Feed
  */
 abstract class ChannelFeed extends FeedItem {
@@ -338,9 +339,10 @@
  */
 class AtomFeed extends ChannelFeed {
        /**
-        * @todo document
+        * Format a date given time stamp.
+        *
         * @param string|int $ts
-        * @return string
+        * @return string 
         */
        function formatTime( $ts ) {
                // need to use RFC 822 time format at least for rss2.0

-- 
To view, visit https://gerrit.wikimedia.org/r/188381
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib99d1545808ca5f47299c9f9f34f5722a3db6694
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: AYUSH GARG <ayush.c...@iitp.ac.in>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to