Hoi, I received this mail ... It answers your question .. Thanks, Gerard
Hoi,
Thanks to some help by Ori Livneh, there are some new installation instructions that I've added for Wdsearch: https://en.wikipedia.org/wiki/MediaWiki:Wdsearch.js
Would you be able to go around to the various wikis that have enabled this and get them to update the code? I've lost track of which wikis are using it.
Thanks, -- Legoktm
On 6 December 2013 09:52, Cristian Consonni kikkocristian@gmail.com wrote:
Il 05/dic/2013 07:32 "Ori Livneh" ori@wikimedia.org ha scritto:
Please don't load the script on every page. It only targets the search result page. This means a redundant request on every page that isn't the search page. You can change it to:
if ( mw.config.get( 'wgCanonicalSpecialPageName' ) === 'Search' ) { importScriptURI("//
en.wikipedia.org/w/index.php?title=MediaWiki:Wdsearch.js&action=raw&ctype=text/javascript
"); }
It is used also in ns0 pages that do not exist yet.
C _______________________________________________ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l