Topic on Project:Village Pump

Jump to navigation Jump to search
Summary by Wladek92

done; thanks.

Wladek92 (talkcontribs)

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)

Shirayuki (talkcontribs)

The page is being retained for archival purposes.

Wladek92 (talkcontribs)

Ok for the removal but it is said "removed completely in version 1.32 (after being deprecated in 1.28)." So why links to source code: master • 1.34.0 • 1.33.2 are still proposed since they are no longer defined ?
Rather should be displayed : "source code: 1.31.6" or someting like "source code: - • - • - • 1.31.6" for missing versions.

Christian FR (talk) 13:58, 29 February 2020 (UTC)

Wladek92 (talkcontribs)