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.
- uses: wikiteq/mediawiki-i18n-check-action@main
with:
extension: DummyExtension
extension
- extension name to test (this should match the desired extension directory)
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