Topic on Extension talk:MassMessage

Unescaped language links - what to do?

10
Summary by Quiddity (WMF)

Filed as phab:T150225

Peteforsyth (talkcontribs)

I'm getting "Warning: There are unescaped language links in your message." This is for delivery of the Signpost, so it's a bunch of code -- I don't see links in wikitext. The only language code I see is this one:

<div lang="en" dir="ltr"

This help page does not explain what the problem is with wikitext (what to do if you get the error) -- but I think my problem is even deeper than that. Any ideas? -Pete F (talk) 16:59, 4 November 2016 (UTC)

Quiddity (WMF) (talkcontribs)
Peteforsyth (talkcontribs)

I'm using the manual process at that link. (Sorry for not including it, but good job finding it!) Our automated process has been broken for several months, I believe because our bot or templates were unable to handle some updates to MediaWiki.

Here's the code: <div lang="en" dir="ltr" class="mw-content-ltr"><div style="-moz-column-count:2; -webkit-column-count:2; column-count:2;"> {{Wikipedia:Wikipedia Signpost/2016-XX-XX}} </div><!--Volume 12, Issue XX--> <div class="hlist" style="margin-top:10px; font-size:90%; padding-left:5px; font-family:Georgia, Palatino, Palatino Linotype, Times, Times New Roman, serif;"> * '''[[Wikipedia:Wikipedia Signpost|Read this Signpost in full]]''' * [[Wikipedia:Wikipedia Signpost/Single/2016-xx-xx|Single-page]] * [[Wikipedia:Wikipedia Signpost/Subscribe|Unsubscribe]] * [[User:MediaWiki message delivery|MediaWiki message delivery]] ([[User talk:MediaWiki message delivery|talk]]) ~~~~~ </div></div>

I did send it, and did not notice any problems. Here is an example of the output: https://en.wikipedia.org/w/index.php?title=User_talk:Peteforsyth&diff=747840030&oldid=747638885

Quiddity (WMF) (talkcontribs)

Does this mean you've resolved the issue? (I assume so, as my copy was delivered!)

If so, did you change/fix something in particular? (I.e. anything that should be noted in the Signpost publication docs, or, anything that should be noted in the MassMessage help docs)

Re: Signposts's automated system not working - Have you asked Jarry1250 for help? (he's the tool's maintainer, but I can't see any related questions about it in his talkpage archives or his recent (750) contributions.)

Peteforsyth (talkcontribs)

No, I have not resolved it -- I just took the chance that it would be OK, and I think I got away with something this time. But I suspect this will come up every time we publish going forward; I'd like to either (a) know for sure that it's not a problem, so I can put it in the docs that we can ignore it, or (b) fix the problem (obviously preferable!)

Thank you for pointing me to Jarry1250. I will certainly reach out to him, but not immediately; we have some personnel issues to resolve internally first, and I want to be sure we have the right technical skills "in house" at the Signpost first, before we go seeking advice or help that we might not be equipped to make use of. But regardless, very happy to know who to ask! -Pete F (talk) 22:53, 4 November 2016 (UTC)

Peteforsyth (talkcontribs)

Also -- apart from my specific issue -- I think the main page here could benefit from a little more detail on the "unescaped language links" item.

Peteforsyth (talkcontribs)

Quiddity (WMF), can you think of anywhere else I can ask? Should I create a Phabricator ticket, perhaps?

Quiddity (WMF) (talkcontribs)

Ah, the documentation explains the message at Help:Extension:MassMessage#Input_checking (note, the Help: page, not the extension page, although that talkpage redirects here).

However, I'm not sure what the problem was in your case... The pasted code doesn't contain any interwiki links misformatted as interlanguage links (unescaped language links), and I can't figure out how w:en:Wikipedia:Wikipedia Signpost/2016-11-04 would have caused any problems...

Oh... I wonder if it's due to the [[Wikipedia:...]] ? (which would work differently on other wikis, linking to Enwiki per Special:Interwiki, instead of the namespace itself, and hence potentially warrant triggering a warning like this).

I'll ask a dev, and if necessary file a task.

Quiddity (WMF) (talkcontribs)

My guess was incorrect, but there was a bug. It's been filed as phab:T150225. Just ignore the warning for now. Thanks for the nudge to look again. :-)

Legoktm (talkcontribs)
Reply to "Unescaped language links - what to do?"