Skip to content

Instantly share code, notes, and snippets.

View gist:1ca694f321c38399391513a4ce3af8bb
[exception] [Xrq189iyj7Q5rpwiGRrILQAAAJU] /index.php?title=Test&action=submit Error from line 1634 of /extensions/AbuseFilter/includes/parser/AbuseFilterParser.php: Class 'Wikimedia\Equivset\Equivset' not found
#0 /extensions/AbuseFilter/includes/parser/AbuseFilterParser.php(1483): AbuseFilterParser::ccnorm(string)
#1 /extensions/AbuseFilter/includes/parser/AbuseFilterParser.php(1277): AbuseFilterParser->funcCCNorm(array)
#2 /extensions/AbuseFilter/includes/parser/AbuseFilterParser.php(1029): AbuseFilterParser->callFunc(string, array)
#3 /extensions/AbuseFilter/includes/parser/AbuseFilterParser.php(951): AbuseFilterParser->doLevelFunction(AFPData)
#4 /extensions/AbuseFilter/includes/parser/AbuseFilterParser.php(896): AbuseFilterParser->doLevelBraces(AFPData)
#5 /extensions/AbuseFilter/includes/parser/AbuseFilterParser.php(885): AbuseFilterParser->doLevelArrayElements(AFPData)
#6 /extensions/AbuseFilter/includes/parser/AbuseFilterParser.php(833): AbuseFilterParser->doLevelUnarys(AFPData)
#7 /extensions/Abuse
@nimasdj
nimasdj / MimeTypes.php
Last active Oct 17, 2020
List of MimeTypes mapped to file extensions
View MimeTypes.php
<?php
// I made this array by joining all the following lists + .php extension which is missing in all of them.
// please contribute to this list to make it as accurate and complete as possible.
// https://gist.github.com/plasticbrain/3887245
// http://pastie.org/5668002
// http://pastebin.com/iuTy6K6d
// total: 1223 extensions as of 16 November 2015
$mime_types = array(
'3dm' => array('x-world/x-3dmf'),
'3dmf' => array('x-world/x-3dmf'),