Topic on Extension talk:VEForAll

Bluespice AtMentions, Checklists and DateTimeTools

9
Squeak24 (talkcontribs)

Does VEForAll allow the icons for the BlueSpice AtMentions, CheckLists and DateTimeTools to be added to a form?

I am sure I also saw at the SMWCon Fall 2023 that there was an option for adding comments like you do with Word, but I can't remember how that was set up, can that be added for a VEForAll as well?

I am using PageForms with VEForAll.

Any help is appreciated.

Yaron Koren (talkcontribs)

I saw that BlueSpice presentation also (remotely). You don't actually mean "icons", I think - you mean "special syntax" or something. i.e., with the Checklists extension, if you add "[]" at the beginning of a line, it's displayed as a clickable checkbox. I think for all of those extensions, they have VisualEditor integration. I assume that means that it would work as well within a VEForAll-enabled textarea, but I have no idea.

I also saw that other presentation I think you're talking about, of the not-yet-released extension from ArchiXL currently called either "Semantic Comments" or "SmartComments". That extension, though, takes effect when viewing a page, not editing it, so VE/VEForAll should not be relevant. (I also think the InlineComments extension is the better tool for this - and it's already available - but that's a whole other story.)

Squeak24 (talkcontribs)

Thanks for the speedy reply Yaron.

This is what I see on the standard page without using a page form:

BlueSpice icons in VE

But, with Page Forms using VEForAll, these icons don't show:

Shows the VE in page forms without the BlueSpice icons.

I know I need to resolve the issue with the text over the icons, I did fix that once, but keep forgetting to do it since upgrading MW.

Any help is appreciated.

Yaron Koren (talkcontribs)

Oh, you did mean icons. Well, the icons do appear, it's just that (as you note) the text appears over them. If you resolved that once before, can you do it again? What do you need my help for?

Squeak24 (talkcontribs)

I will make the changed tomorrow, it's been a long day.

I can see the TaskList, but not the icon for the AtMentions.

I have just tested it with the @ and that brings up what I would want. Just wondering if it can be in the ribbon as well when using Page Forms, if not, no worries now I know typing @ works.

Yaron Koren (talkcontribs)

Oh, now I see that AtMentions icon. Maybe it can be added via the VEForAllToolbarConfigNormal hook - I don't know.

Squeak24 (talkcontribs)

OK, I will take a look, thank you!

Squeak24 (talkcontribs)

Good news, you can add them with that hook, this is what I have used for others:

$wgHooks['VEForAllToolbarConfigNormal'][] = function( &$defaultConfigNormal ) {

        $defaultConfigNormal[4]['include'][] = 'comment';

        $defaultConfigNormal[4]['include'][] = 'mention';

};

The comments are part of ApprovedRevs, not the BlueSpice extensions from what I can see.

Yaron Koren (talkcontribs)

That's great! Although I don't think it could be Approved Revs - I don't think Approved Revs modifies VisualEditor in any way.

Reply to "Bluespice AtMentions, Checklists and DateTimeTools"