Difference between revisions of "Magicke Spells"

From Audacity Wiki
Jump to: navigation, search
(Live table rather than example.)
(Automagicke New Features Page: typos)
 
(5 intermediate revisions by 2 users not shown)
Line 16: Line 16:
 
* [[Widget:MenuTest|An automagicke test of the menu image tooltipping]] - Images are not yet auto regenerated, but tooltips are.
 
* [[Widget:MenuTest|An automagicke test of the menu image tooltipping]] - Images are not yet auto regenerated, but tooltips are.
 
* [[Widget:Tabular|An automagicke test of the big tables]] - Tables are fully regenerated.
 
* [[Widget:Tabular|An automagicke test of the big tables]] - Tables are fully regenerated.
* The [https://wit.audacityteam.org Shift+Special trick in WIT] updates the menus there.
+
* The [[Using_WIT#shift-special|Shift+Special trick in WIT]] updates the menus there.
  
 
WIT generates the images and templates.  Currently a manual step, done by [[User:James|James]], the ''have-a-coffee'' wiki-bot step, is needed to upload the images and tooltips to the manual.  Why?  It's because the alpha manual does not yet have the 'widgets' plug in.  The widgets plug in is what allows ''this wiki'' to have the dynamically updated pages.  This wiki can include pages from WIT.  The alphamanual can't (yet).
 
WIT generates the images and templates.  Currently a manual step, done by [[User:James|James]], the ''have-a-coffee'' wiki-bot step, is needed to upload the images and tooltips to the manual.  Why?  It's because the alpha manual does not yet have the 'widgets' plug in.  The widgets plug in is what allows ''this wiki'' to have the dynamically updated pages.  This wiki can include pages from WIT.  The alphamanual can't (yet).
Line 32: Line 32:
  
 
The script to fetch the alphamanual and make a local copy ''also'' edits it to remove 'alpha' and 'Development' from the pages.
 
The script to fetch the alphamanual and make a local copy ''also'' edits it to remove 'alpha' and 'Development' from the pages.
 +
 +
==Automagicke New Features Page==
 +
 +
We can now have the identical text for the New Features page in the Manual and the [[New features in Audacity 2.3.1|New Features]] page here on this Wiki.
 +
* We do this as follows:
 +
 +
<pre>Wherever we previously had:
 +
  [[Page Link|Link Text]]
 +
 +
use instead:
 +
  {{Manual|2.3.1|Page Link|Link Text}}
 +
</pre>
 +
 +
These will be automagickally converted to the correct link.  Moreover when we move the alphamanual to the manual, we can update with a single change in the template.
 +
{{ednote|'''Peter 18Apr19:''' But AFAIK the imagaes used don't get copied across - I think that still requires muggle grunt-work.  }}
  
 
==Lesser Magickes==
 
==Lesser Magickes==
  
 
* The toolboxes in the left panel are maintained from pages like [[MediaWiki:CN_Editors]]
 
* The toolboxes in the left panel are maintained from pages like [[MediaWiki:CN_Editors]]
* The custom css thathides editor notes is managed through pages such as [[MediaWiki:Common.css]] and [[MediaWiki:Group-user.css]]
+
* The custom css that hides editor notes is managed through pages such as [[MediaWiki:Common.css]] and [[MediaWiki:Group-user.css]]
 
* We have many useful [[Templates]] such as <nowiki>{{shortcut}}</nowiki>
 
* We have many useful [[Templates]] such as <nowiki>{{shortcut}}</nowiki>

Latest revision as of 11:50, 18 April 2019

This page has information about the wiki-magic used in maintaining the manual and this wiki.

Automagicke Tables and Menus

The following pages provide inputs to the creation and autoamgicke tool-tipping of image mapped menus and the big tables:
Bulb icon The diagram below shows how these fit together and how information flows from them. It is explained properly at Using WIT

MagickeUpdates.png

And the results... Click below for: WIT generates the images and templates. Currently a manual step, done by James, the have-a-coffee wiki-bot step, is needed to upload the images and tooltips to the manual. Why? It's because the alpha manual does not yet have the 'widgets' plug in. The widgets plug in is what allows this wiki to have the dynamically updated pages. This wiki can include pages from WIT. The alphamanual can't (yet).

Automagicke Zebra Tables

Automagicke Dynamic Bug Tables

Automagicke Release Manual

The script to fetch the alphamanual and make a local copy also edits it to remove 'alpha' and 'Development' from the pages.

Automagicke New Features Page

We can now have the identical text for the New Features page in the Manual and the New Features page here on this Wiki.

  • We do this as follows:
Wherever we previously had:
   [[Page Link|Link Text]]

use instead:
   {{Manual|2.3.1|Page Link|Link Text}}

These will be automagickally converted to the correct link. Moreover when we move the alphamanual to the manual, we can update with a single change in the template.

Peter 18Apr19: But AFAIK the imagaes used don't get copied across - I think that still requires muggle grunt-work.

Lesser Magickes