Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. MediaWiki
  3. Help Needed: Installing VisualEditor extension.

Help Needed: Installing VisualEditor extension.

Scheduled Pinned Locked Moved MediaWiki
19 Posts 3 Posters 3.5k Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • robiR robi

    @girish Should probably make that the default 😛

    girishG Offline
    girishG Offline
    girish
    Staff
    wrote on last edited by
    #10

    @robi the docs are so sparse, it's not clear to me why it's not loaded by default. Clearly, they have not enabled it for a reason despite pre-bundling it with mediawiki itself...

    robiR 1 Reply Last reply
    0
    • girishG girish

      @robi the docs are so sparse, it's not clear to me why it's not loaded by default. Clearly, they have not enabled it for a reason despite pre-bundling it with mediawiki itself...

      robiR Offline
      robiR Offline
      robi
      wrote on last edited by
      #11

      @girish I think that's an assumption, and one which we can remedy by making it nicer, the Cloudron way.

      Conscious tech

      1 Reply Last reply
      0
      • girishG girish

        @jtippetts Can you try with the latest package?

        Also, as you pointed out, VisualEditor is already bundled inside mediawiki. There is nothing to install. All you have to do is put this line in /app/data/LocalSettings.php:

        wfLoadExtension( 'VisualEditor' );
        

        Then, when you refresh, you will see two entries in the top bar - Edit and Edit Source

        27913454-96c7-4c66-8678-e9df5a01567f-image.png

        Clicking Edit, show this popup:

        3b7c1452-de70-438c-b3f2-ff1daac5e29c-image.png

        Click on 'Start Editing' and you can just edit away:

        ca9c720f-bcc7-4a27-b561-3f3f57a71269-image.png

        J Offline
        J Offline
        jtippetts
        wrote on last edited by
        #12

        @girish I'm just getting back to this... it's strange, I have just the default settings in my LocalSettings.php file. The only thing I have added is the line: wfLoadExtension( 'VisualEditor' );

        Unfortunately I'm still getting this error: Screenshot 2022-04-26 at 16-58-29 Editing Main Page - My Wiki.png

        I would normally just uninstall and reinstall the app but I already have a lot of content in there...

        girishG 1 Reply Last reply
        0
        • J jtippetts

          @girish I'm just getting back to this... it's strange, I have just the default settings in my LocalSettings.php file. The only thing I have added is the line: wfLoadExtension( 'VisualEditor' );

          Unfortunately I'm still getting this error: Screenshot 2022-04-26 at 16-58-29 Editing Main Page - My Wiki.png

          I would normally just uninstall and reinstall the app but I already have a lot of content in there...

          girishG Offline
          girishG Offline
          girish
          Staff
          wrote on last edited by girish
          #13

          @jtippetts Did you update the app package to the latest version? I only pushed this out yesterday with the fix to wgServer. If you go to the Update view, it should show the package version as v1.17.0

          J 1 Reply Last reply
          0
          • girishG girish

            @jtippetts Did you update the app package to the latest version? I only pushed this out yesterday with the fix to wgServer. If you go to the Update view, it should show the package version as v1.17.0

            J Offline
            J Offline
            jtippetts
            wrote on last edited by
            #14

            @girish Yes, I believe I am on the most current update.
            Screenshot 2022-04-26 at 21-16-22 Cloudron.png

            girishG 1 Reply Last reply
            0
            • J jtippetts

              @girish Yes, I believe I am on the most current update.
              Screenshot 2022-04-26 at 21-16-22 Cloudron.png

              girishG Offline
              girishG Offline
              girish
              Staff
              wrote on last edited by
              #15

              @jtippetts That looks uptodate.

              I tried a fresh install on our demo server https://my.demo.cloudron.io (username/password is cloudron/cloudron). Can you try the install at https://wiki.demo.cloudron.io/ (username/password is cloudron/cloudron).

              Maybe you can compare the configs which I have above and what you have in your setup to see if we miss anything obvious ?

              J 1 Reply Last reply
              0
              • girishG girish

                @jtippetts That looks uptodate.

                I tried a fresh install on our demo server https://my.demo.cloudron.io (username/password is cloudron/cloudron). Can you try the install at https://wiki.demo.cloudron.io/ (username/password is cloudron/cloudron).

                Maybe you can compare the configs which I have above and what you have in your setup to see if we miss anything obvious ?

                J Offline
                J Offline
                jtippetts
                wrote on last edited by
                #16

                @girish Everything on the test server worked perfectly and all of my settings appeared to be identical. I decided to shut down the entire server and reboot it. After the machine started back up it seems that everything is now working as expected. For future reference do I need to reboot my server after Cloudron updates? Seems like normally I get a notification in Cloudron telling me when the system needs to be re-booted...? Anyways, I think everything is working now. I really appreciate all of your help! Seriously, I love Cloudron!

                girishG 1 Reply Last reply
                1
                • J jtippetts

                  @girish Everything on the test server worked perfectly and all of my settings appeared to be identical. I decided to shut down the entire server and reboot it. After the machine started back up it seems that everything is now working as expected. For future reference do I need to reboot my server after Cloudron updates? Seems like normally I get a notification in Cloudron telling me when the system needs to be re-booted...? Anyways, I think everything is working now. I really appreciate all of your help! Seriously, I love Cloudron!

                  girishG Offline
                  girishG Offline
                  girish
                  Staff
                  wrote on last edited by
                  #17

                  @jtippetts said in Help Needed: Installing VisualEditor extension.:

                  For future reference do I need to reboot my server after Cloudron updates?

                  No, app updates don't require a reboot. Not entirely sure what the reboot did 🙂 🤷

                  J 1 Reply Last reply
                  0
                  • girishG girish

                    @jtippetts said in Help Needed: Installing VisualEditor extension.:

                    For future reference do I need to reboot my server after Cloudron updates?

                    No, app updates don't require a reboot. Not entirely sure what the reboot did 🙂 🤷

                    J Offline
                    J Offline
                    jtippetts
                    wrote on last edited by
                    #18

                    @girish Turns out I spoke too soon. I am still getting an error. I found a workound from someone that had the exact same issue. Here is a link to a possible solution:

                    https://www.mediawiki.org/wiki/Topic:W2fgz5rywc86hciu

                    Unfortunately, I can't decipher what needs to be done. As soon as it starts talking about certificates it's way over my head.

                    girishG 1 Reply Last reply
                    0
                    • J jtippetts

                      @girish Turns out I spoke too soon. I am still getting an error. I found a workound from someone that had the exact same issue. Here is a link to a possible solution:

                      https://www.mediawiki.org/wiki/Topic:W2fgz5rywc86hciu

                      Unfortunately, I can't decipher what needs to be done. As soon as it starts talking about certificates it's way over my head.

                      girishG Offline
                      girishG Offline
                      girish
                      Staff
                      wrote on last edited by
                      #19

                      @jtippetts I have to check your instance to see why it's not working. Can you write to us at support@cloudron.io ?

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • Bookmarks
                      • Search