Thank you very much for this, coffeebreak. It looks fine and I'll give it a try later. What does all this mean?
This Pseudo-Static release provides users of Pale Moon a fully functional experence while we work with the developer to get Pale Moon officially supported. [...] BEFORE YOU INSTALL PLEASE REMOVE THE MAIN-LINE VERSION AS THEY WILL CONFLICT
I don't understand anything.
Pseudo-Static? Is it inofficial, i.e. that kind extension this page warns of:
https://addons.palemoon.org/incompatible/? And finally: What exactly do I have to remove?
This was so ambiguous to me that I decided not to install, until I come to know more about it.
In the meantime I tried to correct the xml-files the browser gets from the language specific wikipedias, using the original wikipedia.xml from /opt/palemoon/browser/searchplugins/ as my draft. The result (french language for example) is:
Code: Select all
<!-- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/">
<ShortName>Wikipédia (fr)</ShortName>
<Description>Wikipédia, L'encyclopédie libre</Description>
<InputEncoding>UTF-8</InputEncoding>
<Image width="16" height="16">data:image/x-icon;base64,AAABAAIAEBAAAAAAAAA4AQAAJgAAACAgAAAAAAAAJAMAAGQBAACJUE5HDQoaCgAAAA1JSERSAAAAEAAAABAIBgAAAB/z/2EAAAEFSURBVDjLxZPRDYJAEESJoQjpgBoM/9IBtoAl4KcUQQlSAjYgJWAH0gPmyNtkzEEuxkQTPzawc3Ozc3MQTc/JfVPR/wW6a+eKQ+Hyfe54B2wvrfXVqXLDfTCMd3j0VHksrTcH9bl2aZq+BCgEwCCPj9E4TdPYGj0C9CYAKdkmBrIIxiIYbvpbb2sSl8AiA+ywAbJE5YLpCImLU/WRDyIAWRgu4k1s4v50ODru4haYSCk4ntkuM0wcMAINXiPKTJQ9CfgB40phBr8DyFjGKkKEhYhCY4iCDgpAYAM2EZBlhJnsZxQUYBNkSkfBvjDd0ttPeR0mxREQ+OhfYOJ6EmL+l/qzn2kGli9cAF3BOfkAAAAASUVORK5CYIKJUE5HDQoaCgAAAA1JSERSAAAAIAAAACAIBgAAAHN6evQAAAIKSURBVFjD7ZdBSgNRDIYLguAB7FLwAkXwBl0JgiDYjQcY8ARduBJKu3I5C0EoWDxAT9AL9AK9QBeCIHQlCM/3DZOSmeZNZ2r1bQyEGV7yXv7kJZlJq6XIOXfs+crzwPPTnvnR863n05ZFufDD/T595Q4eauM37u/pWYwfeX53cegcABcuHg0AkEQE8AKAu4gAXv8BrAEMh0PXbrddt9t1vV4v406nk62laeqm02n2LjKYIuK5WCyyfeiLDF32yLn6TJ5mBFarlev3+9nBMMqsabkYhmezWcEd2ctTE/tYBwhgt14BhtmAV2VaLpdrAHioCW+VdwWy9IMAUBQjJcQFTwGqvcTD+Xy+oc8askZJyAYrnKEokCeWLpQkSSZvBIANYgSDVVEQQJaeyHQu1QIgiQNb6AmrTtaQ9+RFSLa1D4iXgfsrVITloeSFFZlaAEjAUMaXo2DJWQtVRe1OKF5aJUkf0NdglXO5VzQGoI2USwwD3LEl590CtdO3QBoT5WSFV+Q63Oha17ITgMlkslGSGBWPdeNiDR2SL1B6zQFINmOAkFOW5eTSURCdvX6OdUlapaWjsKX0dgOg26/VWHSUKhrPz35ISKwq76R9Wx+kKgC1f0o5mISsypUG3kPj2L/lDzKYvEUwzoh2JtPRdQQAo1jD6afne88H1oTMeH6ZK+x7PB/lQ/CJtvkNEgDh1dr/bVYAAAAASUVORK5CYII=</Image>
<Url type="application/x-suggestions+json" method="GET" template="https://fr.wikipedia.org/w/api.php">
<Param name="action" value="opensearch"/>
<Param name="search" value="{searchTerms}"/>
</Url>
<Url type="text/html" method="GET" template="https://fr.wikipedia.org/w/index.php?title=Sp%C3%A9cial:Recherche&">
<Param name="search" value="{searchTerms}"/>
</Url>
<SearchForm>https://fr.wikipedia.org/wiki/Sp%C3%A9cial:Recherche</SearchForm>
</SearchPlugin>
copy this code into a new file named e.g.
fr-wilipedia.xml in your
~/.moonchild productions/pale moon/...default/searchplugins/ folder and restart the browser - voila, this time it works. Now it would be interesting, what is wrong with the files delivered from wikipedia. They look like this:
Code: Select all
<?xml version="1.0"?><OpenSearchDescription xmlns="http://www.opensearch.org/Specifications/OpenSearch/1.1" xmlns:moz="https://www.mozilla.org/2006/browser/search/"><ShortName>Wikipédia (fr)</ShortName><Description>Wikipédia (fr)</Description><Image height="16" width="16" type="image/x-icon">https://fr.wikipedia.org/static/favicon/wikipedia.ico</Image><Url type="text/html" method="get" template="https://fr.wikipedia.org/w/index.php?title=Sp%C3%A9cial:Recherche&search={searchTerms}" /><Url type="application/x-suggestions+json" method="get" template="https://fr.wikipedia.org/w/api.php?action=opensearch&search={searchTerms}&namespace=0" /><Url type="application/x-suggestions+xml" method="get" template="https://fr.wikipedia.org/w/api.php?action=opensearch&format=xml&search={searchTerms}&namespace=0" /><moz:SearchForm>https://fr.wikipedia.org/wiki/Sp%C3%A9cial:Recherche</moz:SearchForm></OpenSearchDescription>
Since it seems to be valid open search code it should work properly in pale moon, shouldn't it? What exactly is the problem which prevents the browser from accept the file when clicking on the offered
add search engine entry from the search menu?
Btw, this way you can add every wikipedia-language parallel to each other. Look careful for the changes I made to the to the file pale moon brings with itself. Here is the diff:
Code: Select all
6,7c6,7
< <ShortName>Wikipedia (en)</ShortName>
< <Description>Wikipedia, the free encyclopedia</Description>
---
> <ShortName>Wikipédia (fr)</ShortName>
> <Description>Wikipédia, L'encyclopédie libre</Description>
10c10
< <Url type="application/x-suggestions+json" method="GET" template="http://en.wikipedia.org/w/api.php">
---
> <Url type="application/x-suggestions+json" method="GET" template="https://fr.wikipedia.org/w/api.php">
14c14
< <Url type="text/html" method="GET" template="http://en.wikipedia.org/wiki/Special:Search">
---
> <Url type="text/html" method="GET" template="https://fr.wikipedia.org/w/index.php?title=Sp%C3%A9cial:Recherche&">
17c17
< <SearchForm>http://en.wikipedia.org/wiki/Special:Search</SearchForm>
---
> <SearchForm>https://fr.wikipedia.org/wiki/Sp%C3%A9cial:Recherche</SearchForm>
All you have to do is to copy the appropriate snippets from the file you received from your language specific wikipedia and replace them in the draft before saving the file.
P.S. I think I have to amend that I'm using pale moon on linux, so the folder names will be different in a windows system.