Page MenuHomePhabricator

"Main module" is a confusing header for MediaWiki API help page
Open, LowPublicFeature

Description

"Main module", what's that? Never heard of such a thing; mediawiki.org doesn't know either. https://www.mediawiki.org/w/index.php?title=Special%3ASearch&search="main+module"

Given the purpose of this page is mainly to provide the (fantastic!) links à la http://deployment.wikimedia.beta.wmflabs.org/w/api.php?action=help&modules=query , I'd replace the header with "Available actions" or even "Index", to give a nudge in the direction of the path most users will be taking.

Alternatively, if the aim is to describe the content of the section, it should be something like "generic parameters".


Version: unspecified
Severity: enhancement
URL: http://deployment.wikimedia.beta.wmflabs.org/w/api.php

Details

Reference
bz72018

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 3:51 AM
bzimport set Reference to bz72018.
bzimport added a subscriber: Unknown Object (MLST).

The main module is ApiMain.php, which delegates out to the various submodules via the action= parameter and is the main entry point. It's a bit weird to think of each individual API module as a submodule, but that's how it works internally.

This is just the "api-help-main-header" message, so should be easy to fix whenever we come up with an alternative term for it :)

Neither "Available actions" nor "Index" nor "Generic parameters" are really accurate IMO.

Aklapper changed the subtype of this task from "Task" to "Feature Request".Feb 4 2022, 11:12 AM