Page MenuHomePhabricator

Write a user script to replace all images in an article with an image of your choice
Closed, ResolvedPublic


Here are steps to do so:

Note: Remember that the effect caused by your code in the common.js file will only be visible to you.

Event Timeline

Not to be negative, but is this really a good task? Seems like something that has a high likelyhood to result in accidental vandalism of articles.

Hmm,isn't this just about your displaying of images (via your personal common.js)? So "replace" here only means "render something differently for me"?

Oh. I assumed replace meant get wikitext of page, regex the images and save page. If its just a view thing, I withdraw my objections :)