Extension:RandomImagewithinCommons
<translate> This extension is currently not actively maintained!</translate> <translate> Although it may still work, any bug reports or feature requests will more than likely be ignored.</translate> |
Random Image within Commons Release status: unmaintained |
|
---|---|
Implementation | Tag , Parser function |
Description | Allows to display a randomized image per view including images that are stored at Creative Commons |
Author(s) | Thiemo Schuff (Starwhoopertalk) |
Latest version | 2.3 beta build 20140916 (2014-09-16) |
MediaWiki | |
License | Creative Commons Attribution Share Alike 4.0 |
Download | GitHub:
<translate> Note:</translate> |
Example | http://thwiki.org |
|
|
image random |
|
Quarterly downloads | Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin'). |
Public wikis using | Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin'). |
The RandomImagewithinCommons extension allows to display a randomized image per view including images that are stored at Creative Commons.
Usage
Set tag <riwc />
Installation
- <translate> <tvar name=1>Download</tvar> and place the file(s) in a directory called <tvar name=name>
RandomImagewithinCommons
</tvar> in your <tvar name=ext>extensions/
</tvar> folder.</translate> - <translate> Add the following code at the bottom of your <tvar name=1>LocalSettings.php </tvar> file:</translate>
require_once "$IP/extensions/RandomImagewithinCommons/RandomImagewithinCommons.php";
- Configure as required.
- File:OOjs UI icon check-constructive.svg <translate> Done</translate> – <translate> Navigate to <tvar name=special>Special:Version</tvar> on your wiki to verify that the extension is successfully installed.</translate>
Configuration
Use $wgriwc['size'] = '400px';
to set the default size to 400 pixel. If it not set, it will be displayed in 200 pixel width.
To ignore any picture, you can add in to the Category [[Category:riwc blacklist]] to put in on blacklist.
Version history
- Version 1.0 beta on 2. August 2011
- Version 2.0 from 14. June 2012
- filter Namespace (use only normal Articles (namespace 0))
- repace all DB Querys with Mediawiki wfGetDB function
- the extension use the mediawiki own function to calculate the picture
- Version 2.1 from 3. April 2014
- go to Multilanguage
- implement Ignorelist like $wgriwc['blacklist'] = array('x.svg', 'y.gif', 'z.jpg');
- Version 2.2 from 30. August 2014
- Use Catogorys instead of the blacklist array
- Version 2.3 from 16. September 2014
- optimize DB querys
- Add link to Blacklist on Specialpage of Versions
- Pages with script errors
- Pages with broken file links
- Unmaintained extensions
- Extensions without an image
- Tag extensions
- Parser function extensions
- Extensions without a compatibility policy
- Extensions without MediaWiki version
- Creative Commons licensed extensions
- Extensions in GitHub version control
- All extensions
- Extensions not in ExtensionJson
- Extensions not using extension registration
- Random content extensions
- Image extensions