Homestyx hydra
Diffusion hydra f52bc073216e

Make the Remarkup Help Page Extensible

Description

Make the Remarkup Help Page Extensible

Summary:
The Remarkup Help page is currently pointing to a HTML page on we.phorge.it.
Because of this it can not be customized/extended by custom extensions.
This diff allows you to implement a RemarkupSyntaxDocumentationProvider interface
to your custom class, which will implement a getDocumentation method.
This getDocumentation should return the custom help text in Remarkup format.
This diff also contains some extra help for the cowsay and figlet interpreters.
The local URLs for the local references are:

  • /reference/remarkup/
  • /reference/cowsay/
  • /reference/figlet/

Closes T15401

Test Plan: Open the Phriction wiki editor and click on the Book (Remarkup Reference) icon in the toolbar and validate URL afterwards

Reviewers: O1 Blessed Committers, avivey

Reviewed By: O1 Blessed Committers, avivey

Subscribers: avivey, tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Maniphest Tasks: T15401

Differential Revision: https://we.phorge.it/D25698

Details

Provenance
Merula TurdusAuthored on Jun 23 2024, 5:19 PM
sirocylPushed on Oct 16 2024, 5:49 AM
Parents
R1:5a9cf81ae592: Fix PHP 8.1 "strlen(null)" exceptions handling empty comment metadata in…
Branches
Unknown
Tags
Unknown

Event Timeline