Revert r86455 based on bawolff's comments
authorMark A. Hershberger <mah@users.mediawiki.org>
Wed, 20 Apr 2011 04:28:20 +0000 (04:28 +0000)
committerMark A. Hershberger <mah@users.mediawiki.org>
Wed, 20 Apr 2011 04:28:20 +0000 (04:28 +0000)
includes/Feed.php

index 183b8e6..8f54ec0 100644 (file)
@@ -79,6 +79,15 @@ class FeedItem {
                return $this->Title->getTouched();
        }
 
+       /**
+        * Get the last touched timestamp
+        *
+        * @return String last-touched timestamp
+        */
+       public function getLastMod() {
+               return $this->Title->getTouched();
+       }
+
        /**
         * Encode $string so that it can be safely embedded in a XML document
         *
@@ -132,6 +141,16 @@ class FeedItem {
                return $this->Title->getPrefixedDBKey();
        }
 
+       /**
+        * Get the DB prefixed title
+        *
+        * @return String the prefixed title, with underscores and
+        *  any interwiki and namespace prefixes
+        */
+       public function getDBPrefixedTitle() {
+               return $this->Title->getPrefixedDBKey(),
+       }
+
        /**
         * Get the URL of this item; already xml-encoded
         *