mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/TemplateData
synced 2024-11-27 17:20:01 +00:00
Re-add version_compare (>= 1.22wmf18)
Follows-up 98cf7e35e
.
Change-Id: I07a63effb5cdb14e48c6b69780fe71dc24f17fd9
This commit is contained in:
parent
98cf7e35e3
commit
3ab2b4439a
|
@ -6,6 +6,11 @@
|
|||
* @ingroup Extensions
|
||||
*/
|
||||
|
||||
if ( version_compare( $wgVersion, '1.22wmf18', '<' ) ) {
|
||||
echo "Extension:TemplateData requires MediaWiki 1.22 or higher.\n";
|
||||
exit( 1 );
|
||||
}
|
||||
|
||||
$wgExtensionCredits['parserhook'][] = array(
|
||||
'path' => __FILE__,
|
||||
'name' => 'TemplateData',
|
||||
|
|
Loading…
Reference in a new issue