MediaWiki:Gadget-Prosesize.js: Difference between revisions
Content deleted Content added
fix prose size calculation |
make this work for other wikis if they import/use this code |
||
Line 137:
// Use prosesize API to get a more accurate prose size account
// The calculations below are left in for the highlighting
prosePromise = $.getJSON( 'https://prosesize.toolforge.org/api/
+ encodeURIComponent( mw.config.get( 'wgPageName' ) ) + '?revision=' + mw.config.get( 'wgRevisionId' ) );
|