Anonymous user
User:FrozenPlum/Sandbox/Issues: Difference between revisions
m
no edit summary
imported>FrozenPlum m (FrozenPlum moved page Sandbox/Issues to User:FrozenPlum/Sandbox/Issues without leaving a redirect) |
imported>FrozenPlum mNo edit summary |
||
Line 5:
The following causes an error (and page can't be saved):
{{note|[b337d46f656ee147c376d1de] 2022-04-03 02:31:36: Fatal exception of type "TypeError"|error}}
* {{DPL|imagecontainer}} states that the required settings is <code>|openreferences=true</code>.
* {{DPL|linksfrom}} states to use <code>|openreferences=yes</code>.
* {{DPL|openreferences}} states the syntax is <code>|openreferences=yes</code>.
* {{DPL|openreferences}} section '''also''' states that <code>|ordermethod=none</code> is required, though statements work without it.
<pre>
{{#dpl:
|imagecontainer = Apple
|count=2
|ordermethod=none▼
|openreferences=yes
▲|ordermethod=none
|noresultsheader=\n''Doesn't work''
}}
</pre>
'''Result:'''<br>
''Doesn't work''
<!--
{{#dpl:
|imagecontainer = Apple
|count=2
|ordermethod=none▼
|openreferences=yes
▲|ordermethod=none
|noresultsheader=\n''Doesn't work''
}}
-->
'''It works with this example (ordermethod not specified = none):'''▼
▲'''It works with this example:'''
<pre>
{{#dpl:
Line 36 ⟶ 43:
|titlematch=Apple%
|openreferences=yes
}}
'''Correct error output if combined with incompatible param (ordermethod must be either unspecified or "none"):'''<br>
{{#dpl:
|titlematch=Apple%
|openreferences=yes
|ordermethod=category,pagetouched
}}
Line 42 ⟶ 56:
{{#dpl:
|imagecontainer = Apple
|openreferences =
}}
</pre>
Line 48 ⟶ 62:
{{#dpl:
|imagecontainer = Apple
|openreferences =
}}
-->
This is broken regardless if "true" or "yes", so it seems to be an issue when <code>{{DPL|imagecontainer}}</code> and <code>{{DPL|openreferences}}</code> are set together, since the removal of <code>{{DPL|openreferences}}</code> works fine.
Also, there's now <code>|openreferences=missing</code> that needs to be added to docs (later).
<!-- broken original example
{{#dpl:
|imagecontainer = Apple¦Orange
|escapelinks=false
|openreferences=true
}}
-->
==Issue 2==
|