Modifying variant names

From WandoraWiki
Revision as of 15:11, 30 April 2011 by Akivela (Talk | contribs)

Jump to: navigation, search

Variant names are language and scope dependent topic names. This is slightly different from the topic map standard where variant names play modest role compared to base names.

By default topic panel's variant name matrix has language paragraphs. Orientation of name matrix is changed with Flip name matrix tool found in context menu of Variant names title header.

Variant names are modified directly in topic panel. Variant names should not contain new line characters because Wandora's variant name editing field is a single row text field.

To view and edit variant names with non-schema scopes, user can right click the Variant name box title and select context menu option View > View all scopes in traditional topic panel. Wandora changes the look of variant name panel and views now all variant names of the topic.

For more advanced variant name operations use tools in Topics > Variant names. Menu includes options:

  • Copy all variant names copies topic's variant names to clipboard. Also invisible variants i.e. variant that are not specified with schema, are copied to clipboard. This can be used to check what kind of variant names topic has.
  • Regex replace is used to modify topic's variant names with user given regular expression.
  • Remove new line characters deletes new line characters in variant names of current topic.
  • Remove variant name deletes variant name of given type and scope.
  • Remove all empty variant names deletes all zero length variant names in topic.
  • Remove all variant names deletes all variant names in topic. Also invisible variants i.e. variants that have not been defined in schema, are deleted.
  • Make display variants with base name copies topic's base name to all schema specified display variants.

By default Wandora supports four scopes (i.e. languages) of Finnish, Swedish, English, and Language Independent. By default Wandora also supports two name types of Display name and Sort name. Extending the language and the name type support is very easy. To add another language add new instance topic to Wandora language topic. To add another name type add new instance to topic Wandora variant name version. Both Wandora language and Wandora variant name version are instances of Schema type topic. Although Wandora views only variant names of registered scopes and types, other names remain intact in the topic map.


See also

Personal tools