April 2023

S M T W T F S
      1
2345678
9101112131415
161718192021 22
23242526272829
30      

Style Credit

Expand Cut Tags

No cut tags
Sunday, December 13th, 2015 07:22 pm
One of Fanlore's support team developed a "bookmarklet" tool that allows us to automatically create a citation for any website or other online document that is being cited on Fanlore. By using a standardized cite format, it will be easier to make bulk edits or corrections down the road. The cite tool also runs the URL through archive services like the WayBack Machine, and if the page is already in the Wayback Machine, it will include that backup link. This prevents "link rot" (when web pages disappear).

The bookmarklet runs on Chrome, Firefox and Safari. Below are the instructions for Firefox

1. Right Click on your Bookmark Toolbar and select "New Bookmark" (What is a Toolbar?)

2. When the Bookmark box opens up, copy and paste this text into the Location Field.

javascript:window.location.href='https://tools.wmflabs.org/betacommand-dev/cgi-bin/cite.py?url='%20+%20encodeURIComponent(document.URL);

note the ; at the end of the string

3. Give it a name in the Name box (ex: Cite Tool).

4 Click "Add". The bookmarklet should now appear on your Toolbar.

5. To test, navigate to fanlore.org. Click on the bookmarklet and you will see this automatically generated cite code

{{source| url = http://fanlore.org/wiki/Main_Page | title = Fanlore | archiveurl = http://www.webcitation.org/5vOAfOZBZ | archivedate = 2010-12-31 }}

6. Copy and paste this into your Fanlore page. It will look like this: FanloreArchived version

Notes:

What if the page has not been archived by the WayBack Machine?
You will see an abbreviated cite code: {{source| url = http://fanlore.org/wiki/Main_Page | title = Fanlore }}

What do all the sections mean?
{{source = the beginning of the cite

| url =
http://fanlore.org/wiki/Main_Page = The original page you want to cite

| title = Fanlore = the title of the page. This is where you can edit or add text. Many web pages have no "titles" so you may have to add some text such as

| title = Fanlore, a cool fandom wiki

| archiveurl = http://www.webcitation.org/5vOAfOZBZ = the archived page.  The cite tool checks two locations - the WayBack Machine and WebCite. If the page has not been archived, the archived link section will be blank. You can always create your own backup link by using WebCite or the WayBack Machine (use the "Save Now" box). These backup services will not work on password protected pages, pages that have age statements or (in the case of the WayBack Machine) pages excluded from crawling.

| archivedate = 2010-12-31 = the date the archived page was created.

 }} = the end of the cite code

Can I add text around the cite?
If you want to add more text before or around the cite code, place it outside the brackets {{   }}

Come look at {{source| url = http://fanlore.org/wiki/Main_Page | title = Fanlore | archiveurl = http://www.webcitation.org/5vOAfOZBZ | archivedate = 2010-12-31 }} a fandom wiki.

Come look at Fanlore, Archived version a fandom wiki.

EDITED: The WayBack Machine also has a bookmarklet you can use to create a backup link: http://searchengineland.com/save-urls-wayback-machine-demand-191150



Tags:
Tuesday, December 15th, 2015 07:57 am (UTC)
very cool!
Saturday, February 6th, 2021 07:05 pm (UTC)
This was very helpful for getting some links updated. Thanks!
Monday, February 15th, 2021 01:06 am (UTC)
Yay! We're glad you found it helpful!