lhc/web/wiklou.git
13 years agoAdded 2 more options for mime-type detection. We now detect if the Fileinfo PECL...
Trevor Parscal [Thu, 9 Sep 2010 21:34:44 +0000 (21:34 +0000)]
Added 2 more options for mime-type detection. We now detect if the Fileinfo PECL extension is available and use it (PHP 5.3+ will have this more commonly than older versions), then try and use the now deprecated mime_content_type, and finally resort to inferring the mime-type from the file extension. Also, now if all else fails, we will gracefully degrade functionality by not embedding resources with undeterminable mime-types.

13 years agoRemoved trailing commas mistakenly added in r72682
Trevor Parscal [Thu, 9 Sep 2010 21:04:51 +0000 (21:04 +0000)]
Removed trailing commas mistakenly added in r72682

13 years agoAdded registrations for modules that were present but not registered. Also removed...
Trevor Parscal [Thu, 9 Sep 2010 20:31:19 +0000 (20:31 +0000)]
Added registrations for modules that were present but not registered. Also removed 2 scripts; jquery.browser is being replaced by mediWiki.util.client, and jquery.collapsibleTabs belongs to the Vector/CollapsibleTabs extension.

13 years agoUpdated link to official distribution
Trevor Parscal [Thu, 9 Sep 2010 20:02:37 +0000 (20:02 +0000)]
Updated link to official distribution

13 years agoMoved stand-alone libraries to includes/libs.
Trevor Parscal [Thu, 9 Sep 2010 19:57:11 +0000 (19:57 +0000)]
Moved stand-alone libraries to includes/libs.

13 years agoRemoved depencency on wfProfile*
Trevor Parscal [Thu, 9 Sep 2010 19:54:04 +0000 (19:54 +0000)]
Removed depencency on wfProfile*

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
Raimond Spekking [Thu, 9 Sep 2010 19:53:33 +0000 (19:53 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-09-09 19:30:00 UTC)

13 years agoMoved dependency of $wgUseDataURLs out of CSSMin and into ResourceLoaderModule.
Trevor Parscal [Thu, 9 Sep 2010 19:48:48 +0000 (19:48 +0000)]
Moved dependency of $wgUseDataURLs out of CSSMin and into ResourceLoaderModule.

13 years agoPer bug 22884, using "localhost" probably won't work on Windows. However, it's not...
Chad Horohoe [Thu, 9 Sep 2010 16:48:03 +0000 (16:48 +0000)]
Per bug 22884, using "localhost" probably won't work on Windows. However, it's not a PHP bug, or even really something we should handle. It's up to the person performing the installation to ensure a connection to MySQL exists; we shouldn't presume 127.0.0.1 is a valid replacement in all Windows scenarios. So, we'll update the help info with a friendly suggestion for those who might hit this.

13 years agooutputHandler() isn't static
Chad Horohoe [Thu, 9 Sep 2010 15:37:23 +0000 (15:37 +0000)]
outputHandler() isn't static

13 years agoLocalization update for he.
Rotem Liss [Thu, 9 Sep 2010 14:22:55 +0000 (14:22 +0000)]
Localization update for he.

13 years agoUse key 'savearticle' in 'missingsummary'.
Siebrand Mazeland [Thu, 9 Sep 2010 06:55:19 +0000 (06:55 +0000)]
Use key 'savearticle' in 'missingsummary'.

13 years ago(bug 25102) Image.php throws E_STRICT. Yes, this breaks back-compat, but nothing...
Chad Horohoe [Thu, 9 Sep 2010 00:53:50 +0000 (00:53 +0000)]
(bug 25102) Image.php throws E_STRICT. Yes, this breaks back-compat, but nothing uses this anyway...mark it for removal in 1.18

13 years agoInitialise wgContLang and $wgLang.
Platonides [Wed, 8 Sep 2010 20:38:20 +0000 (20:38 +0000)]
Initialise wgContLang and $wgLang.
Follow up r72566.

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
Raimond Spekking [Wed, 8 Sep 2010 19:49:40 +0000 (19:49 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-09-08 19:30:00 UTC)

13 years agoPass calling function name and patch file from DatabaseBase::sourceFile() to query...
Max Semenik [Wed, 8 Sep 2010 18:11:36 +0000 (18:11 +0000)]
Pass calling function name and patch file from DatabaseBase::sourceFile() to query() to make updater debugging easier

13 years agoUpdate comment in Category.php
Aryeh Gregor [Wed, 8 Sep 2010 18:11:28 +0000 (18:11 +0000)]
Update comment in Category.php

Per code review I gave on r72547.  I'm actually not sure how to rewrite
this so it works with all DBs -- a replace() variant that called
nextSequenceValue() if the row didn't already exist, and reused the
existing id otherwise, would perhaps be ideal.  (Speaking of which,
replace() needs to be properly factored out, with the DBMS-independent
version in DatabaseBase and the MySQL one in DatabaseMysql.)

13 years agoAdd new columns to categorylinks
Greg Sabino Mullane [Wed, 8 Sep 2010 17:51:42 +0000 (17:51 +0000)]
Add new columns to categorylinks

13 years agoMove DatabaseType to Database.php
Aryeh Gregor [Wed, 8 Sep 2010 17:48:11 +0000 (17:48 +0000)]
Move DatabaseType to Database.php

This way the required method names will show up when grepping
Database.php.  I thought we had no affectedRows() method for a minute
there, until G_SabinoMullane corrected me (good thing I think aloud
in #mediawiki).

13 years agoAdded copyright notice and class documentation block.
Trevor Parscal [Wed, 8 Sep 2010 17:38:26 +0000 (17:38 +0000)]
Added copyright notice and class documentation block.

13 years agoFix spelling of max-age in Cache-Control: header. This inconsistency in the HTTP...
Roan Kattouw [Wed, 8 Sep 2010 16:35:20 +0000 (16:35 +0000)]
Fix spelling of max-age in Cache-Control: header. This inconsistency in the HTTP standard is retarded

13 years agoReadd Special:Téléchargement as alias of Special:Upload, as it was in 1.15 (changed...
Platonides [Wed, 8 Sep 2010 14:01:30 +0000 (14:01 +0000)]
Readd Special:Téléchargement as alias of Special:Upload, as it was in 1.15 (changed in r48867).

Reported by Wikimini in http://thread.gmane.org/gmane.org.wikimedia.mediawiki/35212

13 years agoAdd profiler to global scope too
Chad Horohoe [Wed, 8 Sep 2010 11:52:15 +0000 (11:52 +0000)]
Add profiler to global scope too

13 years ago\n at EOF plz
Chad Horohoe [Wed, 8 Sep 2010 11:32:49 +0000 (11:32 +0000)]
\n at EOF plz

13 years agoFollowup r72475: assert that a job has been popped to avoid fatals
Bryan Tong Minh [Wed, 8 Sep 2010 11:25:49 +0000 (11:25 +0000)]
Followup r72475: assert that a job has been popped to avoid fatals

13 years agoAdd a CSS class to the input form
Raimond Spekking [Wed, 8 Sep 2010 11:21:08 +0000 (11:21 +0000)]
Add a CSS class to the input form
And while I am at it: Use more nice Xml/Html functions

13 years ago(bug 25087) Fix fatal in CategoryPage
Chad Horohoe [Wed, 8 Sep 2010 10:41:13 +0000 (10:41 +0000)]
(bug 25087) Fix fatal in CategoryPage

13 years ago* Follow-up r72570: svn eol-style:native
Siebrand Mazeland [Wed, 8 Sep 2010 06:13:16 +0000 (06:13 +0000)]
* Follow-up r72570: svn eol-style:native
* Trimmed trailing spaces

13 years agoAdjustments for new tables.
Greg Sabino Mullane [Wed, 8 Sep 2010 02:04:14 +0000 (02:04 +0000)]
Adjustments for new tables.

13 years agoAdd new tables.
Greg Sabino Mullane [Wed, 8 Sep 2010 02:02:28 +0000 (02:02 +0000)]
Add new tables.

13 years agoAdd quick doc for Postgres
Greg Sabino Mullane [Wed, 8 Sep 2010 01:58:07 +0000 (01:58 +0000)]
Add quick doc for Postgres

13 years agoSplit mediawiki.legacy.shared into mediawiki.legacy.shared and mediawiki.legacy.oldsh...
Trevor Parscal [Wed, 8 Sep 2010 00:04:48 +0000 (00:04 +0000)]
Split mediawiki.legacy.shared into mediawiki.legacy.shared and mediawiki.legacy.oldshared - as it should have been.

13 years agoMerged reorganization work for PHPUnit from branches/phpunit-restructure/
Trevor Parscal [Tue, 7 Sep 2010 23:02:56 +0000 (23:02 +0000)]
Merged reorganization work for PHPUnit from branches/phpunit-restructure/

13 years agoFollow-up r72349. The new makeResourceLoaderLink() doesn't need $wgScriptPath.
Platonides [Tue, 7 Sep 2010 22:55:34 +0000 (22:55 +0000)]
Follow-up r72349. The new makeResourceLoaderLink() doesn't need $wgScriptPath.

I quite agree with the TODO. Moving to ResourceLoader class seems a good idea.

13 years agoFollow-up r72561. Missed language folder.
Platonides [Tue, 7 Sep 2010 22:39:05 +0000 (22:39 +0000)]
Follow-up r72561. Missed language folder.

13 years agoRemove $wgContLanguageCode usage in core.
Platonides [Tue, 7 Sep 2010 22:37:55 +0000 (22:37 +0000)]
Remove $wgContLanguageCode usage in core.

sed -i 's/$wgContLanguageCode/$wgLanguageCode/g'
These are now the same, always. Per and since r15827.

$wgLanguageCode wins due to being the one set by LocalSettings.

$wgContLanguageCode definition at includes/Setup.php kept for now.

13 years agoRenaming phpunit to phpunit.php - this will make it possible to have a phpunit folder...
Trevor Parscal [Tue, 7 Sep 2010 22:32:47 +0000 (22:32 +0000)]
Renaming phpunit to phpunit.php - this will make it possible to have a phpunit folder here, yet doesn't break head.

13 years agofix for Bug 25031, hopefully this doesn't break other things.
Ryan Kaldari [Tue, 7 Sep 2010 21:59:38 +0000 (21:59 +0000)]
fix for Bug 25031, hopefully this doesn't break other things.

13 years agoFixed some doxygen warnings
Alexandre Emsenhuber [Tue, 7 Sep 2010 21:05:09 +0000 (21:05 +0000)]
Fixed some doxygen warnings

13 years agoPer ^demon's comment on r71430: moved doUpgrade() to DatabaseInstaller (did not remov...
Alexandre Emsenhuber [Tue, 7 Sep 2010 20:57:53 +0000 (20:57 +0000)]
Per ^demon's comment on r71430: moved doUpgrade() to DatabaseInstaller (did not remove the stub method in Oracle installer)

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
Raimond Spekking [Tue, 7 Sep 2010 20:50:14 +0000 (20:50 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-09-07 20:20:00 UTC)

13 years agoadded Maintenance::afterFinalSetup() instead of having to define a callback with...
Alexandre Emsenhuber [Tue, 7 Sep 2010 20:45:04 +0000 (20:45 +0000)]
added Maintenance::afterFinalSetup() instead of having to define a callback with MW_CMDLINE_CALLBACK

13 years agoMoved update_row_exists() to install-utils.inc since extensions may use it in LoadExt...
Alexandre Emsenhuber [Tue, 7 Sep 2010 20:42:47 +0000 (20:42 +0000)]
Moved update_row_exists() to install-utils.inc since extensions may use it in LoadExtensionSchemaUpdates hook (such ad CodeReview) and updaters.inc is no more loaded at this time since r72539

13 years agoFollow-up r32085. Delay the transaction begin until after the object is initialized.
Platonides [Tue, 7 Sep 2010 20:11:53 +0000 (20:11 +0000)]
Follow-up r32085. Delay the transaction begin until after the object is initialized.
We would get some queries into the transaction ''sometimes'', depending if it was already initialised or not, and one code path left the transaction open.

13 years agoFollow-up r71641: Fix typo to let linkTrail work
Raimond Spekking [Tue, 7 Sep 2010 18:44:35 +0000 (18:44 +0000)]
Follow-up r71641: Fix typo to let linkTrail work

13 years agoDatabaseSqliteStandalone should ignore $wgDBprefix, too
Max Semenik [Tue, 7 Sep 2010 17:34:42 +0000 (17:34 +0000)]
DatabaseSqliteStandalone should ignore $wgDBprefix, too

13 years ago* do_all_updates() is dead
Chad Horohoe [Tue, 7 Sep 2010 14:33:11 +0000 (14:33 +0000)]
* do_all_updates() is dead
* Less $wgDatabase
* update.php now uses new Maintenance class

13 years agoFollowup r72535, I suppose I shouldn't break the old installer yet
Chad Horohoe [Tue, 7 Sep 2010 12:48:48 +0000 (12:48 +0000)]
Followup r72535, I suppose I shouldn't break the old installer yet

13 years agoMove ora to oracle. Stuff expects these directories to match $wgDBtype
Chad Horohoe [Tue, 7 Sep 2010 12:46:07 +0000 (12:46 +0000)]
Move ora to oracle. Stuff expects these directories to match $wgDBtype

13 years agoPer wikitech-l discussion: it would be nice if the various DBMSs we support kept...
Chad Horohoe [Tue, 7 Sep 2010 12:37:13 +0000 (12:37 +0000)]
Per wikitech-l discussion: it would be nice if the various DBMSs we support kept all of their docs in one place. So make a place and move two already existing READMEs there. Add some info to /docs/database.txt about this as well. Postgres, Oracle, Mssql need to add some info kthnx :)

13 years agoPartial revert r72527, unrelated/unfinished changes
Chad Horohoe [Tue, 7 Sep 2010 11:37:37 +0000 (11:37 +0000)]
Partial revert r72527, unrelated/unfinished changes

13 years agoComment fix
Chad Horohoe [Tue, 7 Sep 2010 11:34:34 +0000 (11:34 +0000)]
Comment fix

13 years agoFixes for r72024:
Tim Starling [Tue, 7 Sep 2010 10:38:19 +0000 (10:38 +0000)]
Fixes for r72024:
* Renamed MediaHandler::verifyFileHook() to verifyUpload() since it isn't a hook and the fact that it operates on files is obvious.
* Separated some concerns by simply passing verifyUpload() function a file path instead of an UploadBase object and MIME type. This simplifies the implementation of subclasses, makes the function accessible to non-UploadBase callers, and avoids breaking the interface constantly due to UploadBase changes.
* Have verifyUpload() return a Status object instead of allowing the idiosyncratic and feature-poor error array convention from UploadBase to infect MediaHandler.

The required update to PagedTiffHandler will be in a subsequent commit.

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
Raimond Spekking [Mon, 6 Sep 2010 19:28:27 +0000 (19:28 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-09-0^6 19:05:00 UTC)

13 years agoRewrite User::getSkin, broken in r49493 because requesting the skin for a particular...
Andrew Garrett [Mon, 6 Sep 2010 12:11:57 +0000 (12:11 +0000)]
Rewrite User::getSkin, broken in r49493 because requesting the skin for a particular title had the side-effect of changing the title associated with the stored Skin object, causing weirdness like the wrong namespace tabs.

13 years agoFollow-up r70137: Made asynchronous upload working a bit more. It now fully works...
Bryan Tong Minh [Mon, 6 Sep 2010 10:18:53 +0000 (10:18 +0000)]
Follow-up r70137: Made asynchronous upload working a bit more. It now fully works from the API; works still needs to be done for the normal UI. PHPUnit tests are updated and should cover most code paths that can be called from the API.

ApiUpload:
* Added "statuskey" parameter; this is the key that is returned by an async upload
* Refactored warnings transformation into its own function
* filename is no longer required on all uploads

UploadFromUrlJob:
* Moved upload results to its own entry in $_SESSION, instead of using the one from upload
* Fix storing in session by calling wfSetupSession and session_write_close where needed

Tests:
* Set $wgUser in ApiSetup, so that individual tests don't have to do this for themselves
* Added tests to cover most code paths from the API
* Fixed UploadFromUrlTestSuite so that its tests are included in a regular phpunit invocation (something strange with the AutoLoader; not sure what)

Other files:
* Allow passing session id to wfSetupSession
* Explicitly close the session before doing jobs, so that jobs can't manipulate the current session

13 years agoFirefox interpretes links starting with // as if they would start with http://. If...
Jens Frank [Sun, 5 Sep 2010 21:54:01 +0000 (21:54 +0000)]
Firefox interpretes links starting with // as if they would start with . If the wiki is installed in /, we get // as path

13 years agoGet rid of Language::usesFirstLettersInLists()
Aryeh Gregor [Sun, 5 Sep 2010 20:43:00 +0000 (20:43 +0000)]
Get rid of Language::usesFirstLettersInLists()

Added by me in r69810, but never used.  It's not clear to me if it's
needed, but if so, it can be re-added later.

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
Raimond Spekking [Sun, 5 Sep 2010 19:25:47 +0000 (19:25 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-09-05 18:56:00 UTC)

13 years agocoding style tweaks
Jack Phoenix [Sun, 5 Sep 2010 18:35:34 +0000 (18:35 +0000)]
coding style tweaks

13 years agotrim trailing spaces
Jack Phoenix [Sun, 5 Sep 2010 18:00:33 +0000 (18:00 +0000)]
trim trailing spaces

13 years agoSuggest running update.php on database error
Aryeh Gregor [Sun, 5 Sep 2010 17:40:47 +0000 (17:40 +0000)]
Suggest running update.php on database error

This is a pretty frequently asked question in #mediawiki -- most
database errors are probably due to not running update.php.

13 years agoLocalization update for he.
Rotem Liss [Sun, 5 Sep 2010 14:42:05 +0000 (14:42 +0000)]
Localization update for he.

13 years agoFixed some doxygen warnings
Alexandre Emsenhuber [Sun, 5 Sep 2010 13:31:34 +0000 (13:31 +0000)]
Fixed some doxygen warnings

13 years ago(bug 24977) Remove the duplicate Access Key to compare selected revision in history
Platonides [Sun, 5 Sep 2010 13:21:04 +0000 (13:21 +0000)]
(bug 24977) Remove the duplicate Access Key to compare selected revision in history

13 years agoMade user global constants class constants so that autoloader magic can be used.
Bryan Tong Minh [Sun, 5 Sep 2010 13:16:23 +0000 (13:16 +0000)]
Made user global constants class constants so that autoloader magic can be used.

13 years ago* Standardised file description headers
Alexandre Emsenhuber [Sun, 5 Sep 2010 13:15:48 +0000 (13:15 +0000)]
* Standardised file description headers
* added @file where needed
* added file description headers where needed

13 years ago* added file description header
Alexandre Emsenhuber [Sun, 5 Sep 2010 10:02:59 +0000 (10:02 +0000)]
* added file description header
* added @ingroup Database

13 years agoRemove usage of deprecated makeKnownLinkObj().
Platonides [Sat, 4 Sep 2010 22:25:59 +0000 (22:25 +0000)]
Remove usage of deprecated makeKnownLinkObj().
Added a parserTest for each call of the old makeKnownLinkObj (and checked that they pass now with linkKnown).

13 years agoFix parsertests after r72349.
Platonides [Sat, 4 Sep 2010 21:44:50 +0000 (21:44 +0000)]
Fix parsertests after r72349.

13 years agoFollow up r72394. Remove global line.
Platonides [Sat, 4 Sep 2010 21:35:23 +0000 (21:35 +0000)]
Follow up r72394. Remove global line.

13 years agoMove dumpInterwiki.inc over dumpInterwiki.php
Platonides [Sat, 4 Sep 2010 21:33:49 +0000 (21:33 +0000)]
Move dumpInterwiki.inc over dumpInterwiki.php

13 years agoConverting dumpInterwiki.php into new Maintenance. In two steps to get better diffs.
Platonides [Sat, 4 Sep 2010 21:32:28 +0000 (21:32 +0000)]
Converting dumpInterwiki.php into new Maintenance. In two steps to get better diffs.
dumpInterwiki.inc is copied from rebuildInterwiki.inc + diverging changes.
Prepare rebuildInterwiki.php to use the specials db list like dumpInterwiki (r19198, bug 3529). We need to somewhere get where are they really hosted.

13 years agoload.php5 support for r72349
Max Semenik [Sat, 4 Sep 2010 19:54:39 +0000 (19:54 +0000)]
load.php5 support for r72349

13 years agoTweaked Rusyn language name per request on TWN
Max Semenik [Sat, 4 Sep 2010 19:20:21 +0000 (19:20 +0000)]
Tweaked Rusyn language name per request on TWN

13 years agoPort rebuildInterwiki to the new Maintenance system.
Platonides [Sat, 4 Sep 2010 19:15:42 +0000 (19:15 +0000)]
Port rebuildInterwiki to the new Maintenance system.

13 years agoFollow up r36814. Make the deprecated function call the non-deprecated one instead...
Platonides [Sat, 4 Sep 2010 18:46:18 +0000 (18:46 +0000)]
Follow up r36814. Make the deprecated function call the non-deprecated one instead of the other way around.

13 years agoMake happy check-vars. This shows it that getQuery() returns an ApiQuery (more specif...
Platonides [Sat, 4 Sep 2010 18:31:37 +0000 (18:31 +0000)]
Make happy check-vars. This shows it that getQuery() returns an ApiQuery (more specifically, that getQuery() doesn't return an article)

13 years ago* added file description headers
Alexandre Emsenhuber [Sat, 4 Sep 2010 18:13:18 +0000 (18:13 +0000)]
* added file description headers
* changed a @ingroup Media to FileRepo

13 years agoFollow-up r72340. Remove functions defined twice.
Platonides [Sat, 4 Sep 2010 15:09:08 +0000 (15:09 +0000)]
Follow-up r72340. Remove functions defined twice.

13 years agoFixed some doxygen warnings
Alexandre Emsenhuber [Sat, 4 Sep 2010 15:08:02 +0000 (15:08 +0000)]
Fixed some doxygen warnings

13 years agoCorrecting "Remember my login on this computer" to "Remember my login in this browser...
Robin Pepermans [Sat, 4 Sep 2010 14:03:19 +0000 (14:03 +0000)]
Correcting "Remember my login on this computer" to "Remember my login in this browser" because it is browser-specific

13 years ago(Bug 20697) - Decrease size (area) of remove.png and add.png for aesthetic reasons
Platonides [Sat, 4 Sep 2010 13:55:13 +0000 (13:55 +0000)]
(Bug 20697) - Decrease size (area) of remove.png and add.png for aesthetic reasons
Follows r56032.

13 years agoMore whitespace updates for files touched in r72342:
Siebrand Mazeland [Sat, 4 Sep 2010 13:48:16 +0000 (13:48 +0000)]
More whitespace updates for files touched in r72342:
* stylize.php run
* code formatting updates
* updated a few comments
* added braces where not used

13 years agoUse canonical class name.
Platonides [Sat, 4 Sep 2010 13:45:14 +0000 (13:45 +0000)]
Use canonical class name.

13 years agoFollow-up r72349.
Platonides [Sat, 4 Sep 2010 13:27:12 +0000 (13:27 +0000)]
Follow-up r72349.
Remove unused globals $wgStylePath, $wgStyleVersion, $wgUser and the no longer used $wgJQueryOnEveryPage.

13 years agoStylize files added in r72349
Siebrand Mazeland [Sat, 4 Sep 2010 12:53:01 +0000 (12:53 +0000)]
Stylize files added in r72349

13 years agoForce User.php include for EDIT_TOKEN_SUFFIX
Platonides [Sat, 4 Sep 2010 11:51:11 +0000 (11:51 +0000)]
Force User.php include for EDIT_TOKEN_SUFFIX

13 years agoBetter solution for r72367, this allows file modules to always be written in ltr...
Trevor Parscal [Sat, 4 Sep 2010 10:53:57 +0000 (10:53 +0000)]
Better solution for r72367, this allows file modules to always be written in ltr, while site modules are written in whatever $wgContLang is.

13 years agoOnly flip CSS if dir is different from $wgContLang
Trevor Parscal [Sat, 4 Sep 2010 10:28:41 +0000 (10:28 +0000)]
Only flip CSS if dir is different from $wgContLang

13 years agoAllow flipping skin output on $wgLang rather than $wgContLang. Resource loader gracef...
Trevor Parscal [Sat, 4 Sep 2010 10:24:23 +0000 (10:24 +0000)]
Allow flipping skin output on $wgLang rather than $wgContLang. Resource loader gracefully flips CSS for us, so this is finally an option.

13 years agoFixes bug introduced r71767 - the stripping of = from the right side of data URLs...
Trevor Parscal [Sat, 4 Sep 2010 10:20:57 +0000 (10:20 +0000)]
Fixes bug introduced r71767 - the stripping of = from the right side of data URLs. Aparently this was misdiagnosed and Firefox was tollerant of it. By removing it, as suggested by Nikerabbit, images are working in Gecko and Webkit.

13 years agoRemoving remnants of merging mistakes. These files are way out of date and not in...
Trevor Parscal [Sat, 4 Sep 2010 10:13:06 +0000 (10:13 +0000)]
Removing remnants of merging mistakes. These files are way out of date and not in use.

13 years agoAnd while I'm a it, moved $wgLivePasswordStrengthChecks with other similar settings
Alexandre Emsenhuber [Sat, 4 Sep 2010 09:50:56 +0000 (09:50 +0000)]
And while I'm a it, moved $wgLivePasswordStrengthChecks with other similar settings

13 years agoTemporarily disable data URL embedding by default until we figure out how to make...
Trevor Parscal [Sat, 4 Sep 2010 09:44:01 +0000 (09:44 +0000)]
Temporarily disable data URL embedding by default until we figure out how to make this work reliably. At least Chrome and possibly Opera were having issues with data URLs.

13 years agoRemoved trailing spaces
Alexandre Emsenhuber [Sat, 4 Sep 2010 09:29:25 +0000 (09:29 +0000)]
Removed trailing spaces

13 years agoDelete resources/mw directory, seems to be a remnant of a botched merge
Trevor Parscal [Sat, 4 Sep 2010 09:01:22 +0000 (09:01 +0000)]
Delete resources/mw directory, seems to be a remnant of a botched merge

13 years agoFix a bug in the resource loader causing it to return no Content-Type header for...
Trevor Parscal [Sat, 4 Sep 2010 08:38:45 +0000 (08:38 +0000)]
Fix a bug in the resource loader causing it to return no Content-Type header for 304s. Firefox doesn't care but Chrome seems to, so we always set the right Content-Type

13 years agoFollowup to r72349: fix database error caused by update.php indirectly (via Localisat...
Trevor Parscal [Sat, 4 Sep 2010 07:54:55 +0000 (07:54 +0000)]
Followup to r72349: fix database error caused by update.php indirectly (via LocalisationCache::recache() and MessageBlobStore::clear()) trying to clear out the msg_resource table before it's even created it.

13 years ago* simplified file description header or load.php
Alexandre Emsenhuber [Sat, 4 Sep 2010 06:46:50 +0000 (06:46 +0000)]
* simplified file description header or load.php
* and while I'm a it: svn:eol-style native (!)