MediaWiki:Gadget-Prosesize.js: Difference between revisions
Content deleted Content added
Fix for old revisions/edit pages - tool won't work on those pages, so keep using our word counter |
ce |
||
Line 158:
prosePromise.then( function( data ) {
if ( mw.config.get( 'wgIsArticle' ) && mw.config.get( 'wgCurRevisionId' ) === mw.config.get( 'wgRevisionId' ) ) {
// Tool only works
proseSize = data.prose_size;
wordCount = data.word_count;
|