DynamicPageList3
DynamicPageList3 copied to clipboard
combination of linksto and linksfrom throws error
DynamicPageList3 version: 3.5.1 MediaWiki version: 1.39.5 PHP version: 7.4.3-4ubuntu2.23
List of steps to reproduce (step by step, including full links if applicable):
{{#dpl: | linksto=Q145 | linksfrom=Q170877 }}
What happens?:
Extension:DynamicPageList3 (DPL3), version 3.5.1: Error: MediaWiki\Extension\DynamicPageList3\Query::addSelect: Attempted to overwrite existing field alias pl.pl_title AS sel_title with pagesrc.page_title AS sel_title.
What should have happened instead?:
Pages that link to Q145 and from Q170877 are shown
Browser information, screenshots and other applicable information:
(real case uses a linksfrom subpage Q170877/Q145, but the simpler version still fails)
Occurs whether or not either page is in the wiki.
Either selector on its own does not have a problem
Downloading 3.5.2 merely changed the version number in the error
@jrbray1 #342 should finally fix this though its not merged yet.
This is fixed in new pre release versions, closing because it won't be added it to the current main until pre-release is actually released.