Bug #3303

Task #2925: Add the "properties" parameter to internal links to commands

Internal links broken if the "properties" parameter is not specified

Ajouté par Alexey Lavrentev il y a presque 3 ans. Mis à jour il y a plus d'un an.

Statut:Closed Début:20/10/2022
Priorité:Normal Echéance:
Assigné à:- % réalisé:

100%

Catégorie:- Temps passé: -
Version cible:Portal 0.6.3

Description

In the txm-bfm.huma-num.fr TXM portal 0.6.3 portal instance, the "properties" internal links parameter is mandatory for "Concordance", "Contexts", "Lexicon" and "Index" commands.

Example :

The following link does not work:

<a class="command" command="lexicon" path="/GRAAL">

The following link works:
<a class="command" command="lexicon" properties="word" path="/GRAAL">

Solution

  • if the "properties" parameter is absent in an internal link, the command must use the "word" word property by default (as for external links behaviour);
  • provide a way to express multiple word properties in the "properties" parameter (e.g. word property names separated by comma: "lemma,word")
    • Warning: currently a space seems to be mandatory after commas
  • the portal Admin Manual must be updated to document the "properties" parameter for internal links
  • the portal Admin Manual must be updated to document all other apparently implemented parameters (see parent ticket: nlinesperpage, contexts, references...).

Historique

#1 Mis à jour par Alexey Lavrentev il y a presque 3 ans

  • Tâche parente mis à #2925

#2 Mis à jour par Alexey Lavrentev il y a presque 3 ans

  • Sujet changé de "properties" parameter undocumented and not fully implemented à Internal links broken if the "properties" parameter is not specified
  • Description mis à jour (diff)

#3 Mis à jour par Serge Heiden il y a presque 3 ans

  • Description mis à jour (diff)

#4 Mis à jour par Matthieu Decorde il y a presque 3 ans

  • % réalisé changé de 0 à 80

#5 Mis à jour par Sebastien Jacquot il y a plus d'un an

  • Statut changé de New à Closed
  • % réalisé changé de 80 à 100

Formats disponibles : Atom PDF