http://www.mediawiki.org/wiki/Special:Code/MediaWiki/74101
Revision: 74101
Author: neilk
Date: 2010-10-01 20:24:30 +0000 (Fri, 01 Oct 2010)
Log Message:
-----------
added comments
Modified Paths:
--------------
branches/uploadwizard/extensions/UploadWizard/test/php/scripts/generateRandomImages.php
Modified:
branches/uploadwizard/extensions/UploadWizard/test/php/scripts/generateRandomImages.php
===================================================================
---
branches/uploadwizard/extensions/UploadWizard/test/php/scripts/generateRandomImages.php
2010-10-01 20:21:24 UTC (rev 74100)
+++
branches/uploadwizard/extensions/UploadWizard/test/php/scripts/generateRandomImages.php
2010-10-01 20:24:30 UTC (rev 74101)
@@ -1,10 +1,18 @@
<?php
-/* Because MediaWiki tests the uniqueness of media upload content, and
filenames, it is sometimes useful to generate
- files that are guaranteed (or at least very likely) to be unique in both
those ways.
- This generates a number of filenames with random names and random content
(colored circles) */
+/*
+ * generateRandomImages -- does what it says on the tin.
+ *
+ * Because MediaWiki tests the uniqueness of media upload content, and
filenames, it is sometimes useful to generate
+ * files that are guaranteed (or at least very likely) to be unique in both
those ways.
+ * This generates a number of filenames with random names and random content
(colored circles)
+ *
+ * Requires Imagick, the ImageMagick library for PHP.
+ *
+ * @file
+ * @author Neil Kandalgaonkar <[email protected]>
+ */
-
$defaults = array(
'dict' => "/usr/share/dict/words",
'number' => 10,
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs