The iPhone Wiki:Community portal

From The iPhone Wiki
Revision as of 05:04, 9 January 2012 by 5urd (talk | contribs) (Slowness)
Jump to: navigation, search
Archives
 • 2010 • 2011 • 2012 • 2013 • 2014 • 2015 • 2016 • 2017 •

This is the place to post tasks that need to be done on the wiki. Also this is the place for proposed changes. I heard about people wanting a favicon and arranging the main page into categories.

Site Related Requests

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)beej

2.2b1

Is 2.2b1 5G26 or 5G27, because on Beta Firmware, it says 5G27... --Balloonhead66 19:48, 6 August 2011 (MDT)

Key pages

I would like to propose a new rule: Do not create a key page (e.g.- Jasper 8C148 (iPad)) unless you can also provide at least one key. Key pages are meant to share decryption keys with others. Copying and pasting from a template page provides us with no information whatsoever, and also wastes time (both the poster's and the administrators'). Thoughts on this? --Dialexio 21:50, 4 November 2011 (MDT)

I'm against that. While I agree we shouldn't create all empty pages to fill out later, I don't see any reason to have a rule for that. Or was that a problem recently and I missed it? I also created pages with very few content (like Siri), that other users picked up or hopefully will pick up and enhanced. Key pages are a little different though. And the page you reference was never empty (but had wrong keys initially). So if you feel a big need to have such a rule, go on. -- http 05:06, 5 November 2011 (MDT)
I was simply using that page as an example of a key page, for those that had no clue what I was talking about. I think that posting an article with little content is a bit different from an empty key page; at least a small amount of information is being provided. In addition, it's easier to tell whether a key page needs to be filled out or not if the key page's link is red because the page was never created. I'll wait for additional feedback from anybody else before I decide on whether or not to add this to the rules. --Dialexio 11:31, 5 November 2011 (MDT)
Ok --Balloonhead66 16:58, 12 December 2011 (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... --Balloonhead66 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. thekirbylover 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. thekirbylover 18:06, 18 December 2011 (MST)
Agreed --Balloonhead66 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. thekirbylover 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! --Cole Johnson 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? --Cole Johnson 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? thekirbylover 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")) thekirbylover 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. thekirbylover 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. --Balloonhead66 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. thekirbylover 18:21, 18 December 2011 (MST)
I checked the source and the "/load.php?{CRAP}" are empty and for some reason, Template:Wp's "Inspect Element" show up styles... --Balloonhead66 18:29, 18 December 2011 (MST)
/skin.css is cross skin while /vector.css and /monobook.css are per-skin --Balloonhead66 18:31, 18 December 2011 (MST)

Support added --geohot 16:54, 5 January 2012 (MST)

Thanks! thekirbylover 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) thekirbylover 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. --Cole Johnson 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. thekirbylover 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. thekirbylover 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 [1] 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. thekirbylover 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. thekirbylover 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"; 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. thekirbylover 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. --Cole Johnson 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";. 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. thekirbylover 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. thekirby

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. thekirbylover 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 :/ thekirbylover 20:56, 8 January 2012 (MST)

Rename

I was wondering if you can install Renameuser and make me an admin? --Cole Johnson 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 --Cole Johnson 14:16, 8 January 2012 (MST)

MD Bootrom

Editing the models page, I noticed that the new white iPod touch 4s have MD bootroms. However, I'm not sure about the black models, so can someone with a black touch 4 bought after September please tell me which model is reported in Settings? Thanks. thekirbylover 23:46, 22 December 2011 (MST)

Those are not bootroms; those are model numbers. According to Apple's online store, the black iPod touch 4G still has the same "MC" model numbers as before. --Dialexio 10:27, 23 December 2011 (MST)
Ah, I see. Thanks for checking. thekirbylover 16:33, 23 December 2011 (MST)


Archives
 • 2010 • 2011 • 2012 • 2013 • 2014 • 2015 • 2016 • 2017 •

This is the place to post tasks that need to be done on the wiki. Also this is the place for proposed changes. I heard about people wanting a favicon and arranging the main page into categories.

Site Related Requests

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)beej

2.2b1

Is 2.2b1 5G26 or 5G27, because on Beta Firmware, it says 5G27... --Balloonhead66 19:48, 6 August 2011 (MDT)

Key pages

I would like to propose a new rule: Do not create a key page (e.g.- Jasper 8C148 (iPad)) unless you can also provide at least one key. Key pages are meant to share decryption keys with others. Copying and pasting from a template page provides us with no information whatsoever, and also wastes time (both the poster's and the administrators'). Thoughts on this? --Dialexio 21:50, 4 November 2011 (MDT)

I'm against that. While I agree we shouldn't create all empty pages to fill out later, I don't see any reason to have a rule for that. Or was that a problem recently and I missed it? I also created pages with very few content (like Siri), that other users picked up or hopefully will pick up and enhanced. Key pages are a little different though. And the page you reference was never empty (but had wrong keys initially). So if you feel a big need to have such a rule, go on. -- http 05:06, 5 November 2011 (MDT)
I was simply using that page as an example of a key page, for those that had no clue what I was talking about. I think that posting an article with little content is a bit different from an empty key page; at least a small amount of information is being provided. In addition, it's easier to tell whether a key page needs to be filled out or not if the key page's link is red because the page was never created. I'll wait for additional feedback from anybody else before I decide on whether or not to add this to the rules. --Dialexio 11:31, 5 November 2011 (MDT)
Ok --Balloonhead66 16:58, 12 December 2011 (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... --Balloonhead66 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. thekirbylover 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. thekirbylover 18:06, 18 December 2011 (MST)
Agreed --Balloonhead66 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. thekirbylover 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! --Cole Johnson 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? --Cole Johnson 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? thekirbylover 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")) thekirbylover 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. thekirbylover 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. --Balloonhead66 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. thekirbylover 18:21, 18 December 2011 (MST)
I checked the source and the "/load.php?{CRAP}" are empty and for some reason, Template:Wp's "Inspect Element" show up styles... --Balloonhead66 18:29, 18 December 2011 (MST)
/skin.css is cross skin while /vector.css and /monobook.css are per-skin --Balloonhead66 18:31, 18 December 2011 (MST)

Support added --geohot 16:54, 5 January 2012 (MST)

Thanks! thekirbylover 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) thekirbylover 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. --Cole Johnson 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. thekirbylover 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. thekirbylover 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 [2] 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. thekirbylover 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. thekirbylover 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"; 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. thekirbylover 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. --Cole Johnson 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";. 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. thekirbylover 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. thekirby

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. thekirbylover 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 :/ thekirbylover 20:56, 8 January 2012 (MST)

Rename

I was wondering if you can install Renameuser and make me an admin? --Cole Johnson 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 --Cole Johnson 14:16, 8 January 2012 (MST)

MD Bootrom

Editing the models page, I noticed that the new white iPod touch 4s have MD bootroms. However, I'm not sure about the black models, so can someone with a black touch 4 bought after September please tell me which model is reported in Settings? Thanks. thekirbylover 23:46, 22 December 2011 (MST)

Those are not bootroms; those are model numbers. According to Apple's online store, the black iPod touch 4G still has the same "MC" model numbers as before. --Dialexio 10:27, 23 December 2011 (MST)
Ah, I see. Thanks for checking. thekirbylover 16:33, 23 December 2011 (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:04, 8 January 2012 (MST)