Last modified: 2013-02-24 19:28:23 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T36968, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 34968 - FeaturedFeeds documentation shouldn't be output in API if there are no configured feeds
FeaturedFeeds documentation shouldn't be output in API if there are no config...
Status: RESOLVED WONTFIX
Product: MediaWiki extensions
Classification: Unclassified
FeaturedFeeds (Other open bugs)
unspecified
All All
: Low enhancement (vote)
: ---
Assigned To: Max Semenik
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-03-04 19:22 UTC by MZMcBride
Modified: 2013-02-24 19:28 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description MZMcBride 2012-03-04 19:22:50 UTC
This is related to bug 34967.

Currently the FeaturedFeeds extension will output documentation in <https://www.mediawiki.org/w/api.php> even if no feeds are configured. This is a bit brain-dead. You're telling the user "hey, you can retrieve these feeds... just kidding!"

It makes more sense (to me) to just not output any docs to the user if the module isn't actually available. Otherwise, it should be much clearer that the module currently doesn't do anything (and why).
Comment 1 Max Semenik 2013-02-24 19:28:23 UTC
The module is available. We don't want to dynamically disable modules if they have nothing to do - for performance and sanity reasons.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links