Last modified: 2013-06-28 20:57:09 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T52003, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 50003 - page updates after template edit don't work properly; provide action=purge workaround
page updates after template edit don't work properly; provide action=purge w...
Status: RESOLVED FIXED
Product: Parsoid
Classification: Unclassified
General (Other open bugs)
unspecified
All All
: High normal
: ---
Assigned To: Gabriel Wicke
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-06-22 02:46 UTC by This, that and the other (TTO)
Modified: 2013-06-28 20:57 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description This, that and the other (TTO) 2013-06-22 02:46:12 UTC
0. Turn on VE in prefs on testwiki if not already enabled
1. Go to [[testwiki:Parsoid cache]], observe red/maroon colours on transclusion of {{sandy}} template
2. Edit with VE, notice that same (correct) colours are seen
3. Edit [[testwiki:Template:Sandy]] with source editor, change colours (e.g. maroon->green), and save page
4. Go back to [[testwiki:Parsoid cache]], refresh page, notice that colours have changed in "read" mode
5. Edit with VE, colours go back to original (now incorrect) colours

There seems to be no way to clear/update the Parsoid cache of a page. Even a null edit with the source editor doesn't seem to affect it.

The standard thing to do in these situations is action=purge, so maybe that could be hooked up to clearing the Parsoid cache as well. Or some other way of achieving the same result.
Comment 1 Gabriel Wicke 2013-06-24 20:26:47 UTC
By design pages transcluding a modified template should automatically be updated, but we are aware that for some reason that update currently does not work properly.

Listening to action=purge is not a solution to this issue, but could still be a useful workaround. We are focusing on fixing the real update issue first though.
Comment 2 Gerrit Notification Bot 2013-06-28 19:49:44 UTC
Change 71108 had a related patch set uploaded by GWicke:
Bug 50003: Fix template and image updates

https://gerrit.wikimedia.org/r/71108
Comment 3 Gerrit Notification Bot 2013-06-28 20:24:08 UTC
Change 71108 merged by jenkins-bot:
Bug 50003: Fix template and image updates

https://gerrit.wikimedia.org/r/71108
Comment 4 Gabriel Wicke 2013-06-28 20:57:09 UTC
Transclusion and file expansion updates should be fixed in production.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links