Stable unique identifiers for your wiki pages. Maintain persistent references across MediaWiki page changes. Read more in the Persistent Page Identifiers documentation.
Table of Contents
Professional Wiki created this extension and provides MediaWiki Development, MediaWiki Hosting, and MediaWiki Consulting services.
See the Persistent Page Identifiers usage documentation.
See the Persistent Page Identifiers installation instructions.
See the Persistent Page Identifiers configuration reference.
Run composer install
in extensions/PersistentPageIdentifiers/
to make the code quality tools available.
You can use the Makefile
by running make commands in the PersistentPageIdentifiers
directory.
make ci
: Run everythingmake test
: Run all testsmake phpunit --filter FooBar
: run only PHPUnit tests with FooBar in their namemake phpcs
: Run all style checksmake cs
: Run all style checks and static analysis
Sometimes PHPStan generate errors or warnings we do not wish to fix.
These can be ignored by adding them to the respective baseline file. You can update
these files with make stan-baseline
.
- Generate a unique persistent identifier for each page
- Maintenance script to generate persistent identifiers for all pages without them
- Parser function to display the persistent identifier
- Include the persistent identifier in page information (
&action=info
) - API endpoint to get the persistent identifiers for pages
- Configurable format for the persistent identifier
- Compatibility with MediaWiki 1.39 up to 1.43
- Compatibility with PHP 8.1 up to 8.3