Merge "Added unicode encoding support flags to FileBackend"
[lhc/web/wiklou.git] / includes / api / ApiFeedContributions.php
index 4173402..afd5a13 100644 (file)
@@ -112,7 +112,7 @@ class ApiFeedContributions extends ApiBase {
                        return new FeedItem(
                                $title->getPrefixedText(),
                                $this->feedItemDesc( $revision ),
-                               $title->getFullURL(),
+                               $title->getFullURL( array( 'diff' => $revision->getId() ) ),
                                $date,
                                $this->feedItemAuthor( $revision ),
                                $comments
@@ -123,7 +123,7 @@ class ApiFeedContributions extends ApiBase {
        }
 
        /**
-        * @param $revision Revision
+        * @param Revision $revision
         * @return string
         */
        protected function feedItemAuthor( $revision ) {
@@ -131,7 +131,7 @@ class ApiFeedContributions extends ApiBase {
        }
 
        /**
-        * @param $revision Revision
+        * @param Revision $revision
         * @return string
         */
        protected function feedItemDesc( $revision ) {