Editing Help

From WikiIslam, the online resource on Islam
Revision as of 09:12, 16 September 2012 by Sahab (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Unless you are okay with having your IP address recorded in page histories, the first step for you would be to create an account Login-keys.png which only takes a minute. The answer for the anti-spam question is: OTSNP9. If you already have an account, you can login. When you are logged in, you will see your username at the top left of every page with various user specific links like My talk, Preferences and so on.

Login-create.png Feeling lost, need help or have a question or suggestion? Crystal Clear action edit add.png Make a post on the forum page

Wiki editing is very easy. Try any edit right now in the sandbox. Here's a direct link to edit the sandbox page. The edit link for each page is found at the top left and the "Save page" button is below the text box where you make your edits. Experiment and make as many edits as you like.

Exploring the Wiki

Seeing what's happening on the wiki

  • How do I see edits by other users?
    • Click Recent changes in the left menu to see the most recent edits. The number of edits shown can be changed by clicking 100, 250 and 500.
    • One way to see the edits of a certain user is to click the 'contribs' link of user. You can also go to their user page (by clicking their name) and then clicking 'User contributions' in the Toolbox menu at the bottom left of the page.
  • How do I know what edits I have made? Link in the top left "My contributions" will show you your past edits.
  • The new articles list shows some recent articles.
  • Every page has a "View history" link which shows you past edits for that page.
  • 'Diff' means the difference between that version of the page and the version just before it. When you view a Diff link, you will see next/prev links to take to you the next and previous versions respectively. Changes between the two versions will be highlighted.

Communicating with other editors

  • The forum page can be used as a discussion area for any topic or for asking for assistance.
  • 'My talk' (top left) is a page where people can leave you messages. You can either reply there, or use the other person's talk page. When your talk page is changed by a user, you will see a "new message" notice.
  • Private communication: If you have set an email in your Preferences (top left), you can email another user who has also set their email by clicking the "Email this user" link in the Toolbox menu.

Looking for a certain page or topic?

  • The site map is a great place to start. Also try the links for the Core articles on the left.
  • You can also use the search at the top right of each page.
  • Currently we do not have an easy way to search the site with Google, but you can use this in a Google search to Google search within the site: My topic site:wikiislam.net
  • Want to bookmark a certain article or user page? Click "Watch" in the arrow drop-down at the top right. The page will then show up in your watch list which is only accessible to you. You can also create links to any page by editing your user page.

The Special pages link in the Toolbox menu has all kinds of tools such as Maintenance reports, list of pages, user information and so on.

Here is how to create a new page, format text, make references, insert images and tables and do more.

How to Create a New Page

Enter the name of the page to be created in this box:


You can also type in the name of the article for example [[My new article]] and it will appear as My new article. When you click this link, it will create your new page with the title "My New Article". Another way of creating an article is typing its name in the URL above, such as: http://www.wikiislam.net/index.php/My New Article

Changing the name of a page

After a page has already been created and edited, its title can be changed by clicking the "move" tab to move the page to a new title.

Page titles

Page URL's should only have these characters in them: letters (any case; non-English/Latin script is fine), numbers, dashes and spaces. Other characters (colon, brackets, dots, commas, apostrophes, quotation marks, ampersand, etc) may break links posted on some forums and websites. Page titles can be set different from the page URL by using {{page_title|Desired page title}}

Formatting Text

See the Cheatsheet. Practice using the wiki software here

Referencing the Qur'an, Hadith and other Sources

It is easy to make automatic linked references to the Qur'an and Hadith - no longer will you have to find the URL of the verse or hadith you're looking for. Refer to WikiIslam:Standardization for how to use this method. Also, below the edit box and on the editing toolbar, you'll find shortcuts to these Islamic markups.

Uploading Images

  1. Filesize: Images should be of the minimum quality that is needed for the site, and file size should be as small as possible. JPGs saved with 70% or 80% quality are recommended. The image should be have too many pixels on either side (for example 2000 pixels). For very small images and icons, use the GIF format unless you plan to resize it. Use other image file formats (PNG for example) only if you have to. You can use online image processing websites ([1]) for reducing the file size or image dimensions. Ideally it should contain letters, numbers, dashes and underscores only. Dont use commas and ampersands (&).
  2. Filenames: Use a filename that's not too long (a few words for example). A long file name will cause problems in site backups as some systems do not accept files with names that are too long. Make sure there are no foreign characters in the filename. If you're not sure about that, the best way to write a filename is to delete the original name and make up your own.

When you have the file ready to be uploaded:

  1. Click on the "Upload file" link on the left Upload-image-help.gif
  2. Browse for your file and upload it
  3. Insert the uploaded image into the page by using: [[File:My-New-Image.jpg|right|thumb|This is my caption|200px]]

Right can be changed to left to left align and 200px is the width of the image's size.

Images that you can use

All uploaded files are accessible in the Upload log

Using Content from Wikipedia

  • Copying articles from Wikipedia is not encouraged. To link to an article on Wikipedia (for example, for non-Islam related articles), use [[w:Chicago|this city]], which will produce: this city.
  • The Wikipedia Content Converter (link to tool) can be used to automatically convert [[article]] formatted links into [[w:article|article]] format. This is helpful when you have a page with a lot of links that should be linked to articles in Wikipedia.

Advanced Editing

Making links on images

Making links on images is possible as in HTML. Here is an example:

[[File:Flag of UAE.png|link=FAQ]]

Produces this image with a link to the FAQ: Flag of UAE.png

To link the image to an external web address simply replace FAQ by the complete URL.

Defining CSS styles

You can define CSS styles here MediaWiki:Common.css and apply them anywhere in the Wiki. See the MediaWiki page for examples of CSS used on Mediawiki.

Making HTML forms

Using the InputBox extension, you can make search boxes, enable page edits from a box and create userboxes. An example is the Create box at the top of this page.

Anchor links

  • Use {{anchor|foo}}, to create a hidden anchor which can be accessed on the page with [[#foo]]
  • See: mediawiki help page

Templates

Templates are a very useful tool for re-using content. See WikiIslam:Templates for more detail.

Link Search

Special:LinkSearch can be used to search links to external sites.

Due to a bug, the various links (next 50, 500 etc) do not work. Use this instead to see more, or just add &limit=500 at the end:

This to see the next 50 or 500 and so on (add &offset=50 at the end):

Useful Shortcuts and Hints

  • Hide Edit links: Use __NOEDITSECTION__ to hide "edit" links in an article. Use this only if you are sure the article is finalized and/or you want to discourage editing such as in the case of a "read-only" article.
  • Adding Hidden Comments: Adding editing comments that dont appear in a rendered version of the page: <!-- This is a comment -->
  • Variables on a page: Other Useful variables that you can use in a page:
    • {{PAGENAME}}: For this page, gives: Contents
    • {{fullurl:pagename}}: For this page gives: //wikiislam.net/wiki/Pagename
    • Controls for TOC: Putting __TOC__ anywhere forces the TOC (table of contents) to appear at that point (instead of just before the first header). Putting __NOTOC__ anywhere forces the TOC to disappear. {{TOCright}} causes the table of contents to float to the Right like on the top of this page. {{TOCleft}} causes the TOC to float to the left.
    • To make a link to the Discussion tab of the present page: [[{{NAMESPACE}} Talk:{{PAGENAME}}|Discussion]]. If there's a namespace (such as for this page, Help:), you'll have to use the specific namespace e.g.: [[{{ns:13}}:{{PAGENAME}}|Discussion]], which for this page produces this link: Discussion. [[Talk:{{PAGENAME}}|talk page]] also works.
    • To make a link to the Edit tab of the present page: [{{fullurl:{{PAGENAME}}|action=edit}} Edit this page]. If there's a namespace (for this page, it is "Help:"), then use: [{{fullurl:{{NAMESPACE}}:{{PAGENAME}}|action=edit}} Edit this page], which produces for this page: Edit this page
    • To make a direct link for account creation, use: [{{fullurl:Special:Userlogin|type=signup}} Create an account]. This results in: Create an account
  • ":" indents text
  • ";" shortcut for a small bold heading
  • Refresh Page cache: Add this at the end of a URL to refresh the page cache: ?action=purge

More help on variables and general editing at WikiPedia: How to edit a page

Saving your Work

Clicking the Submit/Save/Preview button for any website is sometimes a risky situation where our submitted text may be lost due to a bad internet connection, browser crash or server issue. Its helpful to get in a habit of "copying" text that has had some work put into it. Here are the steps for making sure your work is never lost:

  • Copying text: Right before you submit text into a website, copy it into the copy buffer by doing the following steps:
    1. "Select All" text: This is done by either (1) pressing CTRL-A, or (2) right clicking in the Edit window to get a popup menu and choosing "Select All". You will see all the text being selected.
    2. Copy the text into the copy buffer by pressing (1) CTRL-INSERT (Windows) or (2) right clicking in the Edit window to get the popup menu and click "Copy".
    3. If you're not sure whether the text was copied, open Notepad and paste the text in by pressing SHIFT-INSERT, or click "Paste" in the Edit menu of Notepad. Once you learn this copy-paste method, you will become confident that your text has been copied after you do step 2.
    4. The quickest way in Windows is: (1) CTRL-A to select all text (2) CTRL-INSERT to copy the text
  • Submit: You can now submit the text to the website using the Save/Submit button.
  • Restoring text: If there's a submission error, you can now either press Back (usually works in Firefox but not IE) and get your text back, or if the browser does not restore the text for you, you can now press SHIFT-INSERT to paste the text. If by mistake you press CTRL-INSERT at this point, you will lose the copied text. So when you are pasting text, always make sure you are pressing doing a paste (Edit->Paste, or SHIFT-INSERT).

Miscellaneous

Search engine text

This puts in text that appears in the results for search engines. It can be used for popular pages. For example for the 72 virgins article, we have:

<metadesc>What the Qur'an, hadith and Islamic scholars say about the 72 Virgins, and their physical, sexual and personality attributes.</metadesc>

Dealing with Vandalism

  • For sysops: After blocking the vandal, click on their Contributions link and then add &bot=1 at the end of their contribution URL to hide edits in Recent Changes from vandals and press Enter to generate the new Contributions page. For example:
http://www.wikiislam.com/w/index.php?title=Special:Contributions&target=Example?bot=1
After this if you click on the rollback links from this new page with the 'bot' modified URL, the edits of the vandal and your reverts both will be hidden from the Recent Changes. The edits will still be stored on the individual page histories. Also see WikiIslam:Vandalism
  • If you are not a sysop: The simplest way to revert vandalism is to see the History of the page in question and click on the "Last" link (you'll see 2 links together for each version of a page: (cur) (last)) for the most recent legitimate version of the article. Then click "Edit" (it will give a prompt which you can ignore: You are modifying a previous version of this page) and save the article. This will revert the vandalism. In steps:
    • See History of the page in Question
    • Click on "Last" link for the most recent legitimate version of the page
    • Click "Edit"
    • Save page with comment "reverting vandalism"


See Also

Helpful Links

Policies and guidelines

Administration

If you would like further assistance with anything on this website or have questions, please use the Help and Inquiries page.