Extension talk:Lingo
![]() Archives
|
---|
Two character terms?
It seems it is not possible to have two character terms in Lingo. Is that some technical limitation or could this be implemented? Krabina (talk) 14:52, 26 May 2025 (UTC)
- Hi, @Bernhard. There shouldn't be any issue using two-character terms in Lingo. In a quick test, the term "TL" appeared as expected (underlined and with a popup) [screenshot]. Could you please share some details about your environment (MediaWiki/Lingo version) and what kind of caching you're using? Elcapitan68 (talk) 13:23, 29 May 2025 (UTC)
MW 1.44 Hot Fix
Since "Title" was dropped in 1.44, you will run into an error when installing this extension.
Until it is updated, you will need to edit the BasicBackend.php file (located in the extensions/Lingo/src directory) to update this:
Go to line 36
- use Title;
Replace with
- use \MediaWiki\Title\Title;
That should fix any parsing issues.
Also, note that this is reported as https://phabricator.wikimedia.org/T398763. Joe Beaudoin Jr. Redux (talk) 22:53, 5 July 2025 (UTC)
- After upgrading to 1.44, and with Lingo installed, if I try to edit a page using Edit, instead of Edit source, I now get:
[36ec8aba616bf2d232a04c8e] Exception caught: Lingo\Lingo::{closure:{closure:Lingo\Lingo::initExtension():48}:76}(): Argument #2 ($title) must be of type Title, MediaWiki\Title\Title given, called in /home/wbymlrtq/michaelbeijer/w/includes/HookContainer/HookContainer.php on line 155
- A workaround is to then click Dismiss, and then Edit source, and then save from there, which does work.
- M.J.W.B. (talk) 23:18, 10 July 2025 (UTC)
- We are monitoring the bug on Phabricator. The patch (https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Lingo/+/1166508) is currently failing CI. If you don't plan to continue working on the patch, please let me know and we can consider working on it ourselves.
- Elcapitan68 (talk) 21:27, 13 July 2025 (UTC)
- Hi there! I am definitely won't be working on the patch as I can't code, but would greatly appreciate someone else doing so since I use the extension on my website (https://michaelbeijer.co.uk/). M.J.W.B. (talk) 16:17, 15 July 2025 (UTC)
- Got it. We'll have a closer look. Please note that the compatibility policy of Lingo is long-term support release branches and there is no official support for non-LTS branches.
- Elcapitan68 (talk) 15:48, 20 July 2025 (UTC)
- Hi there! I am definitely won't be working on the patch as I can't code, but would greatly appreciate someone else doing so since I use the extension on my website (https://michaelbeijer.co.uk/). M.J.W.B. (talk) 16:17, 15 July 2025 (UTC)