User:Leijurv/Randomize List

For this page to make any sense, you need the userscript to actually do the randomization, which is at: User:Leijurv/randomizeList.js. You can get it like this (by adding  to your common.js).

This is a normal list:


 * A
 * B
 * C
 * D
 * E
 * F

This list, on the other hand, is marked to be randomized per-viewer by a specially classed P tag immediately beforehand
 * Some user 1
 * Some user 2
 * Some user 3
 * Some user 4
 * Some user 5
 * Some user 6
 * Some user 7
 * Some user 8

This one is too
 * A
 * B
 * C
 * D
 * E
 * F
 * G
 * H
 * I
 * J
 * K

Logged out users will see the list in its original order. Logged in users will see the original order for a tiny amount of time, since userscripts do not load instantly.

Here's an example of a list that might have more items added to it over time:

Start with just A
 * A

Then add B
 * A
 * B

Then add C
 * A
 * B
 * C

Then add D
 * A
 * B
 * C
 * D

Then add E
 * A
 * B
 * C
 * D
 * E

Then add F
 * A
 * B
 * C
 * D
 * E
 * F

Then add G
 * A
 * B
 * C
 * D
 * E
 * F
 * G

Then add H
 * A
 * B
 * C
 * D
 * E
 * F
 * G
 * H

Then add I
 * A
 * B
 * C
 * D
 * E
 * F
 * G
 * H
 * I

Then add J
 * A
 * B
 * C
 * D
 * E
 * F
 * G
 * H
 * I
 * J