Estinzioni:MultimediaViewer
MultimediaViewer Statu dâ rilassu: stàbbili |
|
---|---|
Implementation | User interface, Ajax |
Description | Furnisci na megghiu spirienza a l'utenti quannu clìccanu ntê miniaturi di na pàggina. |
Author(s) | |
Compatibility policy | Snapshots releases along with MediaWiki. Master is not backward compatible. |
MediaWiki | 1.25+ |
PHP | 5.4+ |
License | GNU General Public License 2.0 or later |
Download | |
Example | MediaWiki.org |
|
|
Quarterly downloads | 169 (Ranked 35th) |
Public wikis using | 1,926 (Ranked 195th) |
Translate the MultimediaViewer extension if it is available at translatewiki.net | |
Issues | Open tasks · Report a bug |
L'estinzioni MultimediaViewer furnisci a l'utenti di na wiki a ntirfaccia diversa pi taliari a schermu nteru o a schermu quasi nteru li mmàggini ntô propiu browser senza carricamenti di pàggini esterni o d'àutri finestri.
Nstallazzioni
Prubbabbilmenti voi puru scarricari l'estinzioni CommonsMetadata - nun è funnamintali, ma senza di chista nun hai tanti nfurmazzioni ntê tò lightbox.
On third-party wikis, even if you only use locally uploaded images, you need CommonsMetatada to populate the information in the boxes via a template holding information about the files.)
- Download and move the extracted
MultimediaViewer
folder to yourextensions/
directory.
Developers and code contributors should install the extension from Git instead, using:cd extensions/
git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/MultimediaViewer - Add the following code at the bottom of your LocalSettings.php file:
wfLoadExtension( 'MultimediaViewer' );
- Configure as required
- Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
Vagrant installation:
- If using Vagrant , install with
vagrant roles enable multimediaviewer --provision
Cunfigurazzioni
$wgMediaViewerEnableByDefault
e$wgMediaViewerEnableByDefaultForAnonymous
ditèrminanu quali MMV è abbilitatu di default pi cuegghiè e pi l'utenti anònimi, rispittivamenti. Di default sunnu tutti dui mpustati nta true.
They both default to true
.
$wgMediaViewerUseThumbnailGuessing
migghiora li pristazzioni quannu abbilitatu, ma pò èssiri fràggili n basi a comu la wiki fu mpustata (prubbabbilmenti funziuna currettamenti si usi un handler 404).
- Scarricamentu furzatu
P'assicuràrisi ca li file sìanu scarricàbbili e nun taliati ntô browser di l'utenti quannu si clicca supra lu pulsanti Scàrrica..., lu server havi a èssiri cunfiguratu, fatta eccizzioni pô casu ntô quali si sta usannu vagrant:
Si l'URL addumannatu pi na directory di mmàggini cunteni lu paràmitru query download
, lu header Content-Disposition
havi a èssiri mpustatu supra attachment
.
Chistu pò èssiri fattu cu Apache e chê server cumpatìbbili usannu mod_rewrite e mod_headers ntôn file .htaccess
.
La cunfigurazzioni di Varnish putissi èssiri chista.
Usage testing
Ora, vai nta na pàggina ca cunteni na miniatura. Prova a cliccari ntâ mmàggini o ntâ cona vicina "espanni". Avissi a cumpariri lu lightbox e furnìriti na vista chiù granni dâ mmàggini.
If you'd prefer, there's an exported test environment that you can use via "Special:Import" to set up a suitable testing environment quickly.
Template
Multimedia Viewer e Upload Wizard hannu bisognu di diversi template p'ammustrari li nfurmazzioni dê fotu. Sarva simplicimenti stu còdici ntôn file xml e mpòrtalu ntâ tò wiki.
Talìa macari
This extension is being used on one or more Wikimedia projects. This probably means that the extension is stable and works well enough to be used by such high-traffic websites. Look for this extension's name in Wikimedia's CommonSettings.php and InitialiseSettings.php configuration files to see where it's installed. A full list of the extensions installed on a particular wiki can be seen on the wiki's Special:Version page. |
This extension is included in the following wiki farms/hosts and/or packages: This is not an authoritative list. Some wiki farms/hosts and/or packages may contain this extension even if they are not listed here. Always check with your wiki farms/hosts or bundle to confirm. |