Skip to content

Commit

Permalink
Uploaded Wikipedia Search 7.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
corbindavenport committed Feb 14, 2016
1 parent c875c73 commit c9c694c
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 72 deletions.
71 changes: 3 additions & 68 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ If English isn't your main language, it's easy to change the language Wikipedia
__Wikipedia is a trademark of the Wikimedia Foundation.__

---------------------------------------------------------
__New in Wikipedia Search 7.0.2:__
* Added warning when using Wikipedia Search over HTTP connection.

__New in Wikipedia Search 7.0.1:__
* Added settings button to Wikipedia pages when side panel is disabled.

Expand All @@ -16,74 +19,6 @@ __New in Wikipedia Search 7.0:__
* Code cleanup: Wikipedia Search 7.0's codebase has been improved, especially with content scripts being adjusted to work much better.
* Slightly updated icon

__New in Wikipedia Search 6.4:__
* Shiny new icon :)
* Improvements to the Wikipedia Search widget for Awesome New Tab Page (ANTP)
* Continued clean-up of overall codebase

__New in Wikipedia Search 6.3.1:__
* Fixed search bar on articles becoming disabled and not completely being removed.
* Minor bug fixes

__New in Wikipedia Search 6.3:__
* __Wikipedia Integration:__ Wikipedia Search now integrates more deeply with Wikipedia, with options to show a panel of options on Wikipedia article pages for quick access to settings, and even hiding the search bar.
* __Reset options:__ There is now a reset button in the settings, to...well...reset the settings.
* __Under-the-hood improvements:__ Wikipedia Search 6.3 continues a clean-up of the overall codebase.
* And a secret easter egg hidden in the code ;)

__New in Wikipedia Search 6.2:__
* __Opera support:__ Opera browser is now officially supported by Wikipedia Search!
* __Context menu:__ Minor tweaks to the right-click context menu.
* __Settings:__ You can now turn the settings shortcut in search results on or off.
* __Under-the-hood improvements:__ Most of Wikipedia Search 6.2 has been re-written to clean up the overall codebase. There's also less bugs!

__New in Wikipedia Search 6.1.1:__
* Fix for the settings page not working correctly.

__New in Wikipedia Search 6.1:__
* __HTTPS by default:__ Wikipedia Search added support for HTTPS search in version 6.0, but now it's default.
* __New Language:__ Wikipedia Search now supports Ellīniká as a language.
* __Easier options access:__ You can now get to the extensions options straight from the OmniBar while searching!.
* __Bug fixes:__ This release contains various bug fixes.

__New in Wikipedia Search 6.0:__
* __ANTP Widget:__ Wikipedia Search now includes a widget for the popular New Tab Page replacement, Awesome New Tab Page. If you have ANTP installed, just drag the Wikipedia Search widget to an empty slot.
* __HTTPS Search:__ You can now enable searching with HTTPS from the options, which makes your searches more secure and private.
* __New Icon:__ Wikipedia Search now has a new icon from the Faenza icon pack.
* __New Language:__ Wikipedia Search now supports Azərbaycanca as a language.
* Minor bug fixes and code cleanup

__New in Wikipedia Search 5.0.3:__
* Fixes default language not generating on extension update/install

__New in Wikipedia Search 5.0.2:__
* Bug fixes

__New in Wikipedia Search 5.0.1:__
* Fixed bug where searches would try to load 'undefined.wikipedia.org'

__New in Wikipedia Search 5.0:__
* Search from the Chrome Omnibar by selecting it, typing 'wiki', pressing space, and start typing (Based on [OmniWiki](https://github.com/hamczu/OmniWiki))
* Removal of the old search button
* Right-click a word or phrase inside any web page and select 'Wikipedia Search' to lookup
* Added new languages (Hayeren, Latina, Saxa Tyla, Cebuano, Srpskohrvatski)
* New options screen with clean interface
* Various bug fixes

__New in Wikipedia Search 4.1.1:__
* Fixed bug where the drop down box would not be the size of the text field

__New in Wikipedia Search 4.1:__
* Now using Roboto as main font (Arial as fallback)
* Added new languages (Cebuano, Eesti, Minangkabau, and Simple English)
* Minor UI changes

__New in Wikipedia Search 4.0:__
* Major code cleanup
* UI refresh
* Code now available on Github
* One-time alert that it is open source

---------------------------------------------------------

This program is free software: you can redistribute it and/or modify
Expand Down
4 changes: 4 additions & 0 deletions js/wikipedia.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ function save_options() {
if (document.getElementById("language")) {
localStorage["language"] = document.getElementById("language").value;
localStorage["protocol"] = document.getElementById("protocol").value;
if (document.getElementById("protocol").value === "http://") {
document.getElementById("protocolalert").style.display = 'block';
}
if (document.getElementById("shortcut").checked === true) {
localStorage["shortcut"] = "on";
} else {
Expand Down Expand Up @@ -62,6 +65,7 @@ function reset_options() {

window.addEventListener('load',function() {
if (document.getElementById("language")) {
document.getElementById("protocolalert").style.display = 'none';
document.getElementById("language").value = localStorage["language"];
document.getElementById("protocol").value = localStorage["protocol"];
if (localStorage.getItem("shortcut") === "on") {
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"manifest_version": 2,
"name": "Wikipedia Search",
"version": "7.0.1",
"version": "7.0.2",
"author": "Corbin Davenport",
"homepage_url": "https://github.com/corbindavenport/wikipedia-search",
"description": "Search Wikipedia in every language from the address bar.",
Expand Down
5 changes: 3 additions & 2 deletions settings.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ <h2>How to use</h2>
<section class="settings-card">
<h2>Settings</h2>
<p>
<div id="protocolalert"><b>Using HTTP is not recommended.</b><br /><br /></div>
<table>
<tr>
<td>
Expand Down Expand Up @@ -98,8 +99,8 @@ <h2>Settings</h2>
</td>
<td>
<select id="protocol" name="protocol">
<option value="https://">HTTPS (secure)</option>
<option value="http://">HTTP</option>
<option value="https://">HTTPS</option>
<option value="http://">HTTP (not secure)</option>
</select>
</td>
</tr>
Expand Down
2 changes: 1 addition & 1 deletion welcome.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ <h2>What's New?</h2>
<p><b>New language:</b> Added support for the Estonian, Georgian, Chechen, and Bulgarian Wikipedias.</p>
<p><b>Code cleanup:</b> Wikipedia Search 7.0's codebase has been improved, especially with content scripts being adjusted to work much better.</p>
<p><i>And lots of minor bug fixes!</i></p>
<p><b>New in Wikipedia Search 7.0.1:</b> Added settings button to Wikipedia pages when side panel is disabled.</p>
<p><b>New in Wikipedia Search 7.0.2:</b> Added warning when using Wikipedia Search over HTTP connection.</p>
</article>
<article>
<h2>Getting Started</h2>
Expand Down

0 comments on commit c9c694c

Please sign in to comment.