Page MenuHomePhabricator

Lwangaman (JohnD)
User

Projects

User does not belong to any projects.

Today

  • Clear sailing ahead.

Tomorrow

  • Clear sailing ahead.

Sunday

  • Clear sailing ahead.

User Details

User Since
Oct 17 2020, 12:15 PM (182 w, 6 d)
Availability
Available
LDAP User
Unknown
MediaWiki User
Lwangaman [ Global Accounts ]

Recent Activity

Feb 6 2024

Lwangaman updated the task description for T356802: `<mobileonly>` tag and parser function don't work with block level elements.
Feb 6 2024, 11:43 PM · Patch-For-Review, MediaWiki-extensions-MobileDetect
Lwangaman added a comment to T356802: `<mobileonly>` tag and parser function don't work with block level elements.

The solution proposed in patch https://gerrit.wikimedia.org/r/997955 will instead avoid any confusion between magic tags with similar names, by simply changing the behaviour of the current <mobileonly> and <nomobile> tags. Instead of outputting html markup with css classes, we simply output the contents as is or don't output anything, based on the isMobile() function condition.

Feb 6 2024, 8:11 PM · Patch-For-Review, MediaWiki-extensions-MobileDetect
Lwangaman added a comment to T356802: `<mobileonly>` tag and parser function don't work with block level elements.

One way to solve this, is by adding a new magic tag such as <onlymobile>, which will behave differently from <mobileonly>:

  • <mobileonly> will only work inline (as per the current situation) by wrapping in a <span> element with class mobileonly targeted by a CSS rule that controls visibility
  • <onlymobile> will work both for inline or block level elements, by not wrapping any extra html markup or using CSS rules to control visibility, but by simply outputting the contents or not based on whether the isMobile() function returns true or not
Feb 6 2024, 7:55 PM · Patch-For-Review, MediaWiki-extensions-MobileDetect
Lwangaman updated the task description for T356802: `<mobileonly>` tag and parser function don't work with block level elements.
Feb 6 2024, 7:51 PM · Patch-For-Review, MediaWiki-extensions-MobileDetect
Lwangaman created T356802: `<mobileonly>` tag and parser function don't work with block level elements.
Feb 6 2024, 7:42 PM · Patch-For-Review, MediaWiki-extensions-MobileDetect

Mar 21 2023

Lwangaman added a comment to T297094: Add globaluser.gu_hidden_level column to production.

okay I found the SQL patch at the top of this page, I ran that against my central database and now everything is working again. I guess I'll add a comment about this on the extension discussion page...

Mar 21 2023, 11:30 PM · MediaWiki-extensions-CentralAuth, Schema-change-in-production, DBA
Lwangaman added a comment to T297094: Add globaluser.gu_hidden_level column to production.

On upgrading my MediaWiki instance to v1.39, I started getting this error when trying to login:

Mar 21 2023, 7:12 AM · MediaWiki-extensions-CentralAuth, Schema-change-in-production, DBA

Sep 26 2022

Lwangaman added a comment to T197868: `Class 'Wikibase\DataModel\Entity\ItemId' not found` error when trying to install WikibaseLexeme.

I was able to solve the error EntityId is not an interface, see https://www.mediawiki.org/wiki/Topic:X2qyoagj0mx24oey

Sep 26 2022, 3:36 PM · MW-1.32-notes (WMF-deploy-2018-07-10 (1.32.0-wmf.12)), User-Addshore, User-zeljkofilipin, Wikidata, Wikibase-Docker-2017+

Sep 12 2022

Lwangaman added a comment to T291810: Change the abstract class EntityId into an interface.

ok thank you for the heads up, there was in fact a vendor folder under the WikibaseImport extension. After removing that, I no longer get the above Fatal error.

Sep 12 2022, 10:41 AM · MW-1.38-notes (1.38.0-wmf.3; 2021-10-05), Wikidata, [DEPRECATED] wdwb-tech, Wikibase - Federated Properties

Sep 8 2022

Lwangaman added a comment to T291810: Change the abstract class EntityId into an interface.

When trying to upgrade my Mediawiki instance from v1_36 to v1_38, I am getting an error from SerializableEntityId:

Sep 8 2022, 8:43 AM · MW-1.38-notes (1.38.0-wmf.3; 2021-10-05), Wikidata, [DEPRECATED] wdwb-tech, Wikibase - Federated Properties

Sep 7 2022

Lwangaman added a comment to T197868: `Class 'Wikibase\DataModel\Entity\ItemId' not found` error when trying to install WikibaseLexeme.

I am getting new errors along these lines, when trying to upgrade to Mediawiki 1.38:

Sep 7 2022, 9:29 AM · MW-1.32-notes (WMF-deploy-2018-07-10 (1.32.0-wmf.12)), User-Addshore, User-zeljkofilipin, Wikidata, Wikibase-Docker-2017+

Jan 11 2022

Lwangaman added a comment to T197868: `Class 'Wikibase\DataModel\Entity\ItemId' not found` error when trying to install WikibaseLexeme.

@hyperreview did you try this?

Jan 11 2022, 9:34 PM · MW-1.32-notes (WMF-deploy-2018-07-10 (1.32.0-wmf.12)), User-Addshore, User-zeljkofilipin, Wikidata, Wikibase-Docker-2017+

Oct 12 2021

Lwangaman added a comment to T245377: Video.js player doesn’t work with Score.

For the time being, I have found that setting the web player to the Kaltura player will work in all situations:

Oct 12 2021, 7:58 PM · Regression, TimedMediaHandler, MediaWiki-extensions-Score
Lwangaman added a comment to T245377: Video.js player doesn’t work with Score.

My guess now is that TimedMediaHandler looks for a file with an article in the File namespace, but the Score extension is using a path such as

/w/images/lilypond/5/3/53m5hz6lsx5goei3o98b86w8bb3cr33/53m5hz6l.mp3

which is not in the File namespace?

Oct 12 2021, 7:42 PM · Regression, TimedMediaHandler, MediaWiki-extensions-Score

Sep 16 2021

Lwangaman added a comment to T291131: InstantCommons doesn't work for all-caps file extensions by default.

I think it's more of an issue on the server side setup, not so much with InstantCommons itself. I fixed the issue in my nginx setup. But it would probably be better for all image files to have lower case extensions, for greater compatibility.

Sep 16 2021, 12:42 PM · MediaWiki-File-management, Commons

Sep 2 2021

Lwangaman added a comment to T245377: Video.js player doesn’t work with Score.

I see that the error is no longer occurring on the first page referred to in the Description (https://hu.wikipedia.org/wiki/Bevettek_husz%C3%A1rnak). How was this fixed?

Sep 2 2021, 2:17 PM · Regression, TimedMediaHandler, MediaWiki-extensions-Score
Lwangaman added a comment to T245377: Video.js player doesn’t work with Score.

I'm guessing it's a problem with the Score extension, because in the generated HTML markup, I'm seeing an anchor with File:Undefined:

Sep 2 2021, 1:40 PM · Regression, TimedMediaHandler, MediaWiki-extensions-Score
Lwangaman added a comment to T245377: Video.js player doesn’t work with Score.

I am having the same problem on a wiki that I manage. I have the TimedMediaPlayer, EmbedVideo, and Score extensions installed. When trying to play the midi file generated from a <score> tag, I start to see the loading bar at the top of the page, which then disappears and no media is played. For example with this wiki markup:

<score sound="1">\relative c'' { \time 4/4 \key c \major c4 g8 g a4 g r b^> c^> r \bar "|." } \addlyrics { Shave and a hair -- cut: two bits. }</score>
Sep 2 2021, 1:15 PM · Regression, TimedMediaHandler, MediaWiki-extensions-Score

Oct 17 2020

Lwangaman added a comment to T197868: `Class 'Wikibase\DataModel\Entity\ItemId' not found` error when trying to install WikibaseLexeme.

I had the same error message Error from line 35 of /var/www/mediawiki/extensions/Wikibase/lib/WikibaseLib.entitytypes.php: Class 'Wikibase\DataModel\Entity\ItemId' not found when trying to run the update.php script after an upgrade of my wiki from 1.34 to 1.35. Turns out it wasn't so much a composer problem, as it was that I simply hadn't run

git submodule update --init --recursive

in the extensions/Wikibase directory. I had git cloned Wikibase from branch REL1_35, but then you need to run git submodule update in the Wikibase extension folder and then after that run composer update --no-dev.

Oct 17 2020, 12:23 PM · MW-1.32-notes (WMF-deploy-2018-07-10 (1.32.0-wmf.12)), User-Addshore, User-zeljkofilipin, Wikidata, Wikibase-Docker-2017+