The iPhone Wiki is no longer updated. Visit this article on The Apple Wiki for current information. |
Difference between revisions of "The iPhone Wiki:Community portal"
(→Theme) |
|||
Line 80: | Line 80: | ||
:::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. --[[User:Geohot|geohot]] 13:18, 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. --[[User:Geohot|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). --[[User:Acfrazier|Austen Frazier]] 13:31, 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). --[[User:Acfrazier|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). --[[User:Geohot|geohot]] 13:40, 8 January 2012 (MST) |
||
===Rename=== |
===Rename=== |
Revision as of 20:40, 8 January 2012
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)
- 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)
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)
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)
- 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)
Support added --geohot 16:54, 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)
- 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)
- 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 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)
- 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'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)
- 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)
- 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)
- 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)
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)
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)