Jump to content

Hearthsail:To do: Difference between revisions

From Hearthsail
The main page no longer carries red links. Say what actually comes first instead.
Fix rendering: indented continuation lines were turning list items into pre blocks.
 
Line 3: Line 3:
== Content ==
== Content ==


* First articles, in this order: Controls, Sailing, Fishing. The main page links
* First articles, in this order: Controls, Sailing, Fishing. The main page links them again once they exist, and {{Tl|Nav}} gets its row of links back at the same time. Both are empty on purpose until then.
  them again once they exist, and {{Tl|Nav}} gets its row of links back at the same
  time. Both are empty on purpose until then.
* German subpages once an article is settled: <code>Anchor/de</code> next to <code>Anchor</code>.
* German subpages once an article is settled: <code>Anchor/de</code> next to <code>Anchor</code>.


== Automation ==
== Automation ==


* <code>tools/wiki-sync.mjs</code>: read the item tables plus <code>src/i18n/en.ts</code>,
* <code>tools/wiki-sync.mjs</code>: read the item tables plus <code>src/i18n/en.ts</code>, upload icons, write item pages through <code>api.php</code>. Needs a bot password from [[Special:BotPasswords]].
  upload icons, write item pages through <code>api.php</code>. Needs a bot password from
* Until the icons are uploaded, {{Tl|Icon}} shows the item name twice — once as the missing file, once as the link. It sorts itself out with the first upload; only worth a <code>#ifexist</code> guard if it still bothers anyone afterwards.
  [[Special:BotPasswords]].
* Until the icons are uploaded, {{Tl|Icon}} shows the item name twice — once as the
  missing file, once as the link. It sorts itself out with the first upload; only worth
  a <code>#ifexist</code> guard if it still bothers anyone afterwards.


== Nice to have ==
== Nice to have ==


* A night version of the sand theme. The Vector colour switch is off for now
* A night version of the sand theme. The Vector colour switch is off for now (<code>$wgVectorNightMode</code>): it only recolours Vector's own parts and leaves the labels unreadable on our parchment.
  (<code>$wgVectorNightMode</code>): it only recolours Vector's own parts and leaves the
* Check the asset licence before the generator uploads hundreds of sprites — the icon sheet comes from the bought pack.
  labels unreadable on our parchment.
* Check the asset licence before the generator uploads hundreds of sprites — the icon
  sheet comes from the bought pack.


== Done ==
== Done ==


* Logo, favicon: <code>$wgLogos</code> and <code>$wgFavicon</code> instead of a
* Logo, favicon: <code>$wgLogos</code> and <code>$wgFavicon</code> instead of a <code>Common.js</code> hack.
  <code>Common.js</code> hack.
* Main page grid is a fixed 4×2 instead of auto-fit 6+2.
* Main page grid is a fixed 4×2 instead of auto-fit 6+2.
* Navigation box lives in {{Tl|Nav}} and belongs under every article.
* Navigation box lives in {{Tl|Nav}} and belongs under every article.

Latest revision as of 01:13, 20 August 2026

What this wiki still needs, roughly in order.

Content

  • First articles, in this order: Controls, Sailing, Fishing. The main page links them again once they exist, and {{Nav}} gets its row of links back at the same time. Both are empty on purpose until then.
  • German subpages once an article is settled: Anchor/de next to Anchor.

Automation

  • tools/wiki-sync.mjs: read the item tables plus src/i18n/en.ts, upload icons, write item pages through api.php. Needs a bot password from Special:BotPasswords.
  • Until the icons are uploaded, {{Icon}} shows the item name twice — once as the missing file, once as the link. It sorts itself out with the first upload; only worth a #ifexist guard if it still bothers anyone afterwards.

Nice to have

  • A night version of the sand theme. The Vector colour switch is off for now ($wgVectorNightMode): it only recolours Vector's own parts and leaves the labels unreadable on our parchment.
  • Check the asset licence before the generator uploads hundreds of sprites — the icon sheet comes from the bought pack.

Done

  • Logo, favicon: $wgLogos and $wgFavicon instead of a Common.js hack.
  • Main page grid is a fixed 4×2 instead of auto-fit 6+2.
  • Navigation box lives in {{Nav}} and belongs under every article.
  • Infoboxes for villagers and islands, {{Recipe}}, item subcategories.