Commit graph

107 commits

Author SHA1 Message Date
Alexandre Emsenhuber
09bb6975c5 Added missing GPLv2 headers in some places.
Also made file/class documentation more consistent.

Change-Id: I1615bf268515ed7169e33173cea6ec30402451dc
2012-05-06 07:50:15 +02:00
Robin Pepermans
9184dc83d6 Update core usage of getLanguageName[s]. 2012-03-08 20:56:26 +00:00
Mark A. Hershberger
7c8d2c9f06 Re r111197 Fix Bug 33691 - PHP Warning on showing Release Notes due to the fact that file does not exist
Patch from moejoe0000
2012-02-10 20:37:21 +00:00
Sam Reed
2ec09c5165 More return documentation 2012-02-09 21:35:05 +00:00
Sam Reed
7b25f8231f Fixing some of the "@return true" or "@return false", need to be "@return bool" and then the metadata can say true if foo, false if bar
Other documentation improvements
2012-02-09 19:30:01 +00:00
Amir E. Aharoni
a69b306674 Showing an error message always left-to-right. 2011-12-05 00:13:06 +00:00
John Du Hart
d0cd28ee7a Followup r103984, take the default for the language dropdown from the URL 2011-11-26 22:50:05 +00:00
John Du Hart
39fb989713 Followup r103814, fixed a few typos and a stray newline 2011-11-23 00:03:42 +00:00
John Du Hart
2ee37f2267 Bug 28296 - Installer should honor &uselang= parameter 2011-11-21 15:30:20 +00:00
Platonides
8ebda3b780 Change <br clear="all/left" to <br style="clear: in inline html.
(Bug 13381) Improve the XHTML strictness
2011-11-20 18:57:59 +00:00
Robin Pepermans
4775997ec4 Make $wgDummyLanguageCodes an associative array so it maps to the correct codes; and use it in WikimediaIncubator to check whether the wiki exists (so e.g. Wx/sgs recognizes that the wiki corresponding to Wx/bat-smg exists). The extension is compatible with the old $wgDummyLanguageCodes array. 2011-11-19 05:18:32 +00:00
Mark A. Hershberger
43b769fe35 re r102027: split up long lines 2011-11-06 21:31:52 +00:00
Mark A. Hershberger
31bb255330 Apply for Bug #31694 -- "During installation, tabbing order (cursor focus) goes to logo instead of 'continue'"
Patch From: Grunny
2011-11-04 18:47:14 +00:00
Sam Reed
856faea6d6 Add documentation
Fix some unused variables, commented some others out
2011-10-18 17:26:09 +00:00
Sam Reed
abe7663d8c Documentation
Swap a lot of "@returns" to "@return"
2011-10-13 18:44:26 +00:00
Brion Vibber
2767e134f4 * (bug 30041) Fix installer cache selection field to keep the selected radio button, initialize the memcached server fold-out correctly when coming back to the page 2011-09-22 00:35:55 +00:00
Brion Vibber
ee8b63310b * (bug 30041) Fix memcached validation in installer to accept resolvable hostnames
'localhost:11211' was rejected because 'localhost' isn't an IP address... however it's a perfectly legit host to connect to. :)

Followup to r82687 which introduced the IP address check.
2011-09-22 00:11:03 +00:00
Robin Pepermans
056628a8a5 (bug 30679) Some installer fields should always be LTR
Patch by Amir E. Aharoni (some whitespace fixes)
2011-09-05 00:56:54 +00:00
Sam Reed
6bc9679307 Update calls to deprecated User::isValidEmailAddr
Fix trailing whitespace

Some minor documentation fixes
2011-06-26 19:16:04 +00:00
Chad Horohoe
852334b736 (bug 29492) Long-running steps in the installer (such as Upgrade and Install) can sometimes timeout 2011-06-21 01:13:45 +00:00
Tim Starling
8371ede86b Fixes for r80864 for 1.18 backport:
* Use camel case in tableName and dbName, dontrunallyourwordstogetherlikethis
* Call the function factory() instead of newFromType(), for consistency with the rest of MediaWiki
2011-06-20 07:00:50 +00:00
Tim Starling
6a2123260b * (bug 28798) Set $wgServer in the default LocalSettings.php
* (bug 14977) When detecting $wgServer, treat IPv6 addresses in $_SERVER['SERVER_NAME'] etc. in a sensible way. 
* Tests for the new functions in IP.php and Installer.php
2011-06-15 07:35:47 +00:00
Tim Starling
b1e8887f68 Maintenance script for exporting the preprocessed wikitext from installer document pages, plus relevant refactoring. For use in updating http://www.mediawiki.org/wiki/Release_notes/1.17 etc. 2011-06-14 03:09:49 +00:00
Krinkle
366e7d9623 Follow-up r89835: Accidently comitted from a deeper dir than the diff. Comitting the rest now 2011-06-10 20:16:42 +00:00
Chad Horohoe
0a12727c8c (bug 29332) don't let install progress if user requests mediawiki-announce subscription but does not enter email. Thanks Sumana :) 2011-06-10 03:27:37 +00:00
Max Semenik
8b12b25902 Follow-up r89254 and r89481: re-did loading extension updates properly, now upgrading extension tables from web interface really works, and without notices 2011-06-05 19:52:03 +00:00
Sam Reed
0d47a2ae90 More parameter documentation!! 2011-05-28 14:52:55 +00:00
Sam Reed
696100b6a9 Remove unused variables/globals
Swap while to foreach
2011-05-26 19:20:35 +00:00
Mark A. Hershberger
a7750c290e Patch for Bug #29040, “Web installer fails to show help boxes”
fix from William Demchick
2011-05-20 23:36:26 +00:00
Max Semenik
01c8ce60c6 Bug 28822 - Upgrade from normal 1.16 wiki to 1.17 fails with fatal error 2011-05-05 08:20:15 +00:00
Sam Reed
f675c6bf05 Documentation 2011-05-02 16:58:29 +00:00
Max Semenik
7966eae6e6 (bug 28237) Installer doesn't create extension tables 2011-03-30 17:32:20 +00:00
Max Semenik
b44e501d55 Tweaks for key generation:
* Don't show that scary message for every key, just once with list of them all
* If we're on Windows, we will probably be unable to open /dev/urandom, right?
* Tweaked the meaning of warning message, previously it sounded a bit like "we couldn't generate the key at all"
2011-03-29 19:00:23 +00:00
Krinkle
5cfed4d7a0 using jQuery hide() and show() instead of accessing the dom element directly from the jQuery object (either use jQuery or dont..). 2011-03-29 18:36:36 +00:00
Chad Horohoe
15aa72fbd7 (bug 26481) $wgUpgradeKey/$wgSecretKey values sometimes not filled - only happened when you upgrade without LocalSettings and tried to create a new one 2011-03-29 17:06:26 +00:00
Brion Vibber
d535508ba7 Further cleanup on installer: fix visibility of CC selector results when returning to the options page. 2011-03-27 20:19:24 +00:00
Brion Vibber
4ac9bc6a0a * (bug 26937) [Installer] Fix for Javascript-opened sections being incorrectly open or closed when returning to page
The sections whose visibility was being controlled by the checkbox had an initial visibility hardcoded in the page output, which had been manually set to match the expected initial default state. I've switched these to instead check what the variable is set to and base the initial style visibility on that.
Could be better to encapsulate these settings together in some way, but this'll do for now.

Note that the way these are all done now means that the sections can never be used when JS is off; if a fully-functional installer is desired in a JS-free environment, it may be necessary to change these further to default to shown, and do the initial hiding in JavaScript (could have 'flashing' issues though: the bits showing up, then quickly hiding. laaame but oh well)
2011-03-27 19:22:14 +00:00
Chad Horohoe
755ca95e50 (bug 26690) Value of the 'Name of wiki' field is not retain after two subsequent click on 'Continue' button. This has been a complaint since the beginning, that the installer "forgets" $wgSitename.
The original intention, as I saw it, was to encourage people from choosing 'MediaWiki' as the name of their wiki. Just hardcode it, I don't think we're changing the name anytime soon.
2011-03-06 19:52:23 +00:00
Chad Horohoe
cd2b5415fd Don't allow user to create a Project namespace that conflicts with existing namespaces 2011-02-28 23:15:14 +00:00
Chad Horohoe
980c3db8a5 Turn hidden help into always-visible info box for user rights info 2011-02-26 13:51:03 +00:00
Chad Horohoe
f7f43c1332 (bug 25855) Installer does not validate Memcached server settings 2011-02-23 17:54:45 +00:00
Max Semenik
82965883a4 Follow-up r82504: use JS redirection only for IE, I don't like how it looks at least in Opera (sometimes images are not loaded) 2011-02-22 17:15:48 +00:00
Max Semenik
06a0fc7e69 Bug 26683: Unable to download index.php from localhost message displayed at complete page in IE7 & IE8 2011-02-20 08:29:25 +00:00
Mark A. Hershberger
b4cee86beb w/s fixups 2011-02-12 04:06:22 +00:00
Chad Horohoe
44a90f9525 Tweak install steps to be on the POST rather than GET. It makes more sense architecturally. It also gives us one last chance for them to say no (in case they clicked "I'm bored already" but changed their minds). Check final step of installer for fatals, and if everything's good, suppress the back button. It's just going to confuse people. And the opposite, suppress continue on fatals...no need pretending things went dandy if they didn't. It's basically now impossible to re-run 'page=Install' after it completes. This is probably a good thing as it throws errors. Coincidentally this also fixes bug 26947. 2011-01-30 18:21:37 +00:00
Chad Horohoe
11b835e541 (bug 26939) $wgMetaNamespace is not being generated 2011-01-28 21:02:36 +00:00
Chad Horohoe
aafed9f146 Minor cleanup, docs 2011-01-28 15:00:18 +00:00
Alexandre Emsenhuber
bc650e89e7 Allow the $result parameter of the isValidPassword hook to be an array if the message requires parameters 2011-01-25 15:36:36 +00:00
Chad Horohoe
b3e99eec5b Followup to r79848 (and really, make it useful...)
Turn DatabaseBase::classFromType() into newFromType() factory function for constructing a new object based on a given type and (optional) params. Documented it fairly clearly.

I think it looks nicer :)
2011-01-24 16:31:36 +00:00
Chad Horohoe
243a43ff1f (bug 26288) $wgDeletedDirectory looks funny on Windows because / should be \ although / is harmless. 2011-01-21 14:37:00 +00:00