User talk:Remember the dot

From Wikipedia, the free encyclopedia
Jump to: navigation, search

Size 35 Font[edit]

The font is huge, like size 30.

  • Firefox version 35 (the latest version)
  • Firefox Safe-mode (no extensions/plugins)
  • My Preferences: all default (reset except for Syntax Highlighter)

This happens in all edit boxes.

CpiralCpiral 18:21, 22 January 2015 (UTC)

I can't reproduce the problem. What is your operating system? (Ideally I'd like to know your complete User-Agent information.) What MediaWiki skin do you use? Does the problem occur even when the syntax highlighter is unchecked in your preferences? Does the problem occur in other web browsers? —Remember the dot (talk) 18:48, 22 January 2015 (UTC)

It was the zoom level. Thank you for getting my highlighter back! It was also my browser settings. Firefox Options-->Content-"Default font"-Advanced-settings has two settings, and they were mismatched.


Please note that a behavioral issue with the highlighter was discovered here, isolated by changing only one variable: whether Syntax Highlighter was on or off. When on, the highlighter's zoom level differs from the level of the Firefox browser if the browser was already zoomed in, before the edit box appears. In effect it seems to perhaps double the zoom.

To recreate the highlighter zoom problem (Mozilla/5.0 (Windows NT 6.1; WOW64; rv:35.0) Gecko/20100101 Firefox/35.0, screen resolution 1560 x 1440):

  1. Set Firefox font size to 16 (Options-->Content, Default font)
  2. Set Preferences → Editing → Edit Area Font Style to "Browser Default"
  3. Zoom in several times.
  4. Start the edit box.

The discrepancy is obvious: Syntax Highlighter makes the text too large.


This happens only when Syntax Highlighter is on:

  1. Reset the zoom, and set the browser default font size to a too-small size.
  2. Start the edit box. The edit box font will be too small.
  3. Zoom in several times until the font size in the edit box seems large enough.
  4. Go back one page, back to the page you want to edit.
  5. Start the edit box again.

That scenario — edit-zoom-back-edit, a simple back and forth — is very telling of the Syntax Highlighter zoom problem.

Another workaround was to change the Wikipedia default "Edit Area Font Style" to "Serif Font" or "Sans Serif Font". Then the size of the font in the edit box matched that of the rest of the edit page.

Unaware, I'd been browsing with my zoom on and not knowing of "Default font" or "Monospace", the two terms that both Firefox and Wikipedia use to refer to settings. That's how I got here to report the highlighters zoom behavior. I only found the reported behavior when I zoomed in even more than usual.

Again, thank you both. — CpiralCpiral 00:53, 23 January 2015 (UTC)

I still can't reproduce the problem. The text with the syntax highlighter and the text without the syntax highlighter are exactly the same size at any zoom level. Maybe you could post before-and-after screenshots of what you're seeing? Also, what is your DPI? —Remember the dot (talk) 04:36, 24 January 2015 (UTC)
My DPI is set at 100%. I'll wait before sending screenshots, OK?
I gave two scenarios that reproduce a problem on my machine (described above), even while my problem was solved by browser settings. I understand you to say both scenarios produced no surprise when you walked through them. I assume your Firefox advanced font settings allow the server to set the font, and that your WP Prefs are set to Default or Monofont.

Please consider a new piece of information: the problem occurs after a delay (noticable on a slow machine) equivalent to loading a style sheet specification. Rewording scenario #2:

  1. I start the edit box.
  2. I zoom in many times. Font in edit box is zooming in sync, and when I zoom back, it stays in sync as expected.
  3. But when I'm in zoom mode at the edit box and then go back a page and start the edit box again, the problem occurs: font in edit box becomes larger after a delay reminiscent of an instance of the application of a CSS stylesheet.

Please try that, but since neither of us "has" the problem, the font-too-large problem is not important now. I just wonder if it may become important later... Happy editing!

CpiralCpiral 07:10, 26 January 2015 (UTC)

DotsSyntaxHighlighter: bug report[edit]

Hello, I would like to report a bug when using DotsSyntaxHighlighter.

Using: Firefox 36.0; appearance: vector (default); gadget "Reference Tooltips", "CharInsert", "refToolbar" and the "Form for filing disputes" (probably the default values) — Preceding unsigned comment added by Wikini (talkcontribs) 13:12, 23 March 2015 (UTC)

With tables[edit]

The following lines are not parsed correctly:

{| class="wikitable"
! col 1
|Here, ''some italic text<ref>a reference with ''italic text'' inside.</ref> which include a reference.''
|Here, the rest of the array which is wrongly parsed as italic.

col 1
Here, some italic text[1] which include a reference.
Here, the rest of the array which is wrongly parsed as italic.

Without tables[edit]

An other way to see this bug is with the following line (as can be seen by editing this section):

''The beginning of italic text<ref>a ref with some ''italic text'' and non italic text which is parsed as italic text</ref> and the rest of the italic text.''

The beginning of italic text[2] and the rest of the italic text.

  1. ^ a reference with italic text inside.
  2. ^ a ref with some italic text and non italic text which is parsed as italic text

Wikini (talk) 13:05, 23 March 2015 (UTC)

Thanks for the bug report! This change should fix it, but let me know if you run into any more problems. —Remember the dot (talk) 01:46, 24 March 2015 (UTC)
It looks to be ok now. Thanks. Wikini (talk) 12:00, 25 March 2015 (UTC)

Can I use other font than Courier New?[edit]

When I try to use this gadget with a non-standart system font, I get something like this picture.--Tucvbif (talk) 22:03, 14 April 2015 (UTC) Syntax highlighter bug.png

I can't reproduce the problem. What are you doing to change your font? —Remember the dot (talk) 06:17, 16 April 2015 (UTC)
I set the PT Sans font as a default monospace font in my web-browser.--Tucvbif (talk) 17:43, 19 April 2015 (UTC)
Still can't reproduce. I need the rest of the information listed at mw:User:Remember the dot/Syntax highlighter#Reporting bugs. —Remember the dot (talk) 05:27, 20 April 2015 (UTC)

Orphaned non-free image File:Windows Firewall Vista icon.png[edit]


Thanks for uploading File:Windows Firewall Vista icon.png. The image description page currently specifies that the image is non-free and may only be used on Wikipedia under a claim of fair use. However, the image is currently not used in any articles on Wikipedia. If the image was previously in an article, please go to the article and see why it was removed. You may add it back if you think that that will be useful. However, please note that images for which a replacement could be created are not acceptable for use on Wikipedia (see our policy for non-free media).

Note that any non-free images not used in any articles will be deleted after seven days, as described in the criteria for speedy deletion. Thank you. --B-bot (talk) 06:23, 2 May 2015 (UTC)


Hi there! I wanted to note that I have been using syntax highlighter, but it's got some errors. Wikipedia now (for a few years) uses HTML5, where both <br /> and <br> are valid (the space and slash are both optional). However, <br> still throws up error code (colors the text), making syntax highlighter much less useful. Ogress smash! 22:49, 4 July 2015 (UTC)

I'm glad you like the syntax highlighter! Your question has been answered many times before, most recently at mw:MediaWiki talk:Gadget-DotsSyntaxHighlighter.js#Fix_error_caused_by_.3Cbr.3E_elements. —Remember the dot (talk) 17:24, 5 July 2015 (UTC)