dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Add cURL constants test"
[lhc/web/wiklou.git]
/
includes
/
Feed.php
diff --git
a/includes/Feed.php
b/includes/Feed.php
index
60e623b
..
2fdfa42
100644
(file)
--- a/
includes/Feed.php
+++ b/
includes/Feed.php
@@
-37,19
+37,19
@@
*/
class FeedItem {
/** @var Title */
*/
class FeedItem {
/** @var Title */
- p
rotected
$title;
+ p
ublic
$title;
- p
rotected
$description;
+ p
ublic
$description;
- p
rotected
$url;
+ p
ublic
$url;
- p
rotected
$date;
+ p
ublic
$date;
- p
rotected
$author;
+ p
ublic
$author;
- p
rotected
$uniqueId;
+ p
ublic
$uniqueId;
- p
rotected
$comments;
+ p
ublic
$comments;
public $rssIsPermalink = false;
public $rssIsPermalink = false;
@@
-258,20
+258,11
@@
abstract class ChannelFeed extends FeedItem {
}
/**
}
/**
- * Output the initial XML headers with a stylesheet for legibility
- * if someone finds it in a browser.
+ * Output the initial XML headers.
*/
protected function outXmlHeader() {
*/
protected function outXmlHeader() {
- global $wgStylePath, $wgStyleVersion;
-
$this->httpHeaders();
echo '<?xml version="1.0"?>' . "\n";
$this->httpHeaders();
echo '<?xml version="1.0"?>' . "\n";
- echo '<?xml-stylesheet type="text/css" href="' .
- htmlspecialchars( wfExpandUrl(
- "$wgStylePath/common/feed.css?$wgStyleVersion",
- PROTO_CURRENT
- ) ) .
- '"?' . ">\n";
}
}
}
}