User:KingAragorn/Applications

From Tolkien Gateway

There is no better piece of software that Wiki software that could be used to create a Tolkien encyclopedia. It's extremely flexible with all sorts of extensions available; however very few wikis have javascript applications ready to use. These applications can do anything Javascript and client-side scripting will allow; it's very dynamic and therefore can be very useful. Here I will list applications which each user can choose to use if they like; at the moment I have only created one, however reusing the code will make it extremely easy and quick for me to create a new one. Therefore if you have an idea for an application then please let me know on this page's talk page.

  • Note: If you are using the site's default skin - Mithilien - then you'll have to copy the code to User:YOURUSERNAME/Mithilien.js .

Applications

Spell Check

Summary

This application will appear within the regular buttons above the editing box. This application uses third party software, when you first click on the button it will prompt you to install the software. Once installed, clicking on the button will make a familiar user interface if there are any spelling mistakes within the article. As suggested here, it would be useful if we make available a spelling file which includes all Tolkien-related terms. Note: The software that this application uses only works on Microsoft Internet Explorer.

Preview

Preview spell.png

To Install

To Install this application, copy the following code into the page: User:YOURUSERNAME/THESKINYOUUSE.js .

For example if I wanted to install this I would go to User:KingAragorn/mithilien.js and paste the following code into that file. Gateway to Ithilien is the site's default skin.

document.write(
  '<script type="text/javascript" src="'
  + ' http://tolkiengateway.net/w/index.php?title=User:KingAragorn/spell.js'
  + '&action=raw&ctype=text/javascript&dontcountme=s"></'
  + 'script>' );