DynamicPageList3 icon indicating copy to clipboard operation
DynamicPageList3 copied to clipboard

combination of linksto and linksfrom throws error

Open jrbray1 opened this issue 1 year ago • 1 comments

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

jrbray1 avatar Jul 25 '24 19:07 jrbray1

Downloading 3.5.2 merely changed the version number in the error

jrbray1 avatar Jul 25 '24 19:07 jrbray1

@jrbray1 #342 should finally fix this though its not merged yet.

Universal-Omega avatar Jul 10 '25 01:07 Universal-Omega

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.

Universal-Omega avatar Jul 12 '25 22:07 Universal-Omega