Last modified: 2014-10-08 11:32:42 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T73230, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 71230 - Special:Import doesn't respect $wgMaxArticleSize
Special:Import doesn't respect $wgMaxArticleSize
Status: NEW
Product: MediaWiki
Classification: Unclassified
Export/Import (Other open bugs)
unspecified
All All
: Low normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-09-24 12:09 UTC by Nemo
Modified: 2014-10-08 11:32 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
Example XML (351.10 KB, application/x-7z-compressed)
2014-09-24 12:09 UTC, Nemo
Details

Description Nemo 2014-09-24 12:09:37 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

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links