Skip to content

WikiTeq/mediawiki-i18n-check-action

Repository files navigation

Mediawiki Extension I18N Checker

The action is a composite action that will confirm that a MediaWiki extension documents the uses of all of its internationalization strings, and defines the strings that are used implicitly.

It makes use of:

At the moment, it does not support validation for skins.

Usage

- uses: wikiteq/mediawiki-i18n-check-action@main
  with:
    extension: DummyExtension

Inputs

  • extension - extension name to test (this should match the desired extension directory)

Example

The below is an example of how to setup your GitHub Actions workflow on extension repository:

.github/workflows/main.yml

name: Example

on:
  push:
    branches: [ master ]
  pull_request:
    branches: [ "*" ]

jobs:
  i18n-check:
    name: I18n check
    runs-on: ubuntu-latest
    steps:
      - name: I18n check action
        uses: wikiteq/mediawiki-i18n-check-action@main
        with:
          extension: MyExtension

About

GitHub actions action for checking i18n message usage, see https://docs.wikiteq.com/wiki/SEL/Parts

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published