Page MenuHomePhabricator

Install RandomSelection extension on
Closed, DeclinedPublic



Event Timeline

bzimport raised the priority of this task from to Lowest.Nov 21 2014, 11:25 PM
bzimport set Reference to bz27739.
bzimport added a subscriber: Unknown Object (MLST).
Danilo created this task.Feb 26 2011, 1:47 PM

It disables the cache (preferable to give a short cache time), doesn't pass frames. That preg_match_all looks ugly, but wouldn't probably be run too much.

We are planning a collaboration campaign that will use random banners on the SiteNotice, and it will be used in some portals to generate random images and other contents.

Bryan.TongMinh wrote:

Any extension that generates random content, will unacceptably break the cache.

The best way to create a random selector without breaking the cache would be to write a JavaScript (gadget).

He7d3r updated the task description. (Show Details)Feb 3 2015, 10:04 PM
He7d3r set Security to None.