lhc/web/wiklou.git
11 years agoMerge "Allow first letter data to be invalidated"
Tim Starling [Wed, 13 Mar 2013 03:57:22 +0000 (03:57 +0000)]
Merge "Allow first letter data to be invalidated"

11 years agoAllow first letter data to be invalidated
Tim Starling [Wed, 13 Mar 2013 03:53:20 +0000 (14:53 +1100)]
Allow first letter data to be invalidated

Just a class constant for now, but that should suffice to deal with the
current emergency. Proper dependency tracking via the CacheDependency
hierarchy would be pretty cool in the long term.

Change-Id: Ibbe7fa2814434d4869aba20f628bd43269e611fa

11 years agoMerge "Adding output parameter to PageHistoryBeforeList hook"
jenkins-bot [Wed, 13 Mar 2013 02:18:36 +0000 (02:18 +0000)]
Merge "Adding output parameter to PageHistoryBeforeList hook"

11 years agoMerge "Adding hooks for thank you notification links"
jenkins-bot [Wed, 13 Mar 2013 01:59:16 +0000 (01:59 +0000)]
Merge "Adding hooks for thank you notification links"

11 years agoAdding output parameter to PageHistoryBeforeList hook
Kaldari [Tue, 12 Mar 2013 23:27:16 +0000 (16:27 -0700)]
Adding output parameter to PageHistoryBeforeList hook

This will allow us to easily add other RL modules to the page

Change-Id: I2ec00d44e37298ef91ab428759bda037072b0120

11 years agoRestore SET cl_timestamp=cl_timestamp
Tim Starling [Tue, 12 Mar 2013 23:18:12 +0000 (10:18 +1100)]
Restore SET cl_timestamp=cl_timestamp

Apparently cl_timestamp=cl_timestamp is a workaround for obscure
behaviour of the timestamp type in MySQL

Change-Id: I803f20bcf4e28e8e2833a07bcf00e7edc00ad84b

11 years agoReduce disruption during updateCollation.php
Tim Starling [Tue, 12 Mar 2013 00:26:12 +0000 (11:26 +1100)]
Reduce disruption during updateCollation.php

Have updateCollation.php order by cl_to, so that each category is
updated all at once. This minimises the time during which a category
will appear to be incorrectly sorted, while the maintenance script is in
progress.

Mark the cl_collation index as needing deletion, it was always pretty
pointless. You can't do much better than a full table scan when you're
changing the collation value on a wiki.

Increase the batch size since the lack of a cl_to,cl_from index means
that it will have to filesort each category. A larger batch size means
less sorts. As noted by Liangent on bug 45970, you can't order by
cl_sortkey since that will change during execution.

Also fix an inappropriate use of $wgMiserMode and remove a no-op from
the SET clause of the UPDATE.

Very lightly tested.

Change-Id: I19bc8d6701f5f78040aa9c521427ac98ef488d89

11 years agoMerge "Localisation updates from http://translatewiki.net."
Raimond Spekking [Tue, 12 Mar 2013 21:26:49 +0000 (21:26 +0000)]
Merge "Localisation updates from translatewiki.net."

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Tue, 12 Mar 2013 20:48:21 +0000 (20:48 +0000)]
Localisation updates from translatewiki.net.

Change-Id: Iad3494719f752a78d7b414fedaf9a36ae45f9d6e

11 years ago[FileBackend] Fixed "ignoreMissingSource" bug in multiwrite backend.
Aaron Schulz [Tue, 12 Mar 2013 20:39:40 +0000 (13:39 -0700)]
[FileBackend] Fixed "ignoreMissingSource" bug in multiwrite backend.

* Beefed up unit tests for this case and other "ignoreMissingSource" cases
  such as when the source container or parent directory do not exist.

Change-Id: Iea6dae2424edfd0c4367e5cff606c09a4e8a865b

11 years agoAdding hooks for thank you notification links
Kaldari [Thu, 7 Mar 2013 02:38:00 +0000 (18:38 -0800)]
Adding hooks for thank you notification links

These will allow Echo to add a 'thank' link next to the 'undo' links

Change-Id: Ifb93e49b30bb325ecd17ece9f36bcd83c63a2563

11 years ago(bug 44719) Remove mention of non-existing script in DefaultSettings.php
Alexandre Emsenhuber [Sun, 3 Mar 2013 17:40:46 +0000 (18:40 +0100)]
(bug 44719) Remove mention of non-existing script in DefaultSettings.php

maintenance/migrateCurStubs.php does not exist; and I was unable to find
any script that would achieve that functionnality.

Bug: 44719
Change-Id: I78d8a8aa95a5406bf5a979867bc12a9bb34907f6

11 years agoMerge "Normalise documentation in tests/selenium"
jenkins-bot [Tue, 12 Mar 2013 15:17:21 +0000 (15:17 +0000)]
Merge "Normalise documentation in tests/selenium"

11 years agoMerge "Correct case of Title::getPrefixedDBkey() calls"
jenkins-bot [Tue, 12 Mar 2013 15:13:21 +0000 (15:13 +0000)]
Merge "Correct case of Title::getPrefixedDBkey() calls"

11 years agoMerge "Documentation improvements in includes/actions"
jenkins-bot [Tue, 12 Mar 2013 15:11:12 +0000 (15:11 +0000)]
Merge "Documentation improvements in includes/actions"

11 years agoMerge "Don't use isset() to check whether an existing variable is null"
jenkins-bot [Tue, 12 Mar 2013 15:08:56 +0000 (15:08 +0000)]
Merge "Don't use isset() to check whether an existing variable is null"

11 years agoMerge "Changed formatting of "anontalkpagetext""
jenkins-bot [Tue, 12 Mar 2013 15:03:37 +0000 (15:03 +0000)]
Merge "Changed formatting of "anontalkpagetext""

11 years agoMerge "Use User::groupHasPermission"
jenkins-bot [Tue, 12 Mar 2013 14:52:31 +0000 (14:52 +0000)]
Merge "Use User::groupHasPermission"

11 years agoMerge "jquery.makeCollapsible: Clean up issues caused by wrong nesting"
jenkins-bot [Tue, 12 Mar 2013 12:46:39 +0000 (12:46 +0000)]
Merge "jquery.makeCollapsible: Clean up issues caused by wrong nesting"

11 years agoMerge "jquery.makeCollapsible: Move functions out of the var statement"
jenkins-bot [Tue, 12 Mar 2013 12:44:34 +0000 (12:44 +0000)]
Merge "jquery.makeCollapsible: Move functions out of the var statement"

11 years agojquery.makeCollapsible: Clean up issues caused by wrong nesting
MatmaRex [Sun, 10 Mar 2013 20:19:06 +0000 (21:19 +0100)]
jquery.makeCollapsible: Clean up issues caused by wrong nesting

The way it was done - switching first on action (expand/collapse), then on
elements - caused the logic to be split all over the file.

This caused:
* code duplication (e.g. computing the elements to be acted upon in
  the same way for expanding and collapsing, repeated same comments)
* regressions when the logic was changed for one but not for the other
  (this was the case e.g. with table expanding/collapsing).

As for the second, I fixed all spotted inconsistencies; as for the
first, I'll let the diffstat speak for itself.

Change-Id: I2d2592b4d00424f0c23c493f6de6c824d0714dfc

11 years agojquery.makeCollapsible: Move functions out of the var statement
MatmaRex [Sun, 10 Mar 2013 14:00:33 +0000 (15:00 +0100)]
jquery.makeCollapsible: Move functions out of the var statement

Converts function expressions into function declarations.
A 230-line var statement is too much for me to handle.

Change-Id: I22dc787229f2150dbad8de4e19a7fa034dcdca3d

11 years agoMerge "Fix ORMRow::insert() on PostgreSQL."
jenkins-bot [Tue, 12 Mar 2013 11:59:29 +0000 (11:59 +0000)]
Merge "Fix ORMRow::insert() on PostgreSQL."

11 years agoMerge "[JobQueue] Try to cut down on waitForBackups() calls in runJobs.php."
jenkins-bot [Tue, 12 Mar 2013 11:19:28 +0000 (11:19 +0000)]
Merge "[JobQueue] Try to cut down on waitForBackups() calls in runJobs.php."

11 years ago[FileBackend] Suppress missing container errors with "ignoreMissingSource".
Aaron Schulz [Tue, 12 Mar 2013 07:50:16 +0000 (00:50 -0700)]
[FileBackend] Suppress missing container errors with "ignoreMissingSource".

Change-Id: I2b9f4764c4938dcee61f17c31ed4d4b84fbfbcb2

11 years ago[LockManager] Various fixes to lock managers.
Aaron Schulz [Tue, 19 Feb 2013 18:51:44 +0000 (10:51 -0800)]
[LockManager] Various fixes to lock managers.

* Improved handling of corrupt values in cache for MemcLockManager.
  Also improved the use of Status warnings a bit.
* Removed broken special-case handling for SH->EX lock escalation.
  Updated MysqLockManager to compensate.
* Made FSLockManager only use one handle per file, which is more
  efficient and avoids errors when escalating locks (SH->EX).
* Made lock unit tests have more useful output on failure.

Change-Id: Ib304712fa2b6b3fd02bfc1b08b6f238c771960c2

11 years agoMerge "Update docs"
jenkins-bot [Tue, 12 Mar 2013 02:11:07 +0000 (02:11 +0000)]
Merge "Update docs"

11 years agoUpdate docs
Siebrand Mazeland [Tue, 12 Mar 2013 02:01:50 +0000 (03:01 +0100)]
Update docs

Change-Id: I65fb974f159a7b317843b44e90f8225ab1bf722d

11 years ago[JobQueue] Try to cut down on waitForBackups() calls in runJobs.php.
Aaron Schulz [Tue, 12 Mar 2013 01:56:16 +0000 (18:56 -0700)]
[JobQueue] Try to cut down on waitForBackups() calls in runJobs.php.

Change-Id: I2fc97ef8dbc02d1184959ba962dcafdae9fae808

11 years agoRewrite user_touched comment, since apparently it is not clear enough
Tim Starling [Tue, 12 Mar 2013 00:32:54 +0000 (11:32 +1100)]
Rewrite user_touched comment, since apparently it is not clear enough

Change-Id: Ib993e5a6dc56963e9afbbdc2ada77762e1594f0b

11 years agoMerge "IcuCollation::$tailoringFirstLetters: implement letter removal"
Reedy [Tue, 12 Mar 2013 00:28:46 +0000 (00:28 +0000)]
Merge "IcuCollation::$tailoringFirstLetters: implement letter removal"

11 years agoFixed redis auth error spam in logs.
Aaron Schulz [Mon, 11 Mar 2013 23:18:25 +0000 (16:18 -0700)]
Fixed redis auth error spam in logs.

Change-Id: I52e074b530d4dba2a0a8ec9b7d32f96d4527c6f4

11 years agoFixed connection comparison in RedisConnectionPool::handleException().
Aaron Schulz [Sat, 9 Mar 2013 21:34:22 +0000 (13:34 -0800)]
Fixed connection comparison in RedisConnectionPool::handleException().

* This was comparing a Redis with a RedisConnRef.

Change-Id: I6353736c8ad42a18d90e8474d38398d305950346

11 years agoIcuCollation::$tailoringFirstLetters: implement letter removal
MatmaRex [Mon, 11 Mar 2013 21:24:09 +0000 (22:24 +0100)]
IcuCollation::$tailoringFirstLetters: implement letter removal

This is necessary for Swedish, where 'Þ' ("thorn") - considered a
separate letter by default in the first-letters-root.ser file - is
sorted as 'th', causing unexpected output on category pages - words
starting with 'th'..'u' were placed under a heading with the thorn.

There were three obvious ways to do this:
* somehow include information that this letter is to be removed in the
  string itself, as in 'sv' => array( "Å", "Ä", "Ö", "-Þ" ) - could
  potentially clash with valid uses
* create a separate array other than $tailoringFirstLetters to store
  this information - would cause the data to be fragmented all over
  the file
* include information about letters to be removed in a separate key
  "linked" to the regular one, as in '-sv' => array( "Þ" ) - I see no
  obvious downsides, so this is what I ended up doing

Bug: 45446
Change-Id: I57e07a2027c391c5baa767a68f4409b9de7b4618

11 years agoMerge "Localisation updates from http://translatewiki.net."
Translation updater bot [Mon, 11 Mar 2013 20:52:24 +0000 (20:52 +0000)]
Merge "Localisation updates from translatewiki.net."

11 years agoMerge "Made backend sync script update the pos file periorically."
jenkins-bot [Mon, 11 Mar 2013 20:50:48 +0000 (20:50 +0000)]
Merge "Made backend sync script update the pos file periorically."

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Mon, 11 Mar 2013 19:58:48 +0000 (19:58 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I285aebdacc930b2eeb97f56987c958ae3f4811cd

11 years agoMerge "Reformatted some array parameter docs."
jenkins-bot [Mon, 11 Mar 2013 18:25:35 +0000 (18:25 +0000)]
Merge "Reformatted some array parameter docs."

11 years agoMerge "numRows on MySQL no longer propagates unrelated errors"
jenkins-bot [Mon, 11 Mar 2013 18:14:19 +0000 (18:14 +0000)]
Merge "numRows on MySQL no longer propagates unrelated errors"

11 years agoReformatted some array parameter docs.
Aaron Schulz [Mon, 11 Mar 2013 18:00:35 +0000 (11:00 -0700)]
Reformatted some array parameter docs.

Change-Id: Ie9eefd3693e82f483a9ef0da3f972452ae7bf49e

11 years agoFixed @param tags to conform with Doxygen format.
Tyler Anthony Romeo [Mon, 11 Mar 2013 17:15:01 +0000 (13:15 -0400)]
Fixed @param tags to conform with Doxygen format.

Doxygen expects parameter types to come before the
parameter name in @param tags. Used a quick regex
to switch everything around where possible. This
only fixes cases where a primitve variable (or a
primitive followed by other types) is the variable
type. Other cases will need to be fixed manually.

Change-Id: Ic59fd20856eb0489d70f3469a56ebce0efb3db13

11 years agoMerge "Make sure Parsoid doesn't get snobbish and treat non-html5 tags badly."
GWicke [Mon, 11 Mar 2013 16:56:07 +0000 (16:56 +0000)]
Merge "Make sure Parsoid doesn't get snobbish and treat non-html5 tags badly."

11 years agoMerge "Fixes for e288e4036"
jenkins-bot [Mon, 11 Mar 2013 16:22:48 +0000 (16:22 +0000)]
Merge "Fixes for e288e4036"

11 years agoMerge "Fixed many small spelling mistakes and php docs, var decl."
jenkins-bot [Mon, 11 Mar 2013 14:17:08 +0000 (14:17 +0000)]
Merge "Fixed many small spelling mistakes and php docs, var decl."

11 years ago(bug 45978) Correct case of Special:Userrights' canonical name
Alexandre Emsenhuber [Mon, 11 Mar 2013 06:34:06 +0000 (07:34 +0100)]
(bug 45978) Correct case of Special:Userrights' canonical name

Fix for I50796216 (17e17ba).

The error is PHP Notice:  Found alias defined for Userrights when
searching for special page aliases for UserRights. Case mismatch?

Bug: 45978
Change-Id: Ib82bd38d0229af7571f2ab3c0470fa0f0384b635

11 years agoIcuCollation::$tailoringFirstLetters: 'en', 'it', 'hu', 'pt', 'uk' verified
MatmaRex [Tue, 5 Mar 2013 12:47:05 +0000 (13:47 +0100)]
IcuCollation::$tailoringFirstLetters: 'en', 'it', 'hu', 'pt', 'uk' verified

* en: obviously
* it: per Nemo_bis in comments on change I97273c52
* hu: per Tisza Gergő in comments on bug 45596
* pt: 'uca-default' collation is deployed on pt.wiki, 'uca-pt' is the same thing
* uk: per Dmytro Dziuma in comments on bug 45444

Change-Id: Ia7568a9ad40ef991b73059b5269e6236f52681f1

11 years agolowercase second character in digraph letters in IcuCollation tailorings
MatmaRex [Sat, 9 Mar 2013 17:53:16 +0000 (18:53 +0100)]
lowercase second character in digraph letters in IcuCollation tailorings

This is *the* valid way for Hungarian (per bug 45596 comment 10), and
it's likely more appropriate for other languages as well.

I should have done it this way in the first place; the original data
source includes these forms along with the all-uppercase ones (I
checked them all), so they're certainly at least not wrong. Just an
overlooking on my part.

Change-Id: Ie0ca297a082ddba8d757beb85655f86b3ee70b02

11 years agoMerge "Lots of spelling mistakes and phpdoc attributes"
jenkins-bot [Mon, 11 Mar 2013 04:15:06 +0000 (04:15 +0000)]
Merge "Lots of spelling mistakes and phpdoc attributes"

11 years agoFixed many small spelling mistakes and php docs, var decl.
Yuri Astrakhan [Mon, 11 Mar 2013 03:45:51 +0000 (23:45 -0400)]
Fixed many small spelling mistakes and php docs, var decl.

Change-Id: I1508ed7eb77e5e4f700fb63955d626c4f5915840

11 years agoLots of spelling mistakes and phpdoc attributes
Yuri Astrakhan [Mon, 11 Mar 2013 03:16:28 +0000 (23:16 -0400)]
Lots of spelling mistakes and phpdoc attributes

@throw->@throws
@returns->@return
@seealso->@see
@cover->@covers
etc

Change-Id: I9ae6bc3034e9790e2d66cd96473b923fe9ee7953

11 years agoMerge "Add "User rights management" link on user page toolbox"
jenkins-bot [Sun, 10 Mar 2013 22:52:40 +0000 (22:52 +0000)]
Merge "Add "User rights management" link on user page toolbox"

11 years agoAdd "User rights management" link on user page toolbox
JuneHyeon Bae [Sun, 10 Mar 2013 09:55:14 +0000 (18:55 +0900)]
Add "User rights management" link on user page toolbox

Bug: 34040
Change-Id: I507962161581c3d9ae928594d8d280be9a4ffbdd

11 years agoMerge "(bug 25325) fix wlexcludeuser for ApiFeedWatchlist"
jenkins-bot [Sun, 10 Mar 2013 22:23:03 +0000 (22:23 +0000)]
Merge "(bug 25325) fix wlexcludeuser for ApiFeedWatchlist"

11 years agoMore job queue doc tweaks.
Aaron Schulz [Sat, 9 Mar 2013 21:00:16 +0000 (13:00 -0800)]
More job queue doc tweaks.

Change-Id: I06bae67f67da23190c0576902767dc38a0d8ca5b

11 years ago(bug 25325) fix wlexcludeuser for ApiFeedWatchlist
MatmaRex [Sun, 10 Mar 2013 21:08:22 +0000 (22:08 +0100)]
(bug 25325) fix wlexcludeuser for ApiFeedWatchlist

The effect of setting this option was later overwritten in the code; I
just moved an if a few lines down.

Also some null comparison cleanup.

Change-Id: I2a85673330681c6ff7facc25a7bbfb6972fe8fd5

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Sun, 10 Mar 2013 20:16:52 +0000 (20:16 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I5efb53366137b0e6dceccf76a9cdaa3f7d77194f

11 years agoDon't use isset() to check whether an existing variable is null
Alexandre Emsenhuber [Sun, 10 Mar 2013 15:23:46 +0000 (16:23 +0100)]
Don't use isset() to check whether an existing variable is null

Change-Id: Ie63f060fb7928fd51a8ad71293955f923f6a18c3

11 years agoMerge "Kill off numerous unused variables"
jenkins-bot [Sun, 10 Mar 2013 14:13:29 +0000 (14:13 +0000)]
Merge "Kill off numerous unused variables"

11 years agonumRows on MySQL no longer propagates unrelated errors
Niklas Laxström [Sun, 10 Mar 2013 09:46:00 +0000 (09:46 +0000)]
numRows on MySQL no longer propagates unrelated errors

Bug: 42430
Change-Id: Ie2277c97177be34f4a48dfa0eac736a2b5716f22

11 years agoMade backend sync script update the pos file periorically.
Aaron Schulz [Sun, 10 Mar 2013 06:44:17 +0000 (22:44 -0800)]
Made backend sync script update the pos file periorically.

Change-Id: I5b4028c8d69a6bf78b372f0d1cdb258207465f30

11 years agoChanged formatting of "anontalkpagetext"
shirayuki [Sat, 9 Mar 2013 23:03:39 +0000 (08:03 +0900)]
Changed formatting of "anontalkpagetext"

Change-Id: Ie551f08c4409b7515e4b10b598789051b44c8c42

11 years agoMerge "API param validation: Add wrong value to error message on user params"
jenkins-bot [Sat, 9 Mar 2013 22:41:41 +0000 (22:41 +0000)]
Merge "API param validation: Add wrong value to error message on user params"

11 years agoUse User::groupHasPermission
umherirrender [Sat, 9 Mar 2013 22:01:45 +0000 (23:01 +0100)]
Use User::groupHasPermission

Instead of getting the rights of group '*' and searching for 'read',
there is a method to do a direct lookup for group '*' and right 'read',
makes the code easier to read.

Change-Id: I1d5d6e1f4a94ded2b3f87144e031d0c2aac62020

11 years agoMerge "createaccount api action didn't handle no token and no cookie"
jenkins-bot [Sat, 9 Mar 2013 21:40:12 +0000 (21:40 +0000)]
Merge "createaccount api action didn't handle no token and no cookie"

11 years agoAPI param validation: Add wrong value to error message on user params
umherirrender [Sat, 9 Mar 2013 21:14:03 +0000 (22:14 +0100)]
API param validation: Add wrong value to error message on user params

It is always nice to get the wrong value back to know it.
Refactor a bit to avoid the array wrapping and unwrapping for non-multi
params.

Adjust another variable, add doc comments, removed a empty line and
reorder a condition for easy reading.

Change-Id: Ia91aa5908b82ad1209dc7da1139f91e1f2b45fac

11 years agoCorrect case of Title::getPrefixedDBkey() calls
Alexandre Emsenhuber [Sat, 9 Mar 2013 20:14:22 +0000 (21:14 +0100)]
Correct case of Title::getPrefixedDBkey() calls

Change-Id: Ic9ef0cc6dbb0a8eb0ee93432299ef59759223e2c

11 years agoRemove the page from the LinkCache before adding it again in WikiPage::loadFromRow()
Alexandre Emsenhuber [Sat, 9 Mar 2013 20:00:14 +0000 (21:00 +0100)]
Remove the page from the LinkCache before adding it again in WikiPage::loadFromRow()

This makes sure the LinkCache doesn't list a page both as good and bad link at the
same time, e.g. when a page gets created or deleted in the request.

Change-Id: I6774132ba8e4d28deed1908150c02fbaa42111a5

11 years agoMerge "Return user ID as userid in watchlist API module"
jenkins-bot [Sat, 9 Mar 2013 18:40:19 +0000 (18:40 +0000)]
Merge "Return user ID as userid in watchlist API module"

11 years agoUse ContextSource::getLanguage instead of $wgLang
umherirrender [Sat, 9 Mar 2013 16:02:44 +0000 (17:02 +0100)]
Use ContextSource::getLanguage instead of $wgLang

Found two places, where $wgLang is used inside a ContextSource.

Change-Id: I1881a20d3cd9b50eb4af0cd588451ed941f936fa

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Sat, 9 Mar 2013 15:09:18 +0000 (15:09 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I60a4f38e6b3459cbc2fb758615a311d67800d54d

11 years agoMerge "Use TargetLanguage of the Parser in ImageGallery"
jenkins-bot [Sat, 9 Mar 2013 14:40:24 +0000 (14:40 +0000)]
Merge "Use TargetLanguage of the Parser in ImageGallery"

11 years agoMerge "(Bug 34798) Synced the FeedUtils.php page with mediawiki.action.history.diff...
jenkins-bot [Sat, 9 Mar 2013 14:04:58 +0000 (14:04 +0000)]
Merge "(Bug 34798) Synced the FeedUtils.php page with mediawiki.action.history.diff.css"

11 years agoUse TargetLanguage of the Parser in ImageGallery
umherirrender [Sat, 9 Mar 2013 13:59:36 +0000 (14:59 +0100)]
Use TargetLanguage of the Parser in ImageGallery

If there is a parser set on ImageGallery, the target language of the
parser should be used, because this parsed piece of html can get into
the parser cache.

Change-Id: I2e47b316e3dcc6a3db4fb5d13f5065e35fc369dd

11 years agoSync messages.inc with MessagesEn.php
raymond [Sat, 9 Mar 2013 08:42:56 +0000 (09:42 +0100)]
Sync messages.inc with MessagesEn.php

rotate: Followup to Id15a92d19cda8256917e7e1e5ee4241012214102
pageswith props: sometimes earlier...

Change-Id: I8da23c89d5b1ebe669b4e4ef1e0d67ce8064a860

11 years agocreateaccount api action didn't handle no token and no cookie
Brian Wolff [Sat, 9 Mar 2013 08:38:02 +0000 (04:38 -0400)]
createaccount api action didn't handle no token and no cookie

If you made a request to action=createaccount and this was
the first time (so no account creation token had yet been
generated for you) a "nocookiesfornew" error was returned.

This is incorrect, what is supposed to happen in that
case is the api returns what token to use. This is
how users are supposed to request tokens, so the
issue is very confusing.

No release notes since this module was introduced in
this version.

Also removed sessionfailure from possible errors,
as it isn't one (that status triggers the needtoken
result).

Change-Id: Ibfc3879fa89b1e11303aef65feb45a91afc215e6

11 years agoUpdated job queue README.
Aaron Schulz [Sat, 9 Mar 2013 04:00:28 +0000 (20:00 -0800)]
Updated job queue README.

Change-Id: I8f884823cc5396e38bc5cd2f803f062a2dbdfac8

11 years ago(bug 45922) Fix arbitrary inconsistency in page title and headings for message accmai...
Matthew Bowker [Sat, 9 Mar 2013 06:35:03 +0000 (23:35 -0700)]
(bug 45922) Fix arbitrary inconsistency in page title and headings for message accmailtitle

bug: 459222
Change-Id: If582242f0473bce81a80f05d77421bdf6e5a3f29

11 years ago(Bug 34798) Synced the FeedUtils.php page with mediawiki.action.history.diff.css
rahul21 [Mon, 11 Feb 2013 19:22:24 +0000 (00:52 +0530)]
(Bug 34798) Synced the FeedUtils.php page with mediawiki.action.history.diff.css

->Added the background,border in diff-context,diff-addedline,diff-deleted line in $styles array in the FeedUtils.php

Change-Id: Icbfb6cfc659652c146e565b760d0815640fdad64

11 years agoMerge "(Bug 45854) Unset the cgroup if we don't have a memory limit"
jenkins-bot [Fri, 8 Mar 2013 23:34:15 +0000 (23:34 +0000)]
Merge "(Bug 45854) Unset the cgroup if we don't have a memory limit"

11 years agoMerge "Fix more UnitTests for databases that do not use integer timestamps"
jenkins-bot [Fri, 8 Mar 2013 22:54:28 +0000 (22:54 +0000)]
Merge "Fix more UnitTests for databases that do not use integer timestamps"

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Fri, 8 Mar 2013 21:47:00 +0000 (21:47 +0000)]
Localisation updates from translatewiki.net.

Change-Id: Icec7f2891935766ba5406d7932198b0f07a8a6d9

11 years agoMerge "Add the global correctly"
jenkins-bot [Fri, 8 Mar 2013 21:11:00 +0000 (21:11 +0000)]
Merge "Add the global correctly"

11 years agoFixes for e288e4036
Platonides [Fri, 8 Mar 2013 12:07:32 +0000 (13:07 +0100)]
Fixes for e288e4036

Changed static calls to instance functions.

Make BitmapHandler::rotate() non-static.

We don't have a Bitmap class. It should have
been falling back to BitmapHandler class.
(JpegHandler ← ExifBitmapHandler ← BitmapHandler)

Change-Id: I17be410456b00cef2ded8d6e2282ae0de4785695

11 years agoFix more UnitTests for databases that do not use integer timestamps
Brent Garber [Mon, 21 Jan 2013 23:01:05 +0000 (23:01 +0000)]
Fix more UnitTests for databases that do not use integer timestamps

Change-Id: I6f8b19aa6e6a9efc3320bb18fa8c7ec8b72a0c17

11 years agoMerge "Fixed $vCallback comment and removed unused return value."
jenkins-bot [Fri, 8 Mar 2013 19:00:20 +0000 (19:00 +0000)]
Merge "Fixed $vCallback comment and removed unused return value."

11 years ago[JobQueue] Made supportedOrders() protected.
Aaron Schulz [Fri, 8 Mar 2013 18:20:54 +0000 (10:20 -0800)]
[JobQueue] Made supportedOrders() protected.

Change-Id: I7237472d8281c06aff11c4644e9a59848c325263

11 years agoFixed $vCallback comment and removed unused return value.
Aaron Schulz [Fri, 8 Mar 2013 17:49:13 +0000 (09:49 -0800)]
Fixed $vCallback comment and removed unused return value.

Change-Id: If438d83e1b43c110b3c23e8d0a7705fa0795049f

11 years agofix MessageCacheTest for non-english wikis
umherirrender [Fri, 8 Mar 2013 16:09:06 +0000 (17:09 +0100)]
fix MessageCacheTest for non-english wikis

MessageCacheTest::addDBData is called before setUp, so wgLanguageCode
and wgContLang are not set to 'en', which result in mediawiki pages
created as $key/en. When the test runs, the language is set correctly
and mediawiki is searching under $key, and does not find anything.

Set wgLanguageCode and wgContLang at the begin of addDBData

1) MessageCacheTest::testMessageFallbacks with data set #0
('FallbackLanguageTest-Full', 'ab', 'ab')
Message fallback failed.
Failed asserting that false matches expected 'ab'.

Change-Id: I8e70b7b424df6a9ad98bfb6c228809f4b4437d1e

11 years agoMerge "Use output/error maintenance functions"
jenkins-bot [Fri, 8 Mar 2013 15:40:58 +0000 (15:40 +0000)]
Merge "Use output/error maintenance functions"

11 years agoAdd the global correctly
Platonides [Fri, 8 Mar 2013 11:59:56 +0000 (12:59 +0100)]
Add the global correctly

Change-Id: I03be0cf1e82fc9f8f00727bed5aca9d9d2758c2e

11 years ago(Bug 45854) Unset the cgroup if we don't have a memory limit
Platonides [Fri, 8 Mar 2013 09:51:55 +0000 (10:51 +0100)]
(Bug 45854) Unset the cgroup if we don't have a memory limit

We only create the cgroup if there's a memory limit, but it
tried to always cleanup it, regardless if it was used or not,
resulting in a «/sys/fs/cgroup/memory/mediawiki/job/32466/tasks:
No such file or directory» error, when run with MW_CGROUP='mediawiki';
MW_MEM_LIMIT=0

Change-Id: I7fdb545b336ead62aa743b1bc3afdbfba2c3113f

11 years agoMerge "Add SpecialPage::getGroupName and use it"
jenkins-bot [Fri, 8 Mar 2013 06:59:00 +0000 (06:59 +0000)]
Merge "Add SpecialPage::getGroupName and use it"

11 years ago[JobQueue] Cleaned up handling of orders a bit.
Aaron Schulz [Sun, 3 Mar 2013 04:41:38 +0000 (20:41 -0800)]
[JobQueue] Cleaned up handling of orders a bit.

Change-Id: I83d060e0db97d5bebf042041b0bd20563b093418

11 years agoRemoved "poolSize" option from RedisConnectionPool.
Aaron Schulz [Thu, 7 Mar 2013 06:45:59 +0000 (22:45 -0800)]
Removed "poolSize" option from RedisConnectionPool.

* The size is now automatically based on the number of servers.

Change-Id: I6ea53378c9c8254e8556c0a1e4efe64fd71ba356

11 years ago[JobQueue] Added JobQueue::getAllQueuedJobs() function.
Aaron Schulz [Thu, 21 Feb 2013 01:19:38 +0000 (17:19 -0800)]
[JobQueue] Added JobQueue::getAllQueuedJobs() function.

* Also added a small MappedIterator class for convenience.

Change-Id: I7dac1001a8e048cb524f7fbfee50a20a32e598ba

11 years agoUse output/error maintenance functions
Reedy [Sat, 2 Feb 2013 18:15:47 +0000 (18:15 +0000)]
Use output/error maintenance functions

Change-Id: I9f9ebee9e577ab3cc7a042e5280161d2b2bad57a

11 years agoKill off numerous unused variables
Reedy [Sun, 9 Dec 2012 03:27:02 +0000 (03:27 +0000)]
Kill off numerous unused variables

Change-Id: I7039f1328f37ee669b694f73ee282602186bffd1

11 years agoMerge "mw.loader: Buffer cssText in addEmbeddedCSS."
jenkins-bot [Fri, 8 Mar 2013 01:29:59 +0000 (01:29 +0000)]
Merge "mw.loader: Buffer cssText in addEmbeddedCSS."

11 years agoMerge "mw.loader: Create new style tags instead of appending text"
jenkins-bot [Fri, 8 Mar 2013 01:28:06 +0000 (01:28 +0000)]
Merge "mw.loader: Create new style tags instead of appending text"

11 years agoAdding validation for checkmatrix (same as for multiselect)
Kaldari [Thu, 7 Mar 2013 22:35:48 +0000 (14:35 -0800)]
Adding validation for checkmatrix (same as for multiselect)

Change-Id: I825ec8a6094405cf7d74597a0eeda3898981763b