#Purge all pages

19 messages · Page 1 of 1 (latest)

glass latch
#

Hi. Can you help us purge all pages on our wiki grayravens.com ?

Previously, I was able to do this by using a bot and the api.php, but since we migrated our domain to Cloudflare, all requests to api.php return a 403 status code.

leaden carbon
#

@glass latch do you get a message with your 403?

glass latch
#
import fs from "fs"

const res = await fetch(`${url}/w/api.php?action=query&meta=tokens&format=json`);
console.log(res.status)

if(!res.ok){
    const text = await res.text()
    fs.writeFileSync("error.html", text, "utf-8")
}
#

had to leave the url parameter out because it's getting banned by the automod

leaden carbon
#

Hmm fun

#

Try set a user agent but that might not help

glass latch
#

didn't work YangyangDed

leaden carbon
#

Then it's probably bribe a tech time

pine depot
#

what's the UA/IP so i can look up why it thinks you're naughty

#

(obviously dont send your IP here)

glass latch
burnt shadow
glass latch
#

but after using a vpn to get a different ip, it worked. I didn't think about that YangyangDed

pine depot
#

@glass latch I've edited the rule affecting you, can you check if you're able to access now?

glass latch
#

ty for the help