BlueM:Wiki development: Difference between revisions

From BlueM
Jump to navigation Jump to search
(Added section about translation to English)
(→‎Syntax highlighting: changes due to the extension "BlueM")
Line 24: Line 24:
The new Syntax Highlighting extension engine requires some changes:
The new Syntax Highlighting extension engine requires some changes:


All code tags such <code><nowiki><vbnet></nowiki></code>, <code><nowiki><fortran></nowiki></code> and in particular <code><nowiki><bluem></nowiki></code> need to be converted to <code><nowiki><source lang="vbnet"></nowiki></code> or equivalent.
All code tags such <code><nowiki><vbnet></nowiki></code>, <code><nowiki><fortran></nowiki></code> need to be converted to <code><nowiki><source lang="vbnet"></nowiki></code> or equivalent.


Bute perhaps we can hack the extension so that this is not necessary....
The tag <code><nowiki><bluem></nowiki></code> is automatically converted to <code><nowiki><source lang="bluem"></nowiki></code> by the extension [[Extension:BlueM|BlueM]], so no need to change that.


=== Magic words ===
=== Magic words ===
All references to Bugs or Revisions need to be converted to interwiki links, e.g. <code>Bug 2</code> &rarr; <code><nowiki>[[bugzilla:2]]</nowiki></code>
All references to Bugs or Revisions need to be converted to interwiki links, e.g. <code>Bug 2</code> &rarr; <code><nowiki>[[bugzilla:2]]</nowiki></code>

Revision as of 06:53, 8 December 2013

List of things to do in the wiki:

Translation to English

All pages need to be translated to English.

A list of German terms and their English equivalents is maintained here:

Update from 1.17

The wiki was updated from 1.17.0 to 1.22.0, unfortunately a lot of things have changed and so now a few things are broken. The old wiki can be viewed here: http://oldwiki.bluemodel.org

The following needs to be fixed/updated:

New navigation for BlueM.Sim Theory

As the Hierarchy extension no longer works, replace the navigation for the BlueM Theory pages somehow.

Solution: include the new Template Template:BlueMTheory_nav on all relevant pages:

  • Remove {{HierarchieKopf}} and {{HierarchieFuss}} from the page and add the following to the top of the page:
{{BlueM.Sim_nav}}
{{BlueMTheory_nav}}

Syntax highlighting

The new Syntax Highlighting extension engine requires some changes:

All code tags such <vbnet>, <fortran> need to be converted to <source lang="vbnet"> or equivalent.

The tag <bluem> is automatically converted to <source lang="bluem"> by the extension BlueM, so no need to change that.

Magic words

All references to Bugs or Revisions need to be converted to interwiki links, e.g. Bug 2[[bugzilla:2]]