Redirects should have a linked body message#823
Redirects should have a linked body message#823philwareham merged 1 commit intotextpattern:devfrom da2x:bugfix_redirect_body
Conversation
|
@Aeyoun good idea, and I would merge it if we had localized edit: maybe |
|
I thought about it, bu decided aginst it. It’s a single lone sentence on an empty document with one link that containes the word “here”. I don’t think there’ll be much of a lingual barrier if anyone stumble across this. I see “Click here” is used on links even on Chinese language webpages. No one should see this message unless there is a network problem, special needs (accessibility), or someone using curl without following redirects. I could switch it to just a link, but the text with link is probably a better user experience than just a linked URL — even if you don’t fully understand the language. |
|
This is no different than how the systems states "Database unavailable' only in English. |
|
@philwareham I leave it with you to decide if it's ok UX-wise, but think that a localized Permanent link to this article string could be an option. I would see this message, since redirects are disabled in my daily browser. |
|
I can create a new translation string |
|
Nope for me, new strings are rarely translated nowadays. |
|
Well, I don't agree with that, we have a fairly healthy level of translation activity. I'm also building a translations page into the new Textpattern official site, which encourages people to use our Crowdin project. |
|
Ah, sorry, nice to hear it! But I'd prefer to keep the number of strings as low as possible. Merge it as is, maybe? |
|
Yep, agreed. Done. Thanks everyone! |
I guess that confirmed that this is dead code we’re discussing. You would have noticed this otherwise. Used by plugins, maybe? |
|
txp_die() is used quite often, though not with |
This is dead code, as far as I can tell; but fixing it anyway. Not all clients follow redirects automatically.
Redirect pages generated by all major web servers include a body message for redirects.
Users see informational page instead of blank page when redirect fails because of caching, network issues, tweaked browsers, accessibility settings, misuse of curl, etc. etc.