User:Ttenbergen/Cargo holds query test
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