Skip to content
0
  • Home
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
  • Home
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
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 (Sketchy)
  • No Skin
Collapse

Wandering Adventure Party

  1. Home
  2. Uncategorized
  3. ...and it seems that I failed to install the Maps extension for my #MediaWiki installation successfully.

...and it seems that I failed to install the Maps extension for my #MediaWiki installation successfully.

Scheduled Pinned Locked Moved Uncategorized
mediawiki
17 Posts 3 Posters 2 Views
  • 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.
  • Jürgen HubertJ Jürgen Hubert

    @ratsnakegames Never mind, I figured it out how to display them on the page. Now I need to figure out what these error messages mean:

    [c9021c4917719257cb3d0c5c] /index.php?title=Sandbox2&action=submit Error: Class "Html" not found

    Backtrace:

    from /srv/data/web/vhosts/wiki.sunkencastles.com/htdocs/extensions/Maps/src/Map/MapHtmlBuilder.php(21)
    #0 /srv/data/web/vhosts/wiki.sunkencastles.com/htdocs/extensions/Maps/src/Map/MapOutputBuilder.php(22): Maps\Map\MapHtmlBuilder->getMapHTML()
    #1 /srv/data/web/vhosts/wiki.sunkencastles.com/htdocs/extensions/Maps/src/Map/MapOutputBuilder.php(13): Maps\Map\MapOutputBuilder->buildMapHtml()
    #2 /srv/data/web/vhosts/wiki.sunkencastles.com/htdocs/extensions/Maps/src/Map/DisplayMap/DisplayMapRenderer.php(61): Maps\Map\MapOutputBuilder->buildOutput()
    #3 /srv/data/web/vhosts/wiki.sunkencastles.com/htdocs/extensions/Maps/src/Map/DisplayMap/DisplayMapFunction.php(64): Maps\Map\DisplayMap\DisplayMapRenderer->renderMap()
    #4 /srv/data/web/vhosts/wiki.sunkencastles.com/htdocs/extensions/Maps/src/ParserHookSetup.php(77): Maps\Map\DisplayMap\DisplayMapFunction->getMapHtmlForKeyValueStrings()
    #5 /srv/data/web/vhosts/wiki.sunkencastles.com/htdocs/extensions/Maps/src/ParserHookSetup.php(58): Maps\ParserHookSetup->handleFunctionHook()
    #6 /srv/data/web/vhosts/wiki.sunkencastles.com/htdocs/includes/parser/Parser.php(3492): Maps\ParserHookSetup->Maps\{closure}()
    #7 /srv/data/web/vhosts/wiki.sunkencastles.com/htdocs/includes/parser/Parser.php(3147): MediaWiki\Parser\Parser->callParserFunction()
    #8 /srv/data/web/vhosts/wiki.sunkencastles.com/htdocs/includes/parser/PPFrame_Hash.php(280): MediaWiki\Parser\Parser->braceSubstitution()
    #9 /srv/data/web/vhosts/wiki.sunkencastles.com/htdocs/includes/parser/Parser.php(2970): MediaWiki\Parser\PPFrame_Hash->expand()
    #10 /srv/data/web/vhosts/wiki.sunkencastles.com/htdocs/includes/parser/Parser.php(1606): MediaWiki\Parser\Parser->replaceVariables()
    #11 /srv/data/web/vhosts/wiki.sunkencastles.com/htdocs/includes/parser/Parser.php(705): MediaWiki\Parser\Parser->internalParse()
    #12 /srv/data/web/vhosts/wiki.sunkencastles.com/htdocs/includes/content/WikitextContentHandler.php(380): MediaWiki\Parser\Parser->parse()
    #13 /srv/data/web/vhosts/wiki.sunkencastles.com/htdocs/includes/content/ContentHandler.php(1692): MediaWiki\Content\WikitextContentHandler->fillParserOutput()
    #14 /srv/data/web/vhosts/wiki.sunkencastles.com/htdocs/includes/content/Renderer/ContentRenderer.php(75): MediaWiki\Content\ContentHandler->getParserOutput()
    #15 /srv/data/web/vhosts/wiki.sunkencastles.com/htdocs/includes/Revision/RenderedRevision.php(260): MediaWiki\Content\Renderer\ContentRenderer->getParserOutput()
    #16 /srv/data/web/vhosts/wiki.sunkencastles.com/htdocs/includes/Revision/RenderedRevision.php(233): MediaWiki\Revision\RenderedRevision->getSlotParserOutputUncached()
    #17 /srv/data/web/vhosts/wiki.sunkencastles.com/htdocs/includes/Revision/RevisionRenderer.php(236): MediaWiki\Revision\RenderedRevision->getSlotParserOutput()
    #18 /srv/data/web/vhosts/wiki.sunkencastles.com/htdocs/includes/Revision/RevisionRenderer.php(169): MediaWiki\Revision\RevisionRenderer->combineSlotOutput()
    #19 /srv/data/web/vhosts/wiki.sunkencastles.com/htdocs/includes/Revision/RenderedRevision.php(196): MediaWiki\Revision\RevisionRenderer->MediaWiki\Revision\{closure}()
    #20 /srv/data/web/vhosts/wiki.sunkencastles.com/htdocs/extensions/TemplateData/includes/Hooks.php(101): MediaWiki\Revision\RenderedRevision->getRevisionParserOutput()
    #21 /srv/data/web/vhosts/wiki.sunkencastles.com/htdocs/includes/HookContainer/HookContainer.php(155): MediaWiki\Extension\TemplateData\Hooks->onMultiContentSave()
    #22 /srv/data/web/vhosts/wiki.sunkencastles.com/htdocs/includes/HookContainer/HookRunner.php(2699): MediaWiki\HookContainer\HookContainer->run()
    #23 /srv/data/web/vhosts/wiki.sunkencastles.com/htdocs/includes/Storage/PageUpdater.php(936): MediaWiki\HookContainer\HookRunner->onMultiContentSave()
    #24 /srv/data/web/vhosts/wiki.sunkencastles.com/htdocs/includes/editpage/EditPage.php(2580): MediaWiki\Storage\PageUpdater->saveRevision()
    #25 /srv/data/web/vhosts/wiki.sunkencastles.com/htdocs/includes/editpage/EditPage.php(1842): MediaWiki\EditPage\EditPage->internalAttemptSave()
    #26 /srv/data/web/vhosts/wiki.sunkencastles.com/htdocs/includes/editpage/EditPage.php(747): MediaWiki\EditPage\EditPage->attemptSave()
    #27 /srv/data/web/vhosts/wiki.sunkencastles.com/htdocs/includes/actions/EditAction.php(68): MediaWiki\EditPage\EditPage->edit()
    #28 /srv/data/web/vhosts/wiki.sunkencastles.com/htdocs/includes/actions/SubmitAction.php(40): MediaWiki\Actions\EditAction->show()
    #29 /srv/data/web/vhosts/wiki.sunkencastles.com/htdocs/includes/actions/ActionEntryPoint.php(728): MediaWiki\Actions\SubmitAction->show()
    #30 /srv/data/web/vhosts/wiki.sunkencastles.com/htdocs/includes/actions/ActionEntryPoint.php(505): MediaWiki\Actions\ActionEntryPoint->performAction()
    #31 /srv/data/web/vhosts/wiki.sunkencastles.com/htdocs/includes/actions/ActionEntryPoint.php(143): MediaWiki\Actions\ActionEntryPoint->performRequest()
    #32 /srv/data/web/vhosts/wiki.sunkencastles.com/htdocs/includes/MediaWikiEntryPoint.php(202): MediaWiki\Actions\ActionEntryPoint->execute()
    #33 /srv/data/web/vhosts/wiki.sunkencastles.com/htdocs/index.php(58): MediaWiki\MediaWikiEntryPoint->run()
    #34 {main}

    Ratsnake GamesR This user is from outside of this forum
    Ratsnake GamesR This user is from outside of this forum
    Ratsnake Games
    wrote on last edited by
    #5

    @juergen_hubert this is a complete shot in the dark but errors like that often result from version incompatibilities, or missing plugins - are you sure all plugins you are using are compatible with your current MediaWiki version?

    Jürgen HubertJ 1 Reply Last reply
    0
    • Ratsnake GamesR Ratsnake Games

      @juergen_hubert this is a complete shot in the dark but errors like that often result from version incompatibilities, or missing plugins - are you sure all plugins you are using are compatible with your current MediaWiki version?

      Jürgen HubertJ This user is from outside of this forum
      Jürgen HubertJ This user is from outside of this forum
      Jürgen Hubert
      wrote on last edited by juergen_hubert@mementomori.social
      #6

      @ratsnakegames

      ...now that I've actually found the compatibility lists for the Maps extension, this does look like a rather strong contender. Thanks for pointing that out!

      I guess I'll just wait until a new, compatible version of the extension has been released.

      Link Preview Image
      Maps/INSTALL.md at master · ProfessionalWiki/Maps

      🗺 Maps is the MediaWiki extension that enables visualization of geographic data via dynamic embedded maps. - Maps/INSTALL.md at master · ProfessionalWiki/Maps

      favicon

      GitHub (github.com)

      Timo TijhofK 2 Replies Last reply
      0
      • Jürgen HubertJ Jürgen Hubert

        @ratsnakegames

        ...now that I've actually found the compatibility lists for the Maps extension, this does look like a rather strong contender. Thanks for pointing that out!

        I guess I'll just wait until a new, compatible version of the extension has been released.

        Link Preview Image
        Maps/INSTALL.md at master · ProfessionalWiki/Maps

        🗺 Maps is the MediaWiki extension that enables visualization of geographic data via dynamic embedded maps. - Maps/INSTALL.md at master · ProfessionalWiki/Maps

        favicon

        GitHub (github.com)

        Timo TijhofK This user is from outside of this forum
        Timo TijhofK This user is from outside of this forum
        Timo Tijhof
        wrote on last edited by
        #7

        @juergen_hubert @ratsnakegames

        Or run MediaWiki 1.43, if that's an option for you?

        Jürgen HubertJ 1 Reply Last reply
        0
        • Timo TijhofK Timo Tijhof

          @juergen_hubert @ratsnakegames

          Or run MediaWiki 1.43, if that's an option for you?

          Jürgen HubertJ This user is from outside of this forum
          Jürgen HubertJ This user is from outside of this forum
          Jürgen Hubert
          wrote on last edited by
          #8

          @krinkle @ratsnakegames

          I am leery of downgrading an active wiki.

          1 Reply Last reply
          0
          • Jürgen HubertJ Jürgen Hubert

            @ratsnakegames

            ...now that I've actually found the compatibility lists for the Maps extension, this does look like a rather strong contender. Thanks for pointing that out!

            I guess I'll just wait until a new, compatible version of the extension has been released.

            Link Preview Image
            Maps/INSTALL.md at master · ProfessionalWiki/Maps

            🗺 Maps is the MediaWiki extension that enables visualization of geographic data via dynamic embedded maps. - Maps/INSTALL.md at master · ProfessionalWiki/Maps

            favicon

            GitHub (github.com)

            Timo TijhofK This user is from outside of this forum
            Timo TijhofK This user is from outside of this forum
            Timo Tijhof
            wrote on last edited by
            #9

            @juergen_hubert @ratsnakegames

            Looks like it's been reported and fixed by others testing on MW 1.43.

            Link Preview Image
            Error: Class "Html" not found when adding a map · Issue #822 · ProfessionalWiki/Maps

            Hello, I installed the extension with composer, the page Special:Version says it's installed but when adding a simple map I get this: Backtrace: from /[path to wiki]/extensions/Maps/src/Map/MapHtmlBuilder.php(21) #0 /[path to wiki]/exten...

            favicon

            GitHub (github.com)

            Ratsnake GamesR 1 Reply Last reply
            0
            • Timo TijhofK Timo Tijhof

              @juergen_hubert @ratsnakegames

              Looks like it's been reported and fixed by others testing on MW 1.43.

              Link Preview Image
              Error: Class "Html" not found when adding a map · Issue #822 · ProfessionalWiki/Maps

              Hello, I installed the extension with composer, the page Special:Version says it's installed but when adding a simple map I get this: Backtrace: from /[path to wiki]/extensions/Maps/src/Map/MapHtmlBuilder.php(21) #0 /[path to wiki]/exten...

              favicon

              GitHub (github.com)

              Ratsnake GamesR This user is from outside of this forum
              Ratsnake GamesR This user is from outside of this forum
              Ratsnake Games
              wrote on last edited by
              #10

              @krinkle @juergen_hubert Their policy seems to be to only support LTS releases of MediaWiki, so official support for 1.44 is unlikely.

              Jürgen HubertJ Timo TijhofK 2 Replies Last reply
              0
              • Ratsnake GamesR Ratsnake Games

                @krinkle @juergen_hubert Their policy seems to be to only support LTS releases of MediaWiki, so official support for 1.44 is unlikely.

                Jürgen HubertJ This user is from outside of this forum
                Jürgen HubertJ This user is from outside of this forum
                Jürgen Hubert
                wrote on last edited by
                #11

                @ratsnakegames @krinkle

                Ugh. I have 1.44, but I _really_ don't want to start over.

                1 Reply Last reply
                0
                • Ratsnake GamesR Ratsnake Games

                  @krinkle @juergen_hubert Their policy seems to be to only support LTS releases of MediaWiki, so official support for 1.44 is unlikely.

                  Timo TijhofK This user is from outside of this forum
                  Timo TijhofK This user is from outside of this forum
                  Timo Tijhof
                  wrote on last edited by
                  #12

                  @ratsnakegames @juergen_hubert

                  This particular issue was fixed so if you install it from Git, it might work.

                  Ratsnake GamesR 1 Reply Last reply
                  0
                  • Timo TijhofK Timo Tijhof

                    @ratsnakegames @juergen_hubert

                    This particular issue was fixed so if you install it from Git, it might work.

                    Ratsnake GamesR This user is from outside of this forum
                    Ratsnake GamesR This user is from outside of this forum
                    Ratsnake Games
                    wrote on last edited by
                    #13

                    @krinkle @juergen_hubert I do not see any commit that looks like it might have fixed it in the git history, and the ticket you shared was closed by the reporter after they were told the issue would not be fixed and they should stick to the LTS version. So no, I don't think it is fixed on the git main branch and I don't think running some random wip commit from Github in production is a good idea anyway.

                    Ratsnake GamesR 1 Reply Last reply
                    0
                    • Ratsnake GamesR Ratsnake Games

                      @krinkle @juergen_hubert I do not see any commit that looks like it might have fixed it in the git history, and the ticket you shared was closed by the reporter after they were told the issue would not be fixed and they should stick to the LTS version. So no, I don't think it is fixed on the git main branch and I don't think running some random wip commit from Github in production is a good idea anyway.

                      Ratsnake GamesR This user is from outside of this forum
                      Ratsnake GamesR This user is from outside of this forum
                      Ratsnake Games
                      wrote on last edited by
                      #14

                      @krinkle @juergen_hubert It does seem like version 12.0.0 lists "partial" 1.44 compatibility in its readme, whatever that means.

                      Jürgen HubertJ 1 Reply Last reply
                      0
                      • Ratsnake GamesR Ratsnake Games

                        @krinkle @juergen_hubert It does seem like version 12.0.0 lists "partial" 1.44 compatibility in its readme, whatever that means.

                        Jürgen HubertJ This user is from outside of this forum
                        Jürgen HubertJ This user is from outside of this forum
                        Jürgen Hubert
                        wrote on last edited by
                        #15

                        @ratsnakegames @krinkle

                        ...huh. I just realized that the official instructions for installing Maps, which I used, only install version 10.1:

                        COMPOSER=composer.local.json composer require --no-update mediawiki/maps:~10.1

                        Perhaps it will work if I substitute "10.1" for "12.0".

                        Link Preview Image
                        Installation - Maps for MediaWiki

                        favicon

                        (maps.extension.wiki)

                        Jürgen HubertJ 1 Reply Last reply
                        0
                        • Jürgen HubertJ Jürgen Hubert

                          @ratsnakegames @krinkle

                          ...huh. I just realized that the official instructions for installing Maps, which I used, only install version 10.1:

                          COMPOSER=composer.local.json composer require --no-update mediawiki/maps:~10.1

                          Perhaps it will work if I substitute "10.1" for "12.0".

                          Link Preview Image
                          Installation - Maps for MediaWiki

                          favicon

                          (maps.extension.wiki)

                          Jürgen HubertJ This user is from outside of this forum
                          Jürgen HubertJ This user is from outside of this forum
                          Jürgen Hubert
                          wrote on last edited by juergen_hubert@mementomori.social
                          #16

                          @ratsnakegames @krinkle

                          Okay, I tried it again - with Maps 12.0 this time.

                          It doesn't create an error, which is progress. But while it displays a map box in the correct size, the map is stuck at "Loading map..."

                          Link Preview Image
                          Sandbox2

                          favicon

                          Sunken Castles, Evil Poodles Wiki (wiki.sunkencastles.com)

                          EDIT: Huh, now it loads. Presumably, it took a while until the leaflet API recognized my site...

                          Jürgen HubertJ 1 Reply Last reply
                          0
                          • Jürgen HubertJ Jürgen Hubert

                            @ratsnakegames @krinkle

                            Okay, I tried it again - with Maps 12.0 this time.

                            It doesn't create an error, which is progress. But while it displays a map box in the correct size, the map is stuck at "Loading map..."

                            Link Preview Image
                            Sandbox2

                            favicon

                            Sunken Castles, Evil Poodles Wiki (wiki.sunkencastles.com)

                            EDIT: Huh, now it loads. Presumably, it took a while until the leaflet API recognized my site...

                            Jürgen HubertJ This user is from outside of this forum
                            Jürgen HubertJ This user is from outside of this forum
                            Jürgen Hubert
                            wrote on last edited by
                            #17

                            @ratsnakegames @krinkle

                            Success! I managed to generate a map with a map icon generated by a semantic query!

                            For the next step, I will have to wait until the Maps Extension Wiki becomes online again so that I can read up on their assorted templates - annoyingly, that wiki has a _lot_ of downtime.

                            But either way, thank you both for your help!

                            Link Preview Image
                            Countries

                            favicon

                            Sunken Castles, Evil Poodles Wiki (wiki.sunkencastles.com)

                            1 Reply Last reply
                            0

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


                            • Login

                            • Login or register to search.
                            Powered by NodeBB Contributors
                            • First post
                              Last post