Warning: file_put_contents(/opt/frankenphp/design.onmedianet.com/storage/proxy/cache/2c6529ced7a4b59455365172f181d9f6.html): Failed to open stream: No space left on device in /opt/frankenphp/design.onmedianet.com/app/src/Arsae/CacheManager.php on line 36
Warning: http_response_code(): Cannot set response code - headers already sent (output started at /opt/frankenphp/design.onmedianet.com/app/src/Arsae/CacheManager.php:36) in /opt/frankenphp/design.onmedianet.com/app/src/Models/Response.php on line 17
Warning: Cannot modify header information - headers already sent by (output started at /opt/frankenphp/design.onmedianet.com/app/src/Arsae/CacheManager.php:36) in /opt/frankenphp/design.onmedianet.com/app/src/Models/Response.php on line 20 GLAMorgan
This tool is a variant of baGLAMa2. It can show the view number of pages that include files from a specific Commons category.
Human views only, article namespace only. 30K files max in category tree. This tool is run "live", so it may take a while to run.
" ;
while ( tmp.length > max ) tmp.pop() ;
}
var to_load = [] ;
var h = '' ;
h += "
" ;
h += "
Image
Image title
Views
Used on pages
" ;
$.each ( tmp , function ( dummy , file_key ) {
var file = files[file_key] ;
var id = sanitizeID ( file_key ) ;
h += "
" ;
h += "
" ;
to_load.push ( [ id , file.page_title ] ) ;
h += "
Data for " + failed_pages.length + " pages could not be loaded from the WMF pageview API (404 error).
" ;
// h += '
'+prettyNumber(failed_pages.length)+' pages could not be checked for view data in the pageview API.
' ;
}
h += "
Views per file
" ;
// Usage per wiki
h += "
Use per wiki
" ;
h += "
" ;
h += "
Wiki
Images used
" ;
h += "" ;
var tmp = [] ;
$.each ( stats.used_by_wiki , function ( k , v ) { tmp.push ( k ) } ) ;
tmp.sort ( function ( a , b ) { return stats.used_by_wiki[b]*1 - stats.used_by_wiki[a]*1 } ) ;
$.each ( tmp , function ( dummy , wiki ) {
h += "
" ;
h += "
" + wiki + "
" ;
h += "
" + prettyNumber(stats.used_by_wiki[wiki]) + "
" ;
h += "
" ;
} ) ;
h += "
" ;
// Download
try {
var isFileSaverSupported = !!new Blob;
} catch (e) {}
if ( isFileSaverSupported ) {
h += "