Jump to content
This wiki has been automatically closed because there have been no edits or log actions made within the last 60 days. If you are a user (who is not the bureaucrat) that wishes for this wiki to be reopened, please request that at Requests for reopening wikis. If this wiki is not reopened within 6 months it may be deleted. Note: If you are a bureaucrat on this wiki, you can go to Special:ManageWiki and uncheck the "Closed" box to reopen it.

User:FrozenPlum/Sandbox/Issues: Difference between revisions

m
Yeah, the issue is only with imagecontainer, remove that bit so I can use this page to link to for another github issue/ticket
imported>FrozenPlum
m (update to include default)
imported>FrozenPlum
m (Yeah, the issue is only with imagecontainer, remove that bit so I can use this page to link to for another github issue/ticket)
Line 1:
This is a space for me to track issues as I work through the examples to determine if what's stated to work as stated in the docs works as expected (or if they need adjustment).
 
 
==Issue 1==
 
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 (because the default is "none").
 
<pre>
{{#dpl:
|imagecontainer = Apple
|count=2
|openreferences=yes
|ordermethod=none
|noresultsheader=\n''Doesn't work''
}}
</pre>
'''Result:'''<br>
''Doesn't work''
<!--
{{#dpl:
|imagecontainer = Apple
|count=2
|openreferences=yes
|ordermethod=none
|noresultsheader=\n''Doesn't work''
}}
-->
 
'''It works with this example (ordermethod not specified = none):'''
<pre>
{{#dpl:
|titlematch=Apple%
|openreferences=yes
}}
</pre>
 
{{#dpl:
|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
}}
 
'''Another test:'''
<pre>
{{#dpl:
|imagecontainer = Apple
|openreferences = true
}}
</pre>
<!-- this is broken
{{#dpl:
|imagecontainer = Apple
|openreferences = true
}}
-->
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==
<pre>
{{#dpl:
Line 118 ⟶ 41:
|noresultsheader=<br>''no result returned''
}}
 
==Issue 3==
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.