en.wikipedia.org/wiki/Main_Page no search box
Moderator: trava90
Forum rules
Please always mention the name/domain of the website in question in your topic title.
Please one website per topic thread (to help keep things organized). While behavior on different sites might at first glance seem similar, they are not necessarily caused by the same.
Please try to include any relevant output from the Toolkit Error Console or the Developer Tools Web Console using the following procedure:
Please always mention the name/domain of the website in question in your topic title.
Please one website per topic thread (to help keep things organized). While behavior on different sites might at first glance seem similar, they are not necessarily caused by the same.
Please try to include any relevant output from the Toolkit Error Console or the Developer Tools Web Console using the following procedure:
- Clear any current output
- Navigate or refresh the page in question
- Copy and paste Errors or seemingly relevant Warnings into a single [ code ] block.
-
- Hobby Astronomer
- Posts: 29
- Joined: 2018-04-29, 08:43
en.wikipedia.org/wiki/Main_Page no search box
Recently I'm getting no usable search box displayed on Wikipedia (should be on top of page).
https://en.wikipedia.org/wiki/Main_Page
There are no errors in the console...
Is it just me? Thanks
https://en.wikipedia.org/wiki/Main_Page
There are no errors in the console...
Is it just me? Thanks
-
- Astronaut
- Posts: 739
- Joined: 2023-06-28, 22:43
- Location: Australia
-
- Knows the dark side
- Posts: 5455
- Joined: 2011-10-03, 10:19
- Location: Piney Woods of Southeast Texas, USA
Re: en.wikipedia.org/wiki/Main_Page no search box
The search box is there and works for me too.
At this time I am using 64 bit linux Pale Moon (GTK2) 33.2.0 running in 64 bit linux Mint 21.3 (Virginia) Xfce. And I have the old uBlock Origin 1.16.4.30 extension enabled for Wikipedia.
At this time I am using 64 bit linux Pale Moon (GTK2) 33.2.0 running in 64 bit linux Mint 21.3 (Virginia) Xfce. And I have the old uBlock Origin 1.16.4.30 extension enabled for Wikipedia.
-
- Hobby Astronomer
- Posts: 29
- Joined: 2018-04-29, 08:43
Re: en.wikipedia.org/wiki/Main_Page no search box
That's odd, I'm on 33.2.0 (Windows 7 64bit). Disabled all extensions/language pack, still no search box.
Only other thing is I've got an ad blocking hosts file, but that can't be it...
Only other thing is I've got an ad blocking hosts file, but that can't be it...
-
- Lunatic
- Posts: 497
- Joined: 2022-03-23, 16:41
- Location: Chamber of Secrets
Re: en.wikipedia.org/wiki/Main_Page no search box
Can you post a screenshot? The searchbox is there for me.
-
- Hobby Astronomer
- Posts: 29
- Joined: 2018-04-29, 08:43
Re: en.wikipedia.org/wiki/Main_Page no search box
Screenshots attached, ws1: regular ws2: maximized. Actually, the problem only occurs when the PM window is not maximized.
You do not have the required permissions to view the files attached to this post.
-
- Keeps coming back
- Posts: 863
- Joined: 2018-05-17, 02:34
- Location: Los Berros Canyon, California
Re: en.wikipedia.org/wiki/Main_Page no search box
It's still there, it's just been shrunk to an icon: the magnifying glass. Welcome to modern web design.
However, nothing happens when you click the magnifying glass...
However, nothing happens when you click the magnifying glass...
-
- Astronaut
- Posts: 739
- Joined: 2023-06-28, 22:43
- Location: Australia
Re: en.wikipedia.org/wiki/Main_Page no search box
For me, when the width of the browser window is about 1100 pixels or more the search bar is visible. But any less than that and the magnifying glass replaces it. And as @RealityRipple says, a click on that icon does nothing.
-
- Pale Moon guru
- Posts: 37792
- Joined: 2011-08-28, 17:27
- Location: Motala, SE
Re: en.wikipedia.org/wiki/Main_Page no search box
For me, the search bar is always visible; but it's also in a slightly different location, on the right. This may have something to do with me usually being logged in to Wikipedia?
-
- Board Warrior
- Posts: 1112
- Joined: 2021-01-26, 11:18
Re: en.wikipedia.org/wiki/Main_Page no search box
You are probably using a different skin that a registered user can choose.
Or it can be specified explicitly even without being registered:
https://en.wikipedia.org/wiki/Main_Page?useskin=vector
-
- Lunatic
- Posts: 442
- Joined: 2019-03-16, 13:26
- Location: Qld, Aus.
Re: en.wikipedia.org/wiki/Main_Page no search box
It's another problem with max-width within @media using calc. Here's a HTTP Modify Response workaround.
(There's also a 640px version I didn't change.)
Code: Select all
[["en.wikipedia.org",["/styles/",["/\\(max-width:calc\\(1120px - 1px\\)/g","(max-width:1119px"]]]]
-
- Hobby Astronomer
- Posts: 29
- Joined: 2018-04-29, 08:43
Re: en.wikipedia.org/wiki/Main_Page no search box
I tried using LibreWolf, the search box also disappears when the window becomes narrow, but clicking on the resulting symbol works.
-
- Moonbather
- Posts: 58
- Joined: 2021-05-30, 03:48
Re: en.wikipedia.org/wiki/Main_Page no search box
I confirm the bug. Using the Vector 2022 interface (which is the default one), and when the window width is below 1120px (which is the breakpoint between tablet and desktop layouts).
-
- Pale Moon guru
- Posts: 37792
- Joined: 2011-08-28, 17:27
- Location: Motala, SE
Re: en.wikipedia.org/wiki/Main_Page no search box
Seems people in general don't like that "new" theme and have been reporting multiple issues with it. Maybe this should be mentioned there too, e.g. on the discussion page of the theme or what not.
-
- Moonbather
- Posts: 58
- Joined: 2021-05-30, 03:48
Re: en.wikipedia.org/wiki/Main_Page no search box
I have found the issue.
That is because, since recently, there are some uses of calc() in media queries. e.g.:
Refs: https://phabricator.wikimedia.org/T367103
----
Such use of calc() seems to not be in the specs (yet), though it is already supported in all browsers, except Pale Moon.
Refs: https://stackoverflow.com/questions/236 ... ia-queries
That is because, since recently, there are some uses of calc() in media queries. e.g.:
Code: Select all
@media screen and (max-width: calc(...)) {
.foobar {
...
}
}
----
Such use of calc() seems to not be in the specs (yet), though it is already supported in all browsers, except Pale Moon.
Refs: https://stackoverflow.com/questions/236 ... ia-queries
-
- Pale Moon guru
- Posts: 37792
- Joined: 2011-08-28, 17:27
- Location: Motala, SE
Re: en.wikipedia.org/wiki/Main_Page no search box
If it's not in the spec they shouldn't be using it 
I mean, I didn't even think of ever using calc there. sure, it's easy to assume you can just use arbitrary calculations everywhere but this is still CSS, not a programming language. Implementing something like this on the parser side is going to be difficult, as well.

I mean, I didn't even think of ever using calc there. sure, it's easy to assume you can just use arbitrary calculations everywhere but this is still CSS, not a programming language. Implementing something like this on the parser side is going to be difficult, as well.
-
- Moonbather
- Posts: 58
- Joined: 2021-05-30, 03:48
Re: en.wikipedia.org/wiki/Main_Page no search box
I shouldn't have had mentioned that it's (presumably) not in the specs. Shot myself in the foot.
For me, such use of calc() is perfectly fine. And all other browsers have implemented this since 2018.
But if you say it would be hard to implement… okay then.
For me, such use of calc() is perfectly fine. And all other browsers have implemented this since 2018.
But if you say it would be hard to implement… okay then.
-
- Moonbather
- Posts: 58
- Joined: 2021-05-30, 03:48
Re: en.wikipedia.org/wiki/Main_Page no search box
Still, please don't reject the feature, at least keep it on radar.
Case in point, search is currenly broken on Wikipedia (which is quite a major website) for a lot of people.
Case in point, search is currenly broken on Wikipedia (which is quite a major website) for a lot of people.
-
- Pale Moon guru
- Posts: 37792
- Joined: 2011-08-28, 17:27
- Location: Motala, SE
Re: en.wikipedia.org/wiki/Main_Page no search box
I'm not saying anything about rejecting this. We have an open issue to support calc() in more places, but it's not in any way easy to do, especially since we can't draw on inspiration from what Mozilla has done as they held off on all of that themselves, as well, until they could put it all in Rust.
-
- Pale Moon guru
- Posts: 37792
- Joined: 2011-08-28, 17:27
- Location: Motala, SE