How to match Scribunto version with Wikibase container version?












0















I am running a Wikibase using the docker images explained here. However, after install, I would like to use the SPARQL2 template used in Wikidata, which I try to migrate using Special:Export (on Wikidata) and Special:Import (on local wikibase). This seems to work, but the import chokes on the Scribuntu mediawiki extension missing. After following the install instructions, I get the following message.




Fatal error: Uncaught Exception: Scribunto is not compatible with the current MediaWiki core (version 1.30.0), it requires: >=1.31.0. in /var/www/html/includes/registration/ExtensionRegistry.php:261 Stack trace: #0 /var/www/html/includes/registration/ExtensionRegistry.php(148): ExtensionRegistry->readFromQueue(Array) #1 /var/www/html/includes/Setup.php(40): ExtensionRegistry->loadFromQueue() #2 /var/www/html/includes/WebStart.php(114): require_once('/var/www/html/i...') #3 /var/www/html/index.php(40): require('/var/www/html/i...') #4 {main} thrown in /var/www/html/includes/registration/ExtensionRegistry.php on line 261




How do upgrade from version 1.30 to version 1.31 or higher? Can this be done from with in the running docker image?










share|improve this question





























    0















    I am running a Wikibase using the docker images explained here. However, after install, I would like to use the SPARQL2 template used in Wikidata, which I try to migrate using Special:Export (on Wikidata) and Special:Import (on local wikibase). This seems to work, but the import chokes on the Scribuntu mediawiki extension missing. After following the install instructions, I get the following message.




    Fatal error: Uncaught Exception: Scribunto is not compatible with the current MediaWiki core (version 1.30.0), it requires: >=1.31.0. in /var/www/html/includes/registration/ExtensionRegistry.php:261 Stack trace: #0 /var/www/html/includes/registration/ExtensionRegistry.php(148): ExtensionRegistry->readFromQueue(Array) #1 /var/www/html/includes/Setup.php(40): ExtensionRegistry->loadFromQueue() #2 /var/www/html/includes/WebStart.php(114): require_once('/var/www/html/i...') #3 /var/www/html/index.php(40): require('/var/www/html/i...') #4 {main} thrown in /var/www/html/includes/registration/ExtensionRegistry.php on line 261




    How do upgrade from version 1.30 to version 1.31 or higher? Can this be done from with in the running docker image?










    share|improve this question



























      0












      0








      0








      I am running a Wikibase using the docker images explained here. However, after install, I would like to use the SPARQL2 template used in Wikidata, which I try to migrate using Special:Export (on Wikidata) and Special:Import (on local wikibase). This seems to work, but the import chokes on the Scribuntu mediawiki extension missing. After following the install instructions, I get the following message.




      Fatal error: Uncaught Exception: Scribunto is not compatible with the current MediaWiki core (version 1.30.0), it requires: >=1.31.0. in /var/www/html/includes/registration/ExtensionRegistry.php:261 Stack trace: #0 /var/www/html/includes/registration/ExtensionRegistry.php(148): ExtensionRegistry->readFromQueue(Array) #1 /var/www/html/includes/Setup.php(40): ExtensionRegistry->loadFromQueue() #2 /var/www/html/includes/WebStart.php(114): require_once('/var/www/html/i...') #3 /var/www/html/index.php(40): require('/var/www/html/i...') #4 {main} thrown in /var/www/html/includes/registration/ExtensionRegistry.php on line 261




      How do upgrade from version 1.30 to version 1.31 or higher? Can this be done from with in the running docker image?










      share|improve this question
















      I am running a Wikibase using the docker images explained here. However, after install, I would like to use the SPARQL2 template used in Wikidata, which I try to migrate using Special:Export (on Wikidata) and Special:Import (on local wikibase). This seems to work, but the import chokes on the Scribuntu mediawiki extension missing. After following the install instructions, I get the following message.




      Fatal error: Uncaught Exception: Scribunto is not compatible with the current MediaWiki core (version 1.30.0), it requires: >=1.31.0. in /var/www/html/includes/registration/ExtensionRegistry.php:261 Stack trace: #0 /var/www/html/includes/registration/ExtensionRegistry.php(148): ExtensionRegistry->readFromQueue(Array) #1 /var/www/html/includes/Setup.php(40): ExtensionRegistry->loadFromQueue() #2 /var/www/html/includes/WebStart.php(114): require_once('/var/www/html/i...') #3 /var/www/html/index.php(40): require('/var/www/html/i...') #4 {main} thrown in /var/www/html/includes/registration/ExtensionRegistry.php on line 261




      How do upgrade from version 1.30 to version 1.31 or higher? Can this be done from with in the running docker image?







      wikidata mediawiki-extensions






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 15 '18 at 17:02









      Addshore

      401311




      401311










      asked Nov 13 '18 at 14:15









      AndraAndra

      431717




      431717
























          1 Answer
          1






          active

          oldest

          votes


















          1














          You need to download a version of Scribunto that matches the version of Mediawiki / Wikibase that you are running.



          The current latest tags of the Wikibase docker image are for Mediawiki 1.30 as can be seen at https://hub.docker.com/r/wikibase/wikibase/tags/



          You must have downloaded either master or 1.31 of Scribunto.



          To get 1.30 you can either:




          • Use the git branch REL1_30
            https://github.com/wikimedia/mediawiki-extensions-Scribunto/tree/REL1_30

          • Select the 1.30 version from the Extension Distributor https://www.mediawiki.org/wiki/Special:ExtensionDistributor/Scribunto






          share|improve this answer

























            Your Answer






            StackExchange.ifUsing("editor", function () {
            StackExchange.using("externalEditor", function () {
            StackExchange.using("snippets", function () {
            StackExchange.snippets.init();
            });
            });
            }, "code-snippets");

            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "1"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53282992%2fhow-to-match-scribunto-version-with-wikibase-container-version%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            1














            You need to download a version of Scribunto that matches the version of Mediawiki / Wikibase that you are running.



            The current latest tags of the Wikibase docker image are for Mediawiki 1.30 as can be seen at https://hub.docker.com/r/wikibase/wikibase/tags/



            You must have downloaded either master or 1.31 of Scribunto.



            To get 1.30 you can either:




            • Use the git branch REL1_30
              https://github.com/wikimedia/mediawiki-extensions-Scribunto/tree/REL1_30

            • Select the 1.30 version from the Extension Distributor https://www.mediawiki.org/wiki/Special:ExtensionDistributor/Scribunto






            share|improve this answer






























              1














              You need to download a version of Scribunto that matches the version of Mediawiki / Wikibase that you are running.



              The current latest tags of the Wikibase docker image are for Mediawiki 1.30 as can be seen at https://hub.docker.com/r/wikibase/wikibase/tags/



              You must have downloaded either master or 1.31 of Scribunto.



              To get 1.30 you can either:




              • Use the git branch REL1_30
                https://github.com/wikimedia/mediawiki-extensions-Scribunto/tree/REL1_30

              • Select the 1.30 version from the Extension Distributor https://www.mediawiki.org/wiki/Special:ExtensionDistributor/Scribunto






              share|improve this answer




























                1












                1








                1







                You need to download a version of Scribunto that matches the version of Mediawiki / Wikibase that you are running.



                The current latest tags of the Wikibase docker image are for Mediawiki 1.30 as can be seen at https://hub.docker.com/r/wikibase/wikibase/tags/



                You must have downloaded either master or 1.31 of Scribunto.



                To get 1.30 you can either:




                • Use the git branch REL1_30
                  https://github.com/wikimedia/mediawiki-extensions-Scribunto/tree/REL1_30

                • Select the 1.30 version from the Extension Distributor https://www.mediawiki.org/wiki/Special:ExtensionDistributor/Scribunto






                share|improve this answer















                You need to download a version of Scribunto that matches the version of Mediawiki / Wikibase that you are running.



                The current latest tags of the Wikibase docker image are for Mediawiki 1.30 as can be seen at https://hub.docker.com/r/wikibase/wikibase/tags/



                You must have downloaded either master or 1.31 of Scribunto.



                To get 1.30 you can either:




                • Use the git branch REL1_30
                  https://github.com/wikimedia/mediawiki-extensions-Scribunto/tree/REL1_30

                • Select the 1.30 version from the Extension Distributor https://www.mediawiki.org/wiki/Special:ExtensionDistributor/Scribunto







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Nov 16 '18 at 17:24









                Tgr

                20.6k86498




                20.6k86498










                answered Nov 13 '18 at 15:15









                AddshoreAddshore

                401311




                401311






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Stack Overflow!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53282992%2fhow-to-match-scribunto-version-with-wikibase-container-version%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Full-time equivalent

                    さくらももこ

                    13 indicted, 8 arrested in Calif. drug cartel investigation