User talk:Max34/VDCEditor
User:Max34/VDCEditor
.
To add a comment, use the Edit button near the headline of the appropriate section. To create a new section, you can use the Add topic button at the top of this page. Comments on talk pages should be signed with "~~~~", which will be converted into your signature and a timestamp.
Sustainability
Hey, I don't mean to be an asshole, since I've already critiqued the {{Page}} template elsewhere, but I do have a few concerns over this extension itself, with the main problem being sustainability. Many people on this wiki (me included) use Firefox, which does not run on chromium like chrome for example, which means that this extension does not work for it. This means you would have to create another version of this extension for it, though I don't imagine that would be too difficult. However the larger concern I have is that this extension is unlikely to work for a sustained period of time without updates. Which is to say, you (or someone else) would need to keep updating this template for presumably the rest of this wiki's existence. And since editing pages using {{Page}} might as well require this, the entire wiki would basically rest upon this extension. None of this is of course a problem if you don't mind updating this for the foreseeable future, and I imagine that you wouldn't have to update it that often anyways, but I still thought to leave a message since this is quite a pressing concern for the future of this wiki. --Wisdurm (talk) 15:09, 6 Jun 2024 (UTC)
- To be honest, I didn’t know that firefox doesn’t support this extension, I didn’t even think to check. The whole problem turned out to be that the background script is not available there. I was already able to fix this, but I noticed that some of the functionality does not work as it should. In the coming days I will be working on supporting the extension in firefox.
- What about supporting templates and working with them... I can’t say anything for sure yet, but I plan to do a kind of manual implementation of templates directly through these templates. Self-written js, one might say. I have already tried to implement something similar and I think it will be quite possible.
- To better understand what I’m talking about, I’ll give an example: we have an Emoji template. In the template itself there will be.. the template itself (obviously), as well as a special multi-line comment, something like
<!--VDCEditor ShowThisTempateOnlyInNamespaces("* Talk"); <and the following code that adds, for example, a strip with emojis and when clicked on, a ready-made template will be inserted into the text> -->
- Thus, there will be no urgent need for updating. And yes, I foresee questions that this could be used for bad purposes, but I will try to do everything to prevent this from happening. --Max34 (talk) 19:49, 6 Jun 2024 (UTC)
- Oh, you don't have to worry about that. this is almost not a problem. As I indicated on the extension page, it can also work on other projects based on the MediaWiki engine. I checked and it works quite well even on Wikipedia. Yes, there are differences among other projects, but most of them are minor. Therefore textarea with id "wpTextbox1" on one project remained the same on others.
- And one more thing: I rethought my idea with additional template settings for the extension and now it will be implemented in a more familiar form, as a separate template that will simply place the settings in span tags with special ids, and the extension will load these settings through these special id. the only thing that remains is to figure out what settings we need. --Max34 (talk) 6:33, 7 Jun 2024 (UTC)
Permission to Update VDCEditor
Since you haven't been updating VDCEditor in a long time, can i get permission to update VDCEditor to fix the inverted color and add stuff from the Development progress? -N0one (talk) 15:22, 17 December 2024 (PST)
- I apologize for the long response, I left the site a long time ago and only periodically check this and my page. I missed a lot of what happened here.
- Now I looked at how to fix this incorrect coloring and to do this you need to remove the
class="wikiEditor-ui-toolbar"
from the top div.
- Maybe I'll try to make a new version of the extension, but I'm not sure about this, at least because I don't know what to do (except for fixing the colors), and the implementation of what already exists is quite… crutch. Before this, there was highlighting of digital values and units of measurement like px, but it had to be removed because a large number of span tags on one line can lead to incorrect text wrapping and it will no longer be synchronized with the actual text of the editor, and this should never be allowed case.
- From the old ideas I had the ability to change the size and font of the text in the editor. But they did not make it into the final version. But before publishing the first version, I managed to implement duplication of a line or part of the text using
Ctrl + D
and maintaining the indentation at the beginning of the line when creating the next line.
- If you have ideas on how to make the extension better and more functional, then perhaps it makes sense to return completely to its development. — Max34 (talk) 13:17, 26 December 2024 (PST)
- I see, to sum up what i did, i fixed some or lots of bugs, like the html tags formatter that parts of it isn't aligned while selecting, I also fixed the icons and the text color by adding
-webkit-filter: invert(1); filter: invert(1);
or just remove thisclass="wikiEditor-ui-toolbar"
, i added more stylized text like links, categories, apostrophies ('), and also made it sure that it has its own template for translating pages ([[Link]], {{L|link}}, [[Category:Example]], {{ACategory|Example}}
), added buttons for each stylized text for user likings (like me), added a style button that is a dropdown with all of stylized text colors, plus i added support for RTL text, which i made a custom preferences button on the editor. I forgot how much i fixed the editor. --N0one (talk) 14:32, 26 December 2024 (PST)
- I see, to sum up what i did, i fixed some or lots of bugs, like the html tags formatter that parts of it isn't aligned while selecting, I also fixed the icons and the text color by adding
- I didn't sleep all night because I got carried away with improving this extension. But in the end I realized that this nightmare is too difficult to work with. I think I will make version 0.2 from scratch. And I would be grateful if you could share what you were able to add or improve. Can we go to discord (I think it will be easier to discuss all this there)? My nickname is on my user page. — Max34 (talk) 03:52, 27 December 2024 (PST)