Topic on Extension talk:AdvancedSearch

Advanced search window showing only to logged in users, not anonymous

5
Pspviwki (talkcontribs)

Just recently installed Cirrus (elastic) search, works fantastic, and on top of that installed Advanced search extension too. I found that Advanced search window shows only to logged in users, anonymous users see only 3 dots as if trying to load something. Search works but the Advanced window does not show. Any idea what the root cause might be? Environment: MediaWiki 1.38.2, PHP 7.4.30 (fpm-fcgi), MariaDB 10.8.3-MariaDB, ICU 71.1, LilyPond 2.22.2, Elasticsearch 6.8.23.

Ciencia Al Poder (talkcontribs)

You'll have to open the development console of your browser (hit F12 hey) and look for errors on it.

If you load the URL with the debug=true parameter it should display more detailed information.

Pspviwki (talkcontribs)

Skipped unavailable module ext.advancedSearch.init load.php?lang=en&modules=startup&only=scripts&raw=1&skin=vector:8

resolveStubbornly @ load.php?lang=en&modules=startup&only=scripts&raw=1&skin=vector:8

This page is using the deprecated ResourceLoader module "mediawiki.ui". Special:Search:260 Please use OOUI instead. (anonymous) @ Special:Search:260

Looks strange, wiki is up-to-date.

Ciencia Al Poder (talkcontribs)

"Skipped unavailable module XXXX" usually happens when a new extension is installed, and the page is cached by a frontend cache (varnish, squid, CloudFlare...), which often happens for unregistered users. The page contains the list of available ResourceLoader modules and their metadata (in the RLSTATE variable), but the URL load.php?lang=en&modules=startup&only=scripts contains the dependencies between modules, and it's out of sync.

You'll have to purge the server cache or CloudFlare, or let it clear itself after some time...

Pspviwki (talkcontribs)

Thanks a lot. I purged and it shows correctly for anonymous users as well.