Commit graph

781 commits

Author SHA1 Message Date
Tim Starling
b13d5ca6f5 (bug 28590) Temporary revert of r86186, r86187, r86227, r86276: caused instant breakage of Wikimedia websites via LocalisationUpdate due to the introduction of the recentchanges-summary message. 2011-04-18 08:42:59 +00:00
Raimond Spekking
c646610560 Localisation updates for core and extension messages from translatewiki.net (2011-04-17 19:30:00 UTC) 2011-04-17 19:56:58 +00:00
Sam Reed
64d8ac24a6 Fix $row = $row = $.... and unused variable from r85885 2011-04-16 11:22:14 +00:00
Raimond Spekking
65bc5c6bb1 Localisation updates for core and extension messages from translatewiki.net (2011-04-15 19:40:00 UTC) 2011-04-15 20:02:58 +00:00
Leons Petrazickis
11b4b4bd60 Followup r85885: Better error message for an insufficient pagesize in a DB2 database. 2011-04-14 20:03:37 +00:00
Raimond Spekking
a77851ca77 Localisation updates for ToolserverI18N messages from translatewiki.net (2011-04-14 19:30:00 UTC) 2011-04-14 19:49:05 +00:00
Raimond Spekking
fea7a55148 Localisation updates for core and extension messages from translatewiki.net (2011-04-13 19:20:00 UTC) 2011-04-13 20:02:04 +00:00
Raimond Spekking
a81b8dcc65 Localisation updates for core and extension messages from translatewiki.net (2011-04-12 19:00:00 UTC) 2011-04-12 19:17:37 +00:00
Leons Petrazickis
92966e803f Addressing comments by Krinkle on r85885. Removing commented-out code. Verified that there is no more of it. 2011-04-12 17:18:35 +00:00
Siebrand Mazeland
ded20c2816 Fix typo in r85885. 2011-04-12 17:08:59 +00:00
Leons Petrazickis
ca5c9bbb93 Addressing comment by IAlex. Setting svn:eol-style to native and removing ?> from end of file. 2011-04-12 17:07:01 +00:00
Leons Petrazickis
491259a9b2 Fixes to DB2 support. DB2 support integration with 1.17 Installer and Updater. Developed by Andre, Tiago, Diego, and Cesar as described in wikitech-l message. Reviewed by me. 2011-04-12 16:35:41 +00:00
Raimond Spekking
b0f6595ce4 Localisation updates for core and extension messages from translatewiki.net (2011-04-11 18:35:00 UTC) 2011-04-11 19:18:59 +00:00
Max Semenik
c2f49a75f2 Bug 28478: database error in DatabaseSqlite::getFulltextSearchModule().
It was caused by a weird bug in SQLite: virtual table using a non-existent module still gets created somehow, and it is completely undeletable.
2011-04-11 17:16:41 +00:00
Platonides
d12804ca40 Remove double ; from r84971
Make explicit that the previous values of $wgAutoloadClasses are not preserved and make happy the 'unused global' detector.
2011-04-10 15:54:11 +00:00
Brion Vibber
ff0524b3bc Initial stab at breaking math/texvc out to Math extension.
* (bug 14202) $wgUseTeX has been superseded by the Math extension. To re-enable
  math conversion after upgrading, obtain the Math extension from SVN or from
  http://www.mediawiki.org/wiki/Extension:Math and add to LocalSettings.php:
  require_once "$IP/extensions/Math/Math.php";

This is an initial stab, and a few things remain to be cleaned up:
* messages need to be moved from core to extension
* MW_MATH_* constants should be moved to the extension from core
* old back-compat math names interfaces using those constants should be removed from message files
* classic edit toolbar's math button should be added from the extension (or else dropped) -- currently there's not a clean hook, but could do it by JS
* couple of things like the 'armourMath' function on Language & LanguageConverter may want to be redone just as an unconditional, if that's simpler.

Setting $wgUseTeX alone will no longer have any affect. The var's still there for the moment as a few bits still need to be fully moved out from core.
2011-04-09 00:39:40 +00:00
Raimond Spekking
c06d6b3bd3 Localisation updates for core and extension messages from translatewiki.net (2011-04-07 19:58:00 UTC) 2011-04-07 20:18:13 +00:00
Raimond Spekking
107314d651 Localisation updates for core and extension messages from translatewiki.net (2011-04-06 19:28:00 UTC) 2011-04-06 19:50:00 +00:00
Raimond Spekking
a43b0dbe84 Localisation updates for core and extension messages from translatewiki.net (2011-04-05 20:23:00 UTC) 2011-04-05 20:55:44 +00:00
Raimond Spekking
afd0bdbe3e Localisation updates for core and extension messages from translatewiki.net (2011-04-04 12:51:00 UTC) 2011-04-04 13:21:39 +00:00
Tim Starling
7bb50c630a The beginnings of HipHop compiled mode support. It works now for parser cache hits.
* Work around HipHop issue 314 (volatile broken) and issue 308 (no compilation detection) by adding some large and ugly compilation detection code to WebStart.php and doMaintenance.php.
* Provide an MW_COMPILED constant which can be used to detect compiled mode throughout the codebase.
* Introduced wfIsHipHop(), which detects either compiled or interpreted mode. Used this to work around unusual eval() return value in eval.php.
* Work around lack of ini_get() in Maintenance.php, by duplicating wfIsHipHop(). 
* In Maintenance::shouldExecute(), accept "include" as an inclusion function name, since all kinds of inclusion give this string in HipHop.
* Introduced new class MWInit, which provides some static functions in the pre-autoloader environment.
* Introduced MWInit::compiledPath(), which provides a relative path for invoking a compiled file, and MWInit::interpretedPath(), which provides an absolute path for interpreting a PHP file. Used these new functions in the appropriate places.
* When we are running compiled code, don't include files which would generate duplicate class, function or constant definitions. Documented the new requirements on the contents of Defines.php and UtfNormalDefines.php.
* In HipHop compiled mode, it's not possible to have executable code in the same file as a class definition. 
  ** Moved MimeMagic initialisation to the constructor.
  ** Moved Namespace.php global variable initialisation to Setup.php.
  ** Moved MemcachedSessions.php initialisation to the caller in GlobalFunctions.php.
  ** Moved Sanitizer.php constants and global variables to static class members. Introduced an accessor function for the attribs regex, as a new place to put code formerly at file level. 
  ** Moved Language.php initialisation of $wgLanguageNames to Language::getLanguageNames(). Removed the global variable, marked "private" since forever.

* In two places: don't use error_log() with type=3 to append to a file, HipHop doesn't support it. Use file_put_contents() with FILE_APPEND instead.
* Work around the terrible breakage of class_exists() by using MWInit::classExists() instead in various places. In WebInstaller::getPageByName(), the class_exists() was marked with a fixme comment already, so I replaced it with an autoloader solution.
2011-04-04 12:59:55 +00:00
Max Semenik
82b0358137 Cleaned up the mess of message text being passed instead of keys to wfMsg() and friends by CLI installer. No surprise we had to remove angle brackets from the resulting output 2011-04-02 07:34:07 +00:00
Raimond Spekking
72aec9cc8f Localisation updates for core and extension messages from translatewiki.net (2011-04-01 20:38:00 UTC) 2011-04-01 20:53:41 +00:00
Niklas Laxström
852eed3989 Reword this message per IRC cabbage 2011-04-01 19:30:08 +00:00
Max Semenik
361d6d7081 We developers are so elitist, running shiny machines with all PHP extensions in the world installed, that we couldn't notice that "no scaler found" message didn't work from the beginning! :P 2011-04-01 18:24:37 +00:00
Raimond Spekking
7a65e349f9 Localisation updates for core and extension messages from translatewiki.net (2011-03-31 19:24:00 UTC) 2011-03-31 19:42:16 +00:00
Max Semenik
82c8421f7b Follow-up r85021: fix comment 2011-03-31 14:11:42 +00:00
Siebrand Mazeland
bace10c55b Fix grammar for singular. Spotted by McDutchie. 2011-03-31 07:12:16 +00:00
Raimond Spekking
6049809416 Localisation updates for core and extension messages from translatewiki.net (2011-03-30 19:35:00 UTC) 2011-03-30 20:03:22 +00:00
Max Semenik
7966eae6e6 (bug 28237) Installer doesn't create extension tables 2011-03-30 17:32:20 +00:00
Raimond Spekking
abac725359 Localisation updates for core and extension messages from translatewiki.net (2011-03-29 20:00:00 UTC) 2011-03-29 20:19:59 +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
Chad Horohoe
694a67881e Place a warning about Postgres, since we haven't quite ironed out the final problems 2011-03-29 18:47:35 +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
dba97b3e91 minor cleanup 2011-03-29 17:34:00 +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
Purodha B Blissenbach
7f18e71296 Acknowledge that the e-mail address of the initial wiki sysop is optional. 2011-03-28 22:02:23 +00:00
Raimond Spekking
31d4fa791e Localisation updates for core and extension messages from translatewiki.net (2011-03-27 20:06:00 UTC) 2011-03-28 20:30:46 +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
d3005cfbd5 * (bug 27170) [Installer] Install now completes when choosing a CC license with the picker
There were two things breaking this:
* X-Frame-Options forbade our final step of the license selector, or the license selection shower, from being loaded properly. This lead to it looking wrong.
* The installation URL fingerprinting broke on the long query string that's on the final step. As a result, the user's selection got saved into a different session subkey, thinking it belonged to a different installation. It would then not get seen by the surrounding page's installer instance, causing the confusion.

Fix removes the X-Frame-Options for the CC bit, and drops query strings before the rest of URL normalization in the fingerprint check so the CC bits now see the same session key as the rest.
2011-03-27 20:13:30 +00:00
Raimond Spekking
30e642af8d Localisation updates for core and extension messages from translatewiki.net (2011-03-27 19:42:00 UTC) 2011-03-27 20:12:23 +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
Raimond Spekking
d88d1d748c Localisation updates for core and extension messages from translatewiki.net (2011-03-26 20:26:00 UTC) 2011-03-26 20:55:47 +00:00
Raimond Spekking
2820b3df0f Localisation updates for core and extension messages from translatewiki.net (2011-03-25 20:39:00 UTC) 2011-03-25 21:11:43 +00:00
Chad Horohoe
0678de8be4 Partial revert r78593 (adding --upgrade option to install.php). Rather than supporting the added complexity in the installer, just bail and tell them to run update.php, since they obviously have command line access :) 2011-03-25 19:06:24 +00:00
Max Semenik
27c4fa3ae0 (bug 27171) Incorrect error message during extension installation. lol @ PHP's scope rules 2011-03-25 18:24:58 +00:00
Platonides
b37e81b76b Use class name Html in canonical form.
Removed unused globals $wgHooks, $wgBlockAllowsUTEdit, $wgUser, $wgOut
$wgUser was already set global at function beginning.
Moved global out of switch
2011-03-24 21:35:14 +00:00
Raimond Spekking
450ab1987d Localisation updates for core and extension messages from translatewiki.net (2011-03-24 20:39:00 UTC) 2011-03-24 21:05:31 +00:00
Raimond Spekking
512f3929ec Localisation updates for core and extension messages from translatewiki.net (2011-03-23 21:48:00 UTC) 2011-03-23 21:58:41 +00:00
Raimond Spekking
a0ef010fe1 Localisation updates for core and extension messages from translatewiki.net (2011-03-22 19:57:00 UTC) 2011-03-22 20:33:52 +00:00