Last modified: 2014-03-09 12:20:25 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T22435, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 20435 - Simple extension to append to a wiki page
Simple extension to append to a wiki page
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
Extensions requests (Other open bugs)
unspecified
All All
: Low enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-08-29 14:47 UTC by Mike.lifeguard
Modified: 2014-03-09 12:20 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Mike.lifeguard 2009-08-29 14:47:06 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.
Comment 1 Brion Vibber 2009-09-03 01:18:10 UTC
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.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links