[go: up one dir, main page]

Page MenuHomePhabricator

apihelp-main-param-uselang/apihelp-main-param-errorlang could use a better link for ApiHelp
Closed, ResolvedPublic

Description

We currently do:

	"apihelp-main-param-uselang": "Language to use for message translations. <kbd>[[Special:ApiHelp/query+siteinfo|action=query&meta=siteinfo]]</kbd> with <kbd>siprop=languages</kbd> returns a list of language codes, or specify <kbd>user</kbd> to use the current user's language preference, or specify <kbd>content</kbd> to use this wiki's content language.",
	"apihelp-main-param-errorlang": "Language to use for warnings and errors. <kbd>[[Special:ApiHelp/query+siteinfo|action=query&meta=siteinfo]]</kbd> with <kbd>siprop=languages</kbd> returns a list of language codes, or specify <kbd>content</kbd> to use this wiki's content language, or specify <kbd>uselang</kbd> to use the same value as the <var>uselang</var> parameter.",

I don't know why we don't actually link that one properly, I think I'll fix that...

Event Timeline

For ref, we have the prop= in the link display text in other examples:

	"apihelp-delete-param-oldimage": "The name of the old image to delete as provided by [[Special:ApiHelp/query+imageinfo|action=query&prop=imageinfo&iiprop=archivename]].",

Change 1008459 had a related patch set uploaded (by Reedy; author: Reedy):

[mediawiki/core@master] api: Improve linking of language codes in i18n messages

https://gerrit.wikimedia.org/r/1008459

Reedy triaged this task as Low priority.Mar 4 2024, 2:48 PM

Change 1008459 merged by jenkins-bot:

[mediawiki/core@master] api: Improve linking of language codes lists in top level i18n messages

https://gerrit.wikimedia.org/r/1008459

Change 1008999 had a related patch set uploaded (by Reedy; author: Reedy):

[mediawiki/core@REL1_41] api: Improve linking of language codes lists in top level i18n messages

https://gerrit.wikimedia.org/r/1008999

Change 1009000 had a related patch set uploaded (by Reedy; author: Reedy):

[mediawiki/core@REL1_40] api: Improve linking of language codes lists in top level i18n messages

https://gerrit.wikimedia.org/r/1009000

Change 1009001 had a related patch set uploaded (by Reedy; author: Reedy):

[mediawiki/core@REL1_39] api: Improve linking of language codes lists in top level i18n messages

https://gerrit.wikimedia.org/r/1009001

Change 1009001 merged by jenkins-bot:

[mediawiki/core@REL1_39] api: Improve linking of language codes lists in top level i18n messages

https://gerrit.wikimedia.org/r/1009001

Change 1008999 merged by jenkins-bot:

[mediawiki/core@REL1_41] api: Improve linking of language codes lists in top level i18n messages

https://gerrit.wikimedia.org/r/1008999

Change 1009000 merged by jenkins-bot:

[mediawiki/core@REL1_40] api: Improve linking of language codes lists in top level i18n messages

https://gerrit.wikimedia.org/r/1009000

Reedy claimed this task.