Jump to content

Hearthsail:To do: Difference between revisions

From Hearthsail
Konventionen, Aufgabenliste, Kategoriebaum
 
Stand nachgezogen
Line 1: Line 1:
What this wiki still needs, roughly in order.
What this wiki still needs, roughly in order.


== Structure ==
== Content ==


* Fill the red links on the [[Main Page]] — start with [[Controls]] and [[Sailing]].
* Fill the red links on the [[Main Page]] — start with [[Controls]] and [[Sailing]].
* Decide the category tree beyond <code>Items</code> and <code>Creatures</code>.
* German subpages once an article is settled: <code>Anchor/de</code> next to <code>Anchor</code>.
* Logo and favicon (needs an upload, then <code>$wgLogos</code> in LocalSettings.php).


== 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
   upload icons, write item pages through <code>api.php</code>. Needs a bot password from
   from [[Special:BotPasswords]].
   [[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 dark variant of the sand theme, if anyone uses the night mode toggle.
* A night version of the sand theme. The Vector colour switch is off for now
* Interwiki links to the repository.
  (<code>$wgVectorNightMode</code>): 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: <code>$wgLogos</code> and <code>$wgFavicon</code> instead of a
  <code>Common.js</code> hack.
* 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.
* Infoboxes for villagers and islands, {{Tl|Recipe}}, item subcategories.


[[Category:Hearthsail]]
[[Category:Hearthsail]]

Revision as of 12:35, 31 July 2026

What this wiki still needs, roughly in order.

Content

  • Fill the red links on the Main Page — start with Controls and Sailing.
  • 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.