r59255 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r59254‎ | r59255 | r59256 >
Date:17:22, 19 November 2009
Author:werdna
Status:deferred
Tags:
Comment:
LiquidThreads: use main page URL instead of extension page as feed URL
Modified paths:
  • /trunk/extensions/LiquidThreads/api/ApiFeedLQTThreads.php (modified) (history)

Diff [purge]

Index: trunk/extensions/LiquidThreads/api/ApiFeedLQTThreads.php
@@ -53,9 +53,9 @@
5454
5555 $feedTitle = self::createFeedTitle( $params );
5656 $feedClass = $wgFeedClasses[$params['feedformat']];
57 - // TODO need a better URL :)
58 - $feedUrl = 'http://www.mediawiki.org/wiki/Extension:LiquidThreads';
5957 $feedItems = array();
 58+
 59+ $feedUrl = Title::newMainPage()->getFullURL();
6060
6161 $tables = array( 'thread' );
6262 $fields = array( $db->tableName( 'thread' ) . ".*" );

Status & tagging log