lhc/web/wiklou.git
13 years agoFollowup r71831, it's not mutually exclusive!
Sam Reed [Sat, 28 Aug 2010 00:54:16 +0000 (00:54 +0000)]
Followup r71831, it's not mutually exclusive!

Add missing if

13 years agoCouple more userid properties for Bug 19195
Sam Reed [Sat, 28 Aug 2010 00:52:38 +0000 (00:52 +0000)]
Couple more userid properties for Bug 19195

13 years agoPart of Bug 19195 - Make user IDs more readily available with the API
Sam Reed [Sat, 28 Aug 2010 00:37:48 +0000 (00:37 +0000)]
Part of Bug 19195 - Make user IDs more readily available with the API

ApiQueryAllUsers, ApiQueryImageInfo and ApiQueryRevisions exposing user_id

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
Raimond Spekking [Fri, 27 Aug 2010 20:59:18 +0000 (20:59 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-08-27 20:38:00 UTC)

13 years agoMake a bunch of incompatible changes to the PoolCounter.
Platonides [Fri, 27 Aug 2010 20:57:32 +0000 (20:57 +0000)]
Make a bunch of incompatible changes to the PoolCounter.
It wasn't finished, so it's not a big deal.

* Use the term workers instead of threads, which fits better for a multiserver setup.
* The API is now more accurate for our goals (I hope).
* Add support for using the parse from another worker.
* Use child classes instead of array callbacks.
* The daemon is written in C using libevent instead of python using twistd.
* The hash function used is that of Bob Jenkins, with files hash.c and hash.h directly copied from memcached 1.4.5
* Although similar in a few aspects to memcached assoc.c hash table, this is a different hash table implementation. Most important:
** The usage of a double linked list in the hash table.
** Growing is not performed using a maintenance thread. Since the entries are shortlived, it just waits for the old hash table to disappear.
* Note: valgrind 3.5.0 (2009-8-19) does not support accept4 (added in r10955, 2009-11-25). In the meantime you need to use HAVE_ACCEPT4=0 for running with valgrind (as you would need for a non-linux system).
* Sending SIGUSR1 to the daemon gracefully restarts it. The maximum limits will be doubled until the old instance finishes (ie. all its client connections expire).
* Do not try to test it with instances calling an ?action=purge They will serialize on the "UPDATE  `page` SET page_touched" query instead of being serialized by the PoolCounter.
* The workers parameter is not stored by the poolcounter. It is expected that all requests with the same key will also have the same value. A reduction in new entries will not take effect if that number is working (not even when they end, if there are waiting entries). But an increase will increase throughput even for old queued requests.

13 years agoRemove old var_dump
Platonides [Fri, 27 Aug 2010 17:55:20 +0000 (17:55 +0000)]
Remove old var_dump

13 years agoRevert insertOrUpdate work
Sam Reed [Fri, 27 Aug 2010 17:35:07 +0000 (17:35 +0000)]
Revert insertOrUpdate work

Will mark relevant revisions as reverted on CR as appropriate

13 years agoStyle fixes for r71609 and follow-ups
Aryeh Gregor [Fri, 27 Aug 2010 16:42:18 +0000 (16:42 +0000)]
Style fixes for r71609 and follow-ups

Avoid one-letter variable names, be descriptive.  Name an unused value
variable in foreach "$unused".  Add spaces where needed.  Wrap comments
at 79 columns, not some arbitrarily-selected number.  Remove blank line.

13 years agoStart of verbose option, fix url option
Mark A. Hershberger [Fri, 27 Aug 2010 01:38:09 +0000 (01:38 +0000)]
Start of verbose option, fix url option

13 years agoMight not be GPLv2
Chad Horohoe [Fri, 27 Aug 2010 00:08:04 +0000 (00:08 +0000)]
Might not be GPLv2

13 years agoMove ApiFormatYaml_spyc.php to spyc.php as per r71763
Sam Reed [Thu, 26 Aug 2010 23:37:59 +0000 (23:37 +0000)]
Move ApiFormatYaml_spyc.php to spyc.php as per r71763

13 years agoCopy paste fail
Chad Horohoe [Thu, 26 Aug 2010 23:31:00 +0000 (23:31 +0000)]
Copy paste fail

13 years agoPer wikitech-l discussion, it would be kind of cool if we collected our non-MediaWiki...
Chad Horohoe [Thu, 26 Aug 2010 23:22:17 +0000 (23:22 +0000)]
Per wikitech-l discussion, it would be kind of cool if we collected our non-MediaWiki-specific classes in one location to encourage reuse. So I moved IEContentAnalyzer to includes/libs and put a README for 3rd party users. Code that goes in includes/libs should call ZERO MediaWiki code. This means no wfProfileIn, no globals, nada

13 years agoMove all abstract stuff that DatabaseBase children must implement to new interface...
Chad Horohoe [Thu, 26 Aug 2010 23:10:11 +0000 (23:10 +0000)]
Move all abstract stuff that DatabaseBase children must implement to new interface DatabaseType. Puts all of the 'must implement' things in one place. Also lets me use abstract statics, as a workaround for r71441

13 years agoDoc fix
Chad Horohoe [Thu, 26 Aug 2010 22:39:14 +0000 (22:39 +0000)]
Doc fix

13 years agoDrop $options from insertOrUpdate - r71662
Sam Reed [Thu, 26 Aug 2010 22:31:49 +0000 (22:31 +0000)]
Drop $options from insertOrUpdate - r71662

13 years agoFollowup r71662
Sam Reed [Thu, 26 Aug 2010 22:23:03 +0000 (22:23 +0000)]
Followup r71662

Update fname (same for DatabaseMysql)

Add missing spaces, remove superfluous makeList() call

13 years agoI really do hate whitespace
Sam Reed [Thu, 26 Aug 2010 22:12:01 +0000 (22:12 +0000)]
I really do hate whitespace

13 years ago* (bug 24724) list=allusers is out by 1 (shows total users - 1)
Sam Reed [Thu, 26 Aug 2010 22:09:29 +0000 (22:09 +0000)]
* (bug 24724) list=allusers is out by 1 (shows total users - 1)

13 years agoMerge r71750 to trunk: let wfTimestamp() accept TS_RFC2822 as an input format in...
Roan Kattouw [Thu, 26 Aug 2010 21:02:12 +0000 (21:02 +0000)]
Merge r71750 to trunk: let wfTimestamp() accept TS_RFC2822 as an input format in addition to output

13 years ago* Adapt the RunSeleniumTests.php to the Maintenance framework.
Mark A. Hershberger [Thu, 26 Aug 2010 20:52:21 +0000 (20:52 +0000)]
* Adapt the RunSeleniumTests.php to the Maintenance framework.
* Add Maintenance::deleteOption() for removing default options.
* Add Maintenance::addDescription() for updating the description.

13 years agoStyle fixes for Linker.php
Aryeh Gregor [Thu, 26 Aug 2010 19:40:29 +0000 (19:40 +0000)]
Style fixes for Linker.php

Mostly stylize.php, some manual.  As usual, if you're seeing this in a
blame, use "svn blame -x -w" or "git blame -w", as appropriate.

13 years agoWhen the CSRF token on is not available in the session, show the
Platonides [Thu, 26 Aug 2010 18:28:33 +0000 (18:28 +0000)]
When the CSRF token on is not available in the session, show the
'you have cookies disabled' message instead of "Session problem,
canceled to avoid session hijacking"

13 years agoTemporary plug for bug 24939 (interwiki creation during installation fails on SQLite...
Max Semenik [Thu, 26 Aug 2010 15:47:18 +0000 (15:47 +0000)]
Temporary plug for bug 24939 (interwiki creation during installation fails on SQLite), before we switch to new-installer.

13 years agoFollowup r71662, remove debug code
Sam Reed [Thu, 26 Aug 2010 14:14:14 +0000 (14:14 +0000)]
Followup r71662, remove debug code

13 years ago* Danish (dk) (removed deprecated language code)
Siebrand Mazeland [Thu, 26 Aug 2010 08:03:07 +0000 (08:03 +0000)]
* Danish (dk) (removed deprecated language code)
* Fiji Hindi (Devangari script) (removed because of very low localisation level - might return later)

13 years agoTweak to insertOnDupeUpdate in DatabaseMysql to split how wanted ( foo = bar )
Sam Reed [Wed, 25 Aug 2010 23:00:27 +0000 (23:00 +0000)]
Tweak to insertOnDupeUpdate in DatabaseMysql to split how wanted ( foo = bar )

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
Siebrand Mazeland [Wed, 25 Aug 2010 22:01:30 +0000 (22:01 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-08-25 21:36 UTC)

13 years agoFill out insertOrUpdate in DatabaseBase, rather than blank stub. Followup to r71634
Sam Reed [Wed, 25 Aug 2010 21:46:45 +0000 (21:46 +0000)]
Fill out insertOrUpdate in DatabaseBase, rather than blank stub. Followup to r71634

13 years agoImprove comment for $uniqueIndexes r71644
Sam Reed [Wed, 25 Aug 2010 19:08:52 +0000 (19:08 +0000)]
Improve comment for $uniqueIndexes r71644

13 years agoReplace todo with documentation with partial
Sam Reed [Wed, 25 Aug 2010 18:50:36 +0000 (18:50 +0000)]
Replace todo with documentation with partial

Move brace

13 years agoUpdate Frr linktrail per http://frr.wikipedia.org/wiki/Wikipedia:Diskusjoon#Sonderzeichen
Sam Reed [Wed, 25 Aug 2010 18:36:19 +0000 (18:36 +0000)]
Update Frr linktrail per frr.wikipedia.org/wiki/Wikipedia:Diskusjoon#Sonderzeichen

13 years agoBlacklist % in HTML id's
Aryeh Gregor [Wed, 25 Aug 2010 17:56:03 +0000 (17:56 +0000)]
Blacklist % in HTML id's

As pointed out by entlinkt at bug 24918, this could cause problems --
browsers don't interpret percent escapes in fragments consistently, so
any percent sign that might be part of an escape could be a problem.
For simplicity, just strip all of them.

13 years agoMove insertOnDupeUpdate (and rename to insertOrUpdate) to DatabaseMysql. Add todo...
Sam Reed [Wed, 25 Aug 2010 17:45:00 +0000 (17:45 +0000)]
Move insertOnDupeUpdate (and rename to insertOrUpdate) to DatabaseMysql. Add todo/fixme in insertOrUpdate in DatabaseBase

Add some braces

13 years agoChange usages of Database:: for function names in DatabaseMssql to DatabaseMssql::
Sam Reed [Wed, 25 Aug 2010 15:58:58 +0000 (15:58 +0000)]
Change usages of Database:: for function names in DatabaseMssql to DatabaseMssql::

13 years agoBraces for MaxSem
Sam Reed [Wed, 25 Aug 2010 15:38:32 +0000 (15:38 +0000)]
Braces for MaxSem

13 years agoFollowup r71593 - Spaces, I *still* hate you
Sam Reed [Wed, 25 Aug 2010 15:26:45 +0000 (15:26 +0000)]
Followup r71593 - Spaces, I *still* hate you

13 years agoFollowup r71609 add missing $
Sam Reed [Wed, 25 Aug 2010 02:24:54 +0000 (02:24 +0000)]
Followup r71609 add missing $

13 years agoUpdate documentation - Database:: to DatabaseBase:: considering Database:: is some...
Sam Reed [Wed, 25 Aug 2010 01:24:47 +0000 (01:24 +0000)]
Update documentation - Database:: to DatabaseBase:: considering Database:: is some legacy alias for DatabaseMySql

13 years agoCreate insertOnDupeUpdate, called by insert
Sam Reed [Wed, 25 Aug 2010 01:03:43 +0000 (01:03 +0000)]
Create insertOnDupeUpdate, called by insert

Will be using soon

13 years agoParam and return documentation for insert
Sam Reed [Wed, 25 Aug 2010 00:18:47 +0000 (00:18 +0000)]
Param and return documentation for insert

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
Siebrand Mazeland [Tue, 24 Aug 2010 23:02:39 +0000 (23:02 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-08-24 22:46 UTC)

13 years agoWhitespace, I hate you.
Sam Reed [Tue, 24 Aug 2010 22:44:44 +0000 (22:44 +0000)]
Whitespace, I hate you.

13 years agoFix those spaces too from r71596/r71592
Sam Reed [Tue, 24 Aug 2010 22:36:11 +0000 (22:36 +0000)]
Fix those spaces too from r71596/r71592

13 years agoFixup whitespace from r71592
Sam Reed [Tue, 24 Aug 2010 22:34:44 +0000 (22:34 +0000)]
Fixup whitespace from r71592

if ( !($buf == self::$png_sig) ) { to if ( $buf != self::$png_sig ) {

Add a couple of braces

13 years agoself::DB_ADMIN to Maintenance::DB_ADMIN for constant
Sam Reed [Tue, 24 Aug 2010 22:06:08 +0000 (22:06 +0000)]
self::DB_ADMIN to Maintenance::DB_ADMIN for constant

13 years agoMove unreachable $this->mConn = false in DatabaseSqlite
Sam Reed [Tue, 24 Aug 2010 22:04:49 +0000 (22:04 +0000)]
Move unreachable $this->mConn = false in DatabaseSqlite

13 years agoRemove some unreachable code (usually returns after throwing exceptions)
Sam Reed [Tue, 24 Aug 2010 22:03:18 +0000 (22:03 +0000)]
Remove some unreachable code (usually returns after throwing exceptions)

Fixup call of method after return in DatabaseMssql by using a temp

13 years agoAdd missing brace to skins/simple/rtl.css
Sam Reed [Tue, 24 Aug 2010 22:00:02 +0000 (22:00 +0000)]
Add missing brace to skins/simple/rtl.css

13 years agoSomeone made a typo in r71576
Niklas Laxström [Tue, 24 Aug 2010 20:12:15 +0000 (20:12 +0000)]
Someone made a typo in r71576

13 years agoAdded a hook into MWNamespace::getCanonicalNamespaces() to provide safe way to
Niklas Laxström [Tue, 24 Aug 2010 19:58:55 +0000 (19:58 +0000)]
Added a hook into MWNamespace::getCanonicalNamespaces() to provide safe way to
define new namespaces in extensions.

Without the hook the list could be initialised too early and some namespaces
would be left undefined. Was causing problems at translatewiki.net.

13 years agoCREATE LANGUAGE belongs as part of the installer, not here.
Greg Sabino Mullane [Tue, 24 Aug 2010 17:35:03 +0000 (17:35 +0000)]
CREATE LANGUAGE belongs as part of the installer, not here.

13 years agoAllow both single and double quotes for ENUM values (even though we should standardiz...
Greg Sabino Mullane [Tue, 24 Aug 2010 17:34:42 +0000 (17:34 +0000)]
Allow both single and double quotes for ENUM values (even though we should standardize on one or the other)

13 years agoAllow class="noshiftselect" to disable the multiple-select-on-shift-click behavior...
Roan Kattouw [Tue, 24 Aug 2010 16:01:52 +0000 (16:01 +0000)]
Allow class="noshiftselect" to disable the multiple-select-on-shift-click behavior for checkboxes. This is desired for forms that contain tables with multiple columns of checkboxes (CentralNotice has one of these), where this function works row-wise instead of column-wise. This is confusing and I'm too lazy to implement column-wise shift-select, so I'm just disabling shift-select altogether in CentralNotice (see followup commit).

13 years agoFollow up to r71110, use of static var instead of global var, as suggested by Platonides
Jeroen De Dauw [Tue, 24 Aug 2010 14:58:35 +0000 (14:58 +0000)]
Follow up to r71110, use of static var instead of global var, as suggested by Platonides

13 years agoFix syntax error in r71555
Siebrand Mazeland [Tue, 24 Aug 2010 13:59:09 +0000 (13:59 +0000)]
Fix syntax error in r71555

13 years agoLocalisation updates for extensions from translatewiki.net
Siebrand Mazeland [Tue, 24 Aug 2010 13:54:07 +0000 (13:54 +0000)]
Localisation updates for extensions from translatewiki.net
* update namespace names.

13 years agoFollow up r71553: (update magic words)
Siebrand Mazeland [Tue, 24 Aug 2010 13:30:06 +0000 (13:30 +0000)]
Follow up r71553: (update magic words)

13 years agoLocalisation updates for core from translatewiki.net
Siebrand Mazeland [Tue, 24 Aug 2010 13:14:19 +0000 (13:14 +0000)]
Localisation updates for core from translatewiki.net
* update magic words.

13 years agoLocalisation updates for core from translatewiki.net
Siebrand Mazeland [Tue, 24 Aug 2010 12:30:07 +0000 (12:30 +0000)]
Localisation updates for core from translatewiki.net
* update special page aliases.

13 years agoFixes for new ImageMagick:
Tim Starling [Tue, 24 Aug 2010 08:48:46 +0000 (08:48 +0000)]
Fixes for new ImageMagick:
* (bug 24824) Support ImageMagick 6.5.6-2+ JPEG decoder size hint, to reduce memory usage when such an ImageMagick is used for scaling.
* Removed -size option since it doesn't act as a JPEG decoder size hint with recent ImageMagicks, and it may cause undesired behaviour in the future since it's documented to do something different now.
* Disable multithreaded behaviour in recent ImageMagick, to avoid a deadlock when a resource limit such as $wgMaxShellMemory is hit.
* Fixed some comments.

Replaces WMF live hack.

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
Siebrand Mazeland [Tue, 24 Aug 2010 06:37:29 +0000 (06:37 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-08-24 06:24 UTC)

13 years agoUpdate SkinAfterContent hook to pass the current skin too
Sam Reed [Tue, 24 Aug 2010 01:31:28 +0000 (01:31 +0000)]
Update SkinAfterContent hook to pass the current skin too

So we don't need nasty $wgTitle globals

13 years ago* (bug 24917) Polish as fallback for Kashubia
Sam Reed [Tue, 24 Aug 2010 00:56:56 +0000 (00:56 +0000)]
* (bug 24917) Polish as fallback for Kashubia

13 years agoarrray?
Sam Reed [Mon, 23 Aug 2010 22:52:37 +0000 (22:52 +0000)]
arrray?

13 years agoRemove some unneeded whitespace
Sam Reed [Mon, 23 Aug 2010 22:18:05 +0000 (22:18 +0000)]
Remove some unneeded whitespace

13 years agoTry to improve the funciton comment of getETag() per r70809 CR. Adaptation of Nikerab...
Platonides [Mon, 23 Aug 2010 21:54:45 +0000 (21:54 +0000)]
Try to improve the funciton comment of getETag() per r70809 CR. Adaptation of Nikerabbit proposal.

13 years agoLocalization update for he.
Rotem Liss [Mon, 23 Aug 2010 21:47:26 +0000 (21:47 +0000)]
Localization update for he.

13 years agoLocalFileTest failed if $wgCapitalLinks was false in LocalSettings.
Platonides [Mon, 23 Aug 2010 21:34:20 +0000 (21:34 +0000)]
LocalFileTest failed if $wgCapitalLinks was false in LocalSettings.

13 years agoFollow up r70917. Having $wgCapitalLinks = false; was what caused the errors.
Platonides [Mon, 23 Aug 2010 21:33:41 +0000 (21:33 +0000)]
Follow up r70917. Having $wgCapitalLinks = false; was what caused the errors.

13 years agoUse the common code at switch end if viewing the current version of a page using...
Platonides [Mon, 23 Aug 2010 14:13:41 +0000 (14:13 +0000)]
Use the common code at switch end if viewing the current version of a page using the permalink.
Title related r64876 and r64934 were not applied in that case, nor were they getting their
getRobotPolicy(), like other old revisions (noindex,nofollow).

13 years agore r71445 put static on the right method.
Mark A. Hershberger [Mon, 23 Aug 2010 13:45:07 +0000 (13:45 +0000)]
re r71445 put static on the right method.

13 years agoFix yet another regression in r71342: NS_MAIN was dropped from valid namespaces,...
Niklas Laxström [Mon, 23 Aug 2010 08:46:13 +0000 (08:46 +0000)]
Fix yet another regression in r71342: NS_MAIN was dropped from valid namespaces, breaking at least opensearch

13 years agoFix typo. Spotted by Hamilton Abreu.
Siebrand Mazeland [Mon, 23 Aug 2010 06:46:49 +0000 (06:46 +0000)]
Fix typo. Spotted by Hamilton Abreu.

13 years agoFix complete breakage of new installer due to multiple ob_flush() calls with gzip...
Tim Starling [Mon, 23 Aug 2010 02:31:13 +0000 (02:31 +0000)]
Fix complete breakage of new installer due to multiple ob_flush() calls with gzip handler enabled.

13 years agofollow up r69134. Change all of convertLinkToAllVariants()'s callers to call autoConv...
Philip Tzou [Mon, 23 Aug 2010 02:07:31 +0000 (02:07 +0000)]
follow up r69134. Change all of convertLinkToAllVariants()'s callers to call autoConvertToAllVariants().

13 years agoComment adjustment
Chad Horohoe [Mon, 23 Aug 2010 01:55:16 +0000 (01:55 +0000)]
Comment adjustment

13 years ago(bug 24898) MediaWiki uses /tmp even if a vHost-specific tempdir is set, also make...
Chad Horohoe [Mon, 23 Aug 2010 01:53:31 +0000 (01:53 +0000)]
(bug 24898) MediaWiki uses /tmp even if a vHost-specific tempdir is set, also make wfTempDir() return a sane value for Windows on worst-case

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
Siebrand Mazeland [Sun, 22 Aug 2010 23:04:33 +0000 (23:04 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-08-22 22:34 UTC)

13 years agoFollowup r71441, break up messages by type, iterate over known types. Expand on info...
Chad Horohoe [Sun, 22 Aug 2010 21:52:39 +0000 (21:52 +0000)]
Followup r71441, break up messages by type, iterate over known types. Expand on info in box

13 years agocoding style tweaks
Jack Phoenix [Sun, 22 Aug 2010 21:34:44 +0000 (21:34 +0000)]
coding style tweaks

13 years agoMock object needs to be static too
Chad Horohoe [Sun, 22 Aug 2010 21:22:04 +0000 (21:22 +0000)]
Mock object needs to be static too

13 years agocoding style tweaks for ajax.js
Jack Phoenix [Sun, 22 Aug 2010 21:14:36 +0000 (21:14 +0000)]
coding style tweaks for ajax.js

13 years agoproperly capitalize the word "MediaWiki"
Jack Phoenix [Sun, 22 Aug 2010 21:07:43 +0000 (21:07 +0000)]
properly capitalize the word "MediaWiki"

13 years agoBe consistent with all the child classes
Chad Horohoe [Sun, 22 Aug 2010 20:57:53 +0000 (20:57 +0000)]
Be consistent with all the child classes

13 years agoMake getSoftwareLink() static so I can use it without instantiating (and opening...
Chad Horohoe [Sun, 22 Aug 2010 20:55:07 +0000 (20:55 +0000)]
Make getSoftwareLink() static so I can use it without instantiating (and opening) a bunch of databases I probably can't support. Can't have an abstract parent now, so throw an exception for anyone who writes a child class without bothering to implement it. All of this to add some helpful text links in an infobox in the installer :)

13 years agoKill oracle installer support until its more complete
Chad Horohoe [Sun, 22 Aug 2010 20:06:08 +0000 (20:06 +0000)]
Kill oracle installer support until its more complete

13 years agoFollowup r71367, reusing messages is bad
Chad Horohoe [Sun, 22 Aug 2010 19:36:22 +0000 (19:36 +0000)]
Followup r71367, reusing messages is bad

13 years ago(bug 23703) ForeignAPIRepo fails on findBySha1() when using a 1.14 install as a repos...
Chad Horohoe [Sun, 22 Aug 2010 16:10:58 +0000 (16:10 +0000)]
(bug 23703) ForeignAPIRepo fails on findBySha1() when using a 1.14 install as a repository due to missing 'name' attribute from the API list=allimages

13 years agoFixed some doxygen warnings
Alexandre Emsenhuber [Sun, 22 Aug 2010 15:58:59 +0000 (15:58 +0000)]
Fixed some doxygen warnings

13 years ago* Added file description headers
Alexandre Emsenhuber [Sun, 22 Aug 2010 14:31:05 +0000 (14:31 +0000)]
* Added file description headers
* Added @file where needed

13 years agoSome extensions like to pass an array for the callback, and method_exists() doesn...
Alexandre Emsenhuber [Sun, 22 Aug 2010 12:02:36 +0000 (12:02 +0000)]
Some extensions like to pass an array for the callback, and method_exists() doesn't like that

13 years agoForgot to indent this correctly...
Alexandre Emsenhuber [Sun, 22 Aug 2010 11:59:32 +0000 (11:59 +0000)]
Forgot to indent this correctly...

13 years agoRemoved some specific methods from updaters.inc that can use generic ones
Alexandre Emsenhuber [Sun, 22 Aug 2010 11:57:31 +0000 (11:57 +0000)]
Removed some specific methods from updaters.inc that can use generic ones

13 years ago* Make the MySQL updater work in the new installer
Alexandre Emsenhuber [Sun, 22 Aug 2010 10:37:27 +0000 (10:37 +0000)]
* Make the MySQL updater work in the new installer
* DatabaseInstaller::doUpgrade() is now abstract

TODO: MysqlUpdater::doUpgrade() is horrible, please someone fix it once it could be

13 years agoRelease notes for r71428
Max Semenik [Sun, 22 Aug 2010 10:07:14 +0000 (10:07 +0000)]
Release notes for r71428

13 years ago"Difference between pages" is now displayed instead of "Difference between revisions...
Max Semenik [Sun, 22 Aug 2010 10:06:06 +0000 (10:06 +0000)]
"Difference between pages" is now displayed instead of "Difference between revisions" on diffs when appropriate. This is even more important now that we have Special:ComparePages

13 years agoOops, forgot to change this in r71426
Alexandre Emsenhuber [Sun, 22 Aug 2010 08:32:29 +0000 (08:32 +0000)]
Oops, forgot to change this in r71426

13 years agoMoved PostgreSQL schema update to PostgresUpdater:
Alexandre Emsenhuber [Sun, 22 Aug 2010 08:07:26 +0000 (08:07 +0000)]
Moved PostgreSQL schema update to PostgresUpdater:
* Still not doing sequential updates, but now this should be easier to correct
* Corrected addition of page_restrictions.pr_id field to use the correct sequence name
* Had to change DatabaseUpdater::getOldGlobalUpdates() from private to protected, since PostgreSQL has its own globals for extensions
* Moved do_all_updates() and archive() to the top of updaters.inc so that they are easier to find

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
Siebrand Mazeland [Sat, 21 Aug 2010 23:20:48 +0000 (23:20 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-08-21 22:44 UTC)