Making a English Wikipedia server: Difference between revisions

Spell checked
Finish configuring LocalSettings.php: Added large article part to LocalSettings.php
Line 175: Line 175:
  # Show PHP exceptions (only enable on error)
  # Show PHP exceptions (only enable on error)
  #$wgShowExceptionDetails = true;
  #$wgShowExceptionDetails = true;
* Add the following block at the end - this allows larger modules to be uploaded without errors:
$wgMaxArticleSize = 4096;      # Size in kb
$wgAPIMaxResultSize = 4096000;  # Size in b


Go back to the website and check that it is still functional. If you are greeted by a blank page, the most common reason is a missing <code>;</code> at the end of a line - all lines must end with a <code>;</code>.
Go back to the website and check that it is still functional. If you are greeted by a blank page, the most common reason is a missing <code>;</code> at the end of a line - all lines must end with a <code>;</code>.


== Importing the dump ==
== Importing the dump ==