Page MenuHomePhabricator

Fix the Athena skin for 1.35 compatibility
Closed, DeclinedPublic

Description

I've marked the Athena skin as unmaintained as it hasn't seen any activity in over a year and causes fatals when loaded in the current state with the current 1.35 release due to its use of include

( Warning: include(Athena.phtml): failed to open stream: No such file or directory in /Users/jrobson/git/core/skins/Athena/includes/AthenaTemplate.php on line 25)

If the skin is maintained, I'm happy to help review a patch and update the mediawiki page, but in current state we should not mislead MediaWiki users by advertising something broken as beta.

Related Objects

Event Timeline

Kizule subscribed.

I found what is problem. AthenaTemplate.php is in includes directory. It requires Athena.phtml and expects that Athena.phtml is in includes/, but It is in root.

I'm going to make a patch.

Change 654194 had a related patch set uploaded (by Zoranzoki21; owner: Zoranzoki21):
[mediawiki/skins/Athena@master] Fix paths of the files

https://gerrit.wikimedia.org/r/654194

Change 654194 merged by jenkins-bot:
[mediawiki/skins/Athena@master] Fix paths of the files

https://gerrit.wikimedia.org/r/654194

Thanks for the patch! That definitely is a big bit of progress.

I'm still seeing a couple of errors in this skin which I think need to be fixed if we are going to call this maintained:

  • Deprecated: Use of BaseTemplate::getToolbox was deprecated in MediaWiki 1.35. [Called from include in /Users/jrobson/git/core/skins/Athena/resources/Athena.phtml at line 61] in /Users/jrobson/git/core/includes/debug/MWDebug.php on line 329
  • No styles are loaded (fixed in patch above)
  • Site notice overlaps the sidebar per screenshot below!

Screen Shot 2021-01-04 at 8.44.37 AM.png (972×2 px, 244 KB)

@sophivirus @Kizule would you be able to take a look?

Change 654274 had a related patch set uploaded (by Jdlrobson; owner: Jdlrobson):
[mediawiki/skins/Athena@master] Restore styles to Athena

https://gerrit.wikimedia.org/r/654274

Jdlrobson renamed this task from Fix or archive Athena skin to Fix the Athena skin for 1.35 compatibility.Jan 4 2021, 4:56 PM

Change 654274 merged by jenkins-bot:
[mediawiki/skins/Athena@master] Restore styles to Athena

https://gerrit.wikimedia.org/r/654274

Kizule moved this task from To deploy to Watching on the User-Kizule board.

I'm reassigning this task to @Sophivorus, as he told in https://gerrit.wikimedia.org/r/c/mediawiki/skins/Athena/+/654194/ that he will release new full update in the future.

Athena skin is being archived, see T299322.