Simplify mediawiki version detection (#2071)

Mediawiki versions can contain a lot of different letters, like
[`1.31.0-wmf.17`](view-source:https://en.wikipedia.org/wiki/Token_bucket),
so there is no need to check for numbers specifically.
main
jvoisin 7 years ago committed by Elbert Alias
parent 65e01f3a42
commit ffc7538116

@ -5745,7 +5745,7 @@
"icon": "MediaWiki.png",
"implies": "PHP",
"meta": {
"generator": "^MediaWiki ?([\\d.]+)$\\;version:\\1"
"generator": "^MediaWiki ?(.+)$\\;version:\\1"
},
"website": "http://www.mediawiki.org"
},