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

From Miranda NG
Jump to navigation Jump to search
(+{{Todo|Needs update}})
(section on News removed)
Line 3: Line 3:
== Version numbers ==
== Version numbers ==
Update version numbers in [[Template:StableVersion]] (new stable build) and [[Template:CurrentVersion]] (next current/development version).
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">
{{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:
=== 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:
<pre style="overflow:auto;">
{{News|title=New stable version is {{Version|en|0.94.6}}
|author=watcher
|date=2013-11-05
|content={{:Changelog/0.94.6}}
}}
</pre>
This new entry should go first, i. e. right after the following code:
<pre style="overflow:auto;">
{{#switch: {{BASEPAGENAME}}
  | Main pages
  | Main Page =
  | #default = {{Languages/News}}__NOTOC__
}}
</pre>
=== 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
<pre style="overflow:auto;">
{{#switch: {{BASEPAGENAME}}
  | Main pages
  | Main Page =
  | #default = <!-- Please, move old news into this block (if there will be more than 3 news) -->
</pre>
higher, so that 2 or 3 pieces of news are left between the top of the page and this switch.
</spoiler>




Line 60: Line 20:
* ...
* ...
</pre>
</pre>


== 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]]
[[Category:Howto]]

Revision as of 00:01, 19 June 2015

Todo: Needs update

Version numbers

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


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>{{PageLang|en}}{{VersionInfo
| version=0.94.6
| revision=2453
| 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.