Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F1790
Feed.php.diff.txt
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
•
bzimport
Nov 21 2014, 8:09 PM
2014-11-21 20:09:49 (UTC+0)
Size
990 B
Referenced Files
None
Subscribers
None
Feed.php.diff.txt
View Options
--- ../src/mediawiki-1.5.2/includes/Feed.php 2005-07-18 11:28:58.000000000 +0800
+++ includes/Feed.php 2006-01-06 17:00:01.478189096 +0800
@@ -197,11 +197,12 @@
* @param FeedItem item to be output
*/
function outItem( $item ) {
+ global $wgServer, $wgStylePath, $wgDefaultSkin;
?>
<item>
<title><?php print $item->getTitle() ?></title>
<link><?php print $item->getUrl() ?></link>
- <description><?php print $item->getDescription() ?></description>
+ <description><style type="text/css">@import "<?php print "$wgServer$wgStylePath/$wgDefaultSkin/main.css"?>";</style><?php print $item->getDescription() ?></description>
<?php if( $item->getDate() ) { ?><pubDate><?php print $this->formatTime( $item->getDate() ) ?></pubDate><?php } ?>
<?php if( $item->getAuthor() ) { ?><dc:creator><?php print $item->getAuthor() ?></dc:creator><?php }?>
<?php if( $item->getComments() ) { ?><comments><?php print $item->getComments() ?></comments><?php }?>
File Metadata
Details
Attached
Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1371
Default Alt Text
Feed.php.diff.txt (990 B)
Attached To
Mode
T3284: Diffs in RSS, Atom feeds missing stylesheet
Attached
Detach File
Event Timeline
Log In to Comment