Help:Editing FAQ: Difference between revisions

Content deleted Content added
Bmcassagne (talk | contribs)
syntaxhighlight lang="wikitext"
 
(62 intermediate revisions by 44 users not shown)
Line 1:
{{shortcut|H:h|editor tocFAQ}}
This page is meant to accompany [[Help:Editing]].
 
These questions and answers have been culled from some of the talk pages of the various editing-related Help: pages. If you see a useful answer there or anywhere else, please add it here.
 
==Editing==
===Q: How do I archivesign mythe Usercontent PageI edit?===
Three consecutive tildes (<kbd><nowiki>~~~</nowiki></kbd>) will insert a link to your user page. Four (<kbd><nowiki>~~~~</nowiki></kbd>) will insert that link and the save time and date. Five (<kbd><nowiki>~~~~~</nowiki></kbd>) insert just the time and date.
 
===Q: Can I link to a specific section header if there are multiple section headers of the same name? If so, how?===
A: Yes, you can. Each section header, regardless of size or depth, has a number corresponding to how many times that header's name has already appeared on the page. The number is "1" for the very first instance, "2" for the next, "3" for the next, and so on. You can link to each header just like a normal header, but using that number after the header's name (i.e. if there are three headers named "Foo," then the first can be linked to like so: <nowiki>[[#Foo 1]], the second. [[#Foo 2]], and the third, [[#Foo 3]]</nowiki>). Using the number "1" for the first header is generally superfluous, as the software will automatically link to the first header without using the number (i.e. <nowiki>[[Foo]]</nowiki>). If you don't want the number to show, then you have to use a piped link (e.g. <nowiki>[[Foo 2|Foo]]</nowiki>).
Line 10 ⟶ 12:
If you don't know how many times a given header has already appeared on a page (and thus the number to use), there are two ways to find out.
#Use the table of contents.
#:If a table of contents appears on the page, click on the header whomthat you wish to link to. The page will jump to that header. Now, look at the [[en:Uniform Resource Locator|URL]]. At the end, it will show the ID of the header in question. An example of a URL whothat has just been linked to a header, whosenamed name"Foo" that has already appeared twice (and so is the third instance), and whose name is "Foo:"
#::<ttkbd><nowiki>http://meta.wikimedia.org/wiki/Example_article#Foo_3</nowiki></ttkbd>
#:The header link at the end of the URL shows that to link to this header, you would use <nowiki>[[#Foo 3]]</nowiki>.
#Look at the source.
#:While looking at the source, first find the section you're looking for, and then look at its ID tags. It will show the number in that tag. An example for a header, whosenamed name"Foo" that has already appeared once (and so is the second instance), and whose name is "Foo:"
#::<ttkbd><nowiki><p><a name="Foo_2" id="Foo_2"></a></p></nowiki></ttkbd>
#::<ttkbd><nowiki><h3>Foo</h3></nowiki></ttkbd>
#:The ID and name tags (the ones that say "a name=" and "id=") show that this header can be linked to with <nowiki>[[#Foo 2]]</nowiki>.
 
==Miscellaneous==
 
===Q: How do I get a page deleted?===
See [[Wikipedia:Deletion policy]]. The simplest case is where an editor has created a sub-page of their user page and wishes it to be deleted. Put the code <code><nowiki>{{db-user}}</nowiki></code> at the top of the page, and save; an [[WP:administrator|administrator]] will then delete the page for you.
For example, if I'm done fooling around with some sandbox pages created as sub-pages of my Wikimedia user page, how do I get them deleted? The Help mentions "contacting an administrator", but if there is a '''list of admins''' somewhere, I was unable to find it. The wikipedia "VfD" approach does not seem to be implemented on Wikimedia, so I'm at a loss.
 
===Q: How do I archive my User Talk page?===
A: [[Meta:Deletion_policy]]
Various possibilities are laid out at [[Help:Archiving a talk page]]. A convenient method, automatic once it has been set up, is to let a [[WP:bot|bot]] do the work. Copy the markup displayed at [[User:lowercase sigmabot III/Archive HowTo#Example 2 - incremental archives]] to the top of your user talk page, replacing the word "example" with your actual user name.
 
===Q: How do I archive my User Page?===
A: Four possibilities are:
#move talk page to page like User:a/b (history is now in this archive)
#move page contents to such a page (history is still in the regular talk page)
#just delete content (it is still in the history, but one can less easily search in that text) -- [[User:Patrick|Patrick]] 14:32, 24 Jun 2005 (UTC)
#Use a link to an earlier version of the page in its history. It does not require creating "sub pages" for archives. You can see an example at [[en:wikibooks:Talk:Wikijunior_Solar_System/Solar_System|wikibooks:Talk:Wikijunior_Solar_System/Solar_System]].
#*Click on the history tab
#**Click on the first version listed there
#**Copy the URL from the address bar. Let's say it is <tt><nowiki>http://meta.wikimedia.org/w/index.php?User_talk:a&oldid=12345</nowiki></tt>
#*Edit your talk page.
#**Delete all the stuff you want to remove from the current version of your talk page.
#**Link to the archive version as <tt><nowiki>[http://meta.wikimedia.org/w/index.php?User_talk:a&oldid=12345 Sept 2005 archive]</nowiki></tt>
#**Save the new version of your page.
 
===Q: Can I put preformatted text inside a numbered list?===
A: Yes, if you use the HTML &lt;ol> and &lt;li> tags and the &lt;pre> tag like this:
<table border="1" cellpadding="2" cellspacing="0">
<tr>
<td>
<ol>
<li>one</li>
<li>two
<pre>
here are a couple lines
of preformatted text
</pre>
</li>
<li>and the numbering</li>
<li>does not start over </li>
</ol>
</td>
 
<td>
<pre><nowiki>
<ol>
<li>one</li>
<li>two
<pre>
here are a couple lines
of preformatted text
</pre>
</li>
<li>and the numbering</li>
<li>does not start over </li>
</ol>
 
</nowiki></pre>
</td>
</tr>
</table>
 
===Q: Can I generate a frame-like structure on a Wiki page?===
(I have a chart generated dynamically in Bugzilla and I would like to display it within my Wiki page.)
 
A: ???
 
==Tables==
Line 99 ⟶ 45:
</td>
<td>
<syntaxhighlight lang="wikitext">
<pre>
{|style="background:white"
|- style="background:lightgrey;"
Line 105 ⟶ 51:
|- style="background:lightgrey;"
| jkl || mno || pqr
|}</presyntaxhighlight></td></tr>
</table>
 
== Links ==
===Q. How do I make the next line of text start below a thumbnail image instead of wrapping around it?===
===Q: Can I generatemake a frame-likelink structureto onopen in a Wikinew page?===
A. Insert the command <nowiki> <br clear="all"> </nowiki> behind the thumbnail link or wherever you need a break.
 
See: http://www.mediawiki.org/wiki/Manual:Opening_external_links_in_a_new_window [[User:VoskampM|VoskampM]] 08:38, 10 March 2006 (UTC)