CMF Mediawiki v Mediawiki 1.28.0

Discussion in 'General Discussion and Feedback' started by Sperber, Jan 8, 2017.

  1. Sperber

    Sperber New Member

    Hi Yoskaldyr,

    since the release of mw 1.28 I was wondering, if the bridge would work with this new version and xf 1.5.11 . I´ve tested this today on a new forum I´m building and unfortunal it doesn´t work.

    Two errors are logged. First one is:
    Code:
    ErrorException: Fatal Error: Call to undefined method OutputPage::buildCssLinks() - wiki/skins/XenForo/XenForoTemplate.php:62
    
    Generiert durch: XXX, Vor 51 Minuten
    Stapelverfolgung
    
    #0 [internal function]: XenForo_Application::handleFatalError()
    #1 {main}
    
    Needed Status
    
    array(3) {
      ["url"] => string(53) "https://domain.de/wiki/index.php?title=Hauptseite"
      ["_GET"] => array(1) {
        ["title"] => string(10) "Hauptseite"
      }
      ["_POST"] => array(0) {
      }
    }
    
    Second is:

    Code:
    ErrorException: Fatal Error: Uncaught Error: Call to undefined method OutputPage::buildCssLinks() in /var/www/vhosts/domain.com/httpdocs/wiki/skins/XenForo/XenForoTemplate.php:62 Stack trace: #0 /var/www/vhosts/domain.com/httpdocs/wiki/includes/skins/SkinTemplate.php(252): XenForoTemplate->execute() #1 /var/www/vhosts/domain.com/httpdocs/wiki/includes/OutputPage.php(2333): SkinTemplate->outputPage() #2 /var/www/vhosts/domain.com/httpdocs/wiki/includes/exception/MWExceptionRenderer.php(178): OutputPage->output() #3 /var/www/vhosts/domain.com/httpdocs/wiki/includes/exception/MWExceptionRenderer.php(50): MWExceptionRenderer::reportHTML(Object(Error)) #4 /var/www/vhosts/domain.com/httpdocs/wiki/includes/exception/MWExceptionHandler.php(71): MWExceptionRenderer::output(Object(Error), 2) #5 /var/www/vhosts/domain.com/httpdocs/wiki/includes/exception/MWExceptionHandler.php(137): MWExceptionHandler::report(Object(Error)) #6 [internal function]: MWExceptionHandler::handleException(Object(Error)) #7 {main} thrown - wiki/skins/XenForo/XenForoTemplate.php:62
    
    Generiert durch: XXX, Vor 52 Minuten
    Stapelverfolgung
    
    #0 [internal function]: XenForo_Application::handleFatalError()
    #1 {main}
    
    Benötigter Status
    
    array(3) {
      ["url"] => string(53) "https://domain.com/wiki/index.php?title=Hauptseite"
      ["_GET"] => array(1) {
        ["title"] => string(10) "Hauptseite"
      }
      ["_POST"] => array(0) {
      }
    }
    Could you adjust your mediawiki bridge and provide us with a compatible version, please?

    Thanks in advance,
    Sperber.
     
  2. Yoskaldyr

    Yoskaldyr Administrator Staff Member

    @Sperber, this error has been appeared because of incompatibility with mediawiki 1.28.
    Current version of the bridge will work with xf 1.5.11 but will not with mw 1.28.

    Right now I can not answer when I can to fix this issue. I will look into new code of the wiki in few days and write here about future versions of the bridge.

    P.S. Mediawiki developers change internal API with each version, so I have to adapt bridge each time new mediawiki released.
     
    Sperber likes this.
  3. Sperber

    Sperber New Member

    I never would have dared to ask for an update for a maintainance release of mediawiki, @Yoskaldyr ;) But for now it seems that 1.2.8 will be the latest stable release for the next year - and unfortunal the dependencies for some great extensions will soon expect 1.2.8.

    But to have an ETA on the update would be great, so we could know when we can upgrade our wikis to 1.2.8 and take that date into account.
     
  4. Yoskaldyr

    Yoskaldyr Administrator Staff Member

    I think I can adapt bridge for mw 1.28. I will write here when it will be done.
     
    Sperber likes this.
  5. Sperber

    Sperber New Member

    By the way: any chance you could wrap the mobile wiki extension with the xf surroundings? That´s an extension every single wiki-instance is running and having the wiki-bridge only covering desktops with xf around, isn´t really..how should I say.. "userfriendly". Don´t know how difficult this is to include, but that would really rock.
     
  6. Yoskaldyr

    Yoskaldyr Administrator Staff Member

    You mean this extension?
     
  7. Sperber

    Sperber New Member

  8. Sperber

    Sperber New Member

    Don´t want to appear impatient..but any news on this? Are you making progress? ;)
     
  9. Yoskaldyr

    Yoskaldyr Administrator Staff Member

    First attempt to adapt bridge to 1.28 was unsuccessful because in 1.28 one method (buildCssLinks) was removed totally.
    I will try to build css links manually but I will not guarantee that it will work good like with 1.26.
    Each new version of mediawiki has more conflicts that the previous one.

    Mobile add-on does not work good because of many js and css bugs. And it is not the problem of the bridge but problem of conflict of the different js frameworks that both use jQuery as base and css that uses the same classes.
     

Share This Page