Page MenuHomePhabricator

aoxomoxoa (Duncan Crane)
User

Projects

User does not belong to any projects.

Today

  • No visible events.

Tomorrow

  • No visible events.

Monday

  • No visible events.

User Details

User Since
May 31 2018, 6:57 AM (418 w, 2 d)
Availability
Available
LDAP User
Duncancrane
MediaWiki User
DuncanCrane [ Global Accounts ]

Recent Activity

May 5 2025

aoxomoxoa updated subscribers of T392642: TinyMCE breaks edit summary input field layout on MediaWiki page edit screen.
May 5 2025, 12:34 PM · MediaWiki-extensions-TinyMCE

May 4 2025

aoxomoxoa added a comment to T392642: TinyMCE breaks edit summary input field layout on MediaWiki page edit screen.

Hi,
Sadly since retiring with health problems, I haven't been able to keep up maintaining this extension.
W.r.t. updating the Tinymce version from the one distributed with the extension, it was decided to stick with a stable version that was know to provide a reasonable set of features that worked well. There were frequent new releases of Tinymce which required significantt ongoing effort to keep up with. The latest free version can be downloaded from the official Tinyme website if anyone would like features available in it but it is likely this would require changes to the extension code base.
Thanks for your ongoing interest Dstjr and finding a fix.

May 4 2025, 7:34 AM · MediaWiki-extensions-TinyMCE

Feb 15 2022

aoxomoxoa added a comment to T296554: Text area contained within multiple instance template bug.

Hi Gary (@Squeak24)
Sorry it's been a while!
After a fair amount of faffing, I believe I have a fix which has now been added to Gerrit (see previous gerritbot comment).
If you are able to test, let me know if this has resolved your problem?
Kind regards
Duncan

Feb 15 2022, 4:48 PM · MediaWiki-extensions-TinyMCE

Jan 19 2022

aoxomoxoa added a comment to T296554: Text area contained within multiple instance template bug.

Hi Gary (@Squeak24)
Sorry it's been a while. I finally got some serious time to investigate this week! It's been a tricky one to track down. Without boring you with too many details, it is the interaction between how PageForms processes multiple item fields and how TinyMCE initialises itself on them that caused this problem. The latter had changed since version 0.3 of the extension which is why it worked in that version.
I have a solution now that works when creating pages and I have to do some work on when they are subsequently edited but it looks like there is a way forward with this bug. Will let you know when Gerrit has been updated with the patch.

Jan 19 2022, 3:48 PM · MediaWiki-extensions-TinyMCE

Dec 31 2021

aoxomoxoa added a comment to T296554: Text area contained within multiple instance template bug.

Hi Gary (@Squeak24)
I've investigated a bit more and I think it was the major upgrade I did to the TinyMCE core software where they made some enhancements to how they load their software. I'll investigate further to see if I can come up with a fix.
Happy new year
Duncan

Dec 31 2021, 12:50 PM · MediaWiki-extensions-TinyMCE

Dec 21 2021

aoxomoxoa added a comment to T296554: Text area contained within multiple instance template bug.

Hi Gary (@Squeak24)
That's a bit strange - v 1.0 of Tinymce extension was released in November 2020! The maintenance policy for TinyMCE is 'master' which means all releases should occur on the master branch on Gerrit. However, whoever made this release used a branch which is based on a truly ancient release of the TinyMCE extension (dated Feb 2019)!
Never mind though, this release does seem to work OK which gives me something to work with. I'll investigate further.

Dec 21 2021, 8:54 AM · MediaWiki-extensions-TinyMCE

Dec 13 2021

aoxomoxoa added a comment to T296554: Text area contained within multiple instance template bug.

Hi Gary (@Squeak24)
Yes, I'd thought I'd seen this feature working at some point. I wasn't sure what product V0.3 you were referring too? I do tend to keep old configurations and versions saved so, if you can let me know products and version that did work together, I may be able to work out which changes have given rise to the incompatibility?

Dec 13 2021, 4:43 PM · MediaWiki-extensions-TinyMCE

Dec 10 2021

aoxomoxoa updated subscribers of T296554: Text area contained within multiple instance template bug.

Hi Gary (@Squeak24),
I have had a look into this. Since TinyMCE works in an ordinary textarea input field in PageForms I'm not sure why it wouldn't work in textarea input fields in a 'multiple' field, unless PageForms is handling these differently.
Hi Yaron (@Yaron_Koren),
I wonder if you might be able to help. I'm not sure why TinyMCE wouldn't initiate on a textarea field in a multiple instance field, when it does in an ordinary textarea field in PageForms. I wonder if there are any differences in how multiple instance fields are implemented which might affect this?
Many thanks
Duncan

Dec 10 2021, 3:07 PM · MediaWiki-extensions-TinyMCE

Dec 8 2021

aoxomoxoa closed T295293: TinyMCE not working on Page Forms MediaWiki 1.35 as Resolved.
Dec 8 2021, 5:03 PM · MediaWiki-extensions-TinyMCE
aoxomoxoa added a comment to T297296: TinyMCE error when you try and upload the same image..

Hi @Squeak24, Please let me know if this is resolved so I can update the task status, thanks.

Dec 8 2021, 5:02 PM · MediaWiki-extensions-TinyMCE
aoxomoxoa added a comment to T297296: TinyMCE error when you try and upload the same image..

Hi Gary, just added fix to master branch

Dec 8 2021, 5:01 PM · MediaWiki-extensions-TinyMCE
aoxomoxoa added a comment to F34862468: Images error with TinyMCE.jpg.

Hi Gary, fix has just been added to master branch. Let me know if you are still getting this problem?

Dec 8 2021, 4:56 PM

Dec 3 2021

aoxomoxoa added a comment to T296554: Text area contained within multiple instance template bug.

Hi Gary
Sorry for the delay getting back to you. and thank you for creating the test wiki to demonstrate the issue.
I should have some time next week to look into this.

Dec 3 2021, 6:14 PM · MediaWiki-extensions-TinyMCE

Nov 11 2021

aoxomoxoa triaged T295293: TinyMCE not working on Page Forms MediaWiki 1.35 as High priority.
Nov 11 2021, 10:44 AM · MediaWiki-extensions-TinyMCE
aoxomoxoa changed the status of T295293: TinyMCE not working on Page Forms MediaWiki 1.35 from Open to In Progress.
Nov 11 2021, 10:42 AM · MediaWiki-extensions-TinyMCE
aoxomoxoa added a comment to T295293: TinyMCE not working on Page Forms MediaWiki 1.35.

Hi Gary,
In the hope that this was the cause of the problem, I've added a patch to the master branch of the TinyMCE extension which should solve it. With this patch, TinyMCE will be initialised on class 'tinymce' without needing '$wgTinyMCESettings' to be defined in LocalSettings.php. This, in turn, should mean PageForms will use TinyMCE when asked.
Please do let me know how this goes? I'm away from mid-day today so won't be able to do more on this until next week if it is still a problem, I'm afraid.
If you have any urgent problems in future, please do use the TinyMCE Extension project page on phabricator as I seem to be more reliably alerted to tasks that are recorded there!
Kind regards,
Duncan

Nov 11 2021, 10:42 AM · MediaWiki-extensions-TinyMCE
aoxomoxoa added a comment to T295293: TinyMCE not working on Page Forms MediaWiki 1.35.

Good morning Gary
Thanks for the printouts. The JQMigrate warning is OK, at least it shouldn't affect the loading of TinyMCE in PageForms. Thanks also for trying with Vector - it was one of the things I was going to suggest, and confirms the problem isn't related to using Chameleon.
There is one issue causing PageForms not to use TinyMCE that I have found. If $wgTinyMCESettings is not set for class 'tinymce' in your LocalSettings.php file (see https://www.mediawiki.org/wiki/Extension:TinyMCE/Configuration for example) then page forms doesn't use TinyMCE even if it's available!
I'm not sure if this was a design 'feature' or omission, but I can look at making the declaration of TinyMCE on the 'tinymce' class part of the default configuration. Perhaps you could check whether you have '$wgTinyMCESettings' set up for class 'tinymce' in your LocalSettings and let me know? If not, then this is likely to be the problem. Meanwhile I'll have a look to see how easy this might be to fix!
Many thanks,
Duncan

Nov 11 2021, 10:11 AM · MediaWiki-extensions-TinyMCE

Nov 10 2021

aoxomoxoa added a comment to T295293: TinyMCE not working on Page Forms MediaWiki 1.35.

Hi Gary
I've been trying to recreate your issue. So far I have installed and tested with the following and everything seems to be working OK:

Nov 10 2021, 5:41 PM · MediaWiki-extensions-TinyMCE
aoxomoxoa claimed T295293: TinyMCE not working on Page Forms MediaWiki 1.35.

Ok, will check it out Gary

Nov 10 2021, 4:23 PM · MediaWiki-extensions-TinyMCE

Jun 2 2021

aoxomoxoa added a comment to T283944: TinyMCE: edit fails after upgrade to MW 1.36.

Hi Ashley, I want to give you a star for fixing this (but I'm not allowed as I'm not an admin) so please consider this as a token of my appreciation .

Jun 2 2021, 7:48 AM · MediaWiki-extensions-TinyMCE

May 26 2021

aoxomoxoa closed T283689: Replace Content::getNativeData() calls with TextContent::getText() in TinyMCE, a subtask of T155582: Deprecate Content::getNativeData(), defined TextContent::getText() to replace it., as Resolved.
May 26 2021, 1:58 PM · MW-1.46-notes (1.46.0-wmf.21; 2026-03-24), MW-1.39-notes (1.39.0-wmf.27; 2022-08-29), MW-1.37-notes (1.37.0-wmf.18; 2021-08-09), Platform Engineering (Icebox), MW-1.34-notes (1.34.0-wmf.3; 2019-04-30), MW-1.33-notes (1.33.0-wmf.24; 2019-04-02), Technical-Debt, User-Daniel, MediaWiki-ContentHandler
aoxomoxoa closed T283689: Replace Content::getNativeData() calls with TextContent::getText() in TinyMCE as Resolved.

Fix added to master branch

May 26 2021, 1:58 PM · MediaWiki-extensions-TinyMCE
aoxomoxoa updated the task description for T282902: Remove use of deprecated hook EditPageBeforeEditToolbar.
May 26 2021, 9:44 AM · Technical-Debt, MediaWiki-extensions-LiquidThreads, MediaWiki-extensions-JsonData, ci-test-error
aoxomoxoa added a comment to T282902: Remove use of deprecated hook EditPageBeforeEditToolbar.

Fix now added to TinyMCE extension

May 26 2021, 9:43 AM · Technical-Debt, MediaWiki-extensions-LiquidThreads, MediaWiki-extensions-JsonData, ci-test-error

Mar 19 2021

aoxomoxoa added a comment to T277872: In Firefox 78, edited sections won't get saved (works in more recent Firefox versions).

Thank you for your ongoing use of the TinyMCE extension and also reporting this issue. The problem is, in fact, a bug in Firefox (see here). This was fixed in version 84 of Firefox, I believe, which is why you no longer get the problem in version 86.

Mar 19 2021, 3:24 PM · MediaWiki-extensions-TinyMCE

Mar 1 2021

aoxomoxoa closed T275769: Editing lists within tables in TinyMCE editor breaks the lists as Resolved.

Hi @Nilasae , that's no problem at all. It's useful to see where users are having problems anyway and problems are how we learn. I'm really pleased you are using our extension and please do let me know if you have any more question or issues. B.T.W. I released version 1.0.8 on my development GitHub master branch over the weekend with a couple of bug fixes so you may wish to move up to that when you can?

Mar 1 2021, 12:26 PM · MediaWiki-extensions-TinyMCE

Feb 26 2021

aoxomoxoa added a comment to T275769: Editing lists within tables in TinyMCE editor breaks the lists.

Hi @Nilasae
Thank you for using the TinyMCE extension and taking the time to raise this bug report.
I did notice something strange in your example code. Every line except the first starts with a space. According to the mediawiki documentation here (see sections on Bullet Lists and Preformatted Text) and here (see section Wiki Table Markup Summary, first point after the table) list markup and table markup should start on a new line. Also, space before a new line creates a preformatted block.
This is the standard we have applied in the TinyMCE extension.
Although your code does seem to be interpreted as a table by Mediawiki, I am not sure you can rely on that behaviour as it doesn't confirm to what is described in the documentation. Unfortunately, it is impossible for me to be able to test every alternative to what the documentation describes. I tried the wiki markup without spaces at the start of each line and, in my test system at least, it seems to work correctly.
Later this year I plan to upgrade the TinyMCE extension to support the new parser distributed with mediawiki 1.35 which should make it a lot easier to reproduce exactly how Mediawiki renders wiki markup as html. If you are able to work without the spaces at the start of a line until then, my preference would be to do that. Let me know though if this causes a major problem for you?

Feb 26 2021, 8:38 AM · MediaWiki-extensions-TinyMCE

Dec 1 2020

aoxomoxoa closed T52922: Large Pages not rendered: Allowed memory size exhausted (PHP 5.5) as Invalid.

This is an ancient task referring to a prior incarnation of the TinyMCE extension which I believe is no longer valid for the current version.

Dec 1 2020, 4:09 PM · MediaWiki-extensions-TinyMCE, MediaWiki-Parser

Nov 19 2020

aoxomoxoa removed a project from T255319: Deprecate SkinTemplateNavigation::SpecialPage and SkinTemplateNavigation hooks in favor of SkinTemplateNavigation::Universal : MediaWiki-extensions-TinyMCE.
Nov 19 2020, 4:46 PM · MW-1.39-notes (1.39.0-wmf.21; 2022-07-18), good first task, patch-welcome, Web-Team-Backlog-Archived (Kanbanana-FY-2021-22), MW-1.37-notes (1.37.0-wmf.20; 2021-08-23), Growth-Team-Filtering, [DEPRECATED] wdwb-tech, Technical-Debt, MW-1.36-notes (1.36.0-wmf.12; 2020-10-05; NEVER DEPLOYED), MW-1.35-notes (1.35.0-wmf.38; 2020-06-23), WikiLove, MediaWiki-extensions-Push, MediaWiki-extensions-PageSchemas, MediaWiki-extensions-Page_Forms, MediaWiki-extensions-MintyDocs, MassMessage, MediaWiki-extensions-LiquidThreads, StructuredDiscussions, FileAnnotations, EntitySchema, MediaWiki-extensions-CollaborationKit, MediaWiki-extensions-Cargo, MediaWiki-extensions-Approved-Revs, MediaWiki-extensions-PdfBook, MediaWiki-extensions-CentralNotice, MediaWiki-extensions-Translate, VisualEditor, Wikidata, MediaWiki-User-Interface, Growth-Team, MediaWiki-Core-Skin-Architecture
aoxomoxoa closed T19668: Integrate TinyMCE into mediawiki as Resolved.

Version 1.0 of extension TinyMCE is available in Mediawiki extensions pages

Nov 19 2020, 3:28 PM · MediaWiki-extensions-TinyMCE, MediaWiki-extension-requests
aoxomoxoa closed T266873: Bug when insert a link with "_" the url is cut as Resolved.

Solved in version 1.0

Nov 19 2020, 3:26 PM · MediaWiki-extensions-TinyMCE
aoxomoxoa closed T212916: tinyMce: Upload/edit file fails in non-English mediawiki because of localized "File:" prefix in URL as Resolved.

This should no longer happen in version 1.0

Nov 19 2020, 3:24 PM · MediaWiki-extensions-TinyMCE
aoxomoxoa closed T246826: Allow directly upload files while using TinyMCE as Resolved.
Nov 19 2020, 3:23 PM · Patch-For-Review, MediaWiki-extensions-TinyMCE
aoxomoxoa added a comment to T266873: Bug when insert a link with "_" the url is cut.

Hi @Servilamina
The new version is available now on the TinyMCE extension page. It is a bit different from the previous version so it is probably worth re-reading the installation and usage documentation..

Nov 19 2020, 3:21 PM · MediaWiki-extensions-TinyMCE

Nov 2 2020

aoxomoxoa added a comment to T266873: Bug when insert a link with "_" the url is cut.

Thank you for trying this extension and also bringing this problem to my attention.

Nov 2 2020, 5:29 PM · MediaWiki-extensions-TinyMCE

Mar 23 2020

aoxomoxoa created T248300: +2 for TinyMCE extension for Duncan Crane.
Mar 23 2020, 9:03 AM · MediaWiki-extensions-TinyMCE, Gerrit-Privilege-Requests

Mar 15 2020

aoxomoxoa added a comment to T246826: Allow directly upload files while using TinyMCE.

Hi Yaron
I just added a patch to Gerrit with a fix for this. It will need to reviewed and accepted before the change is made to the master branch. However, if you'd like, or need, to try it sooner you can download the pactch from the link in the gerritbot comment above.
I hope it works well for you, but do note the comment about css above as things may not look exactly as you'd expect after the drop/paste.
B.T.W. did you notice their is an 'image upload' button of the TinyMCE menu bar if you just wish to upload a file from your local disk or a URL?
Hope you are enjoying the extension and please do let me know if you've any other suggestions/comments.
Kind regards, Duncan

Mar 15 2020, 4:16 PM · Patch-For-Review, MediaWiki-extensions-TinyMCE

Mar 5 2020

aoxomoxoa claimed T246826: Allow directly upload files while using TinyMCE.

Helo Yaron
Thank you for your request, this is indeed a very important feature for the TinyMCE extension. In fact it used to be that one could drag/drop or copy/paste from an HTML source into the TinyMCE editor and it would automatically upload all the images.
Somewhere along the line I must have made a change which has broken that feature, so I will try to fix it and post here when I'm done.
There is a separate problem with drag/drop copy/paste from HTML into the TinyMCE editor. This is because the copy/drag part of the operation doesn't pick up the CSS definitions for the classes in the html being copied/dragged. As a result what is pasted/dropped in the TinyMCE editor may not 'look' like the source document.
This may not be a problem for you, especially if your source document is a local wiki. I will fix the upload and then we can see if this fixes the issue for you?
Alternatively, if you are looking to transfer the content of a local wiki to a remote one, then there are other options for doing that (see, for example here). Bulk transfers of pages and files between wikis is a little outside the scope of the TinyMCE extension. If you need help on doing that it might be advisable to ask on the MediaWiki-l mailing list, where you will get much better advice than I can give!
Otherwise, check back and I will post here when I've fixed the drag/drop copy/paste upload feature of TinyMCE
Kind regards, Duncan

Mar 5 2020, 8:36 AM · Patch-For-Review, MediaWiki-extensions-TinyMCE

Feb 14 2020

aoxomoxoa closed T213644: TinyMce REL1_32, MediaWiki, undefined method TitleValue::getArticleID() when opening page Special:Categories as Resolved.

Hi, thank you for retesting and letting me know.

Feb 14 2020, 8:33 AM · MediaWiki-extensions-TinyMCE

Jan 28 2020

aoxomoxoa added a comment to T213644: TinyMce REL1_32, MediaWiki, undefined method TitleValue::getArticleID() when opening page Special:Categories.

Thanks for the quick response. Due to a misunderstanding on my part, fixes to the code haven't been backported to previous releases. I'm sorry this wasn't clear from the documentation until recently when I added the compatibility policy is 'master'.
The background to this misunderstanding is explained in the dialogue I had with James Forrester in the comments on this patch.
Would you try the current master branch to see if you still get this problem? This should work with mediawiki 1.31.6. I apologise for any inconvenience, Duncan.

Jan 28 2020, 3:26 PM · MediaWiki-extensions-TinyMCE
aoxomoxoa added a comment to T213644: TinyMce REL1_32, MediaWiki, undefined method TitleValue::getArticleID() when opening page Special:Categories.

Hi, I just tried this with Mediawiki 1.31 and the most recent TinyMCE master and everything seems to be working OK. It might be that a recent change has solved the problem or maybe you are using a different version of mediawiki. Would you let me know which versions you are using? Thanks

Jan 28 2020, 2:31 PM · MediaWiki-extensions-TinyMCE

Mar 19 2019

aoxomoxoa added a watcher for MediaWiki-extensions-TinyMCE: aoxomoxoa.
Mar 19 2019, 12:26 PM

Sep 23 2018

aoxomoxoa added a comment to T19668: Integrate TinyMCE into mediawiki.

OK now I get it, I think. I guess you added this project so that issues etc with the TinyMCE extension that I mention can be tracked. Thanks for that.

Sep 23 2018, 8:10 AM · MediaWiki-extensions-TinyMCE, MediaWiki-extension-requests
aoxomoxoa added a comment to T19668: Integrate TinyMCE into mediawiki.

Hi, I'm new here so I hope I've responded appropriately? Have you seen the extension TinyMCE for Mediawiki that might meet your needs? I believe it works on Mediawiki versions from 1.23 to at least 1.31.

Sep 23 2018, 8:00 AM · MediaWiki-extensions-TinyMCE, MediaWiki-extension-requests