MediaWiki:Gadget-Prosesize.js: Difference between revisions
Content deleted Content added
use revisionid for prosesize API |
escape page name |
||
Line 138:
// The calculations below are left in for the highlighting
prosePromise = $.getJSON( 'https://prosesize.toolforge.org/api/en.wikipedia.org/'
+ encodeURIComponent( mw.config.get( 'wgPageName' ) ) + '?revision=' + mw.config.get( 'wgRevisionId' ) );
// Calculate prose size and size of reference markers ([1] etc)
|