Book Image

MediaWiki 1.1 Beginner's Guide

By : Jeff Orlof, Mizanur Rahman
Book Image

MediaWiki 1.1 Beginner's Guide

By: Jeff Orlof, Mizanur Rahman

Overview of this book

<p>MediaWiki is the free, open-source wiki engine software that powers Wikipedia and many of the other popular wikis across the Web. Written in PHP, it possesses many features that make it the engine of choice for large collaborative wikis: flexible markup, comprehensive user management, multimedia handling, and more. Whether you are creating a public wiki for open contributions, a private wiki for collaborating within your work team or group of friends, or even a wiki for personal use, this book will provide you with all the essential steps you require to achieve this.<br /><br />This book covers how to administer users, back up and restore content safely, migrate your installation to another server or database, and even make hacks to the code. From the installation process to customizing the pages, you will learn what it takes to run a well designed, secure MediaWiki site.<br /><br />Throughout the course of this book, you will see the many different ways that MediaWiki can be used on the Web. This book covers the open source MediaWiki wiki engine from installation and getting started through structuring your collaborative web site, advanced formatting, images, and multimedia to migrating your installation and creating new MediWiki templates. While you will be introduced to the many uses of a wiki, you will also be taken through step-by-step exercises that will help you master the many administrative tasks associated with running and securing your wiki. You will learn how to prevent unauthorized edits being made to content, how to prevent spam, how to back up and restore your wiki, how to configure its look and functionality to suit your needs, and much more.</p>
Table of Contents (21 chapters)
MediaWiki 1.1
Credits
About the Authors
About the Reviewers
Preface

Time for action - creating a template


We are going to use the URL method to create a new template. When we do this, we will create an empty page where we can create the template. Once it is saved, it can be added to any page we choose with the template tag {{templatename}}. Of course, the name we save our template as will be substituted for templatename.

For our sample wiki, we will create a template that adds a thank you to the user for supporting free and open source software. A link to both the Free Software Foundation and the Open Source Initiative will be included as well. This template can then be added to the bottom of each page that describes software.

  1. 1. Open your web browser. In the address bar, type http://www.wikiname.com /index.php/Template:nameofyourtemplate. For the example wiki, we will enter http://www.flosspropopulo.com/index.php/Template:Thank you. Hit Enter.

  2. 2. After you hit the Enter key, you will be taken to the new Template page. Click on edit this page to create and...