For AI agents: the complete documentation index is available at https://types-mediawiki-response.pages.dev/zh/llms.txt, the full documentation bundle is available at https://types-mediawiki-response.pages.dev/zh/llms-full.txt, and this page is available as Markdown at https://types-mediawiki-response.pages.dev/zh/api/extensions/translate/ApiTranslationAidsPayload.md.
  • 中文
  • Interface: ApiTranslationAidsPayload

    Defined in: extensions/translate.ts:278

    The helpers map of action=translationaids. Members are the aid types of the TranslationAids registry — the built-in ones are declared here for autocomplete, the index signature keeps hook-registered aids usable.

    Indexable

    [key: string]: unknown[] | ApiTranslationAid | undefined

    Properties

    definition?

    optional definition?: ApiTranslationAid

    Defined in: extensions/translate.ts:280

    Source-language definition of the message.


    definitiondiff?

    optional definitiondiff?: ApiTranslationAid

    Defined in: extensions/translate.ts:292

    Diff of the definition since the translation was made.


    documentation?

    optional documentation?: ApiTranslationAid

    Defined in: extensions/translate.ts:286

    {{Documentation}} subpage content; error when docs are disabled.


    editsummaries?

    optional editsummaries?: ApiTranslationAid

    Defined in: extensions/translate.ts:295

    Edit summaries of the definition page.


    gettext?

    optional gettext?: ApiTranslationAid

    Defined in: extensions/translate.ts:298

    Gettext metadata for gettext-defined messages.


    inotherlanguages?

    optional inotherlanguages?: unknown[]

    Defined in: extensions/translate.ts:289

    Existing translations in other languages; a list.


    insertables?

    optional insertables?: ApiTranslationAid

    Defined in: extensions/translate.ts:301

    Insertable wikitext snippets (customizable via hooks).


    mt?

    optional mt?: ApiTranslationAid

    Defined in: extensions/translate.ts:304

    Machine-translation suggestions, when a service is configured.


    support?

    optional support?: ApiTranslationAid

    Defined in: extensions/translate.ts:307

    Human translation support (e.g. TTMServer suggestions).


    translation?

    optional translation?: ApiTranslationAid

    Defined in: extensions/translate.ts:283

    The current translation in the target language.