Last modified: 2013-12-19 16:31:50 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 T56831, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 54831 - Breadcrumb (#isin magic word) doesn't update in preview mode
Breadcrumb (#isin magic word) doesn't update in preview mode
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
GeoCrumbs (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
http://it.wikivoyage.org
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-01 16:25 UTC by Andyrom75
Modified: 2013-12-19 16:31 UTC (History)
3 users (show)

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


Attachments

Description Andyrom75 2013-10-01 16:25:42 UTC
Through the #isin magic word, I can build the breadcrumb on the top of the page.

To simplify the syntax we use one of these templates to call that magic word, for example: IsIn, IsInCat, Quickfooter.

When we apply some change on one of the above templates and we push the preview button, the breadcrumb doesn't change accordingly to the new wikitext, so it's not possible to verify, before saving, if the change is good or not.

Could you fix it?
Comment 1 Andre Klapper 2013-10-01 18:09:08 UTC
Could you elaborate on the steps to reproduce by providing a specific example / testpage?
Comment 2 Andyrom75 2013-10-01 21:51:14 UTC
You can test it with every page.

Anyway, let's take one to make an example: https://it.wikivoyage.org/wiki/Caraibi

1) Edit it.
2) Change (in the very bottom): 

{{Quickfooter|Regione continentale
| Continente = America del Nord
}}

into

{{Quickfooter|Regione continentale
| Continente = America Centrale
}}

3) Preview it.
4) You'll see that in the top, instead of

America Centrale > Caraibi

you'll keep seeing 

America del Nord > Caraibi

5) but if you save it, you'll see the correct layout: America Centrale > Caraibi


Let me know if now it's clear or if you need more info about it.
Comment 3 Andyrom75 2013-10-05 09:30:12 UTC
I still see it as unconfirmed. Do you need further clarification?
Comment 4 Andre Klapper 2013-10-12 00:39:35 UTC
I can confirm the problem with the given steps, however I am not sure if this is a bug in the MediaWiki code itself (which would make this a valid, confirmed bug) or in the {{Quickfooter}} template.
Comment 5 Andyrom75 2013-10-12 08:52:09 UTC
Quickfooter is a template present only in it:voy (e.g. en:voy use IsPartOf), but at the end it just use the tag {{#isin:...}} like all the others language versions of voy.
Is this tag that originate the issue.
Comment 6 Nemo 2013-10-30 19:08:24 UTC
Simpler steps to reproduce:

1) Edit a title in namespace 0, for instance a new page
2) Add {{#isin:America del Nord}}, preview
I. Observed: breadcrumb is not shown.
II. Expected: it's part of preview.
3) Save.
III. Observed: it's shown.
4) Edit again, replace with {{#isin:America Centrale}, preview
IV. Observed: the old breadcrumb is shown.
V. Expected: it's updated.
5) Save
VI. Observed: it's updated correctly despite preview.

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


Navigation
Links