Last modified: 2014-08-20 17:51:45 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 T71308, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 69308 - [PageMigration] Text areas constant heights are not helpful
[PageMigration] Text areas constant heights are not helpful
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
Translate (Other open bugs)
master
All All
: Normal normal (vote)
: ---
Assigned To: Pratik Lahoti
:
Depends on:
Blocks: 65740
  Show dependency treegraph
 
Reported: 2014-08-08 18:49 UTC by Nemo
Modified: 2014-08-20 17:51 UTC (History)
4 users (show)

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


Attachments
Example of badly used vertical space (53.09 KB, image/png)
2014-08-08 18:49 UTC, Nemo
Details

Description Nemo 2014-08-08 18:49:20 UTC
Created attachment 16160 [details]
Example of badly used vertical space

Niklas hated the scrollbars in the small text areas, while migrating a https://www.mediawiki.org/wiki/Manual:LocalSettings.php translation.

In my case, the problem is rather that so much vertical space is wasted and I have to scroll the page a lot in order to cut and paste text from one textarea to another. Some ideas for improvement that I throw for consideration:
a) adapt the height to the space required by the source text, keep it constant for the corresponding text area on the right side;
b) allow to move the division between right and left for all the textareas at once, not only one by one, so that I can gain more horizontal space if I want;
c) if it doesn't disrupt things too much (or when the changes above allow it), don't add scrollbars but always fit the height to what's actually needed to fit all the text.
Comment 1 Niklas Laxström 2014-08-12 10:23:20 UTC
Content translation uses an algorithm to fit both columns to minimum height without scrolling.
Comment 2 Pratik Lahoti 2014-08-16 09:21:01 UTC
(In reply to Niklas Laxström from comment #1)
> Content translation uses an algorithm to fit both columns to minimum height
> without scrolling.

Alright, we can adapt to the logic used over there. But I think its better to do these enhancements once GSoC is over. Because, apart from developing a logic similar to the one used at content translation, we would also have to make changes to the code related to adding and deletion of a new unit. Also, the h2 patch results into collapsing of some units into one. So, we also need to take this into consideration - imagine a large chunk of collapsed units in a textarea having height of just 3 rows because it got aligned with a section header. Quite a lot of issues to be considered there. But, I will only work on it and come up with something better. :-)

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


Navigation
Links