lhc/web/wiklou.git
14 years agoCleanup on ancient JS file that's awful anyway
Aryeh Gregor [Fri, 15 Jan 2010 01:33:32 +0000 (01:33 +0000)]
Cleanup on ancient JS file that's awful anyway

Not only hardcoded browser version checks, but hardcoded browser version
checks *for NN4*.  Probably a waste of time, but oh well.

14 years agoPHP 5.3.2 might not be out until February, by which time a number of distros will...
Tim Starling [Fri, 15 Jan 2010 01:29:55 +0000 (01:29 +0000)]
PHP 5.3.2 might not be out until February, by which time a number of distros will probably be using PHP 5.3.1. Replacing the version number check with a direct bug #50394 check, so that distros or other users can backport the one-line fix without having to upgrade to 5.3.2.

14 years agoMerge all skins' output of opening <body> tag
Aryeh Gregor [Fri, 15 Jan 2010 01:16:52 +0000 (01:16 +0000)]
Merge all skins' output of opening <body> tag

This fixes a few minor discrepancies, like Vector outputting dir=""
(redundant to the one on <html>), and non-Monobook-based skins omitting
the capitalize-all-nouns class (!).  This adds Html::openElement() and
refactors Html::rawElement() accordingly, so I checked that all parser
tests still pass.

I wasn't able to figure out if I broke some feature of right-floating
quickbars in the Standard skin, because I wasn't able to figure out what
the feature was in the first place.  Hopefully either it works, or
nobody cares, or someone else will figure out what it was supposed to
do.  (This is the stuff in getBodyOptions() in Standard.php I deleted;
I'm not sure the addition to sticky.js does what I want.)

14 years agoRemove OutputPage::{get,set}OnloadHandler()
Aryeh Gregor [Fri, 15 Jan 2010 00:55:51 +0000 (00:55 +0000)]
Remove OutputPage::{get,set}OnloadHandler()

Didn't work at all in Monobook, Modern, Vector, or any derived skin, for
who knows how long.  Only one caller, which was using it to autofocus,
which is a bad idea anyway because it will cause the focus to happen too
late, often after the user has already interacted with the page.  Any
legitimate callers may as well just add the onload in pure JS without
adding an attribute to the body.

14 years agoRemove body_onload, was always set false anyway
Aryeh Gregor [Fri, 15 Jan 2010 00:12:39 +0000 (00:12 +0000)]
Remove body_onload, was always set false anyway

14 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
Raimond Spekking [Thu, 14 Jan 2010 20:03:51 +0000 (20:03 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-01-14 20:00 UTC)

14 years ago* (bug 21303) Comments are no longer stripped from MediaWiki:Common.js and skin-speci...
Alexandre Emsenhuber [Thu, 14 Jan 2010 19:39:00 +0000 (19:39 +0000)]
* (bug 21303) Comments are no longer stripped from MediaWiki:Common.js and skin-specific JS pages (those message no longer have their wikitext variables replaced)
* Removed a trailing space in RELEASE-NOTES

14 years ago(bug 19226) First line renders differently on many UI messages
Platonides [Thu, 14 Jan 2010 17:14:49 +0000 (17:14 +0000)]
(bug 19226) First line renders differently on many UI messages
Added newlines before $1 to wrapWikiMsgs of <div>s

Also fixes r61052 utf-8 screw-up on RELEASE-NOTES.

14 years ago(bug 22034) use wfClientAcceptsGzip() in wfGzipHandler instead of reimplementing it.
Platonides [Thu, 14 Jan 2010 16:35:35 +0000 (16:35 +0000)]
(bug 22034) use wfClientAcceptsGzip() in wfGzipHandler instead of reimplementing it.
$wgUseGzip check on wfClientAcceptsGzip() is removed since HTMLFileCache (the only wfClientAcceptsGzip() user) already checked that before calling it. This way, $wgUseGzip stays applying only for file cache, and $wgDisableOutputCompression for  output handler.

14 years agoFix UTF-8 broken on r61052
Platonides [Thu, 14 Jan 2010 16:28:45 +0000 (16:28 +0000)]
Fix UTF-8 broken on r61052

14 years ago* (bug 18765) Increased consistency of bold-italic markup for unbalanced quotes.
Platonides [Thu, 14 Jan 2010 16:18:29 +0000 (16:18 +0000)]
* (bug 18765) Increased consistency of bold-italic markup for unbalanced quotes.
  The representation of six quotes is now improved (changes the meaning of some dubious markup).

14 years agoFixup r61005, seems i failed at applying the patch
Sam Reed [Thu, 14 Jan 2010 10:11:45 +0000 (10:11 +0000)]
Fixup r61005, seems i failed at applying the patch

14 years agofollow up r60832: Remove un-necessary test for stringiness since "" converts it.
Mark A. Hershberger [Thu, 14 Jan 2010 05:02:24 +0000 (05:02 +0000)]
follow up r60832: Remove un-necessary test for stringiness since "" converts it.

14 years agoUpdate global variable settings in preparation for background, async downloads
Mark A. Hershberger [Thu, 14 Jan 2010 04:26:01 +0000 (04:26 +0000)]
Update global variable settings in preparation for background, async downloads

14 years agoUpdate RELEASE-NOTES to match r61037
Aryeh Gregor [Thu, 14 Jan 2010 01:39:03 +0000 (01:39 +0000)]
Update RELEASE-NOTES to match r61037

14 years agofollow up r61026 - use Atom by default
Mark A. Hershberger [Thu, 14 Jan 2010 01:31:38 +0000 (01:31 +0000)]
follow up r61026 - use Atom by default

14 years agofollow up r60999 - remove reference to $wgUseNormalUser
Mark A. Hershberger [Thu, 14 Jan 2010 00:57:59 +0000 (00:57 +0000)]
follow up r60999 - remove reference to $wgUseNormalUser

14 years agoRemoving the gradient from #page-base
Adam Miller [Wed, 13 Jan 2010 23:10:21 +0000 (23:10 +0000)]
Removing the gradient from #page-base

14 years agoOnly advertise RSS feeds by default, not Atom
Aryeh Gregor [Wed, 13 Jan 2010 21:29:47 +0000 (21:29 +0000)]
Only advertise RSS feeds by default, not Atom

Advertising both is pointless, since every feed reader in the universe
supports both.  Their functionality is essentially identical.  And users
might be given a choice of multiple feeds to read when there's really
only one distinct feed.  Plus, it cuts a line from the <head>.  The Atom
feed still exists, and you can get the <head> link back if you really
want it with $wgAdvertisedFeedTypes.

14 years ago* Document a bit
Alexandre Emsenhuber [Wed, 13 Jan 2010 21:25:03 +0000 (21:25 +0000)]
* Document a bit
* Fix some doxygen warnings

14 years agoDon't load nonexistent fix files for non-Monobook
Aryeh Gregor [Wed, 13 Jan 2010 20:39:50 +0000 (20:39 +0000)]
Don't load nonexistent fix files for non-Monobook

Bug 14717.  I just hardcoded "&& skin == 'monobook'" in wikibits.js.  As
far as I know, no other skin actually uses fix files -- Vector, for
instance, just uses selector hacks in main-{ltr,rtl}.css as far as I
know.  Using separate files is arguably a bad idea, because it
gratuitously adds extra loads, encourages style changes to fall out of
sync, etc.  Plus, happily, the era of CSS fixes seems to be drawing to a
close -- Firefox 3.0, IE8, Opera 10, and all Safari and Chrome get by
fine with no fix files for any skin.

14 years ago* (bug 21738) Fix for r57119: OutputPage::setSyndicated() now works again (was breaki...
Alexandre Emsenhuber [Wed, 13 Jan 2010 20:23:14 +0000 (20:23 +0000)]
* (bug 21738) Fix for r57119: OutputPage::setSyndicated() now works again (was breaking Special:RecentChanges' feeds, ...)

14 years agoRefactoring of Article::incViewCount(): use Database::getType() instead of $wgDBtype...
Max Semenik [Wed, 13 Jan 2010 19:45:11 +0000 (19:45 +0000)]
Refactoring of Article::incViewCount(): use Database::getType() instead of $wgDBtype, and lockTables() instead of constructing SQL manually

14 years agoReapply style fixes from r61006 to IEFixes.js
Aryeh Gregor [Wed, 13 Jan 2010 19:42:24 +0000 (19:42 +0000)]
Reapply style fixes from r61006 to IEFixes.js

Also fixes indentation problems that seem to have cropped up somewhere.

14 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
Raimond Spekking [Wed, 13 Jan 2010 19:30:11 +0000 (19:30 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-01-13 19:00 UTC)

14 years agoMake 'start' not required. As requested by ^demon on IRC...
Happy-melon [Wed, 13 Jan 2010 18:28:31 +0000 (18:28 +0000)]
Make 'start' not required.  As requested by ^demon on IRC...

14 years agoKeep IEFixes separate, load conditionally in JS
Aryeh Gregor [Wed, 13 Jan 2010 15:47:36 +0000 (15:47 +0000)]
Keep IEFixes separate, load conditionally in JS

Per Code Review suggestion by Bryan on r60994.  Saves about a kilobyte
for browsers other than IE<7 after gzipping.

14 years agoRelease notes for r61008.
Max Semenik [Wed, 13 Jan 2010 15:33:36 +0000 (15:33 +0000)]
Release notes for r61008.

14 years agoRenamed $wgSearchMySQLTotalHits to $wgCountTotalSearchHits, since such functionality...
Max Semenik [Wed, 13 Jan 2010 15:29:24 +0000 (15:29 +0000)]
Renamed $wgSearchMySQLTotalHits to $wgCountTotalSearchHits, since such functionality also exists in SearchSqlite. No migration needed, as it was added in 1.16.

14 years agoUpload license preview now uses the API instead of action=ajax
Bryan Tong Minh [Wed, 13 Jan 2010 14:28:48 +0000 (14:28 +0000)]
Upload license preview now uses the API instead of action=ajax

14 years agoJavaScript cleanup: add spacing, missing braces, use single quotes instead of double...
Jack Phoenix [Wed, 13 Jan 2010 13:17:19 +0000 (13:17 +0000)]
JavaScript cleanup: add spacing, missing braces, use single quotes instead of double quotes where appropriate and fix some comparisons

14 years ago* (bug 16281) Show copyright system message on special pages
Sam Reed [Wed, 13 Jan 2010 13:14:02 +0000 (13:14 +0000)]
* (bug 16281) Show copyright system message on special pages

Patch by Jools Wills

14 years agoadd in session download script
Mark A. Hershberger [Wed, 13 Jan 2010 04:58:02 +0000 (04:58 +0000)]
add in session download script

14 years agofollow-up r60832: make sure $t always ends up a Title.
Mark A. Hershberger [Wed, 13 Jan 2010 02:41:58 +0000 (02:41 +0000)]
follow-up r60832: make sure $t always ends up a Title.

14 years agoMerge IEFixes.js into wikibits.js
Aryeh Gregor [Tue, 12 Jan 2010 23:36:02 +0000 (23:36 +0000)]
Merge IEFixes.js into wikibits.js

Not actually tested, but it should theoretically work fine.  This
previously wasn't getting loaded for skins other than Monobook, Modern,
and Vector, and each one had separate code to load it.

I also removed <meta http-equiv="imagetoolbar" content="no" />.  This
was added by Gabriel Wicke without explanation as part of the original
davinci.pt back in r2786, in March 2004.  As far as I can tell, it
disables some minor feature of IE6 for some reason.  I assume it can be
removed completely at this point.  If not, it should be readded without
the conditional comment, which is probably unnecessary.

14 years agofollow-up r60986: Revert earlier test change - philip showed me the error of my ways.
Mark A. Hershberger [Tue, 12 Jan 2010 23:05:41 +0000 (23:05 +0000)]
follow-up r60986: Revert earlier test change - philip showed me the error of my ways.

14 years agoPer CR comments on r59593: use binary transparency for texvc by default. My testing...
Tim Starling [Tue, 12 Jan 2010 22:57:04 +0000 (22:57 +0000)]
Per CR comments on r59593: use binary transparency for texvc by default. My testing indicates that it looks OK as long as the background colour is around #ccc or brighter.

14 years agofollow-up r60986. fix for parser test failed.
Philip Tzou [Tue, 12 Jan 2010 22:02:00 +0000 (22:02 +0000)]
follow-up r60986. fix for parser test failed.

14 years agodocument a bit
Alexandre Emsenhuber [Tue, 12 Jan 2010 21:49:47 +0000 (21:49 +0000)]
document a bit

14 years ago1. Add a new feature to LanguageConverter, for supporting nested using of manual...
Philip Tzou [Tue, 12 Jan 2010 20:54:26 +0000 (20:54 +0000)]
1. Add a new feature to LanguageConverter, for supporting nested using of manual convert syntax like "-{-{}-}-".
2. Fixed a little bug find in getURLVariant().

14 years agoFix regression from r60593: The title attribute for links to NS_MEDIA titles no longe...
Bryan Tong Minh [Tue, 12 Jan 2010 19:43:03 +0000 (19:43 +0000)]
Fix regression from r60593: The title attribute for links to NS_MEDIA titles no longer contains the namespace as before.

Passed 559 of 559 tests (100%)... ALL TESTS PASSED!

14 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
Raimond Spekking [Tue, 12 Jan 2010 19:22:39 +0000 (19:22 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-01-12 19:00 UTC)

14 years agoChanneled output support for maintenance scripts.
Niklas Laxström [Tue, 12 Jan 2010 19:06:41 +0000 (19:06 +0000)]
Channeled output support for maintenance scripts.

Channeled output (for the lack of better name) allows outputting stuff into same line, channel, so that each channel change starts a new line.

14 years agofollow up r60961 just test for truth rather than using isset. Found a bug in the...
Mark A. Hershberger [Tue, 12 Jan 2010 18:35:45 +0000 (18:35 +0000)]
follow up r60961 just test for truth rather than using isset.  Found a bug in the process.

14 years agoReversion/followup to r59300 as per Tims comment
Sam Reed [Tue, 12 Jan 2010 07:24:25 +0000 (07:24 +0000)]
Reversion/followup to r59300 as per Tims comment

14 years agoFurther logic cleanup on getPreferredVariant & memoization of functions where possible.
Mark A. Hershberger [Tue, 12 Jan 2010 05:31:46 +0000 (05:31 +0000)]
Further logic cleanup on getPreferredVariant & memoization of functions where possible.

14 years agoReverted r59548 (reopens bug 21086).
Tim Starling [Tue, 12 Jan 2010 05:20:31 +0000 (05:20 +0000)]
Reverted r59548 (reopens bug 21086).

wfWikiID() is used as a way to identify and connect to a given database in LoadBalancer and various extensions, that's why it must contain the database name and table prefix. Perhaps its use as a public identifier should be optional, but in that case the public identifier needs to be customised, not the return value of wfWikiID().

14 years agofollow up r60924 Make sure the test has a unique, descriptive name.
Mark A. Hershberger [Tue, 12 Jan 2010 00:14:08 +0000 (00:14 +0000)]
follow up r60924 Make sure the test has a unique, descriptive name.

14 years agoLocalisation updates for core messages from translatewiki.net
Siebrand Mazeland [Mon, 11 Jan 2010 23:05:02 +0000 (23:05 +0000)]
Localisation updates for core messages from translatewiki.net
* add Capiznon (cps)

14 years agoRefactored duplication into revisionDeleteLink()
Aaron Schulz [Mon, 11 Jan 2010 21:35:31 +0000 (21:35 +0000)]
Refactored duplication into revisionDeleteLink()

14 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
Raimond Spekking [Mon, 11 Jan 2010 19:00:59 +0000 (19:00 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-01-11 18:30 UTC)

14 years agostylize.php on API code
Aryeh Gregor [Mon, 11 Jan 2010 15:55:52 +0000 (15:55 +0000)]
stylize.php on API code

"I wouldn't object to stylizing the API code to bring it in line with
the rest of MW on principle, but I'm not gonna bother myself." --Roan
<http://www.mediawiki.org/wiki/Special:Code/MediaWiki/60657#c5108>

If you're seeing this commit in blames, tell your blame tool to ignore
whitespace, e.g., git blame -w or svn blame -x -w.

14 years agoFollow-up r60927: Change message names in maintenance/language/messageTypes.inc too
Raimond Spekking [Mon, 11 Jan 2010 12:56:14 +0000 (12:56 +0000)]
Follow-up r60927: Change message names in maintenance/language/messageTypes.inc too

14 years agoFollowup r58980: Moved logic for addsection-editintro/preload from SkinTemplate to...
Bryan Tong Minh [Mon, 11 Jan 2010 11:47:50 +0000 (11:47 +0000)]
Followup r58980: Moved logic for addsection-editintro/preload from SkinTemplate to EditPage.

Message names changed from talk-addsection-* to addsection-*.
Messages now contain the preload/editnotice themselves instead of the title of the page that contains them.

14 years agoUpdate the Chinese conversion tables.
Philip Tzou [Mon, 11 Jan 2010 08:01:56 +0000 (08:01 +0000)]
Update the Chinese conversion tables.

14 years agoAdd test for bug where variant was persisting when it shouldn't
Mark A. Hershberger [Mon, 11 Jan 2010 06:17:50 +0000 (06:17 +0000)]
Add test for bug where variant was persisting when it shouldn't

14 years agocleaned up getPreferredVariant() (MUCH easier to follow the logic), found a bug or two
Mark A. Hershberger [Mon, 11 Jan 2010 05:53:39 +0000 (05:53 +0000)]
cleaned up getPreferredVariant() (MUCH easier to follow the logic), found a bug or two

14 years agotrailing whitespace fixup before I fix(??) a bug.
Mark A. Hershberger [Mon, 11 Jan 2010 04:23:41 +0000 (04:23 +0000)]
trailing whitespace fixup before I fix(??) a bug.

14 years agoI was wrong on the last item: no bug. But the two above do demonstrate a bug.
Mark A. Hershberger [Mon, 11 Jan 2010 04:15:16 +0000 (04:15 +0000)]
I was wrong on the last item: no bug.  But the two above do demonstrate a bug.

14 years agofollow up r60916 - Use getType instead of instanceOf as suggested by Simetrical
Mark A. Hershberger [Mon, 11 Jan 2010 04:00:03 +0000 (04:00 +0000)]
follow up r60916 - Use getType instead of instanceOf as suggested by Simetrical

14 years agoMake tests work, note skipped tests, update autoloader for FakeMemcachedClient, take...
Mark A. Hershberger [Mon, 11 Jan 2010 03:47:04 +0000 (03:47 +0000)]
Make tests work, note skipped tests, update autoloader for FakeMemcachedClient, take care of strange variable scoping issues in autoloaded Namespace.php.

14 years agofix up db tests so they work withs DBs besides just MySQL. Make tests run under...
Mark A. Hershberger [Mon, 11 Jan 2010 02:49:02 +0000 (02:49 +0000)]
fix up db tests so they work withs DBs besides just MySQL.  Make tests run under E_STRICT.

14 years agoRemove code commented out by r58597
Tim Starling [Mon, 11 Jan 2010 00:55:21 +0000 (00:55 +0000)]
Remove code commented out by r58597

14 years agoUse string interpolation, not .
Aryeh Gregor [Sun, 10 Jan 2010 23:24:47 +0000 (23:24 +0000)]
Use string interpolation, not .

Prompted by r60731, although that didn't actually add the concatenation
(which should have had more spaces, too).

14 years ago* Added new doxygen group "ExternalUser"
Alexandre Emsenhuber [Sun, 10 Jan 2010 21:39:47 +0000 (21:39 +0000)]
* Added new doxygen group "ExternalUser"
* Fixed some doxygen warnings

14 years agoLocalization update for he, and whitespace fix in en.
Rotem Liss [Sun, 10 Jan 2010 20:36:07 +0000 (20:36 +0000)]
Localization update for he, and whitespace fix in en.

14 years agocleanup to wikibits.js with the help of JSLint. added missing braces, some spacing...
Jack Phoenix [Sun, 10 Jan 2010 20:23:48 +0000 (20:23 +0000)]
cleanup to wikibits.js with the help of JSLint. added missing braces, some spacing, changed double quotes to single in some places, added missing semicolons and fixed some comparisons

14 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
Raimond Spekking [Sun, 10 Jan 2010 19:10:58 +0000 (19:10 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-01-10 18:30 UTC)

14 years ago__FUNCTION__ -> __METHOD__
Alexandre Emsenhuber [Sun, 10 Jan 2010 18:36:26 +0000 (18:36 +0000)]
__FUNCTION__ -> __METHOD__

14 years agoWorkaround for SQLite's inability to perform multi-row replacements
Max Semenik [Sun, 10 Jan 2010 17:27:46 +0000 (17:27 +0000)]
Workaround for SQLite's inability to perform multi-row replacements

14 years ago(bug 22053) Update date formatting for Tatar (tt-latn and tt-cyrl)
Siebrand Mazeland [Sun, 10 Jan 2010 13:43:00 +0000 (13:43 +0000)]
(bug 22053) Update date formatting for Tatar (tt-latn and tt-cyrl)

14 years ago* Send new password e-mail in users preference language
Raimond Spekking [Sun, 10 Jan 2010 10:40:12 +0000 (10:40 +0000)]
* Send new password e-mail in users preference language

14 years agoAdd $wgExtensionAssetsPath, to decouple js/css/etc serving from $wgScriptPath
Domas Mituzas [Sun, 10 Jan 2010 10:19:25 +0000 (10:19 +0000)]
Add $wgExtensionAssetsPath, to decouple js/css/etc serving from $wgScriptPath

14 years agoCleared SearchSqlite from some mysqlisms from r58322
Max Semenik [Sun, 10 Jan 2010 10:02:55 +0000 (10:02 +0000)]
Cleared SearchSqlite from some mysqlisms from r58322

14 years agoLocalisation updates Cantonese, Chinese and Literary Chinese
Shinjiman [Sun, 10 Jan 2010 00:32:50 +0000 (00:32 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese

14 years ago* Document a bit
Alexandre Emsenhuber [Sat, 9 Jan 2010 21:59:40 +0000 (21:59 +0000)]
* Document a bit
* Add new doxygen group "Feed"
* Fix some doxygen warnings

14 years agoUpdate for r60876
Aaron Schulz [Sat, 9 Jan 2010 20:19:56 +0000 (20:19 +0000)]
Update for r60876

14 years agobug 21411 'Add a new message rev-suppressed-no-diff for diff without entry in public...
Aaron Schulz [Sat, 9 Jan 2010 20:18:41 +0000 (20:18 +0000)]
bug 21411 'Add a new message rev-suppressed-no-diff for diff without entry in public log'

14 years agoFix use of an array for no apparent reason.
Bryan Tong Minh [Sat, 9 Jan 2010 20:17:54 +0000 (20:17 +0000)]
Fix use of an array for no apparent reason.
SpecialUpload::getExistsWarning now no longer encapsulates its results in <li>
Further minor cleanup

14 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
Raimond Spekking [Sat, 9 Jan 2010 19:27:24 +0000 (19:27 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-01-09 19:00 UTC)

14 years agoRevert 60864: "Use wfClientAcceptsGzip() in wfGzipHandler." Causes PHP Notice: Undef...
Siebrand Mazeland [Sat, 9 Jan 2010 19:14:43 +0000 (19:14 +0000)]
Revert 60864: "Use wfClientAcceptsGzip() in wfGzipHandler." Causes PHP Notice:  Undefined index:  HTTP_ACCEPT_ENCODING in GlobalFunctions.php on line 1175

14 years ago(bug 22034) Use wfClientAcceptsGzip() in wfGzipHandler. Patch by Platonides.
Siebrand Mazeland [Sat, 9 Jan 2010 18:10:11 +0000 (18:10 +0000)]
(bug 22034) Use wfClientAcceptsGzip() in wfGzipHandler. Patch by Platonides.

wfGzipHandler should use wfClientAcceptsGzip() instead of reimplementing it. Patch does this and removes the $wgUseGzip check on wfClientAcceptsGzip() since HTMLFileCache (the only wfClientAcceptsGzip() user) already checked that before calling it. This way $wgUseGzip stays applying only for file cache, and $wgDisableOutputCompression for output handler.

14 years ago* (bug 9794) User rights log entries for foreign user now links to the foreign user...
Alexandre Emsenhuber [Sat, 9 Jan 2010 15:23:27 +0000 (15:23 +0000)]
* (bug 9794) User rights log entries for foreign user now links to the foreign user's page if possible

14 years agoSeverely refactored the SearchResultSet descendants system, consolidating most od...
Max Semenik [Sat, 9 Jan 2010 14:30:55 +0000 (14:30 +0000)]
Severely refactored the SearchResultSet descendants system, consolidating most od the code into one class. Ping r58322.

14 years ago* removed jquery.ui stuff from "core" moved into the base_sets of UsabilityInitiative
Michael Dale [Fri, 8 Jan 2010 23:13:51 +0000 (23:13 +0000)]
* removed jquery.ui stuff from "core" moved into the base_sets of UsabilityInitiative
* "core scripts" of mwEmbed do not include jquery ui
* So jquery.ui should be stored in a local extension folder until we merge in "js2" ( which includes jquery.ui )

* sill need to commit updated min files *

14 years ago* renamed mw.addOnloadHook to mw.ready
Michael Dale [Fri, 8 Jan 2010 22:46:11 +0000 (22:46 +0000)]
* renamed mw.addOnloadHook to mw.ready
** more consistent with mwEmbed 'extending' jquery conventions

14 years ago* Document a bit
Alexandre Emsenhuber [Fri, 8 Jan 2010 21:35:25 +0000 (21:35 +0000)]
* Document a bit
* Fix some doxygen warnings

14 years ago* (bug 22051) Returing false in SpecialContributionsBeforeMainOutput hook now stops...
Alexandre Emsenhuber [Fri, 8 Jan 2010 21:00:39 +0000 (21:00 +0000)]
* (bug 22051) Returing false in SpecialContributionsBeforeMainOutput hook now stops normal output
And while I was at it:
* SpecialContributionsBeforeMainOutput was broken (throwing call_user_func_array() expects parameter 2 to be an array, NULL/integer given) since $id was not passed in array()
* Removed some trailing whitespaces in RELEASE-NOTES

14 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
Raimond Spekking [Fri, 8 Jan 2010 16:34:34 +0000 (16:34 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-01-08 16:00 UTC)

14 years agofollow-up 60833
Mark A. Hershberger [Fri, 8 Jan 2010 08:55:00 +0000 (08:55 +0000)]
follow-up 60833
because I'm an idiot.

14 years agofollow up r60829
Mark A. Hershberger [Fri, 8 Jan 2010 08:49:01 +0000 (08:49 +0000)]
follow up r60829
Gah — really need to get E_STRICT working in my test environment.

14 years agofollow up r60763
Mark A. Hershberger [Fri, 8 Jan 2010 08:22:19 +0000 (08:22 +0000)]
follow up r60763
Recover the -{T| }- rule.  Add the ability to test for it to the parserTests and add a test for it.  Add a couple of disabled tests that I think demonstrate bugs in the LanguageTranslator

14 years agoEscaped Oracle Text reserved words
Jure Kajzer [Fri, 8 Jan 2010 07:52:51 +0000 (07:52 +0000)]
Escaped Oracle Text reserved words

14 years agoPrevented delete call in replace function if conditions empty. Removed some old comme...
Jure Kajzer [Fri, 8 Jan 2010 07:23:43 +0000 (07:23 +0000)]
Prevented delete call in replace function if conditions empty. Removed some old commented code.

14 years agoFollow up r60798 & r60785
Mark A. Hershberger [Fri, 8 Jan 2010 03:34:04 +0000 (03:34 +0000)]
Follow up r60798 & r60785
Re-introduce specialpageattributes and add an explanation in the comments why it should be different than userlangattributes.  Also add comments explaining exactly what is going with the special attributes and why.  Clean up warnings.

14 years agoBlacklist PHP 5.3.1 due to __call() regression.
Tim Starling [Fri, 8 Jan 2010 02:08:28 +0000 (02:08 +0000)]
Blacklist PHP 5.3.1 due to __call() regression.

14 years ago* Fixed the issue of all date functions throwing E_STRICT on their first call due...
Tim Starling [Fri, 8 Jan 2010 01:48:53 +0000 (01:48 +0000)]
* Fixed the issue of all date functions throwing E_STRICT on their first call due to the default timezone not being set. Used the same approach as phpMyAdmin: utilise PHP's server timezone detection code (which unconditionally throws E_STRICT) with warnings disabled, and store the result with date_default_timezone_set() to avoid future notices. Avoids the need for warning suppression to be dotted all over the codebase, like r58559.
* (bug 2658) Don't use the TZ environment variable at all. Setting it throws an error in some restricted setups. But using it in PHP 5.1+ doesn't make sense anyway, since you'll get the E_STRICT notice described above whenever PHP tries to access it, because Derick hates environment variables. Use date_default_timezone_set().
* If $wgLocaltimezone is null, use the server's timezone as the default for signatures. This was always the behaviour documented in DefaultSettings.php but has not been the actual behaviour for some time: instead, UTC was used by default.

14 years ago$fname -> __METHOD__
Chad Horohoe [Fri, 8 Jan 2010 01:39:14 +0000 (01:39 +0000)]
$fname -> __METHOD__

14 years agoFor r60757: implement Database::getType() explicitly in each subclass, to make Roan...
Tim Starling [Fri, 8 Jan 2010 00:31:24 +0000 (00:31 +0000)]
For r60757: implement Database::getType() explicitly in each subclass, to make Roan happy.

14 years agoReverted r58313, pointless, does not fix the bug.
Tim Starling [Thu, 7 Jan 2010 23:36:08 +0000 (23:36 +0000)]
Reverted r58313, pointless, does not fix the bug.