Have you ever seen things that aren't present on your wiki? Such as checkboxes and buttons on pages that seem to come from nowhere. These obscure and often unique additions to the interface are called scripts. These additions are often made by users that have a more in depth understanding of how a wiki works underneath the UI. They often know how to gather data in the background and manipulate it to benefit the end users. These features often utilize: JavaScript, CSS, HTML, and PHP (api.php). In this guide we will take a look at scripts and learn how to install and use them on a wiki.

Types of Scripts

There are several categories of scripts ranging from Ajax to Interface Customization.

Ajax Scripts

Ajax, what does this mean? Ajax simply means "Asynchronous JavaScript and XML". What is it for? Ajax requests are what developers use to collect data from the server (api.php). What do they do with such data? Is it harmful to me? The short answers for those questions are as follows: The developer uses the data collected from the request to perform an update to a page(s) without you noticing although the result can be seen depending on the script. Developers can use Ajax requests to do everything from changing user rights to editing, deleting, and moving a page and even to do the fore mention tasks quickly and recursively.

A few examples of Ajax Scripts are:

Interface Customization

Interface scripts always add some tweaks to the skin, whether it be fixing minor issues or adding modules and providing quick and useful ways to change the way you view the site. These scripts often use HTML and CSS to make them look great and JavaScript to add the fixes and code to the site for you.

Here are a few examples of Interface Customization scripts:

Installing Scripts