Talk:How to become a MediaWiki hacker

Archives:
 * 2002–2010

SELinux :(
Just a note that we need to put somewhere more useful sometime: SELinux makes it difficult to install MediaWiki, and so "do you have SELinux installed?" is a useful question to ask if someone's having a very hard time installing MediaWiki. Sumanah 08:03, 20 November 2011 (UTC)
 * This looks like a topic that should be included in a FAQ section of Manual:Installing MediaWiki or Manual:Errors and Symptoms. Actually, it's already at Manual:Errors and Symptoms. guillom 18:39, 12 January 2012 (UTC)

Hi am dipesh rawal Dipeshrawal4 (talk) 09:18, 19 June 2016 (UTC)

Good basic HTML & JavaScript tutorials/resources

 * Crockford's JavaScript videos
 * basic HTML & CSS tutorials
 * Google's HTML/CSS/JS videos

Good examples of code to learn from
I talked with Aaron Schulz today and he mentioned that he'd prefer new developers only look at good code when seeking examples to admire and copy.
 * Message.php (well-structured, uses chaining)
 * FileBackend (less great, but good)

Testing
We also need more testers/debuggers. There are very few test wikis (basically only translatewiki.net serves as such!) and the beta cluster is unused. See Project:Test reports. Nemo 09:46, 12 July 2012 (UTC)

Thanks will look into them for sure, Johnsonleecameron (talk) 09:44, 4 July 2016 (UTC)

On learning PHP
Some recommendations I've heard:

One of the classics is the "Luke and Laura" book http://www.amazon.com/PHP-MySQL-Development-Luke-Welling/dp/0672317842 by Laura Thomson & WMF's Luke Welling. It's huge, pricey, but accessible and thorough. If you are a beginner, try one of the O'Reilly learning books, "Learning PHP" or "Learning PHP & MySQL". There's also zend's dev site, with some good articles: http://devzone.zend.com/

There is also a Head First book (from O'Reilly press) about PHP & MySQL.

Lastly, this includes resources and a free quiz: http://www.w3schools.com/php/default.asp Sharihareswara (WMF) (talk) 13:24, 10 February 2013 (UTC)
 * Please do not promote W3Schools; they are perhaps the worst place in the world to learn PHP, as they provide tutorials and example code with significant security vulnerabilities, among many other issues. See, e.g., this example. Note that W3Schools is not affiliated with the W3C, it is a Norwegian company dedicated mostly to selling "certificates" of dubious veracity.
 * The official PHP manual is located here, and the current MySQL APIs are PDO (generally preferred, as it also supports other DBs) and MySQLi. Beware any tutorials or books that still promote the deprecated  functions; these are very old (PHP 2.0, released around 1998 or so), and don't support modern features like parameterized statements, thus many have the same security flaws as W3Schools.--CoJaBo (talk) 16:17, 26 May 2013 (UTC)

MediaWiki-Vagrant
Should we just link directly to MediaWiki-Vagrant, rather than the first three at How to become a MediaWiki hacker? If not that, we may at least want to make a separate Manual:Installing a development environment. A good guide to installing a dev wiki and a good guide to installing a prod wiki would be pretty different. Superm401 - Talk 20:27, 29 October 2013 (UTC)

There are some strange &lt;translate> tags visible.
I think there are some strange &lt;translate> tags visible which start near the "Documention" sub-section until "Appendix" section. Is it normal ? Manta Ray DeeJay (talk) 21:52, 3 June 2016 (UTC)
 * As the page uses, I wonder if https://www.mediawiki.org/w/index.php?title=Annoying_little_bugs&type=revision&diff=2145491&oldid=2145419 triggered this? Could you try reverting and check? --AKlapper (WMF) (talk) 10:57, 7 June 2016 (UTC)
 * In order to transclude the /en subpage to get rid of these tags, Annoying little bugs needs to be marked for translation first. Are you going to do that? --AKlapper (WMF) (talk) 11:16, 7 June 2016 (UTC)
 * I'm not sure all understand what you mean. "Annoying little bugs" is a page that I would like begin to translate. But I don't have admin privileges to do that. Nemo has helped me by leaving some informations on my talk page. But I don't know how to contact a page translation administrator. what is the relationship with "Annoying little bugs" page and the &lt;translate> tags in this page ? Manta Ray DeeJay (talk) 15:41, 13 June 2016 (UTC)
 * ✅ by marking Annoying little bugs for translation and adding #ifexist: Special:Diff/2162778 --Shirayuki (talk) 22:49, 13 June 2016 (UTC)
 * Thanks for your help guys. I think there is a mistake, a translate tag  is below a section instead above (please see  ). The problem is that there is not only the   which is not translatable but also all the following  ) although their associate translate tag is well placed (above). Is it a bug ? Could you correct it ? Manta Ray DeeJay (talk) 21:49, 14 June 2016 (UTC)
 * Should Pywikibot be translatable? See https://www.mediawiki.org/w/index.php?title=Special:Translations&message=Translations%3AManual%3APywikibot%2FPage_display_title --Shirayuki (talk) 10:41, 14 June 2016 (UTC)

Hey
Can some one give me a run down Johnsonleecameron (talk) 09:41, 4 July 2016 (UTC)
 * Hi, do you have a specific question? Glad to help if so! :) --AKlapper (WMF) (talk) 15:11, 4 July 2016 (UTC)