Jump to content

Topic on Extension talk:AbuseFilter/Archive 2

Cojoilustrado (talkcontribs)

Jesus, the extension instructions are def not written for us the common people.

Can someone help me allowing youtu.be link in my wiki? Something like step by step, please, that would be useful anyone with a wiki and not just developers.

Sorry if I come across a bit heavy, but for someone like me, basically every single extension page might as well be in Aramaic. It takes weeks figuring out some of these things.


Is it even possible to allow youtu.be? Why would it be blocked but not youtube? If the idea is to block .be, then a rule is needed out of the box that allows youtube. It could be abused, but I think by now we know youtube is a safe site.

Dinoguy1000 (talkcontribs)
195.176.112.42 (talkcontribs)

Most likely, you can link to youtube.com instead.

Cojoilustrado (talkcontribs)

Thanks, I figured the whitelist thingy. The problem with youtube urls links is that they are long and messy, the youtu.be are short short, making them easier to deal with in code. Especially of you have a bunch of them. Thanks for the replies.

Dinoguy1000 (talkcontribs)

If you're only linking to videos (and not even to particular timestamps), the only URL parameter you actually need is v (i.e. https://youtube.com/watch?v=[string]). Even if you're linking to other things, or to specific timestamps, etc, if the URLs you're using have many URL parameters, chances are good you can remove most of them and still have a URL that does what you need of it. If you're any good at all with scripting, it should be pretty easy to write a bit of code that will strip unneeded URL parameters for you; the hard part would just be figuring out which parameters are actually necessary when you're first writing the script (and only "hard" in the sense that you'd have to repeatedly remove parameters and load the resulting URL to see the result).

Reply to "youtu.be"