Proposals: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
 
(55 intermediate revisions by 4 users not shown)
Line 10: Line 10:
#* Also, help clear the pages linking to the template by filling in the missing info.
#* Also, help clear the pages linking to the template by filling in the missing info.
# Record any in-game bugs found here: [[List of bugs (HotA)]]
# Record any in-game bugs found here: [[List of bugs (HotA)]]
It seems something went wrong with the server today. All the JS code and other special niceties don't work anymore on Waterfox and Chrome (still works with Edge, though), some pages are broken (regardless of browser), e.g. [[Cove]] which pretends that {{tl|TownNew}} does not exist, or [[List of creatures]] which is likewise a sea of red template calls), and on browsers where the new theme doesn't show, there's a message that says <tt> Deprecated: Use of MediaWiki\Parser\Parser::$tabsData was deprecated in MediaWiki 1.42. [Called from Tabs::init in /var/www/html/extensions/Tabs/includes/Tabs.php at line 35] in /var/www/html/includes/debug/MWDebug.php on line 385</tt> on the top of the page. --[[User:Turnam|Turnam]] ([[User talk:Turnam|talk]]) 17:49, 25 March 2025 (UTC)
:[[Special:Version]] 1.40 was end of life. So Terra upgraded to 1.43. We should be able to clear up these issues eventually. –[[user_talk:imahero|imahero]] 18:18, 25 March 2025 (UTC)
::The TownNew/Cove/List of creatures, issues were caching issues that I've seen occasionally. I fixed them by renaming and saving then renaming back. This allows the page to recompile its templates. –[[user_talk:imahero|imahero]] 18:21, 25 March 2025 (UTC)


= Hota v1.7.2 - ([[Horn of the Abyss (Changelog)|Changelog]]) =
= Hota v1.7.2 - ([[Horn of the Abyss (Changelog)|Changelog]]) =
Line 178: Line 174:
= Wiki =
= Wiki =
{{About|Anything related to the maintenance or improvement of this wiki.}}
{{About|Anything related to the maintenance or improvement of this wiki.}}
== Tabs vs TabberNeue ==
#Look into switching over to [https://www.mediawiki.org/wiki/Extension:TabberNeue TabberNeue] since the [https://www.mediawiki.org/wiki/Extension:Tabs Tabs] extension may not be available in future MediaWiki versions.


== Standardization ==
== Standardization ==
Line 183: Line 182:
# [https://old.reddit.com/r/heroes3/comments/1jfvc0e/heroes_3_artbook_sketchbook_chinese_get_it_here/ There's a Chinese HoMM3 manual] available, with original art for all heroes, skills, creatures, buildings, and map objects. Do you think its pictures could be added to the relevant articles' galleries?
# [https://old.reddit.com/r/heroes3/comments/1jfvc0e/heroes_3_artbook_sketchbook_chinese_get_it_here/ There's a Chinese HoMM3 manual] available, with original art for all heroes, skills, creatures, buildings, and map objects. Do you think its pictures could be added to the relevant articles' galleries?
#* See [[:Category:Chinese Artbook]].
#* See [[:Category:Chinese Artbook]].
#* I put some thoughts about this on discord, but my vote is: 1) I think this should have its own page on this wiki, but 2) Not be integrated into all the individual pages as this is not an official source, but instead a 3rd-party project. --[[User:Legate|Legate]] ([[User talk:Legate|talk]]) 13:35, 31 March 2025 (UTC)


== Aesthetics ==
== Aesthetics ==
Line 195: Line 195:
## [[Template:Artifact sidebar]]: Odd behavior when disabling, then enabling content switches. Hota rows are shown when when should be suppressed.
## [[Template:Artifact sidebar]]: Odd behavior when disabling, then enabling content switches. Hota rows are shown when when should be suppressed.
##* As far as I can currently tell the only way to fix this is to double click every element with the class mw-customtoggle. I can manually (from the console) use javascript to click the header once and then again and it does in fact fix it. But when attempting to click it twice from a script that loops over all the elements in rapid succession it fails. I've tried adding delays but it didn't help. –[[user_talk:imahero|imahero]] 01:14, 22 March 2025 (UTC)
##* As far as I can currently tell the only way to fix this is to double click every element with the class mw-customtoggle. I can manually (from the console) use javascript to click the header once and then again and it does in fact fix it. But when attempting to click it twice from a script that loops over all the elements in rapid succession it fails. I've tried adding delays but it didn't help. –[[user_talk:imahero|imahero]] 01:14, 22 March 2025 (UTC)
## Sometimes pages load without the content switch appearing. In this case, extra images appear (as if the content switch were both on AND off).
##* I've modified the javascript to allow it to fail if loaded too early. In this case it will wait two seconds and then try again. Hopefully this catches the case where the javascript doesn't seem to load. –[[user_talk:imahero|imahero]] 01:11, 22 March 2025 (UTC)


== File upload/editing ==
== File upload/editing ==
Line 212: Line 210:


== New Features (in progress) ==
== New Features (in progress) ==
=== Translation ===
# Templates do not handle translation well when transcluding them. See my post on Discord from 01/APRIL/2025 with a screenshot to see what I mean, but the "Other languages" area appears above each instance of the template and it takes up the width of the page each time, essentially having the <nowiki>{{clear}}</nowiki> element attached to it and pushing everything below it. This means that until we can somehow remove that from templates (at least when transcluded), we can't translate templates yet... which is a problem when we always use templates. [[File:Hero Cosmos small.png|link=user:phasma|→ Phasma]] 12:47, 2 April 2025 (UTC)
# I'm already finding that you cannot edit templates after translating them which is very annoying; the translated version saves as TemplateName/en, and when calling TemplateName, it displays TemplateName/en INSTEAD OF Template name. Unless I'm missing something (which I probably am), we should make sure to finalise templates before translating them; all of the new ones should be fine! [[File:Hero Cosmos small.png|link=user:phasma|→ Phasma]] 12:47, 2 April 2025 (UTC)
# Add official translations where possible. I've got installs of all the languages available on GOG (English, Russian, Polish, French) and the unofficial German translation, but I don't think there's an easy way to add translations other than manually. Not sure what we can add for now that will avoid templates other than campaign texts - any ideas? [[File:Hero Cosmos small.png|link=user:phasma|→ Phasma]] 12:47, 2 April 2025 (UTC)
=== H3CSS Bugs ===
=== H3CSS Bugs ===
# Are we at the point of making this the default yet?!?!?! (Looks great Phasma!)
# Are we at the point of making this the default yet?!?!?! (Looks great Phasma!)
#* Wikitables could use a little work (they seem to keep their colors for headers even when not marked important.


=== H3CSS Additions ===
=== H3CSS Additions ===
# Phasma, do you have the commented version of the H3CSS? Can you put it [[MediaWiki:H3CSS.css|here]].
* The version of the code BEFORE the minifier? It's far less optimised and I've only broke it down into basic sections without comments other than that; I could go through the current optimised code and make comments if you're just looking for the code to be explained? [[File:Hero Cosmos small.png|link=user:phasma|→ Phasma]] 19:08, 31 March 2025 (UTC)
* Yeah the code before the minifier. I thought it would be good to use [[MediaWiki:H3CSS.css]] as the master copy we both edit. I remembered seeing comments at some point so I thought you'd want to preserve them. –[[user_talk:imahero|imahero]] 20:00, 31 March 2025 (UTC)
* Alrighty then, I'll paste that in there! [[File:Hero Cosmos small.png|link=user:phasma|→ Phasma]] 21:16, 31 March 2025 (UTC)
=== H3CSS Notes ===
# [https://darkreader.org darkreader] sometimes makes the appearance better, sometimes worse. So I have to toggle it when checking things. –[[user_talk:imahero|imahero]] 19:26, 30 March 2025 (UTC)
# As a note on all of this, make sure to disable Dark Reader before making any changes - it overrides default CSS and does its own stuff, which means that making changes for H3CSS with Dark Reader enabled is a bad idea. I've made sure to have it permanently disabled on this site considering I use H3CSS as default now. I'll leave this matter to you two for now, just letting you know! [[File:Hero Cosmos small.png|link=user:phasma|→ Phasma]] 16:14, 31 March 2025 (UTC)
</div>
</div>


Line 248: Line 259:
# I wonder if it would be possible to change the hover-over text for {{tl|An}}/{{tl|Cn}}/{{tl|Hn}} to be what the effect/stats/specialty is? --[[User:Legate|Legate]] ([[User talk:Legate|talk]]) 13:55, 30 January 2024 (UTC)
# I wonder if it would be possible to change the hover-over text for {{tl|An}}/{{tl|Cn}}/{{tl|Hn}} to be what the effect/stats/specialty is? --[[User:Legate|Legate]] ([[User talk:Legate|talk]]) 13:55, 30 January 2024 (UTC)
#* Off the top of my head, I thought of a massive switch statement in the template, but that would be a pain to build/maintain and may slow down the page loads.
#* Off the top of my head, I thought of a massive switch statement in the template, but that would be a pain to build/maintain and may slow down the page loads.
#* I suppose it would probably be easier to build/maintain as a [[module:an|lua script]]. –[[user_talk:imahero|imahero]] 22:23, 30 January 2024 (UTC)
#* I suppose it would probably be easier to build/maintain as a [[module:an|lua script]]. (I would probably re-write this similar to the way I wrote about [[Talk:Heroes 3 creatures and attributes|here]].) –[[user_talk:imahero|imahero]] 22:23, 30 January 2024 (UTC)
#* [[File:Armor of the Damned_am-artif.gif|{{#invoke:an|hover|Armor of the Damned}}]] [[File:Horn of the Abyss_am-artif.gif|{{#invoke:an|hover|Horn of the Abyss}}]] <!--[[File:Armageddon's Blade_am-artif.gif|{{#invoke:an|hover|Armageddon's Blade}}]]--> –[[user_talk:imahero|imahero]] 22:23, 30 January 2024 (UTC)
#* [[File:Armor of the Damned_am-artif.gif|{{#invoke:an|hover|Armor of the Damned}}]] [[File:Horn of the Abyss_am-artif.gif|{{#invoke:an|hover|Horn of the Abyss}}]] <!--[[File:Armageddon's Blade_am-artif.gif|{{#invoke:an|hover|Armageddon's Blade}}]]--> –[[user_talk:imahero|imahero]] 22:23, 30 January 2024 (UTC)
#* Does anyone have these all in json or in a spreadsheet. I could convert that into a module to make this actually happen. –[[user_talk:imahero|imahero]] 19:10, 30 March 2025 (UTC)
#** Does this help? [[Template:Artifact table - Torso]] (and the related 'See also:' templates). Could probably get it into a spreadsheet using the text to column delimiter without too much work. --[[User:Legate|Legate]] ([[User talk:Legate|talk]]) 13:28, 31 March 2025 (UTC)
#** I can get everything except the source column using [https://tableconvert.com/html-to-csv tableconvert.com/html-to-csv]. Still quite a bit of work. Maybe we should ask on discord to see if anyone has done this already. –[[user_talk:imahero|imahero]] 20:20, 31 March 2025 (UTC)
# Ok, here with another pie-in-the sky/probably a ton of work idea. For campaign scenarios, the coordinates located on the pages are generally helpful only if you have the scenario editor open (and have the campaign broken into scenarios). I think it would be possible to make a map that has things like the seer's huts labelled with numerical overlays. ([[https://en.wikipedia.org/wiki/Template:Overlay]] - Brisbane example). We may even be able to do this somewhat programmatically - make a template that takes in the map file and coordinates for what we want to label. Since the size of the map is known (e.g. Medium is 72x72), then a hut at (50, 15, 0) would be 50/72 of the way across the image in the x-direction and 15/72 of the way down in the y-direction, in the upper-world. --[[User:Legate|Legate]] ([[User talk:Legate|talk]]) 02:46, 17 March 2024 (UTC)
# Ok, here with another pie-in-the sky/probably a ton of work idea. For campaign scenarios, the coordinates located on the pages are generally helpful only if you have the scenario editor open (and have the campaign broken into scenarios). I think it would be possible to make a map that has things like the seer's huts labelled with numerical overlays. ([[https://en.wikipedia.org/wiki/Template:Overlay]] - Brisbane example). We may even be able to do this somewhat programmatically - make a template that takes in the map file and coordinates for what we want to label. Since the size of the map is known (e.g. Medium is 72x72), then a hut at (50, 15, 0) would be 50/72 of the way across the image in the x-direction and 15/72 of the way down in the y-direction, in the upper-world. --[[User:Legate|Legate]] ([[User talk:Legate|talk]]) 02:46, 17 March 2024 (UTC)
#* So as not to clutter things up or increase loading time, we could only show this map on some kind of button press.
#* So as not to clutter things up or increase loading time, we could only show this map on some kind of button press.
Line 262: Line 276:
== Wiki settings (advanced) ==
== Wiki settings (advanced) ==
# Looking at the campaign videos again, I don't think we fully solved the problem. Some videos look good, but at least [[Warlords of the Wasteland]] still looks bad.
# Looking at the campaign videos again, I don't think we fully solved the problem. Some videos look good, but at least [[Warlords of the Wasteland]] still looks bad.
#* Maybe was an issue of the cc or something? I deleted it to check. Maybe undelete if it doesn't actually fix the problem. –[[user_talk:imahero|imahero]] 23:10, 20 March 2024 (UTC)
#* I think the source of that specific video is bad like this too. –[[user_talk:imahero|imahero]] 19:04, 30 March 2025 (UTC)
#* [[Dead or Alive]] epilogue video is currently the one voiced in Russian.
#* [[Dead or Alive]] epilogue video is currently the one voiced in Russian.
#** Are there actual english versions? Link to youtube video of them maybe? –[[user_talk:imahero|imahero]] 23:10, 20 March 2024 (UTC)
#** Are there actual english versions? Link to youtube video of them maybe? –[[user_talk:imahero|imahero]] 23:10, 20 March 2024 (UTC)
#** I don't think there are, but maybe use the version with no narration? --[[User:Legate|Legate]] ([[User talk:Legate|talk]]) 13:09, 21 March 2024 (UTC)
#** I don't think there are, but maybe use the version with no narration? --[[User:Legate|Legate]] ([[User talk:Legate|talk]]) 13:09, 21 March 2024 (UTC)
#** This is only a problem for the factory videos, right? So just need to replace the current ones with these ones: [[HotA_1.7.0-webm-video-audio]]. –[[user_talk:imahero|imahero]] 19:08, 30 March 2025 (UTC)
# The idea of "clickable regions" of pictures has gotten mentioned a few times. Research if/how this is possible. --[[User:Legate|Legate]] ([[User talk:Legate|talk]]) 20:01, 13 May 2024 (UTC)
# The idea of "clickable regions" of pictures has gotten mentioned a few times. Research if/how this is possible. --[[User:Legate|Legate]] ([[User talk:Legate|talk]]) 20:01, 13 May 2024 (UTC)
#* Vision: Certain regions of an image could be configured to light up & link to another page like the main menu.
#* Vision: Certain regions of an image could be configured to light up & link to another page like the main menu.
Line 272: Line 287:
#** [[Antagarich]]: Add clickable maps to move between the location pages.
#** [[Antagarich]]: Add clickable maps to move between the location pages.
#* The usual way to add clickable maps for a MediaWiki is to install the [https://www.mediawiki.org/wiki/Extension:ImageMap ImageMap] extension. I don't see it already [[Special:Version|here]], so that's a topic for the wiki owner.
#* The usual way to add clickable maps for a MediaWiki is to install the [https://www.mediawiki.org/wiki/Extension:ImageMap ImageMap] extension. I don't see it already [[Special:Version|here]], so that's a topic for the wiki owner.
#** [https://www.mediawiki.org/wiki/Extension:ImageMap ImageMap] has now been installed. –[[user_talk:imahero|imahero]] 18:10, 1 April 2025 (UTC)


== Desired Updates ==
== Desired Updates ==
Line 321: Line 337:
* See [[User:ShushMaster]] and [[User:Legate]] for additional tricks.
* See [[User:ShushMaster]] and [[User:Legate]] for additional tricks.
* Use [[Template:Exist]] instead of #ifexist. Anything checked by #ifexist erroneously shows up on the missing files report if it doesn't exist!
* Use [[Template:Exist]] instead of #ifexist. Anything checked by #ifexist erroneously shows up on the missing files report if it doesn't exist!
* Beware of caching issues with templates. If something isn't updating the way you think it ought to, remove the template from the page and then re-add it.
* Beware of caching issues with templates. If something isn't updating the way you think it ought to, rename a template on the page, save the page and then rename it back. (Or use the More dropdown and choose Purge.)


[[Category:Contributor resources]]
[[Category:Contributor resources]]

Latest revision as of 12:47, 2 April 2025

Welcome! This page contains everything we want to do to improve this wiki. Whether you are an experienced Mediawiki/CSS editor, someone who knows the Might & Magic lore or just someone who wants to help/learn, we are glad you're here. Don't worry about making mistakes or stepping on someone's toes - we all were there at some point!

If you'd like to discuss things in more detail, please join our discord server.

General/Ongoing[edit | hide | hide all]

  1. Help clear the Maintenance Reports for unused/broken/wanted items!
  2. Check out and verify Trivia#Unverified Claims
  3. Look for pages that need help and report them here (e.g. unreadable color scheme in "Aesthetics", missing info in "Missing Info")
    • Also report if data for an expansion is shown improperly (e.g. HotA functional data is seen when HotA is disabled via the switch on the top or left (Lore should always be visible)). Report these issues here in "Standardization".
  4. Use {{unk}} to mark text we need to fill in. That way all the unknown text will link to that template!
    • Also, help clear the pages linking to the template by filling in the missing info.
  5. Record any in-game bugs found here: List of bugs (HotA)

Hota v1.7.2 - (Changelog)[edit | hide]

Happy New Year! The Hota team dropped a new release with some updated secondary skills, specialties and a new campaign!

  1. Kinkeria - update learning table (In Progress: See Template: LTheader, Template: LTrow)
    • Need to investigate: Do heroes who start with learning start at level 2, or do they miss out on the level bump from basic learning?
      • They start at level 1, and they don't level bump at their first level-up if selecting something else than Advanced Learning then. However, they do start with a bonus 1000 XP, so they get a level up immediately after the first XP gain.
    • Let's discuss this on Discord at some point...I have a spreadsheet that attempts to figure this out, but it is quite complicated. See Talk: Learning for some notes so far. --Legate (talk) 16:29, 21 February 2025 (UTC)
  2. Lots of event/quest/text changes to all hota campaigns.
    • Any thoughts on the best way to approach this? If we can get text files of the events/quests from v1.7.1 and v1.7.2, we can use a text-diffing tool to see what needs to be updated. Manually reading through the text in-game would take a long time... --Legate (talk) 14:40, 20 March 2025 (UTC)
      • Potentially this tool could be useful if it was updated to allow converting maps in hota formats. Unfortunately, the author says he has no interest in adding support for other versions or mods. --Turnam (talk) 16:31, 20 March 2025 (UTC)

Gameplay Info

Lore

Tools

Wiki

Low Priority/Backburner

Upcoming![edit | hide]

Major fan-made expansions in the works that we are monitoring.

  1. Horn of the Abyss Horn of the Abyss (update): Bulwark
  2. Day of Reckoning Day of Reckoning (initial release): Day of Reckoning

How To[edit | hide]

Content Switches[edit | hide]

Hide all HotA / DoR game content (not lore content) when not enabled.

  • For table rows, just add this to the row: |- class='onlyhota'
  • For most other content just use: {{showwithhota|content}}. Can also use {{swh|HotaOnlyContent|SodOnlyContent}}.
  • In some circumstances, you might need to use: <span class='onlyhota'>content</span>
  • For lists, use: <ul class='onlyhota'><li>item</li><li>other item</li></ul>. For numbered lists, swap "ul" to "ol".
  • See User:Imahero/hide for more examples.

File Uploading[edit | hide]

  • In a command terminal run: "oxipng -o 6 -s -r ." to losslessly compress all png images: github.com/shssoichiro/oxipng
  • Animated png files will play on pages if they are full size. Animated gif files will play regardless.

Mediawiki Tips/Tricks[edit | hide]

  • List Numbering
    • Use "#*" to add a comment to an item without breaking the numbering.
    • Use <li value="your_number_here"></li> to restart a numeric list if there are breaks in between the numbers (e.g. comments).
  • Comments: Use "<!--your comment here-->" to add comments to a page that can only be seen when editing.
  • See User:ShushMaster and User:Legate for additional tricks.
  • Use Template:Exist instead of #ifexist. Anything checked by #ifexist erroneously shows up on the missing files report if it doesn't exist!
  • Beware of caching issues with templates. If something isn't updating the way you think it ought to, rename a template on the page, save the page and then rename it back. (Or use the More dropdown and choose Purge.)