WikiIslam:Sandbox/WikiIslam:Setting up a new WikiIslam subdomain: Difference between revisions

a bit more
No edit summary
(a bit more)
Line 23: Line 23:
After the site is ready, link the site on [[MediaWiki:Sidebar]] for other subdomains. Also edit [[WikiIslam]] to link the new site.
After the site is ready, link the site on [[MediaWiki:Sidebar]] for other subdomains. Also edit [[WikiIslam]] to link the new site.


;Checklist
==Checklist==
This is a checklist for new website installations. These checks take some time to complete so do the most important/simple checks first (e.g. page views)
This is a checklist for new website installations. These checks take some time to complete so do the most important/simple checks first (e.g. page views)
* New Server Setup: Mediawiki is PHP/SQL based. Typical Shared hosting will not work since it is only sufficient for very small low-traffic websites. Use a VPS instead. NGinx is strongly recommended for higher speed instead of Apache ([http://www.theorganicagency.com/apache-vs-nginx-performance-comparison/ Apache/NGinx comparison for a SQL/PHP setup] and [https://www.wikivs.com/wiki/Apache_vs_nginx] for another comparison). NGinx can serve many more requests/second for the same CPU usage for a dynamic website. Also use Mediawiki's own file cache and any other methods available.
* New Server Setup: Mediawiki is PHP/SQL based. Typical Shared hosting will not work since it is only sufficient for very small low-traffic websites. Use a VPS instead. NGinx is strongly recommended for higher speed instead of Apache ([http://www.theorganicagency.com/apache-vs-nginx-performance-comparison/ Apache/NGinx comparison for a SQL/PHP setup] and [https://www.wikivs.com/wiki/Apache_vs_nginx] for another comparison). NGinx can serve many more requests/second for the same CPU usage for a dynamic website. Also use Mediawiki's own file cache and any other methods available.
;Primary Issues to check first
First the site should work for visitors and it should be protected against spam and vandalism.
* Original URLs should work (or incoming links will be broken). For example [http://www.wikiislam.net/Allah http://www.wikiislam.net/Allah] should work]). Links can be broken after creating short URLs with htaccess, rewrite or other methods. So if the new URL is http://www.wikiislam.net/index.php?Allah or something like that, this will result in incoming broken links.
* Original URLs should work (or incoming links will be broken). For example [http://www.wikiislam.net/Allah http://www.wikiislam.net/Allah] should work]). Links can be broken after creating short URLs with htaccess, rewrite or other methods. So if the new URL is http://www.wikiislam.net/index.php?Allah or something like that, this will result in incoming broken links.
* Images: Check pages which have images and see if images show up. Later also check if an image can be resized.
* Check a few page views in both logged-out and logged-in states.
* Email functions work: Enable emailing on an account and send a test email using the "email user" function (accessible on the left for a user who has email enabled)
* Links to sub-domain articles work
* Flagged revisions
* Main domain redirects work (should redirect to the main page)
* Page editing works. Use test pages.
* Anti-spam and anti-vandalism:
* Anti-spam and anti-vandalism:
** Anti-spam works. New account and anonymous edits should require a Captcha that works effectively for bots. ConfirmEdit's Questy Captcha is one of the best options.
** Anti-spam works. New account and anonymous edits should require a Captcha that works effectively for bots. ConfirmEdit's Questy Captcha is one of the best options. This is critical because spam bots attack the site every minute.
** Anti-vandalism features work (use extension AbuseFilter or other anti-vandalism methods).
** Anti-vandalism features work (use extension AbuseFilter or other anti-vandalism methods).
** Until the above two features work, user account registration and anonymous edits should be disabled.
** Until the above two features work, user account registration and anonymous edits should be disabled.
* Main domain and sub-domain redirects work (should redirect to the main page)
* Images: Check pages which have images and see if images show up.
;Other Issues
* Page editing works. Use test pages.
* Email functions work: Enable emailing on an account and send a test email using the "email user" function (accessible on the left for a user who has email enabled)
* Links to sub-domain articles work
* Flagged revisions should work
;As Time Permits:
* If time permits, check for issues in different browsers (Chrome, Firefox etc) and platforms (PC, Mobile, MAC). At the least check if a page can be viewed in a browser or platform.
* If time permits, check for issues in different browsers (Chrome, Firefox etc) and platforms (PC, Mobile, MAC). At the least check if a page can be viewed in a browser or platform.
* Login/Logout works. Check a few page views in both logged out and logged-in states.
* Login/Logout works.
* Check for server load. High traffic can be around 6-10 times the normal traffic. The server should still be able to work quickly without excessive CPU or swap usage.
* Check for server load. High traffic can be around 6-10 times the normal traffic. The server should still be able to work quickly without excessive CPU or swap usage.
* Check if an image can be resized. To check, just edit a page with an existing image, resize the image and do a preview.


;Tips
;Tips
* Look for advice from other Mediawiki users (the Mediawiki.org website, its help pages or email lists for MW users) for issues, for improving the performance of the site, for adding features/extensions to the site. Look at other wiki websites (register as a user, see their editing interface, see their Version page) to see what features they offer in case there's something that can be used on our site too.
* Look for advice from other Mediawiki users (the Mediawiki.org website, its help pages or email lists for MW users) for issues, for improving the performance of the site, for adding features/extensions to the site. Look at other wiki websites (register as a user, see their editing interface, see their Version page) to see what features they offer in case there's something that can be used on our site too.
* Keep regular site backups in multiple locations (e.g. your computer, backup drives, online backups, trusted friends). Keep backups that date back a few months. Give the latest backups to a few trusted people. Backup about once a month, or more often in case of more frequency editing.
* Keep regular site backups in multiple locations (e.g. your computer, backup drives, online backups, trusted friends). Keep backups that date back a few months. Give the latest backups to a few trusted people. Backup about once a month, or more often in case of more frequency editing.
* Use [https://www.mediawiki.org/wiki/Manual:How_to_debug Mediawiki debugging] to help troubleshoot errors/issues.
Autochecked users, Bureaucrats, Editors, oversight, recentchangescleanup, Reviewers, rollback, Administrators
19,746

edits