Universal-Omega / DynamicPageList3

GNU General Public License v3.0
18 stars 22 forks source link

combination of linksto and linksfrom throws error #285

Open jrbray1 opened 1 month ago

jrbray1 commented 1 month ago

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 commented 1 month ago

Downloading 3.5.2 merely changed the version number in the error