Skip to content

Feature idea: Alternative display title #6

Description

@steveparks

At the moment, the addon takes text between the [ and ] braces and turns it into a link to an entry with exactly that title. The same title is shown as the link.

Sometimes it may be desired to have a different title displayed to the actual title of the entry.

For example:

  • An entry titled "My favourite cafes" that lists cafes the user has favourited on a site, may wish to show this text in an article "Click to add this cafe to [your favourite cafes]"
  • An entry of a news item titled "Minister denies Llama pancake claims" may need to be referenced from another article is "but the minister has previously faced other controversies, including over his [choice of breakfast]."

It would be a useful feature if users could enter the correct page title to be referenced, but then also enter alternative text to be displayed.

This could be achieved with this format:
[Original entry title|Alternative display text]


As mentioned before, suggesting some ideas for extra features. If you feel this would be worthwhile, and once we've hammered out the idea, I'd be happy to work on a pull request.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions