lhc/web/wiklou.git
12 years agoMerge "Normalising return statements"
Brion VIBBER [Fri, 27 Apr 2012 21:20:48 +0000 (21:20 +0000)]
Merge "Normalising return statements"

12 years agoMerge "Improved BagOStuff documentation and made some return value tweaks."
Demon [Fri, 27 Apr 2012 19:08:04 +0000 (19:08 +0000)]
Merge "Improved BagOStuff documentation and made some return value tweaks."

12 years agoMerge "Adding file stat caching to avoid RTTs to high latency backends."
Brion VIBBER [Fri, 27 Apr 2012 18:48:57 +0000 (18:48 +0000)]
Merge "Adding file stat caching to avoid RTTs to high latency backends."

12 years agoMerge changes Ib2cb36cd,I50dec908
Demon [Fri, 27 Apr 2012 18:36:05 +0000 (18:36 +0000)]
Merge changes Ib2cb36cd,I50dec908

* changes:
  Adding Maintenance output tests
  fwriting to STDOUT -> print in Maintenance

12 years agoAdding file stat caching to avoid RTTs to high latency backends.
Aaron [Fri, 27 Apr 2012 00:46:28 +0000 (17:46 -0700)]
Adding file stat caching to avoid RTTs to high latency backends.

Also tweaked a few of the container cache functions a bit.

Change-Id: Ic91b8e04aa509410578b3a4dc232871c0c5561d0

12 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Fri, 27 Apr 2012 17:48:20 +0000 (17:48 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I1a4e24d32a01cf11eb77fe56832c38534445695a

12 years agoNormalising return statements
Reedy [Fri, 27 Apr 2012 15:40:14 +0000 (16:40 +0100)]
Normalising return statements

Add/improve parameter documentation

Change-Id: I4c7fa319be60a47b7fcd81131458577bccb009fb

12 years ago(bug 22887) Add warning and tracking category for preprocessor errors
umherirrender [Sat, 21 Apr 2012 11:09:03 +0000 (13:09 +0200)]
(bug 22887) Add warning and tracking category for preprocessor errors

I have only add things and not change the current error strings to
messages, because bug 21521 is WONTFIX

Change of Preprocessor_HipHop.php is not tested

Change-Id: I7a7243b8ba010dbb395bdbbb3e00e3217088038e

12 years agoIn mctest.php, use the configured timeout instead of the default
Tim Starling [Fri, 27 Apr 2012 04:51:52 +0000 (14:51 +1000)]
In mctest.php, use the configured timeout instead of the default

Change-Id: Ia003c7f96cd0de91db57ec83036493e4bb995ee7

12 years agoMerge "Whitespace and typo fix"
Catrope [Fri, 27 Apr 2012 02:04:57 +0000 (02:04 +0000)]
Merge "Whitespace and typo fix"

12 years agoImproved BagOStuff documentation and made some return value tweaks.
Aaron [Fri, 27 Apr 2012 01:33:42 +0000 (18:33 -0700)]
Improved BagOStuff documentation and made some return value tweaks.

Change-Id: I9d8f09c10ccc5e710bd8cae05b8f3da3c2d02056

12 years agoMerge "[FileBackend] Some documentation and minor cleanups."
Brion VIBBER [Thu, 26 Apr 2012 23:40:12 +0000 (23:40 +0000)]
Merge "[FileBackend] Some documentation and minor cleanups."

12 years agoMerge "The script can be re-run (in some cases at least!) to fix up incomplete migrat...
Brion VIBBER [Thu, 26 Apr 2012 23:38:15 +0000 (23:38 +0000)]
Merge "The script can be re-run (in some cases at least!) to fix up incomplete migrations (see bug 34981 for enwiki)"

12 years agoMerge "[FileBackend] Added a script to copy files from one backend to another. Useful...
Brion VIBBER [Thu, 26 Apr 2012 23:34:21 +0000 (23:34 +0000)]
Merge "[FileBackend] Added a script to copy files from one backend to another. Useful for re-sharding."

12 years agoMerge "[FileBackend] Tweaked various cache parameters and bumped tiny Swift auth...
Brion VIBBER [Thu, 26 Apr 2012 23:32:32 +0000 (23:32 +0000)]
Merge "[FileBackend] Tweaked various cache parameters and bumped tiny Swift auth TTL a bit."

12 years agoMerge "Changed wfMessage() usage to call directly MessageCache::get() so that its...
Brion VIBBER [Thu, 26 Apr 2012 23:31:50 +0000 (23:31 +0000)]
Merge "Changed wfMessage() usage to call directly MessageCache::get() so that its $isFullKey parameter can be set to true."

12 years agoMerge "[FileBackend] Added 'recursive' flag to directory clean() function."
Brion VIBBER [Thu, 26 Apr 2012 23:30:05 +0000 (23:30 +0000)]
Merge "[FileBackend] Added 'recursive' flag to directory clean() function."

12 years agoMerge "(bug 33602) list=allusers throws exceptions with invalid names"
Brion VIBBER [Thu, 26 Apr 2012 23:27:55 +0000 (23:27 +0000)]
Merge "(bug 33602) list=allusers throws exceptions with invalid names"

12 years agoMerge "strip off subpages direct in GenderCache"
Brion VIBBER [Thu, 26 Apr 2012 23:21:43 +0000 (23:21 +0000)]
Merge "strip off subpages direct in GenderCache"

12 years agoMerge "Removed usage of global objects in SpecialEmailUser"
Brion VIBBER [Thu, 26 Apr 2012 23:20:31 +0000 (23:20 +0000)]
Merge "Removed usage of global objects in SpecialEmailUser"

12 years agoMerge "(bug 30410) Remove deprecated $wgFilterCallback. The 'filtered' API error...
Brion VIBBER [Thu, 26 Apr 2012 23:15:16 +0000 (23:15 +0000)]
Merge "(bug 30410) Remove deprecated $wgFilterCallback. The 'filtered' API error was also removed, along with EditPage::AS_FILTERING."

12 years agoMerge "Edit notices can now be translated."
Brion VIBBER [Thu, 26 Apr 2012 23:02:10 +0000 (23:02 +0000)]
Merge "Edit notices can now be translated."

12 years agoEdit notices can now be translated.
robin [Fri, 13 Apr 2012 23:57:12 +0000 (01:57 +0200)]
Edit notices can now be translated.

Change editnotice from content language to user language. I see no
need to disable possible translations (for multilingual wikis). As
there is no default content, it'll always default to the editnotice
in the content language anyway. Slashes in page titles are converted
to hyphens, so there are no collisions.

Patch set 3, 4: Rebase against master

Patch set 5: wrap commit msg

Change-Id: I3d7ccec0bf407324821c3c853a60c27db5e5c519

12 years agoMerge "[FileRepo] Added hook to let us copy thumbnails into additional places as...
Brion VIBBER [Thu, 26 Apr 2012 22:56:05 +0000 (22:56 +0000)]
Merge "[FileRepo] Added hook to let us copy thumbnails into additional places as they are transformed."

12 years agoMerge "No environment reset for failure after prefetch hit"
Brion VIBBER [Thu, 26 Apr 2012 22:55:15 +0000 (22:55 +0000)]
Merge "No environment reset for failure after prefetch hit"

12 years agoMerge "[FileBackend] Added container stat caching to reduce RTTs to high latency...
Brion VIBBER [Thu, 26 Apr 2012 22:51:54 +0000 (22:51 +0000)]
Merge "[FileBackend] Added container stat caching to reduce RTTs to high latency backends."

12 years ago(bug 33602) list=allusers throws exceptions with invalid names
Szymon Świerkosz [Thu, 26 Apr 2012 21:45:09 +0000 (23:45 +0200)]
(bug 33602) list=allusers throws exceptions with invalid names

Follow up to: I7d115e734cb8c93dcf6dc3b98bdbc81975951273.
I have replaced $this->keyToTitle calls with simple str_replace.
As a result invalid user names will be accepted in parameters, so
the chain of requests based on query-continue will not be broken
by invalid entry in the database.

Change-Id: I8a80fe6395ae6e9304e4d9ec7b604195ec3c9d00

12 years agoWhitespace and typo fix
lupo [Thu, 26 Apr 2012 20:53:11 +0000 (22:53 +0200)]
Whitespace and typo fix

Change-Id: I060482b31959a78ecee4ad8851aebcac1f77e905

12 years agoMerge "Localisation updates from http://translatewiki.net."
Siebrand [Thu, 26 Apr 2012 20:48:08 +0000 (20:48 +0000)]
Merge "Localisation updates from translatewiki.net."

12 years ago[FileBackend] Added 'recursive' flag to directory clean() function.
Aaron [Thu, 26 Apr 2012 18:40:47 +0000 (11:40 -0700)]
[FileBackend] Added 'recursive' flag to directory clean() function.

Change-Id: I8fadd25c05840e2324bf8433dc0a4846daf8e2c3

12 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Thu, 26 Apr 2012 19:06:56 +0000 (19:06 +0000)]
Localisation updates from translatewiki.net.

Change-Id: Idba168c15b23254e23335b426753b221fb668a7f

12 years agoMerge "(bug 33602) list=allusers throws exceptions with invalid names"
Catrope [Thu, 26 Apr 2012 19:01:41 +0000 (19:01 +0000)]
Merge "(bug 33602) list=allusers throws exceptions with invalid names"

12 years ago[FileBackend] Tweaked various cache parameters and bumped tiny Swift auth TTL a bit.
Aaron [Wed, 25 Apr 2012 21:21:49 +0000 (14:21 -0700)]
[FileBackend] Tweaked various cache parameters and bumped tiny Swift auth TTL a bit.

Change-Id: Ibb1a43624a94ff737e9f5c73a0bedec75aba37ff

12 years agoChanged wfMessage() usage to call directly MessageCache::get() so that its $isFullKey...
Alexandre Emsenhuber [Thu, 26 Apr 2012 17:23:02 +0000 (19:23 +0200)]
Changed wfMessage() usage to call directly MessageCache::get() so that its $isFullKey parameter can be set to true.

The $isFullKey parameter means the message key already contains the language subpage ("/de", etc.)

Change-Id: I9bcc93563a2a2f8c38c98e50e18067e70f6fb3d7

12 years agoMerge "Make data loading a bit better in ApiProtect."
Aaron Schulz [Thu, 26 Apr 2012 17:29:15 +0000 (17:29 +0000)]
Merge "Make data loading a bit better in ApiProtect."

12 years ago[FileBackend] Added a script to copy files from one backend to another. Useful for...
Aaron [Wed, 25 Apr 2012 22:52:27 +0000 (15:52 -0700)]
[FileBackend] Added a script to copy files from one backend to another. Useful for re-sharding.

Change-Id: Id942e83420fc5214ddcc8a5b483fd72166a76ff2

12 years agoMerge "Use WikiPage::newFromID() instead of Title::newFromID() in refreshLinks.php."
Aaron Schulz [Thu, 26 Apr 2012 17:21:06 +0000 (17:21 +0000)]
Merge "Use WikiPage::newFromID() instead of Title::newFromID() in refreshLinks.php."

12 years agoMerge "Optimise WikiPage::newFromID() to load all the data in one database query."
Aaron Schulz [Thu, 26 Apr 2012 17:19:38 +0000 (17:19 +0000)]
Merge "Optimise WikiPage::newFromID() to load all the data in one database query."

12 years agoMerge "let us easily override PHPUnit version"
Demon [Thu, 26 Apr 2012 13:22:17 +0000 (13:22 +0000)]
Merge "let us easily override PHPUnit version"

12 years agoAdded missing GPLv2 headers in includes/db.
Alexandre Emsenhuber [Thu, 26 Apr 2012 08:47:10 +0000 (10:47 +0200)]
Added missing GPLv2 headers in includes/db.

Change-Id: Ib8fe301c6db77603e411113cea5a39c25c664961

12 years agoUse WikiPage::newFromID() instead of Title::newFromID() in refreshLinks.php.
Alexandre Emsenhuber [Thu, 26 Apr 2012 07:37:27 +0000 (09:37 +0200)]
Use WikiPage::newFromID() instead of Title::newFromID() in refreshLinks.php.

Avoids having to load twice the same row from the database.

Change-Id: I3099dbd290e44f21677990e69200694c70aac63b

12 years agoMerge "36019: Revert b/25095 breaks Special:Categories"
Aaron Schulz [Thu, 26 Apr 2012 02:50:36 +0000 (02:50 +0000)]
Merge "36019: Revert b/25095 breaks Special:Categories"

12 years ago[FileBackend] Added container stat caching to reduce RTTs to high latency backends.
Aaron [Mon, 23 Apr 2012 20:27:58 +0000 (13:27 -0700)]
[FileBackend] Added container stat caching to reduce RTTs to high latency backends.

Change-Id: I73575fd65ca06a238803b30f8de6873801a224b3

12 years ago[FileBackend] Some documentation and minor cleanups.
Aaron [Wed, 25 Apr 2012 20:47:09 +0000 (13:47 -0700)]
[FileBackend] Some documentation and minor cleanups.

Change-Id: Ia5f01679c928a9053cfd05d26fe1a03b67dac433

12 years agoMerge "Hot-fix for mismatching lens from database"
Brion VIBBER [Wed, 25 Apr 2012 19:43:25 +0000 (19:43 +0000)]
Merge "Hot-fix for mismatching lens from database"

12 years agoMerge "(bug 32537) Pre-register default-loaded RL modules in the client-side loader."
Brion VIBBER [Wed, 25 Apr 2012 19:40:23 +0000 (19:40 +0000)]
Merge "(bug 32537) Pre-register default-loaded RL modules in the client-side loader."

12 years agoMerge "[FileBackend] Added some basic directory functions."
Brion VIBBER [Wed, 25 Apr 2012 19:38:12 +0000 (19:38 +0000)]
Merge "[FileBackend] Added some basic directory functions."

12 years agoMerge "Add function OutputPage::getHeadLinksArray()"
Brion VIBBER [Wed, 25 Apr 2012 19:36:21 +0000 (19:36 +0000)]
Merge "Add function OutputPage::getHeadLinksArray()"

12 years agoMerge "[FileRepo] Avoid performance degeration due to thumbnail requests with a read...
Brion VIBBER [Wed, 25 Apr 2012 19:28:00 +0000 (19:28 +0000)]
Merge "[FileRepo] Avoid performance degeration due to thumbnail requests with a read-only backend."

12 years agoMerge "Split out quickCleanDir() function just for thumbnails for consistency."
Brion VIBBER [Wed, 25 Apr 2012 19:24:17 +0000 (19:24 +0000)]
Merge "Split out quickCleanDir() function just for thumbnails for consistency."

12 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Wed, 25 Apr 2012 19:15:14 +0000 (19:15 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I510e39d60833c79754fa3c8b3307313338187847

12 years ago(bug 32537) Pre-register default-loaded RL modules in the client-side
lupo [Wed, 25 Apr 2012 18:24:03 +0000 (20:24 +0200)]
(bug 32537) Pre-register default-loaded RL modules in the client-side
loader.

Site, user, and user.groups modules are pre-registered in JS client-side
loader. This prevents loading them again if they're given as explicit
dependencies of some other module.

Enabled modules are registered as "loading", disabled ones as "missing".
Empty modules register themselves as "ready".

Also adapt the client-side mw.loader.state to ensure that dependencies
are tracked if called with state "ready".

Note the FIXME in OutputPage.php; methinks this is an already existing
issue not fixed by this change.

Changeset 2: fix bug number in commit message (32537, not 32357!)

Changeset 3: change 'ready' registration as discussed; adapt line
lengths; clean up client-side code.

Changeset 4: "missing" status for disabled modules.

Change-Id: I595b3af1900d4bec0c35940ef51a19c8a7440faa

12 years agoSplit out quickCleanDir() function just for thumbnails for consistency.
Aaron [Wed, 25 Apr 2012 17:47:59 +0000 (10:47 -0700)]
Split out quickCleanDir() function just for thumbnails for consistency.

Change-Id: I02f3eefc703016ac5681128de05ff09e716646d1

12 years agoMerge "[FileRepo] Fixed regression where thumbnails could not be written to foreign...
Brion VIBBER [Wed, 25 Apr 2012 17:39:53 +0000 (17:39 +0000)]
Merge "[FileRepo] Fixed regression where thumbnails could not be written to foreign repos."

12 years agoAdd function OutputPage::getHeadLinksArray()
Max Semenik [Tue, 24 Apr 2012 17:25:06 +0000 (21:25 +0400)]
Add function OutputPage::getHeadLinksArray()

...that returns head tags as associative array for the benefit of skin
makers who don't want to output every <meta> tag in the universe.

Patchset 2: make sure that array keys are unique

Change-Id: I6fa3c954d603e0e401cbdb68975d536cf07e11ab

12 years agoMerge "(bug 34956) Parser should use mUrlProtocol instead of wfUrlProtocols()"
Demon [Wed, 25 Apr 2012 15:00:00 +0000 (15:00 +0000)]
Merge "(bug 34956) Parser should use mUrlProtocol instead of wfUrlProtocols()"

12 years agoMerge "[FileBackend] Reduced code duplication with new getPathsToLockForOpsInternal...
Demon [Wed, 25 Apr 2012 14:18:15 +0000 (14:18 +0000)]
Merge "[FileBackend] Reduced code duplication with new getPathsToLockForOpsInternal() function."

12 years agoMerge "Make API action=tokens extendable"
Demon [Wed, 25 Apr 2012 14:03:26 +0000 (14:03 +0000)]
Merge "Make API action=tokens extendable"

12 years agoMerge "Deprecate WebRequest::escapeAppendQuery()"
Demon [Wed, 25 Apr 2012 13:59:10 +0000 (13:59 +0000)]
Merge "Deprecate WebRequest::escapeAppendQuery()"

12 years agoMerge "Use $wgContLang and an anonymous user in refreshLinks.php to parse pages."
Demon [Wed, 25 Apr 2012 13:58:16 +0000 (13:58 +0000)]
Merge "Use $wgContLang and an anonymous user in refreshLinks.php to parse pages."

12 years agoNo environment reset for failure after prefetch hit
Christian Aistleitner [Mon, 23 Apr 2012 14:58:25 +0000 (16:58 +0200)]
No environment reset for failure after prefetch hit

Change-Id: I2377369c2f8c5a37db24ebf437a5ee7dd31d7bf6

12 years agoHot-fix for mismatching lens from database
Christian Aistleitner [Fri, 20 Apr 2012 12:45:13 +0000 (14:45 +0200)]
Hot-fix for mismatching lens from database

Change-Id: Idb58ce271d514f6f335877af1e0e4149ab337fef

12 years agoMake data loading a bit better in ApiProtect.
Alexandre Emsenhuber [Fri, 20 Apr 2012 09:57:01 +0000 (11:57 +0200)]
Make data loading a bit better in ApiProtect.

* Use WikiPage::newFromID() directly instead of Title::newFromID() (change pending review to improve it)
* Directly load the data from the master when creating a page from its name, it avoids a second database query when calling $this->getLatest() in WikiPage::doUpdateRestrictions()

Change-Id: I993d087961c0ef41a2e3f8d949922d3d30ca1fde

12 years agoMake API action=tokens extendable
Max Semenik [Wed, 25 Apr 2012 08:48:53 +0000 (12:48 +0400)]
Make API action=tokens extendable

LocalSettings snippet for testing:

$wgHooks['ApiTokensGetTokenTypes'][] = function( &$hookTypes ) {
$hookTypes['foo'] = function() { return 'bar'; };
return true;
};

Change-Id: Idf1f4379e677d21059c1b4e12f80e9d2bafb9897

12 years agoDeprecate WebRequest::escapeAppendQuery()
Max Semenik [Tue, 24 Apr 2012 20:05:10 +0000 (00:05 +0400)]
Deprecate WebRequest::escapeAppendQuery()

It is an ugly piece of UI-related code in an infrastructure class.
Its only user, MobileFrontend, is currently in process of getting rid of it.

Patchset 2: Fixed commit message

Change-Id: I62f9f707532a95be01c1ecdcb1fbfbd0c4117be6

12 years agoMerge "(bug 36047) Adds high definition (HD) CSS for the Vector skin"
Catrope [Wed, 25 Apr 2012 03:34:41 +0000 (03:34 +0000)]
Merge "(bug 36047) Adds high definition (HD) CSS for the Vector skin"

12 years agoMerge "Parameter documentation for PathRouter"
Aaron Schulz [Tue, 24 Apr 2012 23:33:37 +0000 (23:33 +0000)]
Merge "Parameter documentation for PathRouter"

12 years agoParameter documentation for PathRouter
Reedy [Tue, 24 Apr 2012 22:55:33 +0000 (23:55 +0100)]
Parameter documentation for PathRouter

Explicitly define member variable

Change-Id: Iae2cffbb299d587d9a48b3b3255a0b49501cabac

12 years ago(bug 30410) Remove deprecated $wgFilterCallback. The 'filtered' API error was also...
Alex Monk [Sun, 8 Apr 2012 20:20:05 +0000 (21:20 +0100)]
(bug 30410) Remove deprecated $wgFilterCallback. The 'filtered' API error was also removed, along with EditPage::AS_FILTERING.

Change-Id: Ic0b7b2f22ab61c9d760d280e5ab4e24af1160b7a

12 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Tue, 24 Apr 2012 19:26:02 +0000 (19:26 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I20d33dba24bbbdecae406f3427a1b6be652f7c17

12 years agoMerge "[FileBackend] Renamed getOperations() to reflect that it is "internal"."
Demon [Tue, 24 Apr 2012 18:54:34 +0000 (18:54 +0000)]
Merge "[FileBackend] Renamed getOperations() to reflect that it is "internal"."

12 years ago[FileRepo] Avoid performance degeration due to thumbnail requests with a read-only...
Aaron Schulz [Sat, 21 Apr 2012 18:47:14 +0000 (11:47 -0700)]
[FileRepo] Avoid performance degeration due to thumbnail requests with a read-only backend.

Change-Id: I8663e64a0f16dac6d763a3f770b48c9be36680b8

12 years ago[FileRepo] Added hook to let us copy thumbnails into additional places as they are...
Aaron [Mon, 23 Apr 2012 18:06:05 +0000 (11:06 -0700)]
[FileRepo] Added hook to let us copy thumbnails into additional places as they are transformed.

Change-Id: I673faf338e58c8230ab6da5243f921c178c47e97

12 years ago[FileBackend] Reduced code duplication with new getPathsToLockForOpsInternal() function.
Aaron [Tue, 24 Apr 2012 18:03:10 +0000 (11:03 -0700)]
[FileBackend] Reduced code duplication with new getPathsToLockForOpsInternal() function.

Change-Id: I0ca8a81f2e65acaf849e02af3d59fcc3d40026d8

12 years agoFixed undefined defines warnings introduced in change 5131
Max Semenik [Tue, 24 Apr 2012 17:54:08 +0000 (21:54 +0400)]
Fixed undefined defines warnings introduced in change 5131

https://gerrit.wikimedia.org/r/#change,5131

Change-Id: Ib338fd8cb5032b1468598ecedf537a75850acd62

12 years agoThe script can be re-run (in some cases at least!) to fix up incomplete migrations...
Reedy [Tue, 17 Apr 2012 15:48:17 +0000 (16:48 +0100)]
The script can be re-run (in some cases at least!) to fix up incomplete migrations (see bug 34981 for enwiki)

There's little point reading a row from the db if rev_parent_id != null, as the parent id has already been populated.

Added this as an extra condition, filtering on this after limiting to a relatively small batch should be ok (rev_parent_id isn't indexed)

Change-Id: I85b5813ab214869350c95f3bee58daca3e92eba0

12 years agoMerge "Refactoring previewnote."
Demon [Tue, 24 Apr 2012 12:19:06 +0000 (12:19 +0000)]
Merge "Refactoring previewnote."

12 years ago[FileBackend] Renamed getOperations() to reflect that it is "internal".
Aaron Schulz [Tue, 24 Apr 2012 10:55:11 +0000 (03:55 -0700)]
[FileBackend] Renamed getOperations() to reflect that it is "internal".

Change-Id: I11e1b1b3ad494280f753d517792dcd1dff400aa6

12 years ago[FileRepo] Fixed regression where thumbnails could not be written to foreign repos.
Aaron [Tue, 24 Apr 2012 00:30:38 +0000 (17:30 -0700)]
[FileRepo] Fixed regression where thumbnails could not be written to foreign repos.

Change-Id: I196463326a40a5d1ff0d1fdabbce21c8b372ea41

12 years ago(bug 34041) Remove bogus 10000x10000 pixel option
Tim Starling [Mon, 23 Apr 2012 22:11:16 +0000 (08:11 +1000)]
(bug 34041) Remove bogus 10000x10000 pixel option

Change-Id: I7d6e1795a637badde5551950b599ad1da215ca72

12 years agoMerge "Fix magic $ aliasing in ResourceLoader"
Aaron Schulz [Mon, 23 Apr 2012 19:21:22 +0000 (19:21 +0000)]
Merge "Fix magic $ aliasing in ResourceLoader"

12 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Mon, 23 Apr 2012 19:17:29 +0000 (19:17 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I4f91b1d14bcb3f1e064a1758d51519949ace85a3

12 years agoFix magic $ aliasing in ResourceLoader
Catrope [Mon, 23 Apr 2012 19:07:03 +0000 (12:07 -0700)]
Fix magic $ aliasing in ResourceLoader

This was removed in 5bf04171dc34521f7ee7e33ba17a90c7a772ab31 , but broke
Twinkle on enwiki just now.

Change-Id: I1b131e26181b3b8b6cd68a1b965b9ab9ba1299af

12 years agoMerge "bug 36087: PostgresUpdater fails on 8.3.14"
Demon [Mon, 23 Apr 2012 17:18:57 +0000 (17:18 +0000)]
Merge "bug 36087: PostgresUpdater fails on 8.3.14"

12 years agoUse $wgContLang and an anonymous user in refreshLinks.php to parse pages.
Alexandre Emsenhuber [Mon, 23 Apr 2012 06:12:12 +0000 (08:12 +0200)]
Use $wgContLang and an anonymous user in refreshLinks.php to parse pages.

Normally it should already be correct, but just in case it gets broken for some reason.

Change-Id: Ia38df1ba1f4a6224296bfd837a515ce0ccdf55cb

12 years agoMerge "Fix notices from r94259 due to undefined variables"
Aaron Schulz [Mon, 23 Apr 2012 04:15:08 +0000 (04:15 +0000)]
Merge "Fix notices from r94259 due to undefined variables"

12 years agoMerge "Destroy any lock manager connections when forking."
Brion VIBBER [Mon, 23 Apr 2012 01:37:50 +0000 (01:37 +0000)]
Merge "Destroy any lock manager connections when forking."

12 years agoFix notices from r94259 due to undefined variables
Tim Starling [Sun, 22 Apr 2012 23:56:09 +0000 (09:56 +1000)]
Fix notices from r94259 due to undefined variables

Fix notices from r94259 due to undefined variables
$previewtext and $class in the isWikitextPage()==true case.

Change-Id: I6ae2486d8860d2c28d656cdbd594ebc3a1263537

12 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Sun, 22 Apr 2012 18:43:04 +0000 (18:43 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I0a0e64a15aa4325e92aa1b53820c7cf9850a3929

12 years agofix typo
jeroendedauw [Sun, 22 Apr 2012 13:41:35 +0000 (15:41 +0200)]
fix typo

Change-Id: Ida1816a44af452c842e39cbee88ba53320b55cd8

12 years ago[FileBackend] Added some basic directory functions.
Aaron Schulz [Thu, 5 Apr 2012 05:56:08 +0000 (22:56 -0700)]
[FileBackend] Added some basic directory functions.

* Added directoryExists() function to check if a dir exists.
* Added getDirectoryList() and getTopDirectoryList() functions to list out subdirs.
* Added getTopFileList() function to list out immediate files in a dir. This wraps getFileList(), which was modified.

Change-Id: I087835f40d76c41f5d6af55b9a34a51e0f44a675

12 years agoMerge "Revert "tests to compare En, Qqq and messages.inc" due to test failures caused...
Brion VIBBER [Sat, 21 Apr 2012 19:39:58 +0000 (19:39 +0000)]
Merge "Revert "tests to compare En, Qqq and messages.inc" due to test failures caused by extension dependencies."

12 years agoMerge "(bug 35884) width:auto unneeded on header element"
Brion VIBBER [Sat, 21 Apr 2012 19:36:38 +0000 (19:36 +0000)]
Merge "(bug 35884) width:auto unneeded on header element"

12 years agoMerge "Ensure MWHttpRequest::method gets set with strtoupper() since code examining...
Brion VIBBER [Sat, 21 Apr 2012 19:30:16 +0000 (19:30 +0000)]
Merge "Ensure MWHttpRequest::method gets set with strtoupper() since code examining MWHttpRequest::method always expects its value to be fully uppercased."

12 years agoMerge "Added getBatch() function to BagOStuff and optimized it for memcached."
Brion VIBBER [Sat, 21 Apr 2012 19:27:13 +0000 (19:27 +0000)]
Merge "Added getBatch() function to BagOStuff and optimized it for memcached."

12 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Sat, 21 Apr 2012 18:44:48 +0000 (18:44 +0000)]
Localisation updates from translatewiki.net.

Change-Id: Ifd1a6539ae8dbeaa6d9d3ac94de1f3dad061acc0

12 years agoAdded getBatch() function to BagOStuff and optimized it for memcached.
Aaron Schulz [Sat, 21 Apr 2012 18:07:18 +0000 (11:07 -0700)]
Added getBatch() function to BagOStuff and optimized it for memcached.

Change-Id: Id8a3ed1ac7b22db7f7bf58ffde4be3285e8e2df9

12 years ago(bug 31757) Add a word-separator between help-messages in HTMLForm
umherirrender [Sat, 21 Apr 2012 09:55:40 +0000 (11:55 +0200)]
(bug 31757) Add a word-separator between help-messages in HTMLForm

Change-Id: Ie4dbfb16e195dabd6abf0634b21c7867ed584920

12 years agostrip off subpages direct in GenderCache
umherirrender [Sat, 21 Apr 2012 08:32:09 +0000 (10:32 +0200)]
strip off subpages direct in GenderCache

LinkBatch can also give subpages to the GenderCache and therefor it is
easier to do it always in GenderCache, than in LinkBatch and Title

Add unit tests for GenderCache

Change-Id: Ia936ff8bb639a197b0b3a8e07c97a66edd57dd10

12 years ago(bug 35870) Fix pre-upload preview on IE 10 for Special:Upload
Brion Vibber [Fri, 13 Apr 2012 21:54:01 +0000 (14:54 -0700)]
(bug 35870) Fix pre-upload preview on IE 10 for Special:Upload

When loading thumbnails, we fetch the actual file data so we can find EXIF data in JPEGs
and do suitable rotation fixes.

This currently uses binary strings via FileReader.readAsBinaryString, but that's not
implemented in IE 10.

Workaround uses FileReader.readAsArrayBuffer and converts to a binary string in case
FileReader.readAsBinaryString is missing but readAsArrayBuffer is there.

Patchset 2: fixed bug number, expanded details
Patchset 3: cleaned up
Patchset 4: summary fix
Patchset 5: whitespace clean-up

Change-Id: Ia0258f5f400a2a52a484f33fbffed7d848245d22