Last modified: 2014-10-08 11:32:42 UTC
Created attachment 16574 [details] Example XML 1) Set $wgMaxArticleSize to 1024 2) Import the attached XML (it's [[User:Moudy83/conference_papers]]) Expected result: the page is rejected, because it's 1500 KB. Actual results: == http://wikipapers.referata.com/w/index.php?title=Special:Import&action=submit == Importazione delle pagine in corso... User:Moudy83/conference papers 6 revisioni importate Importazione non riuscita: Content of User:Moudy83/conference_papers is not valid! Content model is wikitext == http://wikipapers.referata.com/wiki/User:Moudy83/conference_papers == Fatal error: Call to undefined method stdClass::getRedirectChain() in /home/yaron57/public_html/w/includes/Article.php on line 691 == Context == Before setting $wgMaxArticleSize, saving in action=edit was possible but resulted in a DB error: Funzione: Revision::insertOn Errore: 1153 Got a packet bigger than 'max_allowed_packet' bytes (localhost) After setting the variable, the edit is correctly rejected, unless I reduce it below the limit: http://wikipapers.referata.com/w/index.php?title=User:Moudy83/conference_papers2&oldid=24717