Random MW API idea

Jump to navigation Jump to search

Random MW API idea

In theory, do you think it would be possible to create a "replacetext" (and "start" and "end", I guess) parameter for action=edit? So you could say to the API, "replace the text from index start to end with replacetext." (I suppose in this particular implementation the end index wouldn't be strictly necessary.)

Blue (is useful)23:03, 4 October 2011

It's possible, but this isn't really needed. How hard is it to just run the replace in javascript and then save the new text with action=edit?

-- Nx / talk06:36, 5 October 2011

Facepalm I was confusing the URL length limits for GET requests with POST. Silly me.

Blue (is useful)07:45, 5 October 2011