Page MenuHomePhabricator

Wikidata – Font size error on External Properties section in left tool bar
Closed, ResolvedPublicBUG REPORT

Description

This is a new bug as of 26 August 2020.

Steps to Reproduce:

  • Using Chrome browser
  • Using new Vector skin
  • External Properties set to appear in left tool bar

Actual Results:

Font size for external properties is too large

Screenshot font size 2020.08.26.png (2×3 px, 394 KB)

Expected Results:

Font size for external properties should be the same as other tools

Event Timeline

Mbch331 subscribed.

I've just checked https://www.wikidata.org/wiki/Q98668689 and I don't see the External Properties section. Neither logged in, nor logged out. So it looks like this was added by a gadget/user script. That means the gadget/user script doesn't add the right classes.
Can you tell which gadget/user script adds this section?

I think it's a user script. This looks like the one in https://www.wikidata.org/w/index.php?title=User:PKM/common.js:

importScript('User:Magnus Manske/ext-props.js');

Mbch331 added a subscriber: Magnus.

It is indeed that script by @Magnus.
It looks bad too using Legacy Vector, so Magnus has to check/fix this. Isn't related to the new Vector skin that is being developed.
@PKM it is best to leave a note on Magnus' talkpage as well.

Patriccck renamed this task from Wikidata - Font size error on External Properties section in left tool bar to Wikidata – Font size error on External Properties section in left tool bar.Aug 27 2020, 11:20 AM

Note left on Magnus's talk page, thanks for checking.

It’s caused by aa45edd2f29b81b059d6856e945011cccbd81545. The user script should use <div class='portal vector-menu-portal' instead of <div class='portal'.

PKM claimed this task.

Magnus has fixed this. @Tacsipacsi, thanks for the direction.