Skip to content

Commit

Permalink
Use ParserMigration on MW 1.41+ (#5351)
Browse files Browse the repository at this point in the history
  • Loading branch information
paladox authored Nov 2, 2023
1 parent cade799 commit 604a37f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions GlobalExtensions.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@
'cldr',
] );

if ( version_compare( MW_VERSION, '1.41', '>=' ) ) {
wfLoadExtension( 'ParserMigration' );
}

// Renameuser is bundled into core from 1.40+
if ( version_compare( MW_VERSION, '1.40', '<' ) ) {
wfLoadExtension( 'Renameuser' );
Expand Down

0 comments on commit 604a37f

Please sign in to comment.