From 45c87acdd0f98c25d2ddec32cea46cbe983a085a Mon Sep 17 00:00:00 2001 From: "Mark A. Hershberger" Date: Wed, 20 Apr 2011 04:28:20 +0000 Subject: [PATCH] Revert r86455 based on bawolff's comments --- includes/Feed.php | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/includes/Feed.php b/includes/Feed.php index 183b8e6e59..8f54ec0d32 100644 --- a/includes/Feed.php +++ b/includes/Feed.php @@ -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 * -- 2.20.1