Wikipedia applet enters in the following loop when loading any article:
# WikipediaEngine loads article from Wikipedia and format it
# communicate page is ready to QML with PageChanged signal
# QML script loads html via content.loadHtml; this triggers a naviagateRequest signal
# same QML script captures the signal, and evokes WikipediaEngine.setUrl (passing a data-scheme URL), restarting the loop
The patch does the following
- fix the loop by only handling naviagateRequest signals that were caused by clicking in a link (LinkClickedNavigation). The one that was causing the issue (signaled by loadHtml) is TypedNavigation
- click to reload button invokes reloadWikipedia(); before it was only reloading the data-schemed URL that was being displayed
- remove the deprecated "srredirects" parameter from the GET query