Forum:MediaWiki updated to 1.30

From Uncyclopedia, the content-free encyclopedia
Jump to navigation Jump to search
Forums: Index > Village Dump > MediaWiki updated to 1.30
Note: This topic has been unedited for 817 days. It is considered archived - the discussion is over. Do not add to unless it really needs a response.

Yes, hello, as we may or may not have remembered to announce, your friendly neighbourhood sysadmins finally got around to updating MediaWiki to 1.30. I believe we were previously running 1.23. There have been a few changes and everything is broken.

In particular:

  • All the gadgets are broken. I think the loader syntax changed. You also might as well load all the wikimedia ones right off meta at this point, since we should now be compatible. Check... I dunno, wikipedia or something for how.
  • All instances of <createbox>...</createbox> need to be swapped to <inputbox>...</inputbox>. Everything else is the same. I don't know why. If you see any, please fix them.
  • DPL is bloody broken. Some of it's fine. You'll note in particular it flips out anywhere it's used with the Cite extension, as well as certain spectacular explosions such as what apparently happened with VFP on the mainpage. We're working on actually fixing it, but in the meantime I just commented out that particular use.
  • A lot of other js and stuff may need updating due to its fundamentals being... removed. If said fundamentals are really needed, tell User:Bizzeebeever. If any other js is broken, tell Bizzeebeever. I hate js.
  • Some extensions may be flat-out deprecated and may still need to be removed. Other new extensions are now compatible and will be installed once the glaring problems with the existing ones are fixed. I may or may not take suggestions, or may just randomly install VE and then wander off with no explanation. No promises as to timeframe here.
  • Also please report any issues in general here.

Thank you. -— Lyrithya 17:42, 25 February 2018 (UTC)

Hello, thanks for the update on the update. Ha. Anyway, we should make a list of problems. – roza (talk ☭ ctbslog) 19:08, 25 February 2018 (UTC)

List of problems

Just burn the site down.

Broken extensions

  • RandomImage
    errors: Incompatible with 1.30.
    RandomImage is broken. Was it used here? -— Lyrithya 07:38, 27 February 2018 (UTC)
  • Echo
    Appears to be correctly installed. Works fine for new users. Issues with (some) existing accounts.
  • Math
    Writing anything between <math></math> tags gives you this error message:
    For the record, the last time I tried to install Extension:Math, I gave up and installed VisualEditor instead. VE worked great, but I never actually got Math working at all. -— Lyrithya 20:34, 27 February 2018 (UTC)
  • DPL
    v3 appears to be even more broken than v2. Both partially incompatible with mw 1.30. Uncertain how to proceed.
    {{FI}} is completely broke
    DPL is... different now. Can it be worked around? Fixed. -— Lyrithya 07:38, 27 February 2018 (UTC)
    "Latest news" and UNews Archive are completely broken. They were just fine previously, after the categories were fixed. (Pictured) Fixed. Black-2.jpg PF4Eva, the President of Imagination Vote for me My tax returns 11:59, 27 February 2018 (UTC)
    UnNews broken 2018.png
    Spoke too soon. "Latest news" is fixed, but the Archive is still broken. Black-2.jpg PF4Eva, the President of Imagination Vote for me My tax returns 05:40, 2 March 2018 (UTC)
    PF4Eva: Links to the specific templates or whatever, please. Devops are lazy. -— Lyrithya 18:35, 27 February 2018 (UTC)
    On UnNews:Archive it says "Extension:DynamicPageList (DPL), version 3.1.1: Error: Too many categories! Maximum: 4. Help: increase $wgDplSettings['maxCategoryCount'] to specify more categories or set $wgDplSettings['allowUnlimitedCategories'] = true; for no limitation. (Set the variable in the wiki's LocalSettings.php configuration file.)" so it seems all someone has to do is to set the category limit higher? – roza (talk ☭ ctbslog) 19:53, 27 February 2018 (UTC)
    Are there any plans to fix this? Thanks. Black-2.jpg PF4Eva, the President of Imagination Vote for me My tax returns 02:51, 10 March 2018 (UTC)
    I see three options and they're all horrible:
    1. Revert to previous dpl version, and try to fix obvious bugs. Some things will probably never work, and still require coming up with new solutions (such as the {{fi}} thing involving using randomselection and dpl together).
    2. Fork this dpl version back into the previous one, but fix all the crap it's just plain missing.
    3. Just keep using this dpl version and come up with new onwiki usages that work around the broken stuff. (Or start migrating off dpl entirely; we've got lua now which is probably saner anyway.)
    Given that 1 and 2 require me to do stuff and I can't guarantee I'll actually be able to any time soon due to having some serious personal problems in the functionality department, I'd lean toward recommending looking into 3 in the meantime? Especially since it's way more future-proof anyway if you can go full lua. -— Lyrithya 23:44, 10 March 2018 (UTC)
    Yikes! Thanks for shedding some light on this. I guess it's not really that big of a deal for the time being. Black-2.jpg PF4Eva, the President of Imagination Vote for me My tax returns 23:59, 10 March 2018 (UTC)
    I think #3 would be the best option, also the main page is using the {{POTD}} template right now and that's working just fine. – roza (talk ☭ ctbslog) 00:06, 12 March 2018 (UTC)
    What about assembling an archive manually? Yay or nay? Just a thought. Black-2.jpg PF4Eva, the President of Imagination Vote for me My tax returns 02:39, 16 March 2018 (UTC)
  • LogoFunctions
    Not happening at all? Ex: UnNews:President unpardons Fergie
    • Ditto. The Uncyclopedia logo appears on all pages except for Uncycloversity and Uncyclomedia Commons. The logos for UnNews, UnBooks, UnTunes, etc. don't work. Custom UnNews logos such as Fake News and the CNN apple are similarly disabled. Black-2.jpg PF4Eva, the President of Imagination Vote for me My tax returns 08:29, 28 February 2018 (UTC)
    • Need update for mw 1.25+. Logo handling changed. Also need to merge skizzerz' extra functions in general. -— Lyrithya 07:16, 3 March 2018 (UTC)

Errors

PHP Fatal error:  Call to undefined method PEAR::encodeHeader() in /var/www/mediawiki/core/vendor/pear/pear-core-minimal/src/PEAR.php on line 232

...?

PHP Fatal error:  Call to undefined function wfMsgForContent() in /var/www/mediawiki/extensions-other/LogoFunctions/LogoFunctions.php on line 213

Need wfMsgForContent( 'whatever' ); --> wfMessage( 'whatever' )->inContentLanguage()->text();, also note that the entire methodology of logofunctions need to change to css setting, probably with an !important for hidpi overrides.

MWException from line 53 of /var/www/mediawiki/extensions-gerrit/Echo/includes/mapper/EventMapper.php: No EchoEvent found with ID: 39
Backtrace:
#0 /var/www/mediawiki/extensions-gerrit/Echo/includes/model/Event.php(342): EchoEventMapper->fetchById(integer, boolean)
#1 /var/www/mediawiki/extensions-gerrit/Echo/includes/model/Event.php(83): EchoEvent->loadFromID(integer)
#2 [internal function]: EchoEvent->__wakeup()
#3 /var/www/mediawiki/core/includes/jobqueue/JobQueueDB.php(817): unserialize(string)
#4 /var/www/mediawiki/core/includes/jobqueue/JobQueueDB.php(303): JobQueueDB::extractBlob(string)
#5 /var/www/mediawiki/core/includes/jobqueue/JobQueue.php(372): JobQueueDB->doPop()
#6 /var/www/mediawiki/core/includes/jobqueue/JobQueueGroup.php(263): JobQueue->pop()
#7 /var/www/mediawiki/core/includes/jobqueue/JobRunner.php(167): JobQueueGroup->pop(integer, integer, array)
#8 /var/www/mediawiki/core/maintenance/runJobs.php(87): JobRunner->run(array)
#9 /var/www/mediawiki/core/maintenance/doMaintenance.php(92): RunJobs->execute()
#10 /var/www/mediawiki/core/maintenance/runJobs.php(119): require_once(string)
#11 /var/www/mediawiki/core/maintenance.php(43): include(string)
#12 {main}