Skin talk:Poncho

About this board

Poncho seems to be broken on Mediawiki 1.42.1

7
Summary last edited by M.J.W.B. 16:30, 5 September 2024 2 months ago

Fixed in version 14

M.J.W.B. (talkcontribs)

Upgrading from 1.41.1 to 1.42.1 breaks my site running the Poncho skin. :-(

M.J.W.B. (talk) 19:44, 28 June 2024 (UTC)

M.J.W.B. (talkcontribs)
MediaWiki internal error.

Original exception: [cc565e8e4bb4113b833a988d] /Beijerterm Error: Class "Hooks" not found
Backtrace:
from /home/wbymlrtq/beijerterm/w/skins/Poncho/Poncho.php(96)
#0 /home/wbymlrtq/beijerterm/w/skins/Poncho/Poncho.phtml(16): PonchoTemplate->logo()
#1 /home/wbymlrtq/beijerterm/w/skins/Poncho/Poncho.php(409): include(string)
#2 /home/wbymlrtq/beijerterm/w/includes/skins/SkinTemplate.php(150): PonchoTemplate->execute()
#3 /home/wbymlrtq/beijerterm/w/includes/skins/SkinTemplate.php(176): SkinTemplate->generateHTML()
#4 /home/wbymlrtq/beijerterm/w/includes/Output/OutputPage.php(3004): SkinTemplate->outputPage()
#5 /home/wbymlrtq/beijerterm/w/includes/actions/ActionEntryPoint.php(162): MediaWiki\Output\OutputPage->output()
#6 /home/wbymlrtq/beijerterm/w/includes/MediaWikiEntryPoint.php(199): MediaWiki\Actions\ActionEntryPoint->execute()
#7 /home/wbymlrtq/beijerterm/w/index.php(58): MediaWiki\MediaWikiEntryPoint->run()
#8 {main}

Exception caught inside exception handler: [cc565e8e4bb4113b833a988d] /Beijerterm Error: Class "Hooks" not found
Backtrace:
from /home/wbymlrtq/beijerterm/w/skins/Poncho/Poncho.php(96)
#0 /home/wbymlrtq/beijerterm/w/skins/Poncho/Poncho.phtml(16): PonchoTemplate->logo()
#1 /home/wbymlrtq/beijerterm/w/skins/Poncho/Poncho.php(409): include(string)
#2 /home/wbymlrtq/beijerterm/w/includes/skins/SkinTemplate.php(150): PonchoTemplate->execute()
#3 /home/wbymlrtq/beijerterm/w/includes/skins/SkinTemplate.php(176): SkinTemplate->generateHTML()
#4 /home/wbymlrtq/beijerterm/w/includes/Output/OutputPage.php(3004): SkinTemplate->outputPage()
#5 /home/wbymlrtq/beijerterm/w/includes/exception/MWExceptionRenderer.php(189): MediaWiki\Output\OutputPage->output()
#6 /home/wbymlrtq/beijerterm/w/includes/exception/MWExceptionRenderer.php(106): MWExceptionRenderer::reportHTML()
#7 /home/wbymlrtq/beijerterm/w/includes/exception/MWExceptionHandler.php(133): MWExceptionRenderer::output()
#8 /home/wbymlrtq/beijerterm/w/includes/exception/MWExceptionHandler.php(237): MWExceptionHandler::report()
#9 /home/wbymlrtq/beijerterm/w/includes/MediaWikiEntryPoint.php(221): MWExceptionHandler::handleException()
#10 /home/wbymlrtq/beijerterm/w/includes/actions/ActionEntryPoint.php(82): MediaWiki\MediaWikiEntryPoint->handleTopLevelError()
#11 /home/wbymlrtq/beijerterm/w/includes/MediaWikiEntryPoint.php(205): MediaWiki\Actions\ActionEntryPoint->handleTopLevelError()
#12 /home/wbymlrtq/beijerterm/w/index.php(58): MediaWiki\MediaWikiEntryPoint->run()
#13 {main}
M.J.W.B. (talkcontribs)

Anyone?

2600:8801:8600:909:2D8:61FF:FEC3:9A41 (talkcontribs)

Not trying to hijack the thread, but I'm also unable to make use of Poncho in 1.42.1

Fatal error: OOUI\Exception: OOUI\Theme::singleton was called with no singleton theme set. in /var/www/html/vendor/oojs/oojs-ui/php/Theme.php:31 Stack trace: #0 /var/www/html/vendor/oojs/oojs-ui/php/Element.php(259): OOUI\Theme::singleton() #1 /var/www/html/vendor/oojs/oojs-ui/php/Tag.php(510): OOUI\Element->toString() #2 /var/www/html/skins/Poncho/Poncho.phtml(8): OOUI\Tag->__toString() #3 /var/www/html/skins/Poncho/Poncho.php(370): include('/var/www/html/s...') #4 /var/www/html/includes/skins/SkinTemplate.php(150): Poncho->execute() #5 /var/www/html/includes/skins/SkinTemplate.php(176): SkinTemplate->generateHTML() #6 /var/www/html/includes/Output/OutputPage.php(3004): SkinTemplate->outputPage() #7 /var/www/html/includes/actions/ActionEntryPoint.php(162): MediaWiki\Output\OutputPage->output(true) #8 /var/www/html/includes/MediaWikiEntryPoint.php(199): MediaWiki\Actions\ActionEntryPoint->execute() #9 /var/www/html/index.php(58): MediaWiki\MediaWikiEntryPoint->run() #10 {main} in /var/www/html/vendor/oojs/oojs-ui/php/Tag.php on line 512

M.J.W.B. (talkcontribs)

I hope the developer fixes this as I really miss using Poncho on my personal wiki, which I updated to the latest MediaWiki. I'm holding off updating my public wiki (https://beijerterm.com/) for the time being.

Sophivorus (talkcontribs)

Hi! I just fixed both issues (diff), please download the latest version (14.0) and let me know!

FYI, I'll probably stop developing Poncho in the near future, because the new Vector 2022 skin has become very similar. Wouldn't you agree? Is there something you appreciate about Poncho that the new Vector 2022 doesn't have?

M.J.W.B. (talkcontribs)

Hi there,

Thanks so much for fixing Poncho! My website works/looks way better with it than any other skin I can find.

I am really bummed that you might stop developing Poncho in the near future, as there are still quite a few important differences between your amazing Poncho and Vector 2022. I'll try to come up with a lost of differences as soon as I have a moment.

Incidentally, would you consider continuing its development for a small fee? I'm sure it would be a real loss for other people as well if it stopped being developed.

I use it on my private wiki (beijer.wiki), but mainly on my big, public terminology project wiki: https://beijerterm.com/, and would really miss it if it no longer worked with the latest versions of MediaWiki.

Michael Beijer Dutch-English translator & terminologist (https://beijer.uk/)

Reply to "Poncho seems to be broken on Mediawiki 1.42.1"

Not seeing any breadcrumbs

2
Summary by Sophivorus

Enable subpages with $wgNamespacesWithSubpages.

M.J.W.B. (talkcontribs)

It says: "Breadcrumbs integrated to the title", but I am not seeing any breadcrumbs. what am I doing wrong?

M.J.W.B. (talk) 18:08, 1 June 2024 (UTC)

Sophivorus (talkcontribs)

Installing Poncho with Composer

1
Kimmywingz (talkcontribs)

Hello,

We use docker/compose for our Mediawiki. I have brought in extensions through our composer.json file, and now I am trying to bring in this skin.

Under "require"

"mediawiki/poncho": "13.8"

Under "repositories"

"type": "package",

"package": {

"name": "mediawiki/poncho",

"version": "13.8",

"type": "mediawiki-skin",

"source": {

"url": "https://gerrit.wikimedia.org/r/mediawiki/skins/Poncho",

"type": "git",

"reference": "master"

under merge-plugin "include"

"skins/Poncho/composer.json",

I have also tried poncho-skin rather than poncho and skins vs mediawiki for the name under require and repositories. Running composer update updates the lock file appropriately, the folder is created in my local environment, however when I push to staging the folder is not appearing. I have not brought in a skin this way and any insight anybody can offer would be greatly appreciated. Thank you for your time and expertise.

Reply to "Installing Poncho with Composer"

Is there any way to make the sidebar stay visible?

2
Summary by Sophivorus

Add custom CSS to your common.css

M.J.W.B. (talkcontribs)

I really love Poncho, but sometimes wish I could make the sidebar stay visible.

Sophivorus (talkcontribs)

Hi! I guess you can add the following to your common.css:

#poncho-navigation-menu .poncho-menu-list {
	display: block;
	top: 53px;
	left: -9px;
}

You can vary the values of "top" and "left" to control the exact position of the menu. Just don't do this for the site CSS, only your personal CSS, because it won't work well on all screen sizes, especially mobile. Cheers!

Poncho is not responsive on mobile

5
Summary by Michaelbeijer

I had an old version installed.

Michaelbeijer (talkcontribs)

Is there any way to get this (very cool) skin to look better on my mobile?


And if not, does anyone know how to force Vector 2022 to be used if visitors use mobile, and Poncho on Desktop?

Sophivorus (talkcontribs)

Hi! Poncho should be responsive on mobile. Could you share a link or screenshot of what you're seeing, and what you expected?

Michaelbeijer (talkcontribs)

Sure, here are some screenshots I just made on my Android phone of my website Beijerterm.com:

The links are:

I wonder what you see on your mobile? Look at how the heading/title, hamburger menu are tiny, for example. Or how tiny the table in on the homepage.

My MediaWiki settings:

https://beijer.uk/images/settings.jpg

Sophivorus (talkcontribs)

Hi, thanks! Could you download the latest version? You currently have 9.4 and the current version is 12.3. Quite a few things changed since 9.4, including many improvements to mobile and responsive modes. Once updated, we can try again. Cheers!

Michaelbeijer (talkcontribs)

That fixed it! Not sure why I had an old version, I thought I had just clicked Download @ Skin:Poncho

Anyway, it looks great now!

Skin fails to load on MW 1.32

4
Summary by Sophivorus

Version 1.8 should have fixed it, user failed to report back.

Noloader (talkcontribs)

I'm testing Poncho on the Crypto++ wiki. The skin fails to load with the message:

 Warning:  getimagesize(//www.cryptopp.com/w/images/logo/Logo-Steel.png): failed to open stream: No such file or directory in /var/www/html/w/skins/Poncho/Poncho.php on line 38
 title="Visit the main page" href="/wiki/Main_Page" style="background-image: url("/w/images/logo/Logo-Steel.png");">Crypto++ Wiki
 Fatal error:  OOUI\Exception: OOUI\Theme::singleton was called with no singleton theme set. in /var/www/html/w/vendor/oojs/oojs-ui/php/Theme.php:31 Stack trace: #0 /var/www/html/w/vendor/oojs/oojs-ui/php/Element.php(242): OOUI\Theme::singleton() #1 /var/www/html/w/vendor/oojs/oojs-ui/php/Tag.php(462): OOUI\Element->toString() #2 /var/www/html/w/skins/Poncho/Poncho.php(29): OOUI\Tag->__toString() #3 /var/www/html/w/skins/Poncho/Poncho.phtml(12): PonchoTemplate->searchInput() #4 /var/www/html/w/skins/Poncho/Poncho.php(138): include('/var/www/html/w...') #5 /var/www/html/w/includes/skins/SkinTemplate.php(227): PonchoTemplate->execute() #6 /var/www/html/w/includes/OutputPage.php(2706): SkinTemplate->outputPage() #7 /var/www/html/w/includes/MediaWiki.php(867): OutputPage->output(true) #8 /var/www/html/w/includes/MediaWiki.php(879): MediaWiki->{closure}() #9 /var/www/html/w/includes/MediaWiki.php(517): MediaWiki->main() #10 /var/www/html/w/index.php(42): MediaWiki->run() #11 {main} in /var/www/html/w/vendor/oojs/oojs-ui/php/Tag.php on line 464
Sophivorus (talkcontribs)

Thanks for the report. I just submitted a patch that should fix this. Please download the latest version (1.8) and reopen this topic if the issue persists. Cheers!

Noloader (talkcontribs)

Thanks @Sophivorus.

I'm still seeing the issue with Poncho's GitHub master.

This may have something to do with it:

#grep cryptopp.com LocalSettings.php

$wgServer           = '//www.cryptopp.com';
$wgEmergencyContact = "noreply@cryptopp.com";
$wgPasswordSender   = "noreply@cryptopp.com";

The $wgServer and forward slashes of '//www.cryptopp.com' means it is protocol agnostic (iirc). Mediawiki serves from HTTP or HTTPS, depending on how the client connects.

I tried to drop an image of the browser window !here!, but Mediawiki ignores my drop/upload. Sorry about that.

This also may have something to do with it: OOUI\Exception occurs when try to insert "https://w" to page.

Sorry I cannot help more. I'm a C/C++ guy. I know little to nothing about web programming. All I am is an administrator who tries to ensure users have good quality documentation.

Our VM is CentOS 7. Cent provides antique software so we have Software Collections (SCL) enabled. That gets us PHP 7.1 and Apache 2.4. We run Mediawiki 1.32.4 from the mw tarball.

And sorry about reopening the report. I could not comment otherwise. My email is noloader, gmail if you would like to have sidebar conversation.

Sophivorus (talkcontribs)

Hi! I just made a fresh MediaWiki 1.32.4 install with Poncho 1.8 and had no trouble. I made $wgServer protocol agnostic and still had no trouble.

GitHub is a mirror of the official Gerrit repo. Are you sure GitHub had already updated to Poncho 1.8 when you cloned it? Can you double-check your Poncho version from Special:Version and let me know?

$wgSitename problematic

3
Summary by Sophivorus

Fixed in 1.6, see the $wgPonchoSitename config option.

Kghbln (talkcontribs)

The value of $wgSitename can only be about 20 chars before things start to be ugly. On mobile devices only 10 chars are allowed for the same reason. You can see the issue here. The Foreground skin solves this issue by providing a configuration prameter "wikiName" allowing to override the site name just for the display in the top bar of the skin. Perhaps this is something to considered here too.

Kghbln (talkcontribs)

This is still an open feature request for version 1.5.0

Sophivorus (talkcontribs)

Thanks for the reminder. This week I've been actively working on the Poncho skin and will release a new version in a couple days, including a fix for this. I created a Phabricator project for Poncho and a task for this, see https://phabricator.wikimedia.org/T226717 Let's continue there, cheers!

Drop-down of personal toolbar hides

5
Summary by Sophivorus

Fixed in 1.6.

Kghbln (talkcontribs)

When editing a page and hovering over the drop-down toolbar (the one with talk, preferences, beta ...) it hides behind the edit bar provided by the WikiEditor extension at the top of the page edit field. This is not an issue with the edit bar provided by the VisualEdior extension.

Sophivorus (talkcontribs)

Hi, thanks for the report, but I couldn't reproduce the issue. Could you download the latest version of the skin and let me know if the issue persists? If so, please attach a screenshot!

Kghbln (talkcontribs)

Hi, I just updated to latest master and the issue can still be reproduced. See the respective screen shot.

Kghbln (talkcontribs)

This is still an open issue for version 1.5.0

Sophivorus (talkcontribs)

Thanks for the reminder. This week I've been actively working on the Poncho skin and will release a new version in a couple days, including a fix for this. I created a Phabricator project for Poncho and a task for this, see https://phabricator.wikimedia.org/T226716 Let's continue there, cheers!

Summary by Kghbln

Will be fixed with version 1.5.x

Kghbln (talkcontribs)

Hi, currently the skin's name does not link to Skin:Poncho from special page "Version". To have this link will be nice for easier access to the docu.

Kghbln (talkcontribs)

This is still an open issue for version 1.5.0

Kghbln (talkcontribs)

Fixed with this commit. Will be part of the next release once it was merged.

Summary by Kghbln

Issues and improvement requests are in their own threads.

Kghbln (talkcontribs)

I just discovered and installed this skin. It is really nice. @Sophivorus: Thank you for creating and working on it.

Sophivorus (talkcontribs)

Thanks! I'll try to tackle the issues you mention throughout the week, cheers!

Kghbln (talkcontribs)

A pleasure and thanks for looking at these. Cheers

Return to "Poncho" page.