Skip to Page Content

EP's Sandbox

From WolfWikis

Jump to: navigation, search

Here is where I'll be testing things.


Using the "Cite" extension

See http://meta.wikimedia.org/wiki/Cite/Cite.php

Note the superscripts after each cited statement:

 According to scientists, the Sun is pretty big.[1]
 The Moon, however, is not so big.[2]

These point to the "Notes" section at the bottom of this page. (This section does not have to be at the bottom, nor does it have to be called "Notes".)

Here's how to make these citations.

Wrap the citation in "ref" tags, like this:

According to scientists, the Sun is pretty big.<ref>E. Miller, The Sun, (New York: Academic Press, 2005), 23-5.</ref>

The Moon, however, is not so big.<ref>R. Smith, "Size of the Moon", Scientific American, 46 (April 1978): 44-6.</ref>

Then, somewhere else on the page (such as the bottom), put in this tag:

<references/>



Deleting a Page

We need to confirm that a page and all its previous versions can truly be removed.

Under our current configuration, regular users cannot actually delete pages or uploaded files. They can remove content from an existing page, but previous versions of the page will still contain the old content. Users can request that pages (or uploaded files) be deleted (see the FAQ).

But, just to be sure, let's create a test page, modify it a bunch of times to generate a version history, and then we'll try to delete it completely, once and for all.

Eric Pauley's Deletion Test Page

Here is a screenshot of the version history before deletion:

Screenshot of a file version history

After logging in as the admin user and deleting the page, we see this screen:

Screenshot of page seen after deleting a page

Note the link to "View or restore 4 deleted edits?"

Now, if we log in as a regular user, and we try to view that page, all we see is:

"Editing Eric Pauley's Deletion Test Page

You've followed a link to a page that doesn't exist yet. To create the page, start typing in the box below (see the help page for more info). If you are here by mistake, just click your browser's back button."

There is no link to a history. There is a log entry referencing the deletion:

14:48, 14 November 2006 Admin deleted "Eric Pauley's Deletion Test Page" (Test of deleting a page and all its previous versions)

Logging back in as the admin user and viewing the deleted page still shows the "View or restore 4 deleted edits?" link.

This links to a Special:Undelete page, which looks like this:

Screenshot of the undelete page

So, in theory, a page does not actually go away, and if a new page is created with the same name, these old pages will re-appear in that page's history.

Neither anonymous users nor regular users can see this deletion history page. Attempting to view it displays this text:

"Permission error

The action you have requested is limited to users with the "deletedhistory" permission assigned."

(After which they are redirected to the Main Page)

Apparently there is no way to delete the old versions except to remove the records from the database directly.


Adding images, specifying required "alt" tags, and changing display options


Adding a basic image:

Image of Big Bad Wolf

[[Image:big_bad_wolf.png|Image of Big Bad Wolf]]

IMPORTANT: Descriptive text after the "|" symbol is required by NCSU regulations regarding web accessibility. Section 508 of the Workforce Rehabilitation Act of 1973 specifies that "A text equivalent for every non-text element shall be provided (e.g., via "alt", "longdesc", or in element content)."



Adding a frame, and placing the image in the center:

Image of Big Bad Wolf
Image of Big Bad Wolf

[[Image:big_bad_wolf.png|frame|center|Image of Big Bad Wolf]]


Adding a frame, and placing the image on the right:

Image of Big Bad Wolf
Image of Big Bad Wolf

[[Image:big_bad_wolf.png|frame|right|Image of Big Bad Wolf]]








Adding a default "thumbnail" of an image (right-justified with a frame):

Thumbnail image of Skillet.jpg
Enlarge
Thumbnail image of Skillet.jpg

[[Image:Skillet.jpg|thumb|Thumbnail image of Skillet.jpg]]

NOTE: This option was enabled on February 12, 2008 (after we migrated to new servers with additional functionality).


Adding a "thumbnail" of an image, specifying the width (100 pixels) of the thumbnail:

Thumbnail image of Skillet.jpg

[[Image:Skillet.jpg|100px|Thumbnail image of Skillet.jpg]]


Thumbnail image of LookRock2007030918.jpg



Renaming (Moving) a Page

Let me create Eric's Test Page. Now, I renamed that page, so it should now point to EP's Test Page.



Displaying Special Characters

There are two ways to do this.

The first is simply to place your cursor at the location where you want the special character to appear, then click one of the "Special Characters" shown at the bottom of the editing page.

Here are some examples: Θ Ĉ ß β {{}} Σ Ω

A second way is to use "HTML character entities." The basic syntax is:

&XXXX;

where "XXXX" is the name of an "entity". There are many such special characters you can use. See a big List of XML and HTML character entity references on Wikipedia.

Some fun examples of XXXX include:

amp
reg
micro
frac34
eacute
ouml
Sigma
zeta
permil
euro
empty
infin
sub
radic

These will give:

& ® µ ¾ é ö Σ ζ ‰ € ∅ ∞ ⊂ √


Back Button

Someone was wanting to know how to put a "Back" button on their page. Of course, remember that the normal "Back" button on the browser always does exactly what you want (jumps back one page in its history).

Assuming that is just not satisfactory, there are a few ways to achieve equivalent functionality.

  • The simplest way is to create a direct link back to a specific page, like this:
<< Back to [[Wiki_Commons]]

(You would replace "Wiki_Commons" with the name of the page you want to go back to.)

<< Back to Wiki_Commons

<< Back to Wiki Commons (without the underscore)


  • In a regular web page, you can embed a little HTML and JavaScript code to cause the browser to jump back 1 page:
<script language="JavaScript" type="text/javascript">
<a href="javascript:history.go(-1)">Go Back</a>
</script>

However, if I do this, it doesn't actually draw a clickable link:

<script language="JavaScript" type="text/javascript"> <a href="javascript:history.go(-1)">Go Back</a> </script>

These "<script>" tags will not work in this wiki. Raw JavaScript code is not permitted here, because JavaScript can represent a major security risk. Sorry about that. (JavaScript can be used in good ways, or it can be used in all manner of bad and malicious ways. It's best to be conservative with something that can have thousands of users.)

  • Conceivably, we could code a Back button into the code that draws ALL wiki pages, but that would force every page to have a back button.

Notes

  1. E. Miller, The Sun, (New York: Academic Press, 2005), 23-5.
  2. R. Smith, "Size of the Moon", Scientific American, 46 (April 1978): 44-6.

These sources are completely disreputable and have long been discredited. Ergo, the moon is bigger than the sun.

test

Personal tools

Wiki Stats

Users:  3,294
Pages:  1,281
Uploads:  2,412
Views:  2,337,310
Edits:  40,041