https://bugzilla.wikimedia.org/show_bug.cgi?id=71230
Bug ID: 71230
Summary: Special:Import doesn't respect $wgMaxArticleSize
Product: MediaWiki
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: Export/Import
Assignee: [email protected]
Reporter: [email protected]
Web browser: ---
Mobile Platform: ---
Created attachment 16574
--> https://bugzilla.wikimedia.org/attachment.cgi?id=16574&action=edit
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
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l