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/core/ApiGalleryOptions.md.
  • 中文
  • Interface: ApiGalleryOptions

    Defined in: core/query/siteinfo.ts:319

    general.galleryoptions: the site's $wgGalleryOptions, with core's defaults filled in for any key the site omits.

    Properties

    captionLength

    captionLength: boolean

    Defined in: core/query/siteinfo.ts:330

    Whether captions are length-limited. A real boolean.


    imageHeight

    imageHeight: number

    Defined in: core/query/siteinfo.ts:327

    Thumbnail height in pixels.


    imagesPerRow

    imagesPerRow: number

    Defined in: core/query/siteinfo.ts:321

    Images per row; 0 lets the skin decide.


    imageWidth

    imageWidth: number

    Defined in: core/query/siteinfo.ts:324

    Thumbnail width in pixels.


    mode

    mode: string

    Defined in: core/query/siteinfo.ts:339

    Gallery layout, e.g. traditional, nolines, packed, modified-packed.


    showBytes

    showBytes: boolean

    Defined in: core/query/siteinfo.ts:333

    Whether file sizes are shown. A real boolean.


    showDimensions

    showDimensions: boolean

    Defined in: core/query/siteinfo.ts:336

    Whether dimensions are shown. A real boolean.