Logo: Difference between revisions

From Freephile Wiki
Add redirects argument
 
(One intermediate revision by the same user not shown)
Line 24: Line 24:


== With redirect==
== With redirect==
This too was previously broken - but now should work
This too was previously broken - but now is "less broken"? I haven't tested extensively, but when specifying the <code>redirects</code> parameter, it displays the proper link in the status bar on-hover. And right-clicking a gallery thumb -> "open link in new tab" works. However clicking on a thumb still launches the MediaWiki Gallery interface instead of traversing the intended redirect. (This seems like a MediaWiki compatibility thing where MW's Gallery is hoisting a UI / UX onto the page) Also, in this simple query, a couple extra thumbnails (23 instead of 21 thumbs) are inserted into the result set with the error text "This image was not found".
<pre>
<pre>
{{#ask: [[Category:Logo]] |format=gallery |link=all |headers=show |searchlabel=... further results |class=sortable wikitable smwtable |navigation=nav |autocaptions=1 |redirects=Page author}}
{{#ask: [[Category:Logo]]  
|?Page author
|format=gallery  
|link=all  
|headers=show  
|searchlabel=... further results  
|class=sortable wikitable smwtable  
|navigation=nav  
|autocaptions=1  
|redirects=Page author
}}
</pre>
</pre>


{{#ask: [[Category:Logo]] |format=gallery |link=all |headers=show |searchlabel=... further results |class=sortable wikitable smwtable |navigation=nav |autocaptions=1 |redirects=Page author}}
{{#ask: [[Category:Logo]]  
|?Page author
|format=gallery  
|link=all  
|headers=show  
|searchlabel=... further results  
|class=sortable wikitable smwtable  
|navigation=nav  
|autocaptions=1  
|redirects=Page author
}}


== See Also ==
== See Also ==


[[:Category:Logo]]
[[:Category:Logo]]

Latest revision as of 20:49, 28 October 2025

There is a problem with SMW SRF 'overlay' option. See Issue #940 For help with the Gallery format of SMW SRF, see https://www.semantic-mediawiki.org/wiki/Help:Gallery_format

With overlay (broken)[edit]

{{#ask: [[Category:Logo]] |format=gallery |link=all |headers=show |searchlabel=... further results |class=sortable wikitable smwtable |navigation=nav |autocaptions=1 |overlay=1}}


Without overlay (works)[edit]

{{#ask: [[Category:Logo]] |format=gallery |link=all |headers=show |searchlabel=... further results |class=sortable wikitable smwtable |navigation=nav |autocaptions=1 }}


Basic[edit]

{{#ask: [[Category:Logo]] |format=gallery}}


With redirect[edit]

This too was previously broken - but now is "less broken"? I haven't tested extensively, but when specifying the redirects parameter, it displays the proper link in the status bar on-hover. And right-clicking a gallery thumb -> "open link in new tab" works. However clicking on a thumb still launches the MediaWiki Gallery interface instead of traversing the intended redirect. (This seems like a MediaWiki compatibility thing where MW's Gallery is hoisting a UI / UX onto the page) Also, in this simple query, a couple extra thumbnails (23 instead of 21 thumbs) are inserted into the result set with the error text "This image was not found".

{{#ask: [[Category:Logo]] 
|?Page author
|format=gallery 
|link=all 
|headers=show 
|searchlabel=... further results 
|class=sortable wikitable smwtable 
|navigation=nav 
|autocaptions=1 
|redirects=Page author
}}

See Also[edit]

Category:Logo