What do you think of adding line numbering to mw? I mean, when you open an article, you find line numbers on the left (ltr) or at the right (rtl) ....
On 26/04/07, Mohamed Magdy mohamed.m.k@gmail.com wrote:
What do you think of adding line numbering to mw? I mean, when you open an article, you find line numbers on the left (ltr) or at the right (rtl) ....
Would they be useful? The lines change depending on window size, screen resolution, font size, etc. so they couldn't be used to tell another person which line a comment refers to.
<snip>
Would they be useful? The lines change depending on window size, screen resolution, font size, etc. so they couldn't be used to tell another person which line a comment refers to.
<snip>
Are you sure about that? when you do a diff, it gives you a line number (at which the changes occurred there) but when you go to the article, you keep searching for it (at least what happens to me).. if there are line numbers, it would be easy, just scroll to the line...
On 4/26/07, Mohamed Magdy mohamed.m.k@gmail.com wrote:
<snip> > Would they be useful? The lines change depending on window size, > screen resolution, font size, etc. so they couldn't be used to tell > another person which line a comment refers to. > > <snip>
Are you sure about that? when you do a diff, it gives you a line number (at which the changes occurred there) but when you go to the article, you keep searching for it (at least what happens to me).. if there are line numbers, it would be easy, just scroll to the line...
The source text file has lines, but the visible output is HTML rendered and doesn't.
You can't predictively map from the input text to output display once rendered; the browser can display it however it wants, and particularly will vary with screen/window width and fonts.
It is a feature i had thought about: having the source textbox showing the line number.
wikitech-l@lists.wikimedia.org