var wmf = {}

wmf.compatibility = require('wikimedia-page-library').CompatibilityTransform
wmf.elementLocation = require('./js/elementLocation')
wmf.utilities = require('./js/utilities')
wmf.findInPage = require('./js/findInPage')
wmf.footerReadMore = require('wikimedia-page-library').FooterReadMore
wmf.footerMenu = require('wikimedia-page-library').FooterMenu
wmf.footerLegal = require('wikimedia-page-library').FooterLegal
wmf.footerContainer = require('wikimedia-page-library').FooterContainer
wmf.filePages = require('./js/transforms/disableFilePageEdit')
wmf.imageDimming = require('wikimedia-page-library').DimImagesTransform
wmf.tables = require('./js/transforms/collapseTables')
wmf.themes = require('wikimedia-page-library').ThemeTransform
wmf.redLinks = require('wikimedia-page-library').RedLinks
wmf.paragraphs = require('./js/transforms/relocateFirstParagraph')
wmf.images = require('./js/transforms/widenImages')

window.wmf = wmf

@@ -7,16 +7,76 @@
 f = %7B%7D%0A%0A
+wmf.editButtons = require('./js/transforms/addEditButtons')%0A
 wmf.comp

Make the new edit button JS func visible to native land.