API throws "internal_api_error_MWException" on MW 1.25
Closed this issue · 5 comments
mwjames commented
I only tested this on 1.28 and the sandbox complains about
[85199326] Exception Caught: Internal error in ApiBase::getParameterFromSettings: Param text's type is unknown - text
"#0 /var/www/htdocs/mw/02100/w/includes/api/ApiBase.php(946): ApiBase::dieDebug(string, string)#1 /var/www/htdocs/mw/02100/w/includes/api/ApiBase.php(564): ApiBase->getParameterFromSettings(string, array, boolean)#2 /var/www/htdocs/mw/02100/w/includes/api/ApiMain.php(968): ApiBase->extractRequestParams()#3 /var/www/htdocs/mw/02100/w/includes/api/ApiMain.php(1117): ApiMain->setupModule()#4 /var/www/htdocs/mw/02100/w/includes/api/ApiMain.php(469): ApiMain->executeAction()#5 /var/www/htdocs/mw/02100/w/includes/api/ApiMain.php(442): ApiMain->executeActionWithErrorHandling()#6 /var/www/htdocs/mw/02100/w/api.php(88): ApiMain->execute()#7 {main}"
kghbln commented
Affirmative. Saw this on "Special:Version". Probably another idea will be to exclude this from working in namespace "Special".
mwjames commented
Link filtering is a bit of magic since there are no clear rules in MW on how to filter a href. Current rules are [0].
[0] https://github.com/SemanticMediaWiki/SummaryCards/blob/master/res/suc.cards.js#L93-L135