Frederisk/Wikitext-VSCode-Extension

Better edit summaries?

TechnoSquirrel69 opened this issue · 3 comments

image

Hey there! The "ad" appended to edit summaries using this extension is a bit long, and tends to clog up revision histories with repetitive text. I think a better solution would be to make the edit summary super short, like "(VSCode)", and have that link to an information page on Meta. In addition to having cleaner edit summaries, this'll also give other editors a useful thing to click on when they see edits made with the extension and are curious to know more about it.

Good advice! I will consider this option.

During the implementation, I found some problems. Because the site where the user is using the extension may not be a Wikimedia project, the link established in the summary may not point to the meta page as expected.

As an alternative, I may later provide an option to allow users to change to a shorter version of the summary suffix.

The link appearing could be made conditional based on whether the URL entered in the "host" setting is a WMF wiki. Check if the URL contains "wikipedia.org", "wikimedia.org", etc. Non-WMF wikis could also be added later if they support the [[m:]] interwiki prefix. (Or [[mw:]] if you'd prefer the page on mediawiki.org.) That would already be beneficial to a good chunk of this extension's users, and it'll give other editors an easier way to find this extension, like I mentioned earlier.