Help:Howto/Update info when new version is released: Difference between revisions

From Miranda NG
Jump to navigation Jump to search
(Help:Howto/Update info when new version is released)
 
No edit summary
Line 62: Line 62:
== Updating [[Changelog]] page ==
== Updating [[Changelog]] page ==
Add the new version to the list of released versions. Use previous entries as example.
Add the new version to the list of released versions. Use previous entries as example.
[[Category:Howto]]

Revision as of 01:15, 9 November 2013

Version numbers

Update version numbers in Template:StableVersion (new stable build) and Template:CurrentVersion (next current/development version).


Editing News page

These instructions are given using the English section as an example. To start updating info in other language, please use the language bar on the News page to switch to its corresponding version.

The News page consists of content transcluded from Changelog/* pages and is in its turn transcluded into Main Page. Thus it undergoes two types of changes:

Adding news

To make an announcement about new version release you need to add a link to Changelog/<new_stable_version_No> page. The easiest way to do this is to make a copy of the previous entry and change the date and version number in it. Here's what a typical release announcement entry looks like:

{{News|title=New stable version is {{Version|en|0.94.6}}
|author=watcher
|date=2013-11-05
|content={{:Changelog/0.94.6}}
}}

This new entry should go first, i. e. right after the following code:

{{#switch: {{BASEPAGENAME}} 
  | Main pages
  | Main Page =
  | #default = {{Languages/News}}__NOTOC__
}}

Hiding old hews

Old pieces of news can be hidden to prevent Main Page from being too long. This is obtained by moving the code

{{#switch: {{BASEPAGENAME}} 
  | Main pages
  | Main Page =
  | #default = <!-- Please, move old news into this block (if there will be more than 3 news) -->

higher, so that 2 or 3 pieces of news is left between the top of the page and this switch.


Creating Changelog/<new_version>

When the above described is done, you'll see the red link Changelog/<new_version> at the top of the News block on Main Page. To create the page, follow the link. Changelog/* pages have their own structure (pay attention to release date and version number):

<noinclude>{{VersionInfo
| en
| version=0.94.6
| released=5 November 2013
}}{{Languages/Changelogs|0.94.6}}</noinclude>
Short changelog:

* <changelog item>
* <changelog item>
* ...


Updating Changelog page

Add the new version to the list of released versions. Use previous entries as example.