Extension talk:MobileSkin

Further Testing Request
This extension needs more testing with different mobile devices and browsers. I disabled all skins but MonoBook, had my CSS guy create an "iPhone" skin, and copied chick as a skin called "Mobile" (so non-technical users don't get confused by the name). So the list of skins is "Mobile", "MonoBook", and "iPhone". New users are set to "MonoBook" for their desktop/laptop access by default. Then MobileSkin changes skin when pages are displayed, without changing the user's default skin. Makes the login page easier to use on a mobile screen too. Let me know if you see a better way to implement this feature or experience any problems. Chanur 16:33, 19 December 2008 (UTC)

Skin Bug
Fatal error: Cannot access protected property SkinStandard::$skinname in /var/www/vhosts/betazoid.co.za/httpdocs/wiki/extensions/MobileSkin/MobileSkin.php on line 30

This occurs with Classic and Nostalgia when browsing from my PC. Is there a way to detect screen width?


 * Didn't get notified the talk page changed until today. What version of MediaWiki are you running? I haven't tested it with Classic or Nostalgia as default skin, but I will. Chanur 01:30, 25 June 2009 (UTC)


 * Edit MobileSkin.body.php and change line 25 from "$this->mobileDebug = 2;" to "$this->mobileDebug  = 0;". The debug messaging is trying to get the skin name and Nostalgia and Classic do not like that. I did not look at those skins to see why, but this appears to correct the fatal error. Chanur 16:17, 25 June 2009 (UTC)


 * I've changed the code to use the accessor method (hope you don't mind!). —Emufarmers(T 19:19, 27 June 2009 (UTC)


 * No problem. I'm always open to a better way. Thanks Chanur 23:15, 27 June 2009 (UTC)

PHP <? Tag for Source code
The article recommends to copy the code into .php files, yet it does not have the <? php text to identify the file is php code for the server to analyze. This results in the main PHP file being dumped and gives many header errors on execution. Many users using MediaWiki may be unaware of this issue, resulting in failed installations.


 * Good point. Chanur 01:32, 25 June 2009 (UTC)