Steps to reproduce
- Open VE
- Add an image
- Save the page
- Reopen VE
Observed Result:
Images are not appearing after reopening VE, shows red link for it. However, it appears in Read mode and while adding it first time.
Ryasmeen | |
Sep 7 2016, 1:32 AM |
F4438515: Screen Shot 2016-09-06 at 6.35.36 PM.png | |
Sep 7 2016, 1:36 AM |
Steps to reproduce
Observed Result:
Images are not appearing after reopening VE, shows red link for it. However, it appears in Read mode and while adding it first time.
Maybe someone is doing something special in Beta Cluster? It's not happening in production.
I think the Special:FilePath link is coming in from Parsoid, but the code (in wt2html/tt/LinkHandler.js) hasn't changed in months…
Try refreshing the content in RESTBase or let us ask Services folks to purge content in RESTBase. For a little while, Parsoid was failing on all mediawiki API requests once beta cluster moved to https only. I fixed that this morning ( https://gerrit.wikimedia.org/r/#/c/309001/ ). @GWicke, @mobrovac ... could you do the needful please?
So, the cause will be https://gerrit.wikimedia.org/r/#/c/307762/
krenair@deployment-tin:~$ curl -X POST http://deployment-parsoid09:8000/en.wikipedia.beta.wmflabs.org/v3/transform/wikitext/to/html/Main_Page --data "wikitext=[[File:Ophelia - Hybrid Tea.jpg]]" 2>/dev/null | grep -o mw:Error mw:Error
I did some more digging and found that although @ssastry made https://gerrit.wikimedia.org/r/#/c/309001/, he didn't actually deploy it:
krenair@deployment-tin:/srv/deployment/parsoid/deploy$ git log --oneline -1 c4cb920 Bump src to 7863e6ad + update node modules
So I ran git fetch origin, git merge origin/master, ssh deployment-parsoid09.deployment-prep.eqiad.wmflabs (to get the known host entry), sudo usermod -a -G deploy-service krenair, scap deploy
And now we can deal with the RB cache
Mentioned in SAL [2016-09-08T02:25:53Z] <Krenair> deployed the latest version of mediawiki/services/parsoid/deploy.git to get https://gerrit.wikimedia.org/r/#/c/309001/ see T144884