Hi all. When I open => Manual:MimeMagic.php and i click on 'classes' I get => https://doc.wikimedia.org/mediawiki-core/master/php/classMimeMagic.html which does not exist. If I click on source paths => source code: master • 1.34.0 • 1.33.2 • 1.31.6 only 1.31.6 is defined.
On the otherside, on => https://phabricator.wikimedia.org/rMW0041b43966d3a027495b028c26cbe861dabe60f5 I see comment
The MimeMagic class, deprecated since 1.28 has been removed. Get a MimeAnalyzer instance from MediaWikiServices instead.
I notice also in => https://phabricator.wikimedia.org/rMW0041b43966d3a027495b028c26cbe861dabe60f5#change-WwtX27eUR0gG that 'return new MimeMagic( $params );' becomes 'return new MimeAnalyzer( $params );'
So what is the current content of page Manual:MimeMagic.php ? Thanks.
Christian FR (talk) 22:25, 28 February 2020 (UTC)