r112537 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r112536‎ | r112537 | r112538 >
Date:22:50, 27 February 2012
Author:jdlrobson
Status:ok
Tags:
Comment:
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 (modified) (history)
  • /trunk/extensions/MobileFrontend/stylesheets/operamini.css (modified) (history)

Diff [purge]

Index: trunk/extensions/MobileFrontend/javascripts/opensearch.js
@@ -44,6 +44,7 @@
4545 }
4646
4747 window.onload = function () {
 48+ // TODO: not working in opera mini 6.5
4849 u( search ).bind( 'keyup',
4950 function() {
5051 clearTimeout( timer );
Index: trunk/extensions/MobileFrontend/stylesheets/operamini.css
@@ -1,33 +1,7 @@
2 -#searchbox #goButton {
3 - border: 0;
4 - background: url(images/s.gif) no-repeat top left;
5 - height: 25px;
6 - width: 27px;
7 -}
8 -
9 -
102 #header, #footer, #content_wrapper {
113 margin: 0 2px;
124 }
135
14 -#searchbox {
15 - border: 0px;
16 - padding: 2px;
17 - height: 26px;
18 -}
19 -
20 -#searchbox form, #searchbox button, #searchbox img, #searchbox input {
21 - display: inline;
22 -}
23 -
24 -#searchbox input#searchButton {
25 - margin-left: 2px;
26 -}
27 -
28 -#searchbox input#submitButton {
29 - display: none;
30 -}
31 -
326 /* TODO: duplicate see psp.css */
337 .nav {
348 border: 0;

Status & tagging log