Re: [Wikitech-l] Start from random image in slideshow gallery

2017-11-05 Thread Prateek Saxena
Hey Strainu,

If your template already randomizes the content inside the gallery
tag, setting the mode to 'slideshow' should give you a what you want
without editing JavaScript. See
https://www.mediawiki.org/wiki/Help:Images#Rendering_a_gallery_of_images
for documentation.

—prtksxna

On Fri, Nov 3, 2017 at 11:56 PM, Strainu  wrote:
> Hi there,
>
> Is there a way to start displaying a slideshow gallery from a random
> image without editing the site JavaScript, except for building a
> template that randomizes the content of the  tag?
>
> If not, is there a phab item for this feature?
>
> Thanks,
> Strainu
>
> ___
> Wikitech-l mailing list
> Wikitech-l@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/wikitech-l

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

[Wikitech-l] Start from random image in slideshow gallery

2017-11-03 Thread Strainu
Hi there,

Is there a way to start displaying a slideshow gallery from a random
image without editing the site JavaScript, except for building a
template that randomizes the content of the  tag?

If not, is there a phab item for this feature?

Thanks,
Strainu

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l