Proposals: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
Legate (talk | contribs)
mNo edit summary
 
(54 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 a template and saving then renaming back. This allows the page to recompile its templates. –[[user_talk:imahero|imahero]] 18:21, 25 March 2025 (UTC)
:::If it's just a caching issue, then purging the page is enough to solve the problem without having to do an edit. If you don't have the option to purge, then you can force it by changing the URL. Go to edit the page, then replace <tt>action=edit</tt> in the URL bar with <tt>action=purge</tt>, and hit enter, and click to confirm the purge request. --[[User:Turnam|Turnam]] ([[User talk:Turnam|talk]]) 19:02, 25 March 2025 (UTC)
::::Also, the upgrade script is still running. Probably be some bumps until it finally finishes. –[[user_talk:imahero|imahero]] 20:09, 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 108: Line 114:
# Information from [https://www.celestialheavens.com/forum/topic/17752 this forum post] may prove useful for assorted bits of information.
# Information from [https://www.celestialheavens.com/forum/topic/17752 this forum post] may prove useful for assorted bits of information.
# Update lore for characters that are mentioned or appear in {{homm4}}.
# Update lore for characters that are mentioned or appear in {{homm4}}.
 
# Fill out [[Foolhardy Waywardness references]]
<!--
== File upload/editing ==
== File upload/editing ==
# <span style="color:teal">(May need someone with Heroes 4 installed)</span> I think we should add the intro video of Heroes 4 to [[The Reckoning]] with a note. Although this isn't part of Heroes 3, that video is really the final event in the Heroes 3 timeline/story. --[[User:Legate|Legate]] ([[User talk:Legate|talk]]) 14:55, 6 March 2024 (UTC)
-->


== New Features (in progress) ==
== New Features (in progress) ==
Line 173: Line 180:
= 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 ==
{{About|Parts of the wiki that don't match related parts of the wiki.}}
{{About|Parts of the wiki that don't match related parts of the wiki.}}
# [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]].


== Aesthetics ==
== Aesthetics ==
Line 182: Line 193:
# [[Template Editor]]: This page has long lists of numbers. Could benefit from turning a lot of this info into a table (and maybe add a few pictures).
# [[Template Editor]]: This page has long lists of numbers. Could benefit from turning a lot of this info into a table (and maybe add a few pictures).
# Scrolling left-right on a page causes the left sidebar to overlay the page text. See [[Grail]] for an example (may need to make the browser window smaller to see the scrollbar).
# Scrolling left-right on a page causes the left sidebar to overlay the page text. See [[Grail]] for an example (may need to make the browser window smaller to see the scrollbar).
#* I tried setting the table max-width to 100% in css. It allows tables to compress further. Images still prevent further compression of the table. So we should see this issue less often. –[[user_talk:imahero|imahero]] 21:16, 22 March 2025 (UTC)


== Template (advanced) ==
== Template (advanced) ==
Line 187: Line 199:
# Content Switching errors:
# Content Switching errors:
## [[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)
## Sometimes pages load without the content switch appearing. In this case, extra images appear (as if the content switch were both on AND off).
## 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 200: Line 214:
#* I'm not remaking them again, at least not for a while. I did the option you selected and I don't really want to do everything all over again for the sake of changing them to slashes right now. Perhaps in the future, but I have other things I need to update; this is fine for now. [[File:Hero Cosmos small.png|link=user:phasma|→ Phasma]] 19:09, 24 January 2025 (UTC)
#* I'm not remaking them again, at least not for a while. I did the option you selected and I don't really want to do everything all over again for the sake of changing them to slashes right now. Perhaps in the future, but I have other things I need to update; this is fine for now. [[File:Hero Cosmos small.png|link=user:phasma|→ Phasma]] 19:09, 24 January 2025 (UTC)
#* Agreed. Thanks Phasma. --[[User:Legate|Legate]] ([[User talk:Legate|talk]]) 20:13, 24 January 2025 (UTC)
#* Agreed. Thanks Phasma. --[[User:Legate|Legate]] ([[User talk:Legate|talk]]) 20:13, 24 January 2025 (UTC)
# The factory creatures on [[Adventure map creature sprites]] are missing their shadows.


== New Features (in progress) ==
== New Features (in progress) ==
=== H3CSS Bugs ===
=== H3CSS Bugs ===
# The Blue used for hiding sections is hard to read.
#* I've changed some of these to gold, but due to how the code is, they have to be done on a per-class basis; I cannot write a blanket rule to cover all customtoggle items as they're named, for example: "mw-customtoggle-LowPri mw-customtoggle" (not just "mw-customtoggle"). I'll look into a workaround, but if this is made the default, then we can just change the code from <nowiki><span class="mw-customtoggle-LowPri" style="color:blue"> to <span class="mw-customtoggle-LowPri" style="color:#f7de7b"></nowiki>.
# 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.
#* Wikitables could use a little work (they seem to keep their colors for headers even when not marked important.
#* Some tables within tables could use some work (See [[Dragon Fly Hive]], [[Library]], [[Halls]])
#* I set it as default since it hides the deprecation warning. –[[user_talk:imahero|imahero]] 20:48, 25 March 2025 (UTC)


=== H3CSS Additions ===
=== H3CSS Additions ===
# Use [[File:Hota-enabled.png]] or [[File:Hota-enabled-alt.png]] and other related images from [[:Category:Wiki_pictures]] in the sidebar instead of text toggles.
#* These should be placed below the Wiki logo and above the "Main page // Recent changes" area. [[File:Hero Cosmos small.png|link=user:phasma|→ Phasma]] 18:50, 12 March 2025 (UTC)
#* [https://imgur.com/a/DgQbtHF Examples]
# Can we change the default TOC? It would be nice if it floated to the right by default. Even better would be if we could put it in the left panel (so you can always see it), but it may be too wide to go there.
#* I think having it float to the right by default makes sense for most pages, but I think my original idea of having it in the main left panel was shortsighted; I didn't consider some pages (like this one) that have subheadings within subheadings or with long heading titles... and it would be a mess if it were stuck in the confines of the main left panel. [[File:Hero Cosmos small.png|link=user:phasma|→ Phasma]] 03:21, 21 March 2025 (UTC)
#* It seems like we'll have to keep manually positioning it on the right unless something in the backend is changed, or somehow we can use <nowiki>{{tocright}}</nowiki> as shown in [https://www.mediawiki.org/wiki/Template:TOC this documentation]. [[File:Hero Cosmos small.png|link=user:phasma|→ Phasma]] 03:59, 21 March 2025 (UTC)
# Not really an addition, but a discussion: The creature and town sidebars do not match the other sidebars (now that we have the other ones looking ok). Do you want to keep them with the blue leather? If we go back to the old table way, we can modify them on the fly with content switches easier instead of needing to upload a new background for every combo of expansion switches turned on. --[[User:Legate|Legate]] ([[User talk:Legate|talk]]) 01:34, 21 March 2025 (UTC)
#* I am not going back on them and changing them to be standard menus. I custom made them precisely because my knowledge (and nobody else's yet) of coding cannot replicate them, and I am more than happy to keep making them for when DOR comes out; it's more enjoyable for me than it is an issue. They are far more key menus than any other, and that was exactly why I gave them special attention. For standard menus, the new CSS and our new understanding & continued learning of the code is making them look great for general use, but I'm not switching those custom made templates over. [[File:Hero Cosmos small.png|link=user:phasma|→ Phasma]] 03:21, 21 March 2025 (UTC)
#* Additionally, looking good and stylish is far better than looking "okay" - the easy-to-create classic menus are okay and they serve their purpose, especially now that they're correctly styled with the new CSS, but they are the bare minimum: functional, legible, easy to interact with, and stylistically fitting. Custom made menus that stand out and fit the theme of the specific pages (using blue as an accent colour more generously) are always going to look better and feel more enjoyable to navigate! For example: the wiki was "okay" before this redesign (in terms of its content and success in delivering information), yet now it looks far better and feels far better to navigate. There are always ways to improve—some easier than others—but I believe that handcrafted and purpose-built design trumps the easy solution for areas that deserve the extra love. [[File:Hero Cosmos small.png|link=user:phasma|→ Phasma]] 03:50, 21 March 2025 (UTC)
#* Ok, sounds good. Just wanted to make sure it wasn't a burden to keep remaking them. Another housekeeping thing - those sidebars use the blue leather for the whole thing, whereas the other sidebars (currently) use mostly brown leather with an accent color for the primary header(s). Assuming we had perfect coding ability, would you prefer all the sidebars to have the blue leather for all the table rows? --[[User:Legate|Legate]] ([[User talk:Legate|talk]]) 14:42, 21 March 2025 (UTC)
#** I think the default leather is fine as the tables are situated on top of dark default leather. I've tried all 3 blue leathers in tables and they look out of place in anywhere that isn't a simple small gold bordered table, which is almost anywhere that isn't a sidebar or main table. [[File:Hero Cosmos small.png|link=user:phasma|→ Phasma]] 18:11, 21 March 2025 (UTC)
</div>
</div>


Line 324: Line 326:
* Comments: Use <nowiki>"<!--your comment here-->"</nowiki> to add comments to a page that can only be seen when editing.
* Comments: Use <nowiki>"<!--your comment here-->"</nowiki> to add comments to a page that can only be seen when editing.
* 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!
* 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 21:09, 25 March 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)

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 {{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 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 on the top of the page. --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. –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 a template and saving then renaming back. This allows the page to recompile its templates. –imahero 18:21, 25 March 2025 (UTC)
If it's just a caching issue, then purging the page is enough to solve the problem without having to do an edit. If you don't have the option to purge, then you can force it by changing the URL. Go to edit the page, then replace action=edit in the URL bar with action=purge, and hit enter, and click to confirm the purge request. --Turnam (talk) 19:02, 25 March 2025 (UTC)
Also, the upgrade script is still running. Probably be some bumps until it finally finishes. –imahero 20:09, 25 March 2025 (UTC)

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.)