Page MenuHomePhabricator

Can't publish feeds in the sidebar
Closed, InvalidPublic

Description

Can't publish feeds in the sidebar.

MediaWiki:Ffeed-enable-sidebar-links has been created, see https://zh.wikipedia.org/wiki/MediaWiki:Ffeed-enable-sidebar-links, but "Featured content feeds" does not appear in mainpage sidebar:
https://zh.wikipedia.org/wiki/Wikipedia:%E9%A6%96%E9%A1%B5

Event Timeline

This functionality isn't actually enabled on Wikimedia sites:

'wmgDisplayFeedsInSidebar' => [
	'default' => false,
	'testwiki' => true,
],

I don't know why, I guess feeds aren't that useful to most readers?

When I go to the zh.wp main page I do see:

<link rel="alternate" type="application/atom+xml" title="维基百科每日图片供稿" href="/w/api.php?action=featuredfeed&amp;feed=potd&amp;feedformat=atom"/>
<link rel="alternate" type="application/atom+xml" title="维基百科典范条目供稿" href="/w/api.php?action=featuredfeed&amp;feed=featured&amp;feedformat=atom"/>
<link rel="alternate" type="application/atom+xml" title="维基百科优良条目供稿" href="/w/api.php?action=featuredfeed&amp;feed=good&amp;feedformat=atom"/>
<link rel="alternate" type="application/atom+xml" title="维基百科“历史上的今天”供稿" href="/w/api.php?action=featuredfeed&amp;feed=onthisday&amp;feedformat=atom"/>
<link rel="alternate" type="application/atom+xml" title="维基百科“你知道吗?”供稿" href="/w/api.php?action=featuredfeed&amp;feed=dyk&amp;feedformat=atom"/>

so the feeds are actually working.

This functionality isn't actually enabled on Wikimedia sites:

It used to work for example on https://web.archive.org/web/20190712015845/https://fa.wikipedia.org/wiki/صفحهٔ_اصلی
"خوراک‌ها"

Is that deliberately changed? If not maybe bringing them back then deciding about them later with some sort of discussion with community would be better.

Umherirrender subscribed.

Works locally with (the default) $wgDisplayFeedsInSidebar = true and putting something into the page MediaWiki:Ffeed-enable-sidebar-links

But this feature is not active on wmf wikis and such this task is invalid.

Not sure if this could be enabled with a site config task, but that needs at least a local discussion/voting/consent on the affected wiki.
The config was active on testwiki, but it was described as "demo code" (7d062c189e1fa04d7c0e718a3817f06a2194d786) not sure if this is going something to be on wmf wiki.
The alternate links in the html code should be enough that browsers shows links to the user when something with feed is active in the browser and the user is interested in it.