User:Ttenbergen/Cargo holds query test: Difference between revisions
Jump to navigation
Jump to search
Ttenbergen (talk | contribs) Created page with "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 x) but not others (eg cc). 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 Help:Magic_words#DISPLAYTITLE. for Pre-admit In..." |
Ttenbergen (talk | contribs) No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
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]. | |||
for [[Pre-admit Inpatient Institution field]] it works | [[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==== | |||
{{#cargo_query: | {{#cargo_query: | ||
tables=Data_Dependencies | tables=Data_Dependencies | ||
Line 8: | Line 10: | ||
|format=ul}} | |format=ul}} | ||
for [[Previous_Location field]] it doesn't work | ====for [[Previous_Location field]] it doesn't work==== | ||
{{#cargo_query: | {{#cargo_query: | ||
tables=Data_Dependencies | tables=Data_Dependencies | ||
Line 15: | Line 17: | ||
|format=ul}} | |format=ul}} | ||
with Components HOLDS LIKE 'Previous Location%' it works | ====with Components HOLDS LIKE 'Previous Location%' it works==== | ||
{{#cargo_query: | {{#cargo_query: | ||
tables=Data_Dependencies | tables=Data_Dependencies | ||
Line 22: | Line 24: | ||
|format=ul}} | |format=ul}} | ||
with Components HOLDS LIKE 'Previous Location %' it doesn't work | ====with Components HOLDS LIKE 'Previous Location %' it doesn't work==== | ||
{{#cargo_query: | {{#cargo_query: | ||
tables=Data_Dependencies | tables=Data_Dependencies |
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