The Apple Wiki:Community portal/2012

Corona Info
We need to get Corona info integrated into the wiki. There's good info here: http://pod2g-ios.blogspot.com/2012/01/details-on-corona.html beej 21:54, 2 January 2012 (MST)

New Upper Left Image
If someone has a good one, I'll change it. Who still has an iPhone 2G? --geohot 13:11, 12 December 2011 (MST)
 * File:NewLogo.png? Problem is one like that doesnt scale well. Maybe a rotated (like this) image of an iPhone 4S or an iPad 2. I have an image of a rotated iPhone 4S if you want... --5urd 14:04, 12 December 2011 (MST)
 * Something with an iPhone and the iPhone wiki logo from the main page would look good. I'll see if I can make one up. the  kirby  lover  23:06, 17 December 2011 (MST)
 * why not the iOS logo? --M2m 10:02, 18 December 2011 (MST)
 * I don't think we can use that because it's a copyrighted logo. the  kirby  lover  18:06, 18 December 2011 (MST)
 * Agreed --5urd 18:15, 18 December 2011 (MST)
 * Mine requires a bit of extra CSS for it too look good. This can be added to Mediawiki:skin.css. the  kirby  lover  17:59, 19 December 2011 (MST)
 * i have an iPhone 2G geohot! --Zmaster 12:08, 24 December 2011 (MST)
 * Ok, I got something from @iSurenix. He says: "In case you don't like it, I can always fix it up etc. but I think it looks new, fresh and updated." -- http 13:40, 25 December 2011 (MST)
 * Excellent! --5urd 14:54, 25 December 2011 (MST)
 * I think it blends into the background too much because the iPhone is white. Thats just my opinion thought. Otherwise I like it. --Jacob 16:18, 25 December 2011 (MST)
 * Maybe a black one? --5urd 17:14, 25 December 2011 (MST)
 * I got a resized version from him and uploaded it. Some Mediawiki documentation said ideal size is 135x135 (max 150x150). And about the white he commented: "I like how I've used the white iPhone. It's lie I've said "new and fresh". Not a lot places use white iPhones. Let alone in that specific position. I like it." (@iSurenix). -- http 17:09, 26 December 2011 (MST)
 * We could put a background behind the page if it's staying white... maybe the iOS textured background? the  kirby  lover  19:15, 26 December 2011 (MST)
 * Here's the css for the textured background I was talking about. To try it, copy and paste this to your address bar: javascript:void(importStylesheet("User:thekirbylover/skin.css")) the  kirby  lover  18:31, 31 December 2011 (MST)
 * I like both of these! The white one seems a bit more "professional" so that's nice, but the text is a little pale. They're both better than the existing logo though, so I'd be happy with either. Britta 18:17, 31 December 2011 (MST)
 * Why isn't the p in iPhone capitalized? Otherwise, I like the white one. I also like the skin, if general consensus is change the skin I will do it. --geohot 16:54, 5 January 2012 (MST)
 * He just updated to "iPhone" - new image uploaded. -- http 17:15, 6 January 2012 (MST)
 * Thanks! Image has been changed --geohot 22:42, 7 January 2012 (MST)

Proposed logos
These are thumbnails, click on them to view in normal size.

Cydia links
Links to Cydia, such as cydia://package/com.example.test, don't seem to wanna be linkified by the wiki, but there's an internal setting you can change: $wgUrlProtocols[] = "cydia://";. You might also want to use MediaWiki:Vector.css to add a mini Cydia icon next to it. the kirby  lover  18:06, 18 December 2011 (MST)
 * As for the localsettings.php change, this is geohot's problem. As for the CSS change, we could use Cydia.png@16px. --5urd 18:15, 18 December 2011 (MST)
 * Yep, I was gonna put that CSS in my User:thekirbylover/monobook.css after I posted that. Also, correct me if I'm wrong, but I think Monobook.css is used on Vector pages too. the  kirby  lover  18:21, 18 December 2011 (MST)
 * I checked the source and the "/load.php?{CRAP}" are empty and for some reason, Google Chrome's "Inspect Element" show up styles... --5urd 18:29, 18 December 2011 (MST)
 * /skin.css is cross skin while /vector.css and /monobook.css are per-skin --5urd 18:31, 18 December 2011 (MST)

Support added --geohot 16:54, 5 January 2012 (MST)
 * Thanks! the  kirby  lover  20:04, 5 January 2012 (MST)

Theme
Oh, also, can you please install the gadgets extension and add these pages: MediaWiki:Gadgets-definition * betatheme[ResourceLoader]|betatheme.css|betatheme.js MediaWiki:Gadget-betatheme Beta theme (works best with the Vector theme) MediaWiki:Gadget-betatheme.css @import "/wiki/index.php?title=User:thekirbylover/skin.css&action=raw&ctype=text/css"; MediaWiki:Gadget-betatheme.js importScript("User:thekirbylover/skin.js") (or you can give me admin privileges and I'll take care of the mediawiki:gadget pages) the  kirby  lover  00:59, 7 January 2012 (MST)
 * Can't you just put the css in Mediawiki:Common.css and the js in Mediawiki:Common.js? It would make it so any admin can edit instead of just you, which might be better. --5urd 11:25, 7 January 2012 (MST)
 * Yeah, I thought of that a while after I posted it. Though I'd still need admin privileges to edit them. the  kirby  lover  15:58, 7 January 2012 (MST)
 * I'm happy to point the global CSS to your page, reading about Gadget now...though a global js you can edit, particularly one that imports offsite js, will require some persuading? :P --geohot 22:26, 7 January 2012 (MST)
 * I tried adding an import to the vector skin default css, didn't work. Still want me to do the gadget thing? --geohot 22:42, 7 January 2012 (MST)
 * Add @import "//cdn.hbang.ws/css/iphonewiki.css"; to MediaWiki:Vector.css and importScriptURI("//cdn.hbang.ws/js/iphonewiki.js"); to MediaWiki:Common.js - both links are to my site and should be live in a few minutes. Also, you'll want to look at allowing more database connections - I've been getting "This wiki has a problem - max_connections reached" a lot lately. the  kirby  lover  22:50, 7 January 2012 (MST)
 * css import still isn't working, did I do it right? External javascript is a security vuln, if there are really worthwhile things to be added in javascript(I don't really like the share buttons they add to everything these days, and wikipedia doesn't AJAX), then I'll add them directly on this site. I know about the database problem, looking into it now --geohot 22:59, 7 January 2012 (MST)
 * CSS's live now - check to see if it comes up. I believe the internal css files are cached by MediaWiki, so maybe try the @import line in Vector.css, then clear your cache, shift+click on refresh in Chrome and Firefox.
 * I'll remove the ajax/share js, though I still want to use js to make checkboxes into iOS switches, which could just be on MediaWiki:Common.js. the  kirby  lover  23:12, 7 January 2012 (MST)
 * Imports didn't work, no idea why, chrome didn't even try to load the imported css, so I pasted right in vector. Any downsides? And any way to give you edit rights to that page? I will e-mail about max_user_connections before I go to bed tonight, it's currently set at 15. It may also be time to move this wiki to a bigger server, my account gets CPU throttled all of the time(and as a result the page is a little slow), though I'm not sure where, this site gets about 2 qps. --geohot 23:29, 7 January 2012 (MST)
 * Theme's working now, must have just been the wiki caching it. Do a ctrl+click refresh to clear your cache; tap refresh then refresh again on mobile safari. Is the site on shared hosting or VPS? When I get my server running, I'll be happy to run it from here. the  kirby  lover  23:34, 7 January 2012 (MST)

I made a few minor tweaks to the CSS to resemble iOS 5 a little more (in browsers that have good CSS 3 support, anyways). I'll happily revert the changes if they're not well-received. (I think it looks better, but I am kinda biased on this. :P) And great job on the theme, guys! -- Dialexio 01:58, 8 January 2012 (MST)
 * Thanks ;) Your additions look cool, though I'm working on making the first heading look like a title bar on iOS. Also, looks like geohot put my css on MediaWiki:Vector.css, which is now overriding the one on my server - can you please take it off and add @import "http://cdn.hbang.ws/css/iphonewiki.css";</tt> so it loads from my server? (I'll include your changes to my css.) Or someone can make me a sysop so I can edit it myself. the  kirby  lover  02:20, 8 January 2012 (MST)
 * Sure. I would like to keep everything on The iPhone Wiki though, so this may be a temporary thing until the theme feels complete and any kinks in the CSS are worked out. -- Dialexio 11:42, 8 January 2012 (MST)
 * I tried the import last night, it didn't work. External css is fine temporarily, external js is never allowed. --geohot 12:27, 8 January 2012 (MST)

I'd just like to throw my objection into the bucket here, because the new theme overwrote Vector and thus does not allow me to easily revert it. (MonoBook is the 500 year old wikipedia theme)

I also know someone who would gladly host this site so the database doesn't constantly time out, and has more open connections, for relatively low cost with good speed and uptime. If you'd like me to put you in touch geohot email me at my wiki username at gmail. --Acfrazier 12:51, 8 January 2012 (MST)
 * Yea, an option for theme could be added. I'm trying to deal with the max_user_connections now, though hostmonster claims it was always 15. The whole thing is fishy, since php is single threaded and there are only 10 php processes running. If I move, it'll probably be to EC2, like $500 per year but I get to be root on the server. --geohot 13:01, 8 January 2012 (MST)
 * At this point I'd be willing to pay for it, I've known this guy for ten years so I'd get a decent rate (we could probably get a dedicated so you'd have root). It's hard to do maintenance edits when it times out and this has been a problem for a few weeks that I've seen, that's why I haven't done much (but soon I'll have a lot of info to add). It's greatly upsetting that this entire wealth of information is here, but it's semi-inaccessible. --Austen Frazier 13:09, 8 January 2012 (MST)
 * Yea, I'm digging into it now, it's only gotten bad recently. It looks like they messed with mysql on nov 22, 2011. It doesn't appear to be a bandwidth issue, it's a connection issue. For some reason, each php process is making two connections to the database. 10*2 = 20 > 15. Time to read some PHP, or figure out how to only launch 7 processes. --geohot 13:18, 8 January 2012 (MST)
 * Well, my host suggested that you could use http://www.mediawiki.org/wiki/Extension:APC on his hosting and it'd give you a lot more breathing room. Most hosts limit you to 15 db connections (to prevent crashing the server with the 'slashdot effect' but hostgator's server is probably massively overloaded.) EC2 doesn't have good enough disk performance for database access. He told me he could have you moved today if you wanted to do it, I can get you in touch with him. The reason I primarily go with him is it's one to one, he runs his own stuff. If something comes up you have direct support. It's kind of hard being the middleman though, in my opinion he'd be worth talking to. (I'd appreciate it if you'd email me, with the timeout this is getting exceedingly hard to reply). --Austen Frazier 13:31, 8 January 2012 (MST)
 * Error is hopefully fixed! Edited mediawiki to use mysql_pconnect instead of mysql_connect and limited db connections to one per process. I'll send you an e-mail tonight about possibly moving the site, although I'm going to do a little profiling here first, I've been with hostmonster for a while and overall they have been good. Currently I don't have a cache, looking into APC or memcached as a middle layer between the db and php(yay php-memcached-mysql just like facebook). --geohot 13:40, 8 January 2012 (MST)
 * Nope. Hot an error on last save. Hostinginsiders. $7 a month. CPanel. Full control over the server. Etc. --5urd 14:25, 8 January 2012 (MST)
 * I'm not particularly concerned with price as I am reliability, hence why I offered my host. (That's not to say he's expensive, but.. you get what you pay for.) It may be fixed, but page load times are still unnecessarily long. I look forward to your email, geohot. --Austen Frazier 15:52, 8 January 2012 (MST)
 * Re the theme, geohot can go to the skins folder, copy Vector.php -> iPhone.php and rename the class names to say iPhone instead of Vector (but not the css files), then move MediaWiki:Vector.css -> MediaWiki:Iphone.css and in LocalSettings.php, $wgDefaultSkin="iphone";</tt>. Then there will be an option to go back to regular Vector.
 * With the slowdowns, it's probably 'cause MW 1.17 uses a load.php script (ResourceLoader) to combine css/js to be faster, but it also opens a new connection to the database to see what it can load from MediaWiki:Common.css, etc. I haven't run MW myself since 1.16, so I'm not entirely sure what to do there, but a cache extension should do the trick. the  kirby  lover  19:20, 8 January 2012 (MST)
 * Also, geohot, Chrome Web inspector says there's no client-side caching, meaning images get re-downloaded every time. Try putting this code into a .htaccess file in the wiki folder. It'll force caching of files, especially the images in the background of the theme. the  kirby

lover 19:38, 8 January 2012 (MST)
 * I see 304s for the images. This resourceloader thing is annoying, even to send a 304 it has to load the damn php environment(i'm using fastcgi, but still) for each js and css file. The db errors are gone, but at the cost of performance. I enabled mw filecache, but it doesn't solve the problem. I believe the slowness is caused by the CPU throttling. I need a real server. --geohot 20:28, 8 January 2012 (MST)

The new icon looks fantastic! I just have a minor issue with the new theme: the grey pinstripe background reduces readability of the text by some degree, with decreased contrast and the pattern of the pinstripes. Can I nominate the lighter grey color and more subtle pinstriping of tables (like "Contents" boxes) as the main text background color? I guess then the Contents boxes would be the same color, or even lighter, and that seems OK too. It'd be a little bit of a departure from Apple style, but I think it'd be a worthwhile change for a text-focused site. Thanks! Britta 18:07, 8 January 2012 (MST)
 * I'm planning to put the page into boxes, like the Settings app, so that should make it easier to read. the  kirby  lover  19:20, 8 January 2012 (MST)
 * OK! I imagine that boxes might be visually distracting...but I'll comment on it when I see it. :) Also, the left sidebar seems to be white at the moment instead of linen-textured; I imagine that just means that an image link is temporarily broken or something? Might also be helpful to have a backup background color listed in the CSS? Britta 20:47, 8 January 2012 (MST)
 * I might actually just go with a gradient background like iPad settings, instead of using boxes. With the sidebar, not sure exactly what's happening there, I guess I forgot to add a backup color :/ the  kirby  lover  20:56, 8 January 2012 (MST)

Could an admin please add User:thekirbylover/monobook.css to MediaWiki:Monobook.css, so the logo is readable in that skin? the kirby  lover  01:26, 13 January 2012 (MST)
 * I added some CSS to improve the logo's readability a little more, but I chose not to add your CSS in case people don't like the iOS theming. -- Dialexio 16:48, 13 January 2012 (MST)

Why is there a weird reflection under the new top left image? Is that a code or someone edited it that made that? The reflection doesn't look right at all. Can someone remove that, please? Also, the top back linen area looks out of place when it crosses the top banner, which also looks off. I there a way to cut it JUST as it touched that banner? --Surenix 08:34, 14 January 2012 (MST)
 * Done. (The reflection was only CSS for WebKit-based browsers, by the way.) -- Dialexio 11:18, 14 January 2012 (MST)

Slowness
I've added a filecache to hopefully speed things up a bit, and I removed fastcgi. It's a bit more bearable now, post here if you feel otherwise. I believe the majority of the slowness is the CPU throttling of my webhost and PHP's love for eating up CPU. We'll see how it goes for the next few days. --geohot 21:45, 8 January 2012 (MST)
 * Thank you for everything! I do get this once-in-a-while though. (1 in 10 requests [not as bad as before]):

HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfill the request.
 * --5urd 22:02, 8 January 2012 (MST)
 * I also get 503 Service Temporarily Unavailable sometimes. The worst I've gotten is a completely blank page, not even any html. the  kirby  lover  22:24, 8 January 2012 (MST)
 * It's back to normal again; usable, but incredibly slow, with sometimes timeouts or other errors. Do you have access logs over time periods? Maybe it's just the increased traffic. For example pod2g's blog links here, so that normal users read some stuff. And related to caching, I've set the option in Preferences to not cache the pages. That doesn't help, but I'm still suffering the Mobile Safari caching bug. (Just don't make it worse.) Mobile Safari caching bug: when on the Recent Changes page (showing up to date content), clicking on some diff to show the changes, doing nothing and press browser Back button goes back to Recent Changes page, but (sometimes) showing data that is days old. --http 01:22, 9 January 2012 (MST)
 * (The Mobile Safari caching bug seems to be happening across many different sites.) Britta 05:42, 9 January 2012 (MST)
 * Looking around the wiki, I noticed that I'll get a blank page if I visit a page that hasn't been visited since it was last edited (though I might be wrong), and the css (even the base vector css!) keeps going on-and-off. Geohot, have you tried the caching directions I posted above? the  kirby  lover  07:39, 9 January 2012 (MST)

Hostmonster upgraded me to a better server. Seems fast now. Yay hostmonster! --geohot 09:24, 10 January 2012 (MST)
 * Definitely feels 1000 times faster! Thanks! the  kirby  lover
 * Well, if you decide to move (if the site outgrows this server, again) you know where to find me. --Austen Frazier 11:05, 10 January 2012 (MST)
 * Wow, it's working again! Thank you! -- http 16:15, 10 January 2012 (MST)

1.18
Mediawiki 1.18 is out and includes many security fixes. --5urd 23:31, 8 January 2012 (MST)

opensn0w article undeletion
http said to notify when released.. we have something tangible now. It's open source, so there is no 'cut' release for the time being. --Austen Frazier 15:01, 14 January 2012 (MST)
 * Where are the released files? --Dylan Laws 02:02, 16 January 2012 (MST)
 * On the deleted page it had this link: https://github.com/velocitylimitless/opensn0w -- http 03:41, 16 January 2012 (MST)
 * What exactly does it do, I've read over the readme but not fully understaning the program, what it can run on, and if its a console or GUI. --Dylan Laws 11:25, 16 January 2012 (MST)
 * The readme says "Why not use redsn0w? It has a graphical user interface!" means it is a console app designed for implementation in other programs. --5urd 12:05, 16 January 2012 (MST)

silversn0w
Am I allowed to propose a new page for my new program silversn0w? --Dylan Laws 23:48, 13 January 2012 (MST)
 * What does it do? --http 23:27, 13 January 2012 (MST)
 * Right now its a limera1n injector, you can upload files through iBoot (e.g iBSS, iBEC, ramdisks), but im working on making it a jailbreak.--Dylan Laws 23:48, 13 January 2012 (MST)
 * Is this ok? --Dylan Laws 11:29, 14 January 2012 (MST)
 * You just posted it anyway and its crap, can someone delete the page? --Ryanb93 12:22, 14 January 2012 (MST)
 * You posted it w/o the discussion being finalized! --5urd 14:38, 14 January 2012 (MST)

@Dialexio: How did it violate GPL v3? Was it not open sourced while using iRecovery (which is)? --5urd 14:41, 14 January 2012 (MST)
 * Indeed. -- Dialexio 14:53, 14 January 2012 (MST)
 * What's the problem? --Dylan Laws 15:00, 14 January 2012 (MST)
 * Any program that uses software released under the GNU GPL (any version), in this case iRecovery, the program must be open source. Thats why sn0wbreeze is (XPwn, VFDecrypt), Seas0nPass (XPwn, VFDecrypt), iDecryptIt (VFDecrypt, 7-zip), etc. --5urd 20:32, 15 January 2012 (MST)

If we must discuss this then shall we do it now? --Dylan Laws 15:02, 14 January 2012 (MST)
 * ? --5urd 15:06, 14 January 2012 (MST)
 * just delete it and remove me if you want, do don't want any part do what geohot has made. I've got my own wiki on my site, so, I'm good. I'm just a useless dead weight here. --Dylan Laws 15:13, 14 January 2012 (MST)
 * We arn't trying to make you upset, but you arn't following the rules of GUIs are stated in the category. --5urd 16:22, 14 January 2012 (MST)
 * It's fine, I'm just kinda upset that most of the time, there's already a program out there for most of the stuff I make. I'll contribute to this wiki as much as I can. Maybe when i/if I finish silversn0w I'll ask if I can post it here.--Dylan Laws 16:55, 14 January 2012 (MST)

Rename
I was wondering if you can install Renameuser and make me an admin? --5urd 11:21, 7 January 2012 (MST)
 * Installed, who do you want renamed? --geohot 22:26, 7 January 2012 (MST)
 * I wanted to be renamed to 5urd. My twitter account name --5urd 14:16, 8 January 2012 (MST)

Banning GUI Tools
I'm starting to think banning "GUI tools" is a good idea, the silversn0w discussion was removed without consensus and a page was created. Like wikipedia, we need notability criteria. If your tool isn't used by at least a 1000 people, it does not belong here. To the posters of GUI tools, why not spend your time creating constructive pages instead, documenting poorly documented things and fixing typos? --geohot 13:53, 14 January 2012 (MST)
 * I don't think that will be neccessary. The silversn0w thing was created before the discussion was even finished. That is the problem. Maybe a ban rule on people who post things w/o a finalized discussion... --5urd 14:38, 14 January 2012 (MST)
 * Maybe a "new page wizard" could be used, like on Wikipedia. It could ask "what is the article about?", then it keeps asking questions till it decides whether the page should be allowed or to ask here first. the  kirby  lover  22:47, 14 January 2012 (MST)

Rename Requests
The plugin to do renames has been installed, renames are at the discretion of our current admins. --geohot 13:53, 14 January 2012 (MST)
 * It looks like only you can perform renames at the moment. The extension's page says you can add a line of code (I think to LocalSettings.php… not sure though) to give admins the ability to perform renames, though. -- Dialexio 14:50, 14 January 2012 (MST)
 * bureaucrats can do it already. But geohot is the only one... --5urd 15:06, 14 January 2012 (MST)
 * sysops can do it now too, sorry thought that was the default --geohot 20:21, 14 January 2012 (MST)