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

From Miranda NG
Jump to navigation Jump to search
(mind the grammar)
("Editing News page" outdated -> hidden)
Line 6: Line 6:


== Editing [[News]] page ==
== Editing [[News]] page ==
<spoiler show="outdated section" hide="collapse">
{{Message|message=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.}}
{{Message|message=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:
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:
Line 30: Line 31:
</pre>
</pre>


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


Line 41: Line 42:


higher, so that 2 or 3 pieces of news are left between the top of the page and this switch.
higher, so that 2 or 3 pieces of news are left between the top of the page and this switch.
</spoiler>





Revision as of 09:37, 22 July 2014

Version numbers

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


Editing News page

<spoiler show="outdated section" hide="collapse">

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 news

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 are left between the top of the page and this switch. </spoiler>


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.