User:Edupedro/How to personalize the icons of the search engine plug-ins of Wikipedia in different languages to distinguish them
Hello:
If you often use Wikipedia in 2 or more languages probably you search directly from the browser's search bar with the search engine plug-in offered in each Wikipedia version every time you visit it (if you haven't installed it yet). This saves time and makes searches more comfortable. If you use Firefox or Internet Explorer (last versions) these plug-ins come with an icon.
The problem is that this icon is the same for all the versions of Wikipedia: it's the favicon of the encyclopedia, made of a W in black-and-white (http://en.wikipedia.org/favicon.ico). It's happened to me many times that I've tried to search for something in the Wikipedia version in one language and in the end I've looked for in other version of the encyclopedia, with the corresponding confusion and waste of time.
Now I don't have that problem any more because I've personalized the icons: I have them with a small colour flag below the W. If you want to have this I tell you how (it's very easy) (only works with Firefox):
Wikipedia in English
[edit]- Click on the selected search icon and then in "Manage Search Engines..." (at bottom)
- Click on Wikipedia (en), then on Remove and then on OK
- Click with the middle button of the mouse on this link (if the mouse only has 2 buttons you can hold the CTRL (Control) key while clicking with the left button (left-handed: right); or click with the right button (left-handed: left) and then with the left one (left-handed: right) on "Open Link in New Window" or on "Open Link in New Tab")
- From the just opened window or tab, click on the selected search icon and then on "Add "Wikipedia (en)""
(optional)
- Click on the selected search icon and then in "Manage Search Engines..." (at bottom)
- Move Wikipedia (en) to the desired position (dragging with the mouse is quicker than clicking on the buttons "Move Up" amd "Move Down") and click on OK
Wikipedia in Spanish
[edit]Take the same steps than in the English version, but instead of clicking on that link click on this one. Where up states "Wikipedia (en)" in this case it should be taken into account "Wikipedia (es)".
Content of pages/files
[edit]Wikipedia in English
[edit]wikipedia_en.htm
[edit]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
<head>
<link rel="search" type="application/opensearchdescription+xml" href="opensearch_desc2.xml" title="Wikipedia (en)" />
</head>
<body>
</body>
</html>
opensearch_desc2.xml
[edit]<OpenSearchDescription>
<ShortName>Wikipedia (en)</ShortName>
<Description>Wikipedia (en)</Description>
<Image height="16" width="16">
data:image/x-icon;base64,AAABAAEAEBAAAAEACABoBQAAFgAAACgAAAAQAAAAIAAAAAEACAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAEAgQAGRgZACgoKAA8OjwASEdIAFdYVwBpamkAent6ACsUzwCEg4QAmJiYAKmoqQC5urkA yMfIANjZ2ADp6OkA/f79AAAaLwAALVAAAD9wAABRkAAAY7AAAHbPAACI8AARmP8AMab/AFGz/wBx wf8Akc//ALHd/wDR6/8A////AAAAAAAALC8AAEtQAABocAAAhpAAAKWwAADDzwAA4fAAEe//ADHx /wBR8/8AcfX/AJH3/wCx+f8A0fv/AP///wAAAAAAAC8hAABQNwAAcEwAAJBjAACweQAAz48AAPCm ABH/tAAx/74AUf/IAHH/0wCR/9wAsf/lANH/8AD///8AAAAAAAAvDgAAUBgAAHAiAACQLAAAsDYA AM9AAADwSgAR/1sAMf9xAFH/hwBx/50Akf+yALH/yQDR/98A////AAAAAAACLwAABFAAAAZwAAAI kAAACrAAAAvPAAAO8AAAIP8SAD3/MQBb/1EAef9xAJj/kQC1/7EA1P/RAP///wAAAAAAFC8AACJQ AAAwcAAAPZAAAEywAABZzwAAZ/AAAHj/EQCK/zEAnP9RAK7/cQDA/5EA0v+xAOT/0QD///8AAAAA ACYvAABAUAAAWnAAAHSQAACOsAAAqc8AAMLwAADR/xEA2P8xAN7/UQDj/3EA6f+RAO//sQD2/9EA ////AAAAAAAvJgAAUEEAAHBbAACQdAAAsI4AAM+pAADwwwAA/9IRAP/YMQD/3VEA/+RxAP/qkQD/ 8LEA//bRAP///wAAAAAALxQAAFAiAABwMAAAkD4AALBNAADPWwAA8GkAAP95EQD/ijEA/51RAP+v cQD/wZEA/9KxAP/l0QD///8AAAAAAC8DAABQBAAAcAYAAJAJAACwCgAAzwwAAPAOAAD/IBIA/z4x AP9cUQD/enEA/5eRAP+2sQD/1NEA////AAAAAAAvAA4AUAAXAHAAIQCQACsAsAA2AM8AQADwAEkA /xFaAP8xcAD/UYYA/3GcAP+RsgD/scgA/9HfAP///wAAAAAALwAgAFAANgBwAEwAkABiALAAeADP AI4A8ACkAP8RswD/Mb4A/1HHAP9x0QD/kdwA/7HlAP/R8AD///8AAAAAACwALwBLAFAAaQBwAIcA kAClALAAxADPAOEA8ADwEf8A8jH/APRR/wD2cf8A95H/APmx/wD70f8A////AAAAAAAbAC8ALQBQ AD8AcABSAJAAYwCwAHYAzwCIAPAAmRH/AKYx/wC0Uf8AwnH/AM+R/wDcsf8A69H/AP///wAAAAAA CAAvAA4AUAAVAHAAGwCQACEAsAAmAM8ALADwAD4R/wBYMf8AcVH/AIxx/wCmkf8Av7H/ANrR/wD/ //8AHx8fHx8fHx8IHx8fHx8fHx8fHx8fHx8fCB8fHx8fHx8fHx8fHx8fHwgfHx8fHx8fHx8fCAgI CAgICAgICAgfHx8fHx8fHx8fCB8fHx8fHx8fHx8fHx8fHwgfHx8fHx8fHx8fHx8fHx8IHx8fHx8f HxAQEBAJAwcLDgcCCgkQEBAQEBAQAgUPCwYDBhAJDxAQEBAQCQALEA4DAgwQCgoQEBAQEAQEDhAO AwQQEA4HEBAQEAwBCRAQCgAFEBAPCQwQEBAFAQ0QDgQCCQsQEAwLEBAOAQYPEAoBCw0GEBAPBhAQ CQIMEBAEAg4PCQoQDwYKDAUEDBALBAcOEAcFDg4GBQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=
</Image>
<Url type="text/html" method="get" template="http://en.wikipedia.org/w/index.php?title=Special:Search&search={searchTerms}"/>
<Url type="application/x-suggestions+json" method="get" template="http://en.wikipedia.org/w/api.php?action=opensearch&search={searchTerms}&namespace=0"/>
<Url type="application/x-suggestions+xml" method="get" template="http://en.wikipedia.org/w/api.php?action=opensearch&format=xml&search={searchTerms}&namespace=0"/>
<moz:SearchForm>http://en.wikipedia.org/wiki/Special:Search</moz:SearchForm>
</OpenSearchDescription>
Wikipedia in Spanish
[edit]wikipedia_es.htm
[edit]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="es" lang="es" dir="ltr">
<head>
<link rel="search" type="application/opensearchdescription+xml" href="opensearch_desc.xml" title="Wikipedia (es)" />
</head>
<body>
</body>
</html>
opensearch_desc.xml
[edit]<OpenSearchDescription>
<ShortName>Wikipedia (es)</ShortName>
<Description>Wikipedia (es)</Description>
<Image height="16" width="16">
data:image/x-icon;base64,AAABAAEAEBAAAAEACABoBQAAFgAAACgAAAAQAAAAIAAAAAEACAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAEAgQAGRgZACgoKAA8OjwASEdIAFdYVwBpamkAent6AB4LxgAAxP8AhIOEAJiYmACpqKkA ubq5AMjHyADY2dgA6ejpAPz9/AAALVAAAD9wAABRkAAAY7AAAHbPAACI8AARmP8AMab/AFGz/wBx wf8Akc//ALHd/wDR6/8A////AAAAAAAALC8AAEtQAABocAAAhpAAAKWwAADDzwAA4fAAEe//ADHx /wBR8/8AcfX/AJH3/wCx+f8A0fv/AP///wAAAAAAAC8hAABQNwAAcEwAAJBjAACweQAAz48AAPCm ABH/tAAx/74AUf/IAHH/0wCR/9wAsf/lANH/8AD///8AAAAAAAAvDgAAUBgAAHAiAACQLAAAsDYA AM9AAADwSgAR/1sAMf9xAFH/hwBx/50Akf+yALH/yQDR/98A////AAAAAAACLwAABFAAAAZwAAAI kAAACrAAAAvPAAAO8AAAIP8SAD3/MQBb/1EAef9xAJj/kQC1/7EA1P/RAP///wAAAAAAFC8AACJQ AAAwcAAAPZAAAEywAABZzwAAZ/AAAHj/EQCK/zEAnP9RAK7/cQDA/5EA0v+xAOT/0QD///8AAAAA ACYvAABAUAAAWnAAAHSQAACOsAAAqc8AAMLwAADR/xEA2P8xAN7/UQDj/3EA6f+RAO//sQD2/9EA ////AAAAAAAvJgAAUEEAAHBbAACQdAAAsI4AAM+pAADwwwAA/9IRAP/YMQD/3VEA/+RxAP/qkQD/ 8LEA//bRAP///wAAAAAALxQAAFAiAABwMAAAkD4AALBNAADPWwAA8GkAAP95EQD/ijEA/51RAP+v cQD/wZEA/9KxAP/l0QD///8AAAAAAC8DAABQBAAAcAYAAJAJAACwCgAAzwwAAPAOAAD/IBIA/z4x AP9cUQD/enEA/5eRAP+2sQD/1NEA////AAAAAAAvAA4AUAAXAHAAIQCQACsAsAA2AM8AQADwAEkA /xFaAP8xcAD/UYYA/3GcAP+RsgD/scgA/9HfAP///wAAAAAALwAgAFAANgBwAEwAkABiALAAeADP AI4A8ACkAP8RswD/Mb4A/1HHAP9x0QD/kdwA/7HlAP/R8AD///8AAAAAACwALwBLAFAAaQBwAIcA kAClALAAxADPAOEA8ADwEf8A8jH/APRR/wD2cf8A95H/APmx/wD70f8A////AAAAAAAbAC8ALQBQ AD8AcABSAJAAYwCwAHYAzwCIAPAAmRH/AKYx/wC0Uf8AwnH/AM+R/wDcsf8A69H/AP///wAAAAAA CAAvAA4AUAAVAHAAGwCQACEAsAAmAM8ALADwAD4R/wBYMf8AcVH/AIxx/wCmkf8Av7H/ANrR/wD/ //8AERERCAgICAgICAgICBERER8fHwgICAgICAgICAgfHx8fHx8JCQkJCQkJCQkJHx8fHx8fCQkJ CQkJCQkJCR8fHxEREQkJCQkJCQkJCQkREREREREICAgICAgICAgIERERERERCAgICAgICAgICBER EREREREKAwcMDwcCCwoRERERERERAgUQDAYDBhEKEBERERERCgAMEQ8DAg0RCwsREREREQQEDxEP AwQREQ8HEREREQ0BChERCwAFEREQCg0REREFAQ4RDwQCCgwREQ0MEREPAQYQEQsBDA4GEREQBhER CgINEREEAg8QCgsREAYLDQUEDREMBAcPEQcFDw8GBQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=
</Image>
<Url type="text/html" method="get" template="http://es.wikipedia.org/w/index.php?title=Especial:Buscar&search={searchTerms}"/>
<Url type="application/x-suggestions+json" method="get" template="http://es.wikipedia.org/w/api.php?action=opensearch&search={searchTerms}&namespace=0|100|104"/>
<Url type="application/x-suggestions+xml" method="get" template="http://es.wikipedia.org/w/api.php?action=opensearch&format=xml&search={searchTerms}&namespace=0|100|104"/>
<moz:SearchForm>http://es.wikipedia.org/wiki/Especial:Buscar</moz:SearchForm>
</OpenSearchDescription>
More information
[edit]- Personalized icons of web browser's search engine plugins (consulting Wikipedia in 2 or more languages) (Category: Proposals, Wikimedia Meta-Wiki)
- Icons of search engine plugins should reflect language of Wikipedias (Help talk:Searching, Wikipedia)
I hope this is useful for you