lhc/web/wiklou.git
11 years ago(bug 40250) Local plural overrides for vi
Niklas Laxström [Fri, 14 Sep 2012 16:40:25 +0000 (16:40 +0000)]
(bug 40250) Local plural overrides for vi

Change-Id: I83fcc2e45ad35fa103584e41e275dd5cf2f8680e

11 years ago(bug 40214) Category pages no longer use deprecated "width" HTML attribute
Alexandre Emsenhuber [Fri, 14 Sep 2012 07:29:22 +0000 (09:29 +0200)]
(bug 40214) Category pages no longer use deprecated "width" HTML attribute

Change-Id: Ie1a4a1ca81874cd2ffd1012bf6468a69729e3a62

11 years agoSet $wgUseCombinedLoginLink to false by default.
Daniel Friesen [Wed, 15 Aug 2012 18:21:07 +0000 (11:21 -0700)]
Set $wgUseCombinedLoginLink to false by default.

See: http://thread.gmane.org/gmane.science.linguistics.wikipedia.technical/61489

Change-Id: I5a6761b5648d36581848372e456832ef15e097b4

11 years agoMerge "Added MediaWikiTestCase::assertTypeOrValue to facilitate common type checks"
Daniel Kinzler [Fri, 14 Sep 2012 10:08:44 +0000 (10:08 +0000)]
Merge "Added MediaWikiTestCase::assertTypeOrValue to facilitate common type checks"

11 years agoMerge "(bug 40213) border=0 is pointless, 0 is the default."
IAlex [Fri, 14 Sep 2012 07:34:31 +0000 (07:34 +0000)]
Merge "(bug 40213) border=0 is pointless, 0 is the default."

11 years agoMoved down rarely used option flag and added @since.
Aaron Schulz [Fri, 14 Sep 2012 04:31:59 +0000 (21:31 -0700)]
Moved down rarely used option flag and added @since.

Change-Id: I801bd0ab4099245499a0eb4b060f143879164278

11 years ago(bug 40213) border=0 is pointless, 0 is the default.
Alex Monk [Thu, 13 Sep 2012 22:01:37 +0000 (23:01 +0100)]
(bug 40213) border=0 is pointless, 0 is the default.

Change-Id: I6212915d098466e1317b0c21e7be12d40d467a7d

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Thu, 13 Sep 2012 20:37:11 +0000 (20:37 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I182c6b740119a2dc33c4fd79701c62eb4a959925

11 years agoMove api/ApiTestUser.php to TestUser.php and make available in MediaWikiTestCase...
Siebrand Mazeland [Tue, 11 Sep 2012 00:07:18 +0000 (17:07 -0700)]
Move api/ApiTestUser.php to TestUser.php and make available in MediaWikiTestCase class.

* Renamed class ApiTestUser to TestUser.

Change-Id: I1c3c659c3ba5c54a314d879132f760008983372d

11 years agoAdded MediaWikiTestCase::assertTypeOrValue to facilitate common type checks
jeroendedauw [Tue, 4 Sep 2012 13:53:05 +0000 (15:53 +0200)]
Added MediaWikiTestCase::assertTypeOrValue to facilitate common type checks

Also added MediaWikiTestCase::assertType which accepts both internal types, classes and interfaces

Change-Id: I168ef17ad2da3b744a106742760ef34cc683bf69

11 years agoMerge "Some changes to Special:ListUsers and Special:ActiveUsers"
IAlex [Thu, 13 Sep 2012 18:13:05 +0000 (18:13 +0000)]
Merge "Some changes to Special:ListUsers and Special:ActiveUsers"

11 years agoMerge "(bug 39538) SVG filepages do not need the file-nohires message."
IAlex [Thu, 13 Sep 2012 18:01:17 +0000 (18:01 +0000)]
Merge "(bug 39538) SVG filepages do not need the file-nohires message."

11 years agoMerge "Convert last usages of wfMsg*() to wfMessage()."
Siebrand [Thu, 13 Sep 2012 01:49:41 +0000 (01:49 +0000)]
Merge "Convert last usages of wfMsg*() to wfMessage()."

11 years agoRemove top margin for wpSummary input.
Rob Moen [Wed, 12 Sep 2012 23:39:36 +0000 (16:39 -0700)]
Remove top margin for wpSummary input.

Rationale, the top margin on the input pushes label out of context.

Change-Id: I64befc97f5ab3e45b72f7d60b774d23b8ee2e023

11 years ago[FileBackend] Added automatic recovery option for backend sync errors.
Aaron Schulz [Mon, 3 Sep 2012 19:02:30 +0000 (12:02 -0700)]
[FileBackend] Added automatic recovery option for backend sync errors.

* Separated consistency checks from permission checks.
* Made fileStoragePathsForOps() exclude non-storage paths.

Change-Id: If15c5fb890f7506ac9c9bfb78c46ab9228a55a8f

11 years agoAdd Vary: X-Forwarded-Proto to the thumb.php redirect
Tim Starling [Wed, 12 Sep 2012 17:35:47 +0000 (10:35 -0700)]
Add Vary: X-Forwarded-Proto to the thumb.php redirect

Also added missing return. Untested.

Change-Id: I975b82d18ba98d1d9b1f2124150af9e5c41f418e

11 years agothumb.php now handles short and long thumbnail name formats when possible.
Aaron [Tue, 4 Sep 2012 16:57:44 +0000 (09:57 -0700)]
thumb.php now handles short and long thumbnail name formats when possible.

Change-Id: I33932ac0e0294dc13332dce9d4ab00a75d9cdcba

11 years agoMerge "Apparently setIndexedTagName_recursive() wasn't enough here"
Reedy [Wed, 12 Sep 2012 21:08:10 +0000 (21:08 +0000)]
Merge "Apparently setIndexedTagName_recursive() wasn't enough here"

11 years agoMerge "Make userWasLastToEdit reusable."
Demon [Wed, 12 Sep 2012 20:02:54 +0000 (20:02 +0000)]
Merge "Make userWasLastToEdit reusable."

11 years agoApparently setIndexedTagName_recursive() wasn't enough here
Catrope [Wed, 12 Sep 2012 19:57:04 +0000 (12:57 -0700)]
Apparently setIndexedTagName_recursive() wasn't enough here

Change-Id: I090b2a315040bc5594a31e5d44dcb9721b4750a6

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Wed, 12 Sep 2012 19:48:03 +0000 (19:48 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I48fcc727c92101ac76c594338fbc05a098cd1008

11 years agoMerge "Upgrade jQuery to 1.8.1 now that the remaining bug fixes have been merged"
Reedy [Wed, 12 Sep 2012 19:28:03 +0000 (19:28 +0000)]
Merge "Upgrade jQuery to 1.8.1 now that the remaining bug fixes have been merged"

11 years agoMerge "fix docu for ApiCheckCanExecute"
IAlex [Wed, 12 Sep 2012 18:51:34 +0000 (18:51 +0000)]
Merge "fix docu for ApiCheckCanExecute"

11 years agoMerge "Update release-notes (follows-up d6028a18 and a1e602a)."
IAlex [Wed, 12 Sep 2012 18:49:16 +0000 (18:49 +0000)]
Merge "Update release-notes (follows-up d6028a18 and a1e602a)."

11 years agoMerge "Fix fatal error in rcprop=loginfo"
Reedy [Wed, 12 Sep 2012 17:43:48 +0000 (17:43 +0000)]
Merge "Fix fatal error in rcprop=loginfo"

11 years agoUpgrade jQuery to 1.8.1 now that the remaining bug fixes have been merged
Catrope [Wed, 12 Sep 2012 17:39:41 +0000 (17:39 +0000)]
Upgrade jQuery to 1.8.1 now that the remaining bug fixes have been merged

(Is this a re-upgrade? Re-re-re-upgrade? I'm losing track.)

This reverts commit 82af9811ecc09da3923cc19eb5dd35bf5c9018f0

Change-Id: I0a43d7667d7cfa681a087ed96acd23d3c1a386c5

11 years agoMerge "Various javascript optimizations (fixes bug 39959)"
Catrope [Wed, 12 Sep 2012 17:36:11 +0000 (17:36 +0000)]
Merge "Various javascript optimizations (fixes bug 39959)"

11 years agoUpdate release-notes (follows-up d6028a18 and a1e602a).
Timo Tijhof [Wed, 12 Sep 2012 10:16:22 +0000 (12:16 +0200)]
Update release-notes (follows-up d6028a18 and a1e602a).

Change-Id: If4eecc72bf32eeac29cb9f88367fc699c7508884

11 years agoMerge "(bug 40072) Add semantic CSS classes to identify changes list items"
Krinkle [Wed, 12 Sep 2012 10:09:18 +0000 (10:09 +0000)]
Merge "(bug 40072) Add semantic CSS classes to identify changes list items"

11 years agoMerge "Link to mediawiki.org using https from doxygen first page, not http"
Reedy [Wed, 12 Sep 2012 03:36:12 +0000 (03:36 +0000)]
Merge "Link to mediawiki.org using https from doxygen first page, not http"

11 years ago(bug 39538) SVG filepages do not need the file-nohires message.
Derk-Jan Hartman [Fri, 7 Sep 2012 17:23:37 +0000 (19:23 +0200)]
(bug 39538) SVG filepages do not need the file-nohires message.

Change-Id: I88b75079d09cc3ab1904a0a2d716fe2df57b7be6

11 years agoLink to mediawiki.org using https from doxygen first page, not http
Alexandre Emsenhuber [Tue, 11 Sep 2012 19:43:29 +0000 (21:43 +0200)]
Link to mediawiki.org using https from doxygen first page, not http

Change-Id: I13fe244e6122930731f144f97f27126339065481

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Tue, 11 Sep 2012 19:27:17 +0000 (19:27 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I70ed32349480c5a46c706ade4dd7b4a80d5cead6

11 years agoMake benmark duration output more prettier.
Alexandre Emsenhuber [Thu, 6 Sep 2012 20:06:46 +0000 (22:06 +0200)]
Make benmark duration output more prettier.

- Output miliseconds instead of second, much easier to read without
  a bunch of leading zeros
- Give precision up to the microsecond in benchmarkHooks

Change-Id: Id47e55eb311c926757c50a432c8992999908c03e

11 years agoFix the path to the maintenance directory.
Alexandre Emsenhuber [Tue, 11 Sep 2012 17:17:18 +0000 (19:17 +0200)]
Fix the path to the maintenance directory.

There was one dirname() too much.

Change-Id: I1531a9bad7f6709b693a3d063462cf06c3f85891

11 years agoMerge "(bug 33445) Remove default right margin on wikitables."
Krinkle [Tue, 11 Sep 2012 16:14:13 +0000 (16:14 +0000)]
Merge "(bug 33445) Remove default right margin on wikitables."

11 years agofix docu for ApiCheckCanExecute
daniel [Tue, 11 Sep 2012 13:16:39 +0000 (15:16 +0200)]
fix docu for ApiCheckCanExecute

Change-Id: Ib9af835f3e775dd89a655b186923535d9bd01678

11 years agoAdded some doc comments for BacklinkCache.
Aaron Schulz [Tue, 11 Sep 2012 06:32:12 +0000 (23:32 -0700)]
Added some doc comments for BacklinkCache.

Change-Id: I71201582726c986384fe9fba60a5bdc7fa465be8

11 years agoMerge "Limit the Title backlink cache to two instances."
Aaron Schulz [Tue, 11 Sep 2012 06:22:44 +0000 (06:22 +0000)]
Merge "Limit the Title backlink cache to two instances."

11 years agoMerge "enhance jquery.spinner, keeping backwards compatibility"
Krinkle [Tue, 11 Sep 2012 03:30:38 +0000 (03:30 +0000)]
Merge "enhance jquery.spinner, keeping backwards compatibility"

11 years agoenhance jquery.spinner, keeping backwards compatibility
MatmaRex [Mon, 3 Sep 2012 15:08:46 +0000 (17:08 +0200)]
enhance jquery.spinner, keeping backwards compatibility

Replaced single `id` argument to $.createSpinner with an options object.
The options allow one to set the id (as before), spinner size (small or
large), and its display mode (inline or block). Analogic change was made
to $.fn.injectSpinner.

Default options are kept the same as they used to be, and old-style calls
still work. However, the definition of .mw-spinner CSS class has been
changed (although, with a bit of hairy code, it could be kept
compatible...).

These changes should be enough to allow us to replace old usages of
.mw-small-spinner and .mw-ajax-loader classes, as defined in shared.css.

This is a reimplementation of the idea described in Ie55ffb6b.

Copied spinner.gif and ajax-loader.gif from /skins/common/images/.

Change-Id: I0ff71ba1eef299e0e699df84c68f1be1c20492f7

11 years agoMerge "Don't exit too quickly when reporting an exception."
Aaron Schulz [Tue, 11 Sep 2012 00:31:46 +0000 (00:31 +0000)]
Merge "Don't exit too quickly when reporting an exception."

11 years agoFix fatal error in rcprop=loginfo
Catrope [Mon, 10 Sep 2012 20:15:59 +0000 (13:15 -0700)]
Fix fatal error in rcprop=loginfo

There was a recentchanges row on enwiki whose rc_params looked like
array('4::tags'=>array('db-g11')), and the tag name wasn't set
recursively so the inner array didn't get a tag name.

This still generates invalid XML of course, because <4::tags> isn't a
valid tag, but at least it doesn't fatal any more. RAWR XML GRUMBLE

Change-Id: Ibb775df4bd010bdce5632914f789230d8626c9e7

11 years agoMade backend sync script handle random errors better.
Aaron [Wed, 5 Sep 2012 17:58:26 +0000 (10:58 -0700)]
Made backend sync script handle random errors better.

Change-Id: I3ad5d9d0768480d8be4bb480fe653238d203a95c

11 years ago[FileBackend] Added concatenate() failure logging.
Aaron [Mon, 10 Sep 2012 21:01:29 +0000 (14:01 -0700)]
[FileBackend] Added concatenate() failure logging.

Change-Id: Iebc0f6e4caf57e44903dd3f0db6e3f95d589f13e

11 years agoMerge "Localisation updates from http://translatewiki.net."
Translation updater bot [Mon, 10 Sep 2012 19:44:17 +0000 (19:44 +0000)]
Merge "Localisation updates from translatewiki.net."

11 years agoMerge "[FileBackend] Treat NoSuchObjectException as a normal error in streamFile()."
Catrope [Mon, 10 Sep 2012 19:32:22 +0000 (19:32 +0000)]
Merge "[FileBackend] Treat NoSuchObjectException as a normal error in streamFile()."

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Mon, 10 Sep 2012 19:24:20 +0000 (19:24 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I05c180264b8505cf5897256b360ad624aaf1284f

11 years agoConvert last usages of wfMsg*() to wfMessage().
Alexandre Emsenhuber [Mon, 10 Sep 2012 17:55:20 +0000 (19:55 +0200)]
Convert last usages of wfMsg*() to wfMessage().

Change-Id: Ia0f8c196a77edd0cd60cb1a4880342e831e8b49d

11 years agoMerge "Replace some occurrences of wfMsg* by alternatives. Undeprecated wfMsgReplaceA...
IAlex [Mon, 10 Sep 2012 17:33:37 +0000 (17:33 +0000)]
Merge "Replace some occurrences of wfMsg* by alternatives. Undeprecated wfMsgReplaceArgs."

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Sun, 9 Sep 2012 19:28:28 +0000 (19:28 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I048314321c9e2213fd957e1a43a4005953a85188

11 years ago[FileBackend] Treat NoSuchObjectException as a normal error in streamFile().
Aaron Schulz [Sun, 9 Sep 2012 17:54:16 +0000 (10:54 -0700)]
[FileBackend] Treat NoSuchObjectException as a normal error in streamFile().

Change-Id: I6b64e524a7f3cba6cabe5282f5915cd05dbf8ad0

11 years agoDon't exit too quickly when reporting an exception.
Alexandre Emsenhuber [Sun, 9 Sep 2012 13:12:02 +0000 (15:12 +0200)]
Don't exit too quickly when reporting an exception.

MWExceptionHander::handle() already exist at the end of its task,
so there's no need to have other die() calls.

There were some problems with that:
- wfLogProfilingData() was only called after reporting some exception
- MWExceptionHandler::report() was not consistent between web and
  command-linerequests
- MWException::reportHTML() was also not consistent when using the
  OutputPage object or not

Also removed MWExceptionHander::escapeEchoAndDie() since it's not needed anymore.

Change-Id: Ibb679c425ef0271a65f623c7b8541ec9bec70eb0

11 years agoUse quickImport() for upload chunk storage calls.
Aaron Schulz [Sun, 9 Sep 2012 04:40:17 +0000 (21:40 -0700)]
Use quickImport() for upload chunk storage calls.

* Using store() is slower and causes problems with multiwrite backends,
  since the other temp storage calls already wrap doQuickOperations().
* Modified quickImport() to accept stored files as the source parameter.

Change-Id: I3b32b46ce6b5562bb661ec49255630236aeaa44c

11 years agoMerge "Renamed $pairs => $triples."
Aaron Schulz [Sun, 9 Sep 2012 02:19:38 +0000 (02:19 +0000)]
Merge "Renamed $pairs => $triples."

11 years agoRenamed $pairs => $triples.
Aaron Schulz [Sun, 9 Sep 2012 02:15:27 +0000 (19:15 -0700)]
Renamed $pairs => $triples.

Change-Id: Ia87880ed00e734c577e0ab6d07cdac5c8b1dd619

11 years agoReduced max TempFSFile::factory() attempts since it uses 12 hex chars.
Aaron Schulz [Sun, 9 Sep 2012 00:10:12 +0000 (17:10 -0700)]
Reduced max TempFSFile::factory() attempts since it uses 12 hex chars.

Change-Id: I93dd53f391e74b953c89b4225ab691850ccc66ef

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Sat, 8 Sep 2012 18:54:36 +0000 (18:54 +0000)]
Localisation updates from translatewiki.net.

Change-Id: Iaa597b7e816596e2b7e7663c60a17002f49bb332

11 years agoSome changes to Special:ListUsers and Special:ActiveUsers
umherirrender [Sat, 8 Sep 2012 14:15:27 +0000 (16:15 +0200)]
Some changes to Special:ListUsers and Special:ActiveUsers

* Change raw database quoting
* Use new syntax for aliased columns
* Change AND condition into array syntax
* Spacing
* Change raw html to Html::element

Change-Id: Ifebe807ab1c2d5a3e8b6bb22087b6d0040c5794f

11 years agoMerge "Replace deprecated methods."
IAlex [Sat, 8 Sep 2012 13:50:34 +0000 (13:50 +0000)]
Merge "Replace deprecated methods."

11 years agoMerge "Fix Title::getRedirectsHere to respect interwiki prefix"
IAlex [Sat, 8 Sep 2012 13:46:08 +0000 (13:46 +0000)]
Merge "Fix Title::getRedirectsHere to respect interwiki prefix"

11 years agoMerge "Made DBABagOStuff return values match the base class better."
IAlex [Sat, 8 Sep 2012 05:46:50 +0000 (05:46 +0000)]
Merge "Made DBABagOStuff return values match the base class better."

11 years agoMerge "Made default BagOStuff::incr() function more like memcached."
IAlex [Sat, 8 Sep 2012 05:40:40 +0000 (05:40 +0000)]
Merge "Made default BagOStuff::incr() function more like memcached."

11 years agoFix Title::getRedirectsHere to respect interwiki prefix
umherirrender [Sat, 8 Sep 2012 04:57:10 +0000 (06:57 +0200)]
Fix Title::getRedirectsHere to respect interwiki prefix

Respecting rd_interwiki is needed to act the same way than
Special:Whatlinkshere. For local redirects it is needed to also check
for NULL, not only the empty string

Change-Id: I4f3f242d69054dcbb3c7a02441991196ba140986

11 years agoMerge "(bug 40058) Parse newwindow message."
Siebrand [Fri, 7 Sep 2012 23:30:18 +0000 (23:30 +0000)]
Merge "(bug 40058) Parse newwindow message."

11 years agoMerge "Use $this to get the Title object in SkinTemplate::buildNavUrls()"
Aaron Schulz [Fri, 7 Sep 2012 22:36:24 +0000 (22:36 +0000)]
Merge "Use $this to get the Title object in SkinTemplate::buildNavUrls()"

11 years agoReplace deprecated methods.
Siebrand Mazeland [Fri, 7 Sep 2012 22:28:16 +0000 (00:28 +0200)]
Replace deprecated methods.

Also updated code formatting.

Change-Id: I188b5d29c9496383df10c391b29e9d26e59e8aeb

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Fri, 7 Sep 2012 22:20:29 +0000 (22:20 +0000)]
Localisation updates from translatewiki.net.

Change-Id: Ied795a8d85a9ff888131061fd8ec0ef35027ca42

11 years agoFix transaction nesting caused by LocalFile.
daniel [Mon, 27 Aug 2012 12:46:23 +0000 (14:46 +0200)]
Fix transaction nesting caused by LocalFile.

The transaction bracket in LocalFile::recordUpload2 used to span a call
to WikiPage::doEdit, which in turn opens a transaction. Nesting transactions
this way does not work: the first transaction is committed prematurely when
the second one starts. This may cause serious database corruption and
generally exciting behavior.

This change commits LocalFile's own transaction before any interaction
with WikiPage. There may be a race condition here, but that case seems to
be already handled in the code. Also, in the previous "broken" state, all
transactional protection got lost anyway - so this should at least be no
worse than what we had.

This may be changed back if and when we have support for nested
transactions.

Change-Id: I20d90fedb2d19c64ccf0f3942ddda756fe511c12

11 years agoMerge "Avoid redundant logging UPDATE query."
IAlex [Fri, 7 Sep 2012 21:06:06 +0000 (21:06 +0000)]
Merge "Avoid redundant logging UPDATE query."

11 years agoMerge "New hook, 'SearchResultInitFromTitle'"
Aaron Schulz [Fri, 7 Sep 2012 20:49:32 +0000 (20:49 +0000)]
Merge "New hook, 'SearchResultInitFromTitle'"

11 years ago(bug 40072) Add semantic CSS classes to identify changes list items
Dereckson [Thu, 30 Aug 2012 14:42:49 +0000 (16:42 +0200)]
(bug 40072) Add semantic CSS classes to identify changes list items

In the special pages containing changes list, adding the following
CSS classes to revision rows:
    - mw-changeslist-date
    - mw-changeslist-title
    - mw-changeslist-separator (matching the dots, ". .")

This enhancement has been implemented to the following special pages:
    - [[Special:Contributions]]
    - [[Special:DeletedContributions]]
    - [[Special:RecentChanges]]
    - [[Special:Watchlist]]

It's also implemented on pages history.

Change-Id: I2385ef21d9aed4bdbe4971bfcfa28efaf058e7dd

11 years ago(bug 40058) Parse newwindow message.
Alex Monk [Thu, 6 Sep 2012 16:24:48 +0000 (17:24 +0100)]
(bug 40058) Parse newwindow message.

Change-Id: Ibd24a2cbadecd0dbfeaa06d86d55dd2bcaeefa7d

11 years agoImprove documentation of maintenance scripts.
Alexandre Emsenhuber [Fri, 7 Sep 2012 20:03:56 +0000 (22:03 +0200)]
Improve documentation of maintenance scripts.

Change-Id: I768abad1ad4642263519d39c50c88437aed47e15

11 years agoRemoved purgeStaleMemcachedText.php and refreshImageCount.php scripts
Alexandre Emsenhuber [Fri, 7 Sep 2012 18:04:11 +0000 (20:04 +0200)]
Removed purgeStaleMemcachedText.php and refreshImageCount.php scripts

Both are Wikimedia-specific scripts and are now obsolete:
- purgeStaleMemcachedText.php is a script to purge memcached entries
  for revision text older than an hardcoded date of December 2012.
  This script is already in the WikimediaMaintenance extension.
- refreshImageCount.php is a hack to fix a schema update script dating
  to 2006.

Change-Id: I2ae469063eba502e662f80c38d5816c371550352

11 years agoAvoid redundant logging UPDATE query.
Aaron [Fri, 7 Sep 2012 17:17:12 +0000 (10:17 -0700)]
Avoid redundant logging UPDATE query.

Change-Id: I277f311ea92ff3470039d9416e720573debba44a

11 years agoMerge "(bug 39956) MediaWiki's info action should vertically align cell values to...
IAlex [Fri, 7 Sep 2012 17:01:46 +0000 (17:01 +0000)]
Merge "(bug 39956) MediaWiki's info action should vertically align cell values to top * Fixed spacing"

11 years agoMerge "New hook 'AfterFinalPageOutput' which is called at the end of OutputPage:...
Daniel Kinzler [Fri, 7 Sep 2012 09:12:34 +0000 (09:12 +0000)]
Merge "New hook 'AfterFinalPageOutput' which is called at the end of OutputPage::output()"

11 years agoMerge "Alpha-sort lists of api modules in ApiQuery"
Daniel Kinzler [Fri, 7 Sep 2012 09:10:03 +0000 (09:10 +0000)]
Merge "Alpha-sort lists of api modules in ApiQuery"

11 years agoMerge "Replace non standard 'tt' with 'code' for better HTML5 conformity"
IAlex [Fri, 7 Sep 2012 08:59:08 +0000 (08:59 +0000)]
Merge "Replace non standard 'tt' with 'code' for better HTML5 conformity"

11 years agoReplace non standard 'tt' with 'code' for better HTML5 conformity
raymond [Fri, 7 Sep 2012 08:52:49 +0000 (10:52 +0200)]
Replace non standard 'tt' with 'code' for better HTML5 conformity

See http://www.w3.org/wiki/HTML/Elements/tt

Change-Id: I902a6cab5310cd726c84cbd87840bce2c0d51eda

11 years agoNew hook 'AfterFinalPageOutput' which is called at the end of OutputPage::output()
Daniel Werner [Thu, 5 Jul 2012 14:21:21 +0000 (16:21 +0200)]
New hook 'AfterFinalPageOutput' which is called at the end of OutputPage::output()

Called  before final ob_end_flush() which will send the buffered output to the client. This allows for last-minute modification of the output within the buffer by using ob_get_clean().

- patch-set2: moved the hook before OutputPage::sendCacheControl() is called, as suggested by Reedy.

Change-Id: I264a37ac74e0c18ff141f82156e669ece3212c2d

11 years agoRemove @deprecated from wfTimestamp()
Tim Starling [Fri, 7 Sep 2012 05:13:38 +0000 (15:13 +1000)]
Remove @deprecated from wfTimestamp()

Adding abbreviated wrappers for lengthy function invocations is good
practice, it improves code readability. If all we ever had was
MWTimestamp, and we had a million instances of

$timestamp = new MWTimestamp( $ts );
$mwTimestamp = $timestamp->getTimestamp( TS_MW );

I would introduce a global function or class static method wrapper to
clean up those invocations. But I don't have to, because we already have
the wrapper.

Change-Id: I9149a7626676a0115a0a877f27d8b65e6e868de9

11 years agoMerge "(bug 32552) Drop unused database field cat_hidden"
Reedy [Thu, 6 Sep 2012 22:20:05 +0000 (22:20 +0000)]
Merge "(bug 32552) Drop unused database field cat_hidden"

11 years agoAdd some trailing whitespace
Reedy [Thu, 6 Sep 2012 21:29:10 +0000 (22:29 +0100)]
Add some trailing whitespace

Change-Id: I0d43d82e2d78f86e50fac82f10bd1d7cebac176c

11 years agoMerge "Localisation updates from http://translatewiki.net."
Translation updater bot [Thu, 6 Sep 2012 19:46:32 +0000 (19:46 +0000)]
Merge "Localisation updates from translatewiki.net."

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Thu, 6 Sep 2012 19:39:21 +0000 (19:39 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I1a45240e7604142bc0270b2e1cc64f035ff60cf0

11 years ago(bug 33445) Remove default right margin on wikitables.
Derk-Jan Hartman [Thu, 6 Sep 2012 19:37:28 +0000 (21:37 +0200)]
(bug 33445) Remove default right margin on wikitables.

This makes sure that wikitables can be full width.

When right or left floating a table, use class="wikitable floatleft"
or class="wikitable floatright" to explicitly add a proper margin.

Change-Id: I107d8d8da0a07055c320767cadb7a691f344a394

11 years agotry/catch for bug 40037 weird timestamps in exif
Brion Vibber [Thu, 6 Sep 2012 19:10:57 +0000 (12:10 -0700)]
try/catch for bug 40037 weird timestamps in exif

Change-Id: I474bb796328baab6ca123d68c3ce7cf78fccfd3a

11 years ago(bug 39956) MediaWiki's info action should vertically align cell values to top
madman [Thu, 6 Sep 2012 13:49:13 +0000 (13:49 +0000)]
(bug 39956) MediaWiki's info action should vertically align cell values to top
* Fixed spacing

Change-Id: Ic20ff3d7985b4cd2457a09f9cd0c76367e9e3980

11 years agoMerge "(bug 30445) Update 'revdelete-reason-dropdown'"
Aaron Schulz [Thu, 6 Sep 2012 18:37:42 +0000 (18:37 +0000)]
Merge "(bug 30445) Update 'revdelete-reason-dropdown'"

11 years agoMerge "Remove usage of wfTime() in benchmarks and backupTextPassTest.php"
Siebrand [Thu, 6 Sep 2012 18:36:39 +0000 (18:36 +0000)]
Merge "Remove usage of wfTime() in benchmarks and backupTextPassTest.php"

11 years agoAlpha-sort lists of api modules in ApiQuery
Reedy [Thu, 6 Sep 2012 18:26:23 +0000 (19:26 +0100)]
Alpha-sort lists of api modules in ApiQuery

$ocd++;

Change-Id: I3dbf763d360822f2c39e97622b2ca32b9c322ee5

11 years agoMerge "Remove <code> which no longer makes sense."
Nikerabbit [Thu, 6 Sep 2012 17:58:22 +0000 (17:58 +0000)]
Merge "Remove <code> which no longer makes sense."

11 years agoMerge "Revert "thumb.php now handles short and long thumbnail name formats when possi...
Aaron Schulz [Thu, 6 Sep 2012 17:54:59 +0000 (17:54 +0000)]
Merge "Revert "thumb.php now handles short and long thumbnail name formats when possible.""

11 years agoRevert "thumb.php now handles short and long thumbnail name formats when possible."
Aaron Schulz [Thu, 6 Sep 2012 17:52:33 +0000 (17:52 +0000)]
Revert "thumb.php now handles short and long thumbnail name formats when possible."

Doesn't quite work, since $img->transform() still saved the thumb under the normal name.

This reverts commit 5b33e66b749b525f745dc3c0e814f072fd136479

11 years agoRemove usage of wfTime() in benchmarks and backupTextPassTest.php
Alexandre Emsenhuber [Thu, 6 Sep 2012 17:47:17 +0000 (19:47 +0200)]
Remove usage of wfTime() in benchmarks and backupTextPassTest.php

Left the usage in GlobalTest.php since these are tests for
that function.

This function is only a wrapper to microtime( true ),
so it can easily be replaced and deprecated at some point.

Change-Id: I4f7c1f6705e10e2664f8e9be51d86ed5c8ff1e1c

11 years agoMerge "thumb.php now handles short and long thumbnail name formats when possible."
Catrope [Thu, 6 Sep 2012 17:42:29 +0000 (17:42 +0000)]
Merge "thumb.php now handles short and long thumbnail name formats when possible."

11 years agoMerge "[FileBackend] Work-around low header value limits in Swift."
Catrope [Thu, 6 Sep 2012 17:33:20 +0000 (17:33 +0000)]
Merge "[FileBackend] Work-around low header value limits in Swift."

11 years ago[FileBackend] Work-around low header value limits in Swift.
Aaron [Thu, 6 Sep 2012 17:15:10 +0000 (10:15 -0700)]
[FileBackend] Work-around low header value limits in Swift.

* Also added sanity check to makeContentDisposition() and made the file name optional

Change-Id: Ie4bfef743d11227631606498f026e693dd8d21f3