gesinn-it-pub / mediawiki-extensions-PageForms

Fork of MediaWiki extension PageForms that aims to simplify contribution through hosting on GitHub instead of Gerrit, improved quality through better test coverage (to be done) and continuous integration.
Other
1 stars 4 forks source link

feat (autoedit): add #autoedit trigger on DOM Ready #58

Closed gesinn-it-gea closed 7 months ago

gesinn-it-gea commented 7 months ago

Introduce a new autoedit mechanism in PageForms (PF) that triggers page editing automatically upon DOM (Document Object Model) ready, without rendering a visible link or button.

As PageForms (PF) continues to evolve, there's a growing demand for more streamlined editing experiences. Currently, PF supports autoediting through two mechanisms: rendering a link or a button that, when clicked, initiates page editing. However, there are scenarios where initiating the edit process without user interaction is desired, particularly for automated workflows or seamless integration into other systems.

To address this need, we propose the implementation of a third autoedit link type "instant" that triggers page editing automatically upon DOM ready, without clicking a link or button. This mechanism will provide users with greater flexibility and enable smoother integration of PF into various workflows and applications. An example could be #autoedit in combination with a Query Form.