Board Thread:Support Requests - Getting Technical/@comment-3387692-20130307035904/@comment-3387692-20130324015123

I'd like to find out if there's a way to automatically check whether another page is a redirect and display something accordingly. Fandyllic shared that there's no specific function for doing so. Now I'm wondering if there's any way to reference the type of API pages he shared (or anything else that indicates whether something is redirect or not); that way some nifty string functions could at least be use to emulate such a check.

EDIT: I managed to come up with a workaround. Since redirect pages have to lead with the redirection statement, I decided to use ifeq to check the first 3 letters of a transclusion of a page to see if they match up with those of a redirection statement.

If someone comes along with an answer, I still wouldn't mind knowing if there's a way to reference such pages, but rest assured I have a solution and there's no urgency.

Thank you three for helping me out!