Template:SongRow

From Angelina Jordan Wiki

Documentation

This is part of the templates specifying the {{SongsTable}} song listing, and has no meaningful use outside of that context.


Technical details

This songs listing with performances had the issue that it ran into size limitation in regards to template expansion. To get around this, first a solution to render not all performance subtables during template expansion was found, where the performances subtables can be created by a gadget using Javascript via Cargo-query AJAX updates after the initial non-populated table is loaded. To limit the amount of these live Cargo queries, currently all tables with only up to two performance entries are created immediately, so that only those with three or more performances need to be queried on demand, which account for about a third of the song articles.

Because query access is no longer given for anonymous users, this has been replaced with a Lua based solution for the inner subtables. This increased the post-expansion size a little, but still has a 20% margin towards the limit.

Eventually, a further reduction of individual levels is needed, or a full conversion to a Lua generated solution.

See also