https://www.mediawiki.org/wiki/Special:Code/MediaWiki/112537

Revision: 112537
Author:   jdlrobson
Date:     2012-02-27 22:50:15 +0000 (Mon, 27 Feb 2012)
Log Message:
-----------
opera mini support

adjustments based on testing in opera mini 6.5
toggle sections and expand mediawiki logo are working
TODO: search appears to be broken in both beta and normal site
due to how opera mobile handles key events

Modified Paths:
--------------
    trunk/extensions/MobileFrontend/javascripts/opensearch.js
    trunk/extensions/MobileFrontend/stylesheets/operamini.css

Modified: trunk/extensions/MobileFrontend/javascripts/opensearch.js
===================================================================
--- trunk/extensions/MobileFrontend/javascripts/opensearch.js   2012-02-27 
22:49:50 UTC (rev 112536)
+++ trunk/extensions/MobileFrontend/javascripts/opensearch.js   2012-02-27 
22:50:15 UTC (rev 112537)
@@ -44,6 +44,7 @@
        }
 
        window.onload = function () {
+               // TODO: not working in opera mini 6.5
                u( search ).bind( 'keyup',
                        function() {
                                clearTimeout( timer );

Modified: trunk/extensions/MobileFrontend/stylesheets/operamini.css
===================================================================
--- trunk/extensions/MobileFrontend/stylesheets/operamini.css   2012-02-27 
22:49:50 UTC (rev 112536)
+++ trunk/extensions/MobileFrontend/stylesheets/operamini.css   2012-02-27 
22:50:15 UTC (rev 112537)
@@ -1,33 +1,7 @@
-#searchbox #goButton {
-       border: 0;
-       background: url(images/s.gif) no-repeat top left;
-       height: 25px;
-       width: 27px;
-}
-
-
 #header, #footer, #content_wrapper {
        margin: 0 2px;
 }
 
-#searchbox {
-       border: 0px;
-       padding: 2px;
-       height: 26px;
-}
-
-#searchbox form, #searchbox button, #searchbox img, #searchbox input {
-       display: inline;
-}
-
-#searchbox input#searchButton {
-       margin-left: 2px;
-}
-
-#searchbox input#submitButton {
-       display: none;
-}
-
 /* TODO: duplicate see psp.css */
 .nav {
        border: 0;


_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to