Page MenuHomePhabricator

Custom templates embedded on sa.wikipedia homepage do not wrap text when zooming in
Closed, DeclinedPublic

Description

The home page is not fixed. So when it is maximized the templates exceed the page.

Event Timeline

This sounds like an issue for sawiki admins? Or is it due to a MediaWiki problem?

I am an admin here. But I could do nothing. Please guide me.

Aklapper changed the task status from Open to Stalled.Jun 25 2016, 11:57 AM

Hi @Shubha, thanks for taking the time to report this!
Unfortunately this report lacks some information. If you have time and can still reproduce the problem, please add a more complete description to this report. Ideally, exact and clear steps to reproduce should allow any other person to follow these steps (without having to interpret those steps) and see the same results.
Please also provide a screenshot of the problem.
Thanks!

Please do this to see the problem -

  1. Go to sa.wikipedia home page.
  2. Press Ctrl + - to maximize it.

You observe that full page is not displayed.

Looking at the created HTML source, there is a <div> in a <table> in a <table> in a <div>, and it seems that the wiki text source embeds templates like https://sa.wikipedia.org/wiki/फलकम्:संस्कृतविकिपीडिया (where the behavior is as you expect it).
Wondering if somehow using the CSS text-overflowoption could help.

Note that templates are local features and managed independently on each wiki. Phabricator/Maniphest is used for MediaWiki, MediaWiki extensions, or server configuration. In general such issues are a matter to discuss and fix on the local wiki and not really handled in Phabricator/Maniphest until https://phabricator.wikimedia.org/T121470 gets solved.

Aklapper renamed this task from sa.wikipedia homepage error to Custom templates embedded on sa.wikipedia homepage do not wrap text when zooming in.Jun 25 2016, 3:48 PM
Aklapper changed the task status from Stalled to Open.
Aklapper triaged this task as Low priority.

The Community-Tech team might be able to take a look if their time allows, but in general this is a matter to discuss and fix on the local wiki and not really handled in Phabricator/Maniphest.

Yeah, the fix for this is to use a different template for the main page. You can get lots of examples on other wiki main pages. I think the Assamese wiki is using a template that looks very similar, and it works the way that you'd like it to on Sanskrit.

https://as.wikipedia.org/

It's not easy to translate a template from one language to another, but a Sanskrit speaker will be better able to do it than me. :)

But this is purely a problem with the community-created template; it's not a software problem. I hope that this helps.

Please do this to see the problem -

  1. Go to sa.wikipedia home page.
  2. Press Ctrl + - to maximize it.

You observe that full page is not displayed.

First of all, the code you use is invalid - you have unclosed tags there. You also use inappropriate constructions, such as one-cell tables, nested tables etc... Please try to fix your code first according to what I've just mention.

If the problem still persist, please provide following info:

  • Which browser and OS do you use? (Please provide exact versions)
  • If your browser supports extensions, do you have any installed?
  • What screen resolution or window size do you use?
  • What does "to maximize the page" stand for? Maximizing of the window is done by appropriate button on the window, which is OS feature.
  • "Ctrl + -" is confusing, did you mean Ctrl++ or Ctrl+-?
  • Do you split words in your language?

@Shubha: Do you plan to follow the advice in T138592#2482550 and fixing unclosed tags and inappropriate constructions as mentioned in T138592#2482717 ?

Yes. We will try to fix it. Thank you for all the guidance.
shubha

Thanks for the update!
As this is a matter to discuss and fix on the local wiki and not really handled in Phabricator/Maniphest until https://phabricator.wikimedia.org/T121470 gets solved, I am closing this task as declined.