the problem seems caused by an inconsistency between connections.pages and pageInfoResponse.query.pages (the map displayTitles is filled with items from pageInfoResponse.query.pages but the latter does not contain the redirects (they are in a separated result key) so this line
page.displayTitle = displayTitles[page.title];
triggers an error.
A isRedirect attribute is therefore added toApiConnectionsBuilder -> _buildPageMap and used for the tooltip as well ( NetworkData -> addPages )
fixes https://github.com/ProfessionalWiki/Network/issues/58 see also https://github.com/ProfessionalWiki/Network/issues/69
the problem seems caused by an inconsistency between
connections.pages
andpageInfoResponse.query.pages
(the mapdisplayTitles
is filled with items frompageInfoResponse.query.pages
but the latter does not contain the redirects (they are in a separated result key) so this linepage.displayTitle = displayTitles[page.title];
triggers an error. A
isRedirect
attribute is therefore added toApiConnectionsBuilder -> _buildPageMap
and used for the tooltip as well (NetworkData -> addPages
)