Forum:Automated Library Data Entries

From Traveller Wiki - Science-Fiction Adventure in the Far future
Revision as of 11:46, 7 October 2019 by Tjoneslo (talk | contribs)
Jump to navigation Jump to search
Imperial-Sunburst-Sun-Gray-wiki.png
Forums: Index > Watercooler > Automated Library Data Entries



Notes (2019)

Curious to know how the Library Data Entries (Automated) works and how the data shown their on some pages gets to those pages.

- Bsycamore (talk) 15:11, 24 September 2019 (EDT)

It reads citations or hyperlinks.

  • I can't recall which.
  • I believe the talented Thomas Jones-Low wrote that code. Ask him.
- Maksim-Smelchak (talk) 18:04, 24 September 2019 (EDT)

The Template:LibraryEntries uses DynamicPageList, a wikimedia extension for running various queries against the underlying database. This template is generating (effectively) a slightly filtered version of the list generated by the "What links here" tool (see right hand menu). When you add a link to the New Traveller: Showing the Sunburst in an article, the list in the book article will automatically be updated. Normally I recommend using the Template: Ludography cite to set the link as it formats the entry correctly. Tjoneslo (talk) 17:22, 24 September 2019 (EDT)

So, hyperlinks.

- Maksim-Smelchak (talk) 18:04, 24 September 2019 (EDT)

If you have a look at Dark Nebula (game), you will see there are a small number of Library Entries duplicated under Automated & Public. I assume this is because overtime they have been added to the various pages and therefore show under Automated. Would it be a 'Tidyup excerise' to then go back to pages and remove the duplicate entries from Public?

- Bsycamore (talk) 02:49, 29 September 2019 (EDT)

It's ok to have redundancy. It's part of the process of expanding the entries to make them easily searchable.

  • Please see: Book Mapping
  • If you'd like to do more, by all means, but it's not strictly necessary. In some cases, it might not be preferable, because some codign searches for interlinking or can be searched for with the "What links here" function.
- Maksim-Smelchak (talk) 08:18, 29 September 2019 (EDT)
The big difference between the automated generated list and the hand edited lists is the former is simply an undifferentiated alphabetical list of entries, whereas the latter is usually grouped by some set of headers or another.
I have some ideas about how to add groupings to the automated list but no designs to demonstrate. Tjoneslo (talk) 07:46, 7 October 2019 (EDT)