Last modified: 2011-12-21 23:08:00 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T35306, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 33306 - Random option
Random option
Status: RESOLVED DUPLICATE of bug 30654
Product: MediaWiki extensions
Classification: Unclassified
DynamicPageList (Other open bugs)
unspecified
All All
: Unprioritized enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-12-21 23:04 UTC by seanf
Modified: 2011-12-21 23:08 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description seanf 2011-12-21 23:04:45 UTC
I noticed that this extension doesnt have a "Random" option despite even the example wiki assuming that it exists

the random functionality is excellent on my internal wiki especially for a radom picute box

this is the code that I added to get it to work
 

         case 'random':
             $sOrderMethod = 'random';
         break;
 
 
 
      case 'random':
      $sSqlSort = 'RAND()';
        break;
Comment 1 Bawolff (Brian Wolff) 2011-12-21 23:08:00 UTC
(In reply to comment #0)
> I noticed that this extension doesnt have a "Random" option despite even the
> example wiki assuming that it exists
> 

I think you're mixing up extensions. http://semeb.com/dpldemo/index.php is an example wiki for a totally different extension.

I have some concerns over caching + random giving not expected results, see bug 30654

*** This bug has been marked as a duplicate of bug 30654 ***

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links