aboutsummaryrefslogtreecommitdiffstats
path: root/includes/Feed
diff options
context:
space:
mode:
authorJames D. Forrester <jforrester@wikimedia.org>2024-08-28 10:49:33 -0400
committerTimo Tijhof <krinkle@fastmail.com>2024-09-10 16:50:02 -0700
commit2b11d61577dd1d850fd3168afc19e684ac89c2b5 (patch)
tree68187dec7b61e53ca37c2e2adf456cd1cca9c054 /includes/Feed
parent09121089f46c9ae9c78cee02209c4199f27e3ef8 (diff)
downloadmediawikicore-2b11d61577dd1d850fd3168afc19e684ac89c2b5.tar.gz
mediawikicore-2b11d61577dd1d850fd3168afc19e684ac89c2b5.zip
Migrate all uses of deprecated URL global functions to use wfGetUrlUtils()
wfGetUrlUtils() is also deprecated, but less so, so we can do this first and then properly replace the individual uses with dependency injection in local pieces of work. Also: * Switching Parser::getExternalLinkRel to UrlUtils::matchesDomainList exposed a type error in media.txt where $wgNoFollowDomainExceptions was set to a string (which is invalid) instead of an array. Bug: T319340 Change-Id: Icb512d7241954ee155b64c57f3782b86acfd9a4c
Diffstat (limited to 'includes/Feed')
-rw-r--r--includes/Feed/AtomFeed.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/includes/Feed/AtomFeed.php b/includes/Feed/AtomFeed.php
index 61ee80d51102..453943a39f75 100644
--- a/includes/Feed/AtomFeed.php
+++ b/includes/Feed/AtomFeed.php
@@ -75,6 +75,7 @@ class AtomFeed extends ChannelFeed {
/**
* Atom 1.0 requests a self-reference to the feed.
+ *
* @return string
*/
private function getSelfUrl() {
@@ -84,6 +85,7 @@ class AtomFeed extends ChannelFeed {
/**
* Output a given item.
+ *
* @param FeedItem $item
*/
public function outItem( $item ) {