Topic on Extension talk:MobileFrontend

div.thumbcaption:before

5
Evolution and evolvability (talkcontribs)

I've just noticed that some templatestyles don't work the same on different pages. The example is:

This templatestyle works fine to number figures on a template page but not on other pages (e.g. user sandbox)

I can't work out what is causing it. Is there some difference in image div naming between pages?

Any ideas for a fix?

Dinoguy1000 (talkcontribs)

I'm not seeing any difference between the linked pages; as far as I can tell, they display identically. What differences specifically are you seeing? Have you tried viewing the pages while logged out, in a different browser, or using a different device?

Evolution and evolvability (talkcontribs)

Apologies - I needed to specify! The figure numbering is different. Specifically on this page, the text keeps repeating as "Figure 1"

What should happen is that:

  • the text "Figure " counter(figure-n-counter) should display at the start of the caption
  • then counter-increment: figure-n-counter; should increment up by one after each image
Dinoguy1000 (talkcontribs)

Aah, you're not the only one who needs to apologize. When I first looked, I de-mobile-ified your links before comparing them; opening and comparing them again without any twiddling, I see the same issue you're reporting here. So whatever's going on, it's a desktop-mobile skin difference. I haven't investigated any further than this, though.

Evolution and evolvability (talkcontribs)

Thanks! Also, feel free to let me know if there's a more logical place than here to ask for ideas!

Reply to "div.thumbcaption:before"