User:Daveg: Difference between revisions
No edit summary |
|||
Line 99: | Line 99: | ||
* [[Test_DG_HTMLet_Form|Simple Form using HTMLets]] | * [[Test_DG_HTMLet_Form|Simple Form using HTMLets]] | ||
* [[Test_Ercoftac_AC_Article_Form|A test form for creating Ercoftac AC and UFR Articles]] | * [[Test_Ercoftac_AC_Article_Form|A test form for creating Ercoftac AC and UFR Articles]] | ||
== Towards a Content Management Extension == | |||
These are links to pages concerned with scoping out work for a content management system. This is a proposed extension that would provide Ercoftac Editorial team members with tools for creating, moving and deleting Ercoftac articles. Ercoftac articles are a collection of MediaWiki pages. | |||
* [[Dev:Experiments_With_MySQL|Tests and experiments with MySQL]] |
Revision as of 21:47, 28 April 2009
Dave Golby's Test Page
This is my home page, mainly used for testing ideas and resolving installationand configuration problems.
Testing the Security Features
I've set up a special area for testing the LockDown facility. You can find it here.
Installation and Configuration of Latex
Some equation tests.
First of all, good old Einstein's famous mass-energy equivalence:
Remember the good old days of Newtonian absolute space and time? (sigh...)
a totally made up equation to test partial differential symbols:
and another (Ludwig Boltzmann, rest in peace...)
Notes
- After much struggle, the above equations should be rendered properly if texvc is working and the MediaWiki is configured correctly.
- Had to install MinGW32 for the basic compilation tools (make in this case). MinGW32 provides an application manager to download and install the components. These are stored in e:\mingw
- The source files for texvc are written in Caml. So another package is required called Objective Caml to compile these up. This is also installed on the E: drive.
- MediaWiki has a Math folder in which various source programs for texvc are kept. The make file in this folder must be executed in order for the texvc.bc code to be generated.
- NOTE Both Objective Caml bin and Mingw bin folders must be in the path
- When compiling from the DOS shell, use CAMLLIB=e:\objective caml\lib to enable CAML to pick up the various auxiliary files
- The render.ml file needs to be modified. Consult the page at [1]
- The Math.php file also needs to be modified. Read the instructions for replacing certain code sections at the above link
- I also had to open up all sorts of permissions to different users on the images folder. Not good form but this was required to get it to work.
- A good source of info for LaText within MediaWiki can be found at here.
Internal Variables
These are some internal variables that should be rendered correctly at run-time.
Consult the article here for more info on these variables.
Here are some examples of these variables:
- KBwiki The name of the site (SITENAME)
- //kbwiki.ercoftac.org The name of the server (SERVER)
- User:Daveg The full name of the current page (FULLPAGENAME)
- User:Daveg The name of the article (ARTICLEPAGENAME)
- Click this to get a printable version of this page
- The current user is 18.188.146.77
Templates
Test Templates:
- Letter template
- AC Article template
- UFR Article template
- A test template for checking the Form extension
Note that these Templates should be substituted into the page.
Here are some test pages that use templates I've developed
Simple Forms
Click one this link to create a form. It uses the MediaWiki extension described here. The following form is provided as a test by the Form extension.
The sample form definition can be found here. The template used can be found here.
My own test form uses the AC Abstract template. Unfortunately it doesn't work properly at the moment.
- Click this to generate a new AC Abstract Page
- The form definition for the AC Abstract
- The Template for the AC Abstract page
Some sample pages created using the Abstract page form:
HTMLets
This is a test area for HTMLets.
Towards a Content Management Extension
These are links to pages concerned with scoping out work for a content management system. This is a proposed extension that would provide Ercoftac Editorial team members with tools for creating, moving and deleting Ercoftac articles. Ercoftac articles are a collection of MediaWiki pages.