User:Ttenbergen/Cargo holds query test: Difference between revisions

From CCMDB Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 1: Line 1:
This is a bug report page for [https://www.mediawiki.org/w/index.php?title=Extension_talk:Cargo#inconsistent output for HOLDS query].
This is a bug report page for question ''inconsistent output for HOLDS query'' on  [https://www.mediawiki.org/w/index.php?title=Extension_talk:Cargo].


[[Template:Data Dependencies]] stores data for pages like [[Previous_Location field]] in [[Special:CargoTables/Data_Dependencies]]. Components field is stored as a list of pages. The Holds command works for some page names (eg [[Pre-admit Inpatient Institution field]]) but not others (eg [[Previous_Location field]]). For the ones where it doesn't work, a partial page name with "LIKE" works. One difference between the pages is that the query seems to fail for pages that use [[mw:Help:Magic_words#DISPLAYTITLE]].
[[Template:Data Dependencies]] stores data for pages like [[Previous_Location field]] in [[Special:CargoTables/Data_Dependencies]]. Components field is stored as a list of pages. The Holds command works for some page names (eg [[Pre-admit Inpatient Institution field]]) but not others (eg [[Previous_Location field]]). For the ones where it doesn't work, a partial page name with "LIKE" works. One difference between the pages is that the query seems to fail for pages that use [[mw:Help:Magic_words#DISPLAYTITLE]].

Latest revision as of 16:04, 6 June 2025

This is a bug report page for question inconsistent output for HOLDS query on [1].

Template:Data Dependencies stores data for pages like Previous_Location field in Special:CargoTables/Data_Dependencies. Components field is stored as a list of pages. The Holds command works for some page names (eg Pre-admit Inpatient Institution field) but not others (eg Previous_Location field). For the ones where it doesn't work, a partial page name with "LIKE" works. One difference between the pages is that the query seems to fail for pages that use mw:Help:Magic_words#DISPLAYTITLE.

for Pre-admit Inpatient Institution field it works

for Previous_Location field it doesn't work

No results

with Components HOLDS LIKE 'Previous Location%' it works

with Components HOLDS LIKE 'Previous Location %' it doesn't work

No results