Last modified: 2014-03-09 12:20:25 UTC
I'd like an extension that simply appends a line or multiple lines to a wiki page, preferably using AJAX. This is to avoid downloading the whole page text and then sending it back to the server. It should insert a textbox on the page like Extension:LogEntry does using <AppendLine /> or <AppendLines /> for single-/multi-input respectively. In the simplest form, it is exactly like "echo string >> file", but the one and only feature I can think of would be to define a string to insert before/after: <AppendLine insertBefore="whatever" /> or <AppendLines insertAfter="something else" />. If you wanted, you could add <PrependLine /> variants of all of this as well -- careful with the insertBefore/insertAfter in that case :) This would need to be deployed on Wikimedia sites. Thanks to anyone who takes this on.
This would probably be best implemented as a JavaScript Gadget; the API has an append operation which could be easily used by such a tool.