Skip to content
  • MusikAnimal's avatar
    WishlistManager: new gadget for managing wishes · 56e1579f
    MusikAnimal authored and Samwilson's avatar Samwilson committed
    Add a new gadget called WishlistManager that is loaded on all pages, (WishlistIntake is only loaded on Category:Community_Wishlist/Intake). For the time being, it's only used for a few things:
    
    * On wish pages, show a "Prepare for translation" button
    * Once clicked, the action=edit view of the wish is loaded with the `<translate>` tags added.
    * At Special:PageTranslation, the "Allow translation of page title" option is unchecked.
    
    The Rollup config is a bit more convoluted now, but nothing really has changed on the developer standpoint. You run the same commands as before.
    
    The WishlistManager class is a standalone file with the intention to eventually add tests. wishlistManager.init.js is the actual entrypoint, akin to init.js for WishlistIntake.
    
    Bug: T365558
    56e1579f