Content deleted Content added
Polygnotus (talk | contribs) ←Created page with '// Add custom buttons to Wikipedia's Visual Editor based on JSON configuration // Add this code to your common.js page on Wikipedia // (e.g., https://en.wikipedia.org/wiki/User:YourUsername/common.js) (function() { // Wait for the VisualEditor to be ready mw.loader.using(['ext.visualEditor.desktopArticleTarget', 'mediawiki.api']).then(function() { // Load JSON configuration and add buttons when VE is activated mw.hook('ve.activation...' |
Polygnotus (talk | contribs) No edit summary |
||
Line 36:
action: 'query',
prop: 'revisions',
titles: `User:${username}/VEbuttonsJSON.json`,
rvslots: '*',
rvprop: 'content',
|