Index: trunk/extensions/UploadWizard/resources/combined.js |
— | — | @@ -11305,6 +11305,9 @@ |
11306 | 11306 | .find( 'input' ) |
11307 | 11307 | .mwCoolCats( { buttontext: gM( 'mwe-upwiz-categories-add' ) } ); |
11308 | 11308 | |
| 11309 | + // add hidden category for stats purposes |
| 11310 | + $categoriesDiv.find( 'ul.cat-list' ).append( $j( '<li style="display: none;"><a class="cat">Uploaded with UploadWizard</a></li>' ) ); |
| 11311 | + |
11309 | 11312 | }; |
11310 | 11313 | |
11311 | 11314 | mw.UploadWizardDetails.prototype = { |
Index: trunk/extensions/UploadWizard/resources/mw.UploadWizard.js |
— | — | @@ -920,6 +920,9 @@ |
921 | 921 | .find( 'input' ) |
922 | 922 | .mwCoolCats( { buttontext: gM( 'mwe-upwiz-categories-add' ) } ); |
923 | 923 | |
| 924 | + // add hidden category for stats purposes |
| 925 | + $categoriesDiv.find( 'ul.cat-list' ).append( $j( '<li style="display: none;"><a class="cat">Uploaded with UploadWizard</a></li>' ) ); |
| 926 | + |
924 | 927 | }; |
925 | 928 | |
926 | 929 | mw.UploadWizardDetails.prototype = { |
Index: trunk/extensions/UploadWizard/resources/combined.min.js |
— | — | @@ -11305,6 +11305,9 @@ |
11306 | 11306 | .find('input') |
11307 | 11307 | .mwCoolCats({buttontext:gM('mwe-upwiz-categories-add')}); |
11308 | 11308 | |
| 11309 | + |
| 11310 | +$categoriesDiv.find('ul.cat-list').append($j('<li style="display: none;"><a class="cat">Uploaded with UploadWizard</a></li>')); |
| 11311 | + |
11309 | 11312 | }; |
11310 | 11313 | |
11311 | 11314 | mw.UploadWizardDetails.prototype={ |