Improve mediawiki version detection (#1914)

The versions of mediawiki can be a bit strange,
especially on [wikipedia](https://en.wikipedia.org/wiki/United_Arab_Emirates),
since apparently the WMF has special ones. I've also seen `-beta`
sometimes (altough I don't have a website handy to prove it, sorry :/ )
main
jvoisin 7 years ago committed by Elbert Alias
parent dc5b60a7aa
commit 5e5d38de02

@ -5197,9 +5197,10 @@
],
"html": "(?:<a[^>]+>Powered by MediaWiki</a>|<[^>]+id=\"t-specialpages)",
"icon": "MediaWiki.png",
"env": "^mediaWiki$",
"implies": "PHP",
"meta": {
"generator": "^MediaWiki ?([\\d.]+)$\\;version:\\1"
"generator": "^MediaWiki ?([\\d.]+)\\;version:\\1"
},
"website": "http://www.mediawiki.org"
},

Loading…
Cancel
Save