User:Alexis Jazz/MVattrib
Appearance
Description | Appends contents of the author+permission parameter of the information template and contents of the license section to the attribution in MediaViewer when there is a FoP template or MediaViewer is suspected to be triggering phab:T68606 |
---|---|
Author(s) | User:Alexis Jazz |
Status | It works but prolly buggy |
Updated | January 23, 2022 |
Source | User:Alexis Jazz/MVattrib.js |
Appends contents of the author+permission parameter of the information template and contents of the license section to the attribution in MediaViewer when there is a FoP template or MediaViewer is suspected to be triggering phab:T68606. Works only for files that are hosted on Commons.
Expect bugs.
How to install
[edit]Add this to m:Special:MyPage/global.js to load the script globally:
mw.loader.load('//wiki.riteme.site/w/index.php?title=User:Alexis_Jazz/MVattrib.js&action=raw&ctype=text/javascript');
To load the script on a specific Wikimedia project, add the line to Special:MyPage/common.js on the project in question instead.