साहाय्यम्:सम्पादनम्
Help:Editing Wikisource |
One of a series of quick guides: General introduction – Reading – Editing – Adding new texts – Adding images – Other help
|
The most basic wiki feature is the 'edit' tab. With a few exceptions, you can edit every page on Wikisource. By the nature of Wikisource, original texts should not be changed, except for correcting errors. However, you are encouraged to help in the proofreading process and to add new primary source texts. The Sandbox exists solely for tests, so feel free to use it to experiment.
Basic editing
सम्पाद्यताम्When you click edit at the top of a page, you'll find yourself in the 'edit view'. The box contains the text and code of the page in the Wiki markup format explained below; make any changes you think improve the page. Above the edit box are buttons which will emphasize selected text and other shortcuts. Below the box, you'll find the insert box. Click on a symbol inside this box to automatically insert it into the edit box where you last placed your cursor.
A very useful feature to use before saving is the Show preview button. This will show you the page exactly as it will appear after you save, so it's a good way to make sure everything is working correctly. Once you're done, please write a brief summary of your changes in the edit summary box. The summary can be very descriptive or very terse, as you see fit; for example, other editors will understand that the edit summary "typo" means you are correcting a minor spelling or punctuation correction. Accurate edit summaries are considered good etiquette.
If it's a very minor change, you can mark it as minor by checking the appropriate box below the edit summary. This feature is only available to registered users. It's possible to hide minor edits in the recent changes list. Note that marking an obviously major edit as minor is widely considered bad behaviour. If you accidentally mark a major edit as minor, make a trivial edit to the page (like changing one space) and write "the previous edit was not minor" or some such in the edit summary. The Show changes button will provide a side-by-side comparison of your revision with highlighted differences.
Once you're done, click the Save page to save your edits. The new version of the page will be visible immediately.
Wiki markup
सम्पाद्यताम्Wikisource uses a special syntax called Wikitext or Wiki markup to format and link text. Wiki markup is especially designed to be easy to use.
In the boxes below, you can read the finished version on the right, and what you type is on the left. फलकम्:Markup
Templates for other effects
सम्पाद्यताम्For more complex layout, templates are normally the favored approach in Wikisource. These are indicated by a pair of braces {{ }}, with a name and other information following a | character inside. फलकम्:Markup
- See also {{hanging indent}}, {{drop initial}}, {{gap}}, etc., in Category:Formatting templates. The use of {{running header}}, {{Hyphenated word start}}, etc., is explained at Help:Proofread
Footnotes
सम्पाद्यताम्Footnotes found at the bottom of the scanned page, denoted with ¹ * †, etc., are replaced by inline versions which are normally rendered at the end of a chapter or article. They introduce a third notation used in Wikitext, that of the underlying html used for web pages, which has been extended for the purpose. These use a pair of matching brackets, in this case <ref> and </ref> to enclose the footnote and an unpaired version <references /> to indicate where any accumulated references are to be printed.
Links
सम्पाद्यताम्It is possible to create links to a page on Wikisource, on another wiki, or on the Internet. See also: Style Guide: links
- Wikilinks:
[[The Tragedy of Julius Caesar]]
displays an internal link to the Wikisource page The Tragedy of Julius Caesar by using double square brackets. You can also create a 'piped link', which displays text that differs from the target:[[The Tragedy of Julius Caesar|Julius Caesar]]
displays as Julius Caesar. - Author links: a link to an author uses a prefix for that Wikisource namespace, as in Author:William Shakespeare. You can suppress the display of the prefix by using a 'pipe' without anything after it:
[[Author:William Shakespeare|]]
. - Subpage links: Sections of text, such as chapters in a novel, are arranged as subpages separated by "/". Within a document you can use relative links such as
[[/Chapter 1]]
to refer to a subpage, or[[../Chapter 2]]
to refer to a sibling page. - Other language links: to link an existing wikisource page in another language requires using the sites prefix,
[[fr:Jules César (Shakespeare)]]
will show a link to this french translation by displaying "Français" in the sidebar. To link a work within the text use a colon before and after the prefix and a pipe[[:fr:Jules César (Shakespeare)|Jules César]]
to display Jules César. Common prefixes includefr: (French) de: (German) and la: (Latin).
Other prefixes can be found in the url (e.g.http://es.wikisource...
) A link back to this site would been:
- Interwiki links: link to a Wikipedia article by prefixing with "w:":
[[w:The Tragedy of Julius Caesar]]
. A list of sister projects may be found here. For advanced help concerning interwiki, interlanguage (and interwiki-interlanguage) links, see interwiki linking on the Meta-Wiki. - External links:
[http://example.org]
Link to a page on the Internet by surrounding the URL with single square brackets. Doing so will create a bracketed number resembling [१]. You can link using text by adding a space after the URL followed by the desired text:[http://example.org click here]
produces click here. Linking to the source of a text on the talk page, or in the notes section, is uncontroversial, but other external links may be discouraged. (Caveat on accessibility)
Categories
सम्पाद्यताम्- It's important to add a new page to one or more categories by placing a wikilink in the page in the form
[[Category:Category name]]
. See Help:Categories. The top of the tree is at Category:Categories and you can find the others from there. - If you want to create a link to a category, use the following format
[[:Category:Category name]]
. Note that there is a colon (:) before the word "category." - For advanced Category help, see Help:Category on the Meta-Wiki.
Tables
सम्पाद्यताम्The basic form of a table to produce the result on the right hand side is shown below.
|
|
For details, see Help:Tables.
Headings
सम्पाद्यताम्Headings (Such as "Headings" above) are sometimes used to divide a page into sections. This markup is used on Author and other Wikisource pages, it is not recommended for headings and sections in main pages.
= First-level heading =
(Should almost never be used, equivalent to the page title at the top of this page.)== Second-level heading ==
(The most common heading level, equivalent to "Wiki markup" above.)=== Third-level heading ===
(A subsection – the word "Headings" above this passage is a third-level heading.)==== Fourth-level heading ====
(A sub-subsection.)===== Fifth-level heading =====
Genealogy diagrams
सम्पाद्यताम्These can be produced using the {{familytree}} or {{chart2}} templates. Here is an example:
फलकम्:Chart2/start फलकम्:Chart2 फलकम्:Chart2 फलकम्:Chart2 फलकम्:Chart2 फलकम्:Chart2 फलकम्:Chart2/end
Advanced
सम्पाद्यताम्See m:Help:Editing for advanced help. (The instructions there are general, not specific to Wikisource.)