FlightGear wiki:Village pump: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
(more talk about the convert template)
 
(110 intermediate revisions by 12 users not shown)
Line 1: Line 1:
{{Archives|[[/Archive 2012|2012]]|[[/Archive 2013|2013]]|[[/Archive 2014|2014]]|[[/Archive 2015|2015]]|[[/Archive 2016|2016]]}}
__NEWSECTIONLINK__
{{Archives|[[/Archive 2012|2012]]|[[/Archive 2013|2013]]|[[/Archive 2014|2014]]|[[/Archive 2015|2015]]|[[/Archive 2016|2016]]|[[/Archive 2017|2017]]|[[/Archive 2018|2018]]|[[/Archive 2019|2019]]|[[/Archive 2020|2020]]|[[/Archive 2021|2021]]|[[/Archive 2022|2022]]}}
{{shortcut|FGW:VP}}
{{shortcut|FGW:VP}}
Welcome to the '''Village Pump'''. This page is used to discuss the technical issues, operations and guidelines of the [[FlightGear wiki]].
Welcome to the '''Village Pump'''. This page is used to discuss the technical issues, operations and guidelines of the [[FlightGear wiki]].


Please <span class="plainlinks">[{{fullurl:{{FULLPAGENAME}}|action=edit&section=new}} add new topics]</span> to the '''bottom''' of this page.
Please <span class="plainlinks">[{{fullurl:{{FULLPAGENAME}}|action=edit&section=new}} add new topics]</span> to the '''bottom''' of this page.


Old discussion should be moved to a [[FlightGear wiki:Village pump/Archive YEAR]]. These discussions can then be moved to a relevant talk page if appropriate.
Old discussions should be moved to a [[FlightGear wiki:Village pump/Archive YEAR]]. These discussions can then be moved to a relevant talk page if appropriate.
 
== 2017 ==
=== Newsletter templates (June/2017) ===
 
Referring to Johan's comments at [https://forum.flightgear.org/viewtopic.php?f=42&t=32405&start=15#p313099]:
Is there anything we can do to unify newsletters and changelogs without requiring major additions to the wiki in the form of plugins/addons ?
Specifically, I was wondering if something along these lines would be worthwhile to discuss:
 
* Create a basic template-based structure to add standardized announcements/news
* These would be standardized based on category (core, aircraft, scenery, canvas, Nasal etc), inspired by recent changelogs/newsletters
* Move specific text to sub-templates, so that we can easily localize/translate those using a handful of templates
* support optional screenshots/youtube links
* support optional fields to be added/excluded in a given mode (newsletter vs. changelog)
 
In other words, we would review our published newsletters and changelogs and determine the common structure that could be re-implemented in the form of templates, and then come up with a handful of templates to add items in a standardized fashion, e.g. along these lines:
 
* category
* new/updated/removed feature
* headline
* common text
* changelog specific text
* newsletter specific text
* screenshots
* videos
* link for additional information
 
Something like this could be easily implemented without much wiki magic, and it could be also easily translated at the template level
 
Thoughts / ideas ?
 
-[[User:Hooray|Hooray]] ([[User talk:Hooray|talk]]) 06:40, 2 July 2017 (EDT)
 
: I will start slightly off topic with that I actually consider the current newsletter format to be slightly more complicated than it really needs to be. This is mostly due to the handcrafted table of contents replacing the automatically added one.  If we go back a few years a wiki newsletter page was done exactly as any other wiki page using the same way to add headers and with an automatically generated table of contents.
 
: To illustrate the above, compare the [http://wiki.flightgear.org/index.php?title=FlightGear_Newsletter_January_2010&action=edit|January 2010 newsletter] (plain article style, one template for the header), the intermediate [http://wiki.flightgear.org/index.php?title=FlightGear_Newsletter_January_2011&action=edit|January 2011 newsletter] (one additional template to move the ToC right and change the text flow) and the later [http://wiki.flightgear.org/index.php?title=FlightGear_Newsletter_January_2015&action=edit|January 2015 newsletter] (discarding the automatic ToC for a handcrafted one using a template for each main section and subsections added by hand.)  Even if that is only so much resistance, it can be what stops a contributor.
 
: What I was referring to with
: {{cquote|I think it would be technically possible to make templates that could simplify adding new newsletter blanks (but I have said that for years without doing anything about it :oops: ).}}
: was that one can make templates that will import a page blank prepared with regular sections and subsections (that technique have been used on English Wikipedia for adding template documentation.)
 
: In essence such a newsletter blank could have some of this prepared and some commented out suggestions for how to add a new section and how to add images and embedded videos etc.
 
: —[[User:Johan G|Johan G]] ([[User_talk:Johan_G|Talk]] | [[Special:Contributions/Johan_G|contribs]]) 09:14, 3 September 2017 (EDT)
 
::: I found my way back to some documentation on what I mentioned above.[https://www.mediawiki.org/wiki/Manual:Parameters_to_index.php#Edit_and_submit][https://www.mediawiki.org/wiki/Manual:Creating_pages_with_preloaded_text]
 
::: One would basically make a subpage to the template (say <tt><nowiki>{{Newsletter-new}}</nowiki></tt>) with the text to be preloaded (which is the term used) on the subpage (<tt>Template:Newsletter-new/Newsletter_blank</tt>) and link to it like this <tt><nowiki>http://wiki.flightgear.org/index.php?title=FlightGear_Newsletter_<month>_<year>&action=edit&preload=Template:Newsletter-new/Newsletter_blank</nowiki></tt>.
 
:::The new newsletter template could simply have a link "Click here to create the next newsletter".  It needs to be on another page than the newsletter itself though, for example on a page describing how to contribute to the newsletter.
 
::: —[[User:Johan G|Johan G]] ([[User_talk:Johan_G|Talk]] | [[Special:Contributions/Johan_G|contribs]]) 09:43, 3 September 2017 (EDT)
 
:: I totally agree, while I appreciate the appearance of the new newsletter template, I always found it cumbersome/tedious to actually edit the newsletter compared to the old way. And I am all for automation. Then again, we have been suggesting/requesting certain plugins to be installed, but unfortunately to no avail so far. Speaking in general, it would be great if we could identify some of the recurring tasks on the wiki and find a way to automate most of these. For instance, being able to add contents to one page that shows up on other pages would also be useful, as this could greatly simplify writing the changelog - imagine adding stuff to the newsletter, which is then automagically added to the proper changelog. However, as usual it seems manpower is our primary constraint, Curt does not seem to have the corresponding privileges here and Gijs is basically n/a these days. What is really needed is an additional wiki admin, someone with Simon's privileges. And I would suggest we nominate bugman for that position :-)  - [[User:Hooray|Hooray]] ([[User talk:Hooray|talk]])
 
::: Yikes, this actually works: http://wiki.flightgear.org/index.php?title=FlightGear_Newsletter_November_2020&action=edit&preload=Talk:Next_newsletter  -[[User:Hooray|Hooray]] ([[User talk:Hooray|talk]])
 
 
== Using Template:Convert ==
 
while looking at the [[Lockheed_Martin_F-35B_Lightning_II]], i noted the use of units that we could automatically have converted for us using the [https://en.wikipedia.org/wiki/Template:Convert convert template] from wikipedia... i'm assuming that we can do that, right? so below is an example of how it would be used and how it would look... i've left the original entry in place for final result comparison...
 
<syntaxhighlight>
=== Performance Data ===
* '''Maximum Speed:''' 1,200 mph {{convert|1200|mph|kt|abbr=on}}
* '''Rate of climb:''' classified
* '''Service Ceiling:''' 60,000 ft {{convert|60000|ft|m|abbr=on}}
* '''Range:''' 1,200 mi {{convert|1200|mi|km|abbr=on}}
</syntaxhighlight>
 
::=== Performance Data ===
::* '''Maximum Speed:''' 1,200 mph {{convert|1200|mph|kt|abbr=on}}
::* '''Rate of climb:''' classified
::* '''Service Ceiling:''' 60,000 ft {{convert|60000|ft|m|abbr=on}}
::* '''Range:''' 1,200 mi {{convert|1200|mi|km|abbr=on}}
 
'''NOTE:''' i've copied this from my talk page to bring everything together here in one place as suggested on the forum by bugman...


: This is easy, see http://wiki.flightgear.org/Special:Import ;)
__TOC__


: [[User:Bugman|Bugman]] ([[User talk:Bugman|talk]]) 18:15, 5 September 2017 (EDT)
== MediaWiki updated to 1.39.6 ==


: And here is the Wikipedia export page: https://en.wikipedia.org/wiki/Special:Export. You just export from one and import from the other. Quite a few templates were created in this way.
We have updated MediaWiki to its latest LTS version 1.39.6 today. Although we've tested the update, chances are that we've missed certain scenarios or features. Please report any issues that you may encounter.


: [[User:Bugman|Bugman]] ([[User talk:Bugman|talk]]) 06:21, 6 September 2017 (EDT)
[[User:Gijs|Gijs]] ([[User talk:Gijs|talk]]) 09:31, 30 January 2024 (UTC)


:: <strike>is this something i should do? i don't want to mess anything up ;) </strike>
== Embedded YouTube videos broken ==
:: NVM... i'm not an admin so i cannot import :)
:: [[User:Wkitty42|Wkitty42]] ([[User talk:Wkitty42|talk]]) 10:58, 6 September 2017 (EDT)


::: Looking at the template source at Wikipedia and on from there, I see that it have a not so small dependency tree, starting with a [https://en.wikipedia.org/w/index.php?title=Module:Convert&action=edit nearly 4000 line lua module] :-/
It seems that the [[mw:Extension:EmbedVideo|EmbedVideo extension]] was removed at some point. Consequently, pages such as [[Howto:Creating FlightGear Promo Videos]] are broken. At present, the best replacements seems to be [[mw:Extension:EmbedVideo_(fork)|a fork]] and [[mw:Extension:YouTube|Extension:YouTube]].


::: Something rather simpler can probably be built with what we already have (though it will take time).
—'''''[[User:Red Leader|<span style="color:red">Red Leader</span>]]''''' ([[User talk:Red Leader|talk]], [[Special:Contributions/Red Leader|contribs]]) 19:21, 30 January 2024 (UTC)


::: What do we ''really'' need?
: Hi,
: Thanks for the report. It was introduced by today's update, but should be fixed now.
: [[User:Gijs|Gijs]] ([[User talk:Gijs|talk]]) 21:21, 30 January 2024 (UTC)


::: [[User:Johan G|Johan G]] ([[User_talk:Johan_G|Talk]] | [[Special:Contributions/Johan_G|contribs]]) 11:01, 29 October 2017 (EDT)
:: Confirmed, thanks. And I’d completely forgotten about {{[[Template:Wikipedia|wikipedia]]}}. 😅
:: '''''[[User:Red Leader|<span style="color:red">Red Leader</span>]]''''' ([[User talk:Red Leader|talk]], [[Special:Contributions/Red Leader|contribs]]) 21:57, 30 January 2024 (UTC)


:::: whoa! i didn't know that convert template was that involved... maybe it does a whole lot more conversions than i was looking at to use on this site...
== Forum registration problem ==


:::: as far as "need" goes, we don't really need it but i thought it would be nice to put standard numerics and have a template to list the different conversions... other than needing to be added to pages where it would be appropriate, it would standardize their display on the page...
Hello,
I would like to register on the forum, but I tried several times without success. I sent an email to the administrator some time ago, but it seems to have been lost. I don't know what to do, is there somebody here who could help? Please tell me if you need additional information.
Thanks very much in advance. [[User:Kestrel|Kestrel]] ([[User talk:Kestrel|talk]]) 13:14, 25 March 2024 (UTC)


:::: [[User:Wkitty42|Wkitty42]] ([[User talk:Wkitty42|talk]]) 11:38, 29 October 2017 (EDT)
: Hi,
: That's unfortunate! You can find my email address at https://forum.flightgear.org/contact.php Please try again if you've done that before, I'll actively monitor the address for any incoming messages, and let me know if you don't get a reply.
: [[User:Gijs|Gijs]] ([[User talk:Gijs|talk]]) 15:01, 25 March 2024 (UTC) (forum admin)

Latest revision as of 15:01, 25 March 2024


Archives
2012, 2013
2014, 2015
2016, 2017
2018, 2019
2020, 2021
2022

Shortcut
FGW:VP

Welcome to the Village Pump. This page is used to discuss the technical issues, operations and guidelines of the FlightGear wiki.

Please add new topics to the bottom of this page.

Old discussions should be moved to a FlightGear wiki:Village pump/Archive YEAR. These discussions can then be moved to a relevant talk page if appropriate.

MediaWiki updated to 1.39.6

We have updated MediaWiki to its latest LTS version 1.39.6 today. Although we've tested the update, chances are that we've missed certain scenarios or features. Please report any issues that you may encounter.

Gijs (talk) 09:31, 30 January 2024 (UTC)

Embedded YouTube videos broken

It seems that the EmbedVideo extension was removed at some point. Consequently, pages such as Howto:Creating FlightGear Promo Videos are broken. At present, the best replacements seems to be a fork and Extension:YouTube.

Red Leader (talk, contribs) 19:21, 30 January 2024 (UTC)

Hi,
Thanks for the report. It was introduced by today's update, but should be fixed now.
Gijs (talk) 21:21, 30 January 2024 (UTC)
Confirmed, thanks. And I’d completely forgotten about {{wikipedia}}. 😅
Red Leader (talk, contribs) 21:57, 30 January 2024 (UTC)

Forum registration problem

Hello, I would like to register on the forum, but I tried several times without success. I sent an email to the administrator some time ago, but it seems to have been lost. I don't know what to do, is there somebody here who could help? Please tell me if you need additional information. Thanks very much in advance. Kestrel (talk) 13:14, 25 March 2024 (UTC)

Hi,
That's unfortunate! You can find my email address at https://forum.flightgear.org/contact.php Please try again if you've done that before, I'll actively monitor the address for any incoming messages, and let me know if you don't get a reply.
Gijs (talk) 15:01, 25 March 2024 (UTC) (forum admin)