WikiIslam:Sandbox/WikiIslam:Setting up a new WikiIslam subdomain: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(a checklist (some items)) |
||
Line 22: | Line 22: | ||
# Update links on translated articles on other language domains | # Update links on translated articles on other language domains | ||
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 | |||
This is a checklist for new website installations. | |||
* 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 | |||
* 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 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-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. |
Revision as of 00:49, 29 December 2015
|
These are the steps for setting up a new WikiIslam subdomain.
- Initial setup (Server access)
- Setup the subdomain URL, databases, files, cache directories. Follow the same subdomain shortform that Wikipedia uses (for example bg for Bulgarian)
- Database changes:
- Interwiki table: Edit Interwiki database tables to add rows to all sub-domain databases. One row will be added to each sub-domain database and it will be similar to:
INSERT INTO `mw_interwiki` (iw_prefix, iw_url, iw_local, iw_trans) VALUES ('bg', 'http://bg.wikiislam.net/wiki/$1', 1, 0);
See Manual:Interwiki for help.
- Interwiki table: Edit Interwiki database tables to add rows to all sub-domain databases. One row will be added to each sub-domain database and it will be similar to:
- Database changes:
- Modify the logo from the original PSD file (needs a translation of the site's name and the tag line. Use transparent background and a PNG file format as the output)
- Translate interface messages in "extensions/EditMonitor/EditMonitor.i18n.php" and "extensions/RecentChangesCleanup/RecentChangesCleanup.i18n.php". Upload the modified files.
- Populate 'wikiIslamDisableFileCache' in the LocalSettings.php for that domain to include at least one page (just use a dummy variable), to prevent an error message when logged out.
- Initial setup (on the wiki)
- Create any number of temporary pages that will be helpful for you in creating and setting up the site
- Create Administrator and Bureaucrat accounts at the new site and give them rights (Editor, Reviewer and em-bypass-2. Use em-bypass-1 for new users that join the site later)
- Create a page for Administrators (such as WikiIslam:Administrators) that has relevant information and links to frequently edited files or content for Administrative use. You can include shortcuts to the links mentioned on this page.
- Edit these pages for the subdomain: MediaWiki:Sidebar, MediaWiki:Rclinks, MediaWiki:Common.css
- Make a copy of MediaWiki:Vars on the new domain. The title 'MediaWiki:Vars' will remain as it is and is not translated.
- Make shortcuts to Site lock down which are seen at WikiIslam:Administrators.
- Move content
- Start moving content into the subdomain
- Update links on translated articles on other language domains
After the site is ready, link the site on MediaWiki:Sidebar for other subdomains. Also edit WikiIslam to link the new site.
- Checklist
This is a checklist for new website installations.
- Original URLs should work (or incoming links will be broken). For example 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
- 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 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-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.