lhc/web/wiklou.git
10 years agoMerge "Add a 'revdelete-selected-file' message on Special:RevisionDelete"
jenkins-bot [Wed, 26 Mar 2014 17:18:57 +0000 (17:18 +0000)]
Merge "Add a 'revdelete-selected-file' message on Special:RevisionDelete"

10 years agoMerge "Remove "include redirects" option from search"
jenkins-bot [Wed, 26 Mar 2014 16:45:30 +0000 (16:45 +0000)]
Merge "Remove "include redirects" option from search"

10 years agoMerge "Update formatting for includes/specialpage"
jenkins-bot [Wed, 26 Mar 2014 16:33:49 +0000 (16:33 +0000)]
Merge "Update formatting for includes/specialpage"

10 years agoRemove "include redirects" option from search
Chad Horohoe [Thu, 13 Mar 2014 20:39:47 +0000 (13:39 -0700)]
Remove "include redirects" option from search

Always include redirects. Search results are worse without them
and MWSearch has never respected this option anyway.

Change-Id: I0ebe321a3b14e7960aa98e3225dc5a19ba916e7d

10 years agoUpdate formatting for includes/specialpage
Siebrand Mazeland [Sat, 22 Mar 2014 22:07:19 +0000 (23:07 +0100)]
Update formatting for includes/specialpage

Change-Id: I6f5ebe5408464cde78fae3584e19392b26d2b2a1

10 years agoMerge "Fix CodeSniffer errors and warnings in includes/specials (2)"
jenkins-bot [Wed, 26 Mar 2014 16:14:13 +0000 (16:14 +0000)]
Merge "Fix CodeSniffer errors and warnings in includes/specials (2)"

10 years agoMerge "Try to make a dent in CodeSniffer reports on includes/ (1)"
jenkins-bot [Wed, 26 Mar 2014 16:14:11 +0000 (16:14 +0000)]
Merge "Try to make a dent in CodeSniffer reports on includes/ (1)"

10 years agoFix CodeSniffer errors and warnings in includes/specials (2)
Siebrand Mazeland [Sat, 22 Mar 2014 23:59:36 +0000 (00:59 +0100)]
Fix CodeSniffer errors and warnings in includes/specials (2)

Change-Id: I9787d2a1515b2a8d9310ea636650e20d041acc3d

10 years agoMerge "Fix CodeSniffer errors and warnings in includes/specials (1)"
jenkins-bot [Wed, 26 Mar 2014 15:51:42 +0000 (15:51 +0000)]
Merge "Fix CodeSniffer errors and warnings in includes/specials (1)"

10 years agoMerge "Declare visibility on class properties of LoginForm"
jenkins-bot [Wed, 26 Mar 2014 15:49:49 +0000 (15:49 +0000)]
Merge "Declare visibility on class properties of LoginForm"

10 years agoMerge "Set visibility for some methods and remove unused ones"
jenkins-bot [Wed, 26 Mar 2014 15:49:30 +0000 (15:49 +0000)]
Merge "Set visibility for some methods and remove unused ones"

10 years agoFix/update inline documentations in GlobalFunctions
Thiemo Mättig [Tue, 25 Mar 2014 18:52:26 +0000 (19:52 +0100)]
Fix/update inline documentations in GlobalFunctions

I mainly fixed PHPDoc comments that are highlighted by PHPStorm
as being wrong or incomplete.

* Fixed some wrong inline documentations, e.g. wrong @return types.
* Used the style suggested by the Doxygen and phpDocumentor
  documentations: @param type [$optional,...]
* Doxygen and phpDocumentor suggest the order: @param type $var
* Avoid unclear "varargs" and "mixed" if possible.
* Lowercased "array" and such, they are no classes.

Change-Id: Iff16e05fed6652cefec29e3d254807f52d84c9ab

10 years agoMerge "Revert "New Hook rc/watchlist hook ChangesListBegin""
jenkins-bot [Wed, 26 Mar 2014 14:36:29 +0000 (14:36 +0000)]
Merge "Revert "New Hook rc/watchlist hook ChangesListBegin""

10 years agoRevert "New Hook rc/watchlist hook ChangesListBegin"
Siebrand [Wed, 26 Mar 2014 14:07:44 +0000 (14:07 +0000)]
Revert "New Hook rc/watchlist hook ChangesListBegin"

This reverts commit 01798c3813b602bd3e8f9a666249e6da58526109.

The patch set changed a RecentChanges interface used in at least the
extension CleanChanges so that it was generating a lot of warnings.
Additional parameters to existing methods that are used elsewhere
should have defaults to not break backward compatibility.

Change-Id: I1851e23e186ba7aaeb001ba212e56888657a3ae0

10 years agoMerge "Use /usr/bin/ as default folder for DjVu tools in unit tests"
jenkins-bot [Wed, 26 Mar 2014 13:40:51 +0000 (13:40 +0000)]
Merge "Use /usr/bin/ as default folder for DjVu tools in unit tests"

10 years agoMerge "Fix/update inline documentation in WikiPage class"
jenkins-bot [Wed, 26 Mar 2014 12:33:43 +0000 (12:33 +0000)]
Merge "Fix/update inline documentation in WikiPage class"

10 years agoMerge "Fix custom local MediaWiki:Helppage values"
jenkins-bot [Wed, 26 Mar 2014 12:20:28 +0000 (12:20 +0000)]
Merge "Fix custom local MediaWiki:Helppage values"

10 years agoMerge "New Hook rc/watchlist hook ChangesListBegin"
jenkins-bot [Wed, 26 Mar 2014 11:55:13 +0000 (11:55 +0000)]
Merge "New Hook rc/watchlist hook ChangesListBegin"

10 years agoSet visibility for some methods and remove unused ones
Siebrand Mazeland [Sun, 23 Mar 2014 01:20:36 +0000 (02:20 +0100)]
Set visibility for some methods and remove unused ones

* private: checkUnicodeCompliantBrowser(), makesafe(), unmakesafe().
* protected: safeUnicodeInput(), safeUnicodeOutput().
* unused and deleted: safeUnicodeText(), sectionAnchor().

Also updated documentation for touched methods.

Change-Id: I1a46113a6380505aeea71150b6d106ec68423002

10 years agoFix custom local MediaWiki:Helppage values
Matthew Flaschen [Wed, 26 Mar 2014 03:15:59 +0000 (23:15 -0400)]
Fix custom local MediaWiki:Helppage values

Followup to 3a6ea89d4aa4a0fbc36a209fa13b1c6134110ca9

Change-Id: I7effec352d263f536d1d1763e9cd56d2f5154f13

10 years agoMerge "Reduce connect timeout in MediaWiki::triggerJobs"
jenkins-bot [Tue, 25 Mar 2014 23:15:30 +0000 (23:15 +0000)]
Merge "Reduce connect timeout in MediaWiki::triggerJobs"

10 years agoReduce connect timeout in MediaWiki::triggerJobs
Erik Bernhardson [Tue, 25 Mar 2014 22:31:56 +0000 (15:31 -0700)]
Reduce connect timeout in MediaWiki::triggerJobs

The fifth parameter to fsockopen is the number of seconds
to wait before declaring the connection a failure. When not
provided it defaults to the php ini value of 'default_socket_timeout'
which is 60s.  Under no circumstances should we wait 60s to
connect to ourselves,  100ms seems like a reasonable timeout
since its explicitly connecting to itself, but the exact timeout
could be slightly longer.

Change-Id: I18d328274ddf1e0848fce40ebf39e0466b5c4d5d

10 years agoMerge "Remove wfDebugLog() call from wfSetupSession()"
jenkins-bot [Tue, 25 Mar 2014 21:31:42 +0000 (21:31 +0000)]
Merge "Remove wfDebugLog() call from wfSetupSession()"

10 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Tue, 25 Mar 2014 20:49:35 +0000 (20:49 +0000)]
Localisation updates from https://translatewiki.net.

Change-Id: I083069e8633deaa49055a255e05692dcb1072193

10 years agoMerge "Sync up with Parsoid parserTests."
jenkins-bot [Tue, 25 Mar 2014 19:04:20 +0000 (19:04 +0000)]
Merge "Sync up with Parsoid parserTests."

10 years agoMerge "Handle exceptions when testing row validity"
jenkins-bot [Tue, 25 Mar 2014 19:03:17 +0000 (19:03 +0000)]
Merge "Handle exceptions when testing row validity"

10 years agoRemove wfDebugLog() call from wfSetupSession()
Alexandre Emsenhuber [Tue, 25 Mar 2014 18:41:18 +0000 (19:41 +0100)]
Remove wfDebugLog() call from wfSetupSession()

Since Iffba121a99 (00b7f76) with the removal of wfHttpOnlySafe(),
session cookie's parameters are based only on configuration
settings, so there is no point to spam the "cookie" log group
with predicitible values.

Change-Id: I8b1cdea929cefc32dd8b01c2ecbf2d76bb64189f

10 years agoFix/update inline documentation in WikiPage class
Thiemo Mättig [Tue, 25 Mar 2014 18:21:50 +0000 (19:21 +0100)]
Fix/update inline documentation in WikiPage class

* Add missing "new" to methods that actually support it.
* Use more precise type hints in PHPDoc comments.
* Lowercase "string" and "array", they aren't objects.
* Drop a useless comment that only repeats the method name.
* Add some line breaks.

Change-Id: I2f50179eedffcb1809c46fa7ee1c062144a94ffe

10 years agoLowered high lock timeout in mergeViaLock() and lock() in BagOStuff
Aaron Schulz [Tue, 18 Mar 2014 17:16:58 +0000 (10:16 -0700)]
Lowered high lock timeout in mergeViaLock() and lock() in BagOStuff

Change-Id: Ib5cd0a98ce6ec47edb24f8cc9f4df2c941ce1c38

10 years agoSync up with Parsoid parserTests.
C. Scott Ananian [Tue, 25 Mar 2014 16:51:15 +0000 (12:51 -0400)]
Sync up with Parsoid parserTests.

This now aligns with Parsoid commit b2e209c4d370a4a83f33bb1a9f6f7794e7fda3ca

Change-Id: I27e0373436cbfd16b1558ca2b2e998144b808f4b

10 years agoFix CodeSniffer errors and warnings in includes/specials (1)
Siebrand Mazeland [Sat, 22 Mar 2014 23:15:34 +0000 (00:15 +0100)]
Fix CodeSniffer errors and warnings in includes/specials (1)

Change-Id: Iafbd82756b00b1ddd5e38a6603037845238c08fd

10 years agoMerge "Remove $wgHttpOnlyBlacklist"
jenkins-bot [Tue, 25 Mar 2014 13:13:34 +0000 (13:13 +0000)]
Merge "Remove $wgHttpOnlyBlacklist"

10 years agoMerge "Remove unused style for #loginend and #signupend"
jenkins-bot [Tue, 25 Mar 2014 12:26:17 +0000 (12:26 +0000)]
Merge "Remove unused style for #loginend and #signupend"

10 years agoMerge "Adding function documentation for Skin::footerLink()"
jenkins-bot [Tue, 25 Mar 2014 10:25:30 +0000 (10:25 +0000)]
Merge "Adding function documentation for Skin::footerLink()"

10 years agoRemove unused style for #loginend and #signupend
Fomafix [Tue, 25 Mar 2014 08:25:39 +0000 (08:25 +0000)]
Remove unused style for #loginend and #signupend

loginend in skins/common/commonContent.css was added in
https://gerrit.wikimedia.org/r/53614
and is now unused.

clear:both for #loginend and #signupend in skins/monobook/main.css
is not necessary because there are no floating elements above.

Change-Id: Ic472f43f1d1a7ab4b7abb9f19067574f12ce6a6b

10 years agoUse /usr/bin/ as default folder for DjVu tools in unit tests
Tpt [Tue, 25 Mar 2014 08:18:32 +0000 (09:18 +0100)]
Use /usr/bin/ as default folder for DjVu tools in unit tests

It's the path in most GNU/Linux distributions

Allows also tests to run in Travis

Change-Id: I2fead84184dca94e1407104287f42ebf6112d712

10 years agoMerge "Fix documentation of wfDebugLog()"
jenkins-bot [Tue, 25 Mar 2014 07:19:54 +0000 (07:19 +0000)]
Merge "Fix documentation of wfDebugLog()"

10 years agoMerge "Set up node-jscs via Grunt (and pass it)"
jenkins-bot [Tue, 25 Mar 2014 07:01:19 +0000 (07:01 +0000)]
Merge "Set up node-jscs via Grunt (and pass it)"

10 years agoMerge "Update formatting for includes/specials/"
jenkins-bot [Tue, 25 Mar 2014 02:25:38 +0000 (02:25 +0000)]
Merge "Update formatting for includes/specials/"

10 years agoMerge "Autoloader incorrect case warnings fixed"
jenkins-bot [Tue, 25 Mar 2014 01:45:57 +0000 (01:45 +0000)]
Merge "Autoloader incorrect case warnings fixed"

10 years agoNew Hook rc/watchlist hook ChangesListBegin
Erik Bernhardson [Mon, 3 Mar 2014 21:26:54 +0000 (13:26 -0800)]
New Hook rc/watchlist hook ChangesListBegin

An extension hooking into recent changes may need to load additional
data that did not fit into the recentchanges table.  This hook gives
revisions an opportunity to see the full result prior to rendering
and batch load where approprite rather than loading piecemeal during
the render process.

Change-Id: I28d4e41437e485e518f2a23b6da00cdc430a8c23

10 years agoUpdate OOjs UI to v0.1.0
James D. Forrester [Tue, 25 Mar 2014 00:35:46 +0000 (17:35 -0700)]
Update OOjs UI to v0.1.0

New changes:
4f4fc2c Localisation updates from https://translatewiki.net.
ea88cce Localisation updates from https://translatewiki.net.
37af34f Add the ability to clear the SearchWidget
1cd4b32 Make PopupWidget clippable.
81f2edc Localisation updates from https://translatewiki.net.
fa6e8e5 Make popup toolgroup labels a little closer to their icons

Change-Id: I63fb1f9edb24a86cc882b204075540427ac4d11b

10 years agoSet up node-jscs via Grunt (and pass it)
Timo Tijhof [Fri, 31 Jan 2014 02:03:11 +0000 (18:03 -0800)]
Set up node-jscs via Grunt (and pass it)

* Set up Grunt via package.json (run `npm install` in mediawiki-core)
* Add grunt task for node-jscs (NEW)
  This is a style checker (as opposed to jshint, which is for
  code quality). There are a few small style-related things that
  JSHint can check (camelcase, onevar etc.) but those are being
  deprecated in JSHint v3, people should use more sophisticated
  tools like node-jscs for this instead. As such this commit
  removes moves of those options from our jshint configuration.
  See: http://jshint.com/blog/jshint-3-plans/
* Add grunt task for jshint
  This will use the same jshint configuration as we use on
  Jenkins but makes it easier to run locally from the command
  line by being part of the same `$ grunt test` task list.

Also:
* Changed jshintignore to use "dir/**"" instead of "/dir" or "dir"
  because the latter is not compatible with Grunt for some reason.
  See also https://github.com/gruntjs/grunt-contrib-jshint/issues/126.

Examples of coding style rules that were being violated that we
can now catch in node-jscs:
* Operator "," should stick to preceding expression
* Missing space after "if" keyword
* Multiple line break
* Empty block (in jquery.textSelection and mediawiki.language)

Bug: 54218
Change-Id: Ib9d7eab9f0d5cea5fb33f0b9f82e5554897fdfe0

10 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Mon, 24 Mar 2014 22:00:50 +0000 (22:00 +0000)]
Localisation updates from https://translatewiki.net.

Change-Id: Icad3f57cf182107ce7e813297f00473e75e4ad6f

10 years agoAdding function documentation for Skin::footerLink()
kaldari [Mon, 24 Mar 2014 19:58:53 +0000 (12:58 -0700)]
Adding function documentation for Skin::footerLink()

Change-Id: Ib38173ed7bdc434274ff17dfd8c85e5ec95bfb29

10 years agoFollowup af4085a: reset $prev interwiki to null in between result sets
Chad Horohoe [Mon, 24 Mar 2014 19:24:45 +0000 (12:24 -0700)]
Followup af4085a: reset $prev interwiki to null in between result sets

Change-Id: Ie2ba7b061e532e0ab749b0519a7e72bc018a1b5a

10 years agoMerge "Automatically add a new line at the end of wfLogDBError()"
jenkins-bot [Mon, 24 Mar 2014 18:45:47 +0000 (18:45 +0000)]
Merge "Automatically add a new line at the end of wfLogDBError()"

10 years agoAllow interwiki searches to return arrays of interwiki results
Chad Horohoe [Tue, 18 Mar 2014 18:51:02 +0000 (11:51 -0700)]
Allow interwiki searches to return arrays of interwiki results

This allows them to group by interwiki in more sane ways.
Also remove no longer used $terms paramter

Change-Id: I5d420595edfd35a1ce85662d2722ebbe2d357ce3

10 years agoImprove docs for $wgExtensionCredits (and add 'license-name')
Timo Tijhof [Thu, 13 Mar 2014 22:18:41 +0000 (23:18 +0100)]
Improve docs for $wgExtensionCredits (and add 'license-name')

Follows-up 357eb3d488b9d8c which implemented 'license-name'.

Change-Id: I2b2c17965230558fd1650e3db92abafb082737d1

10 years agoAutoloader incorrect case warnings fixed
root [Mon, 24 Mar 2014 16:40:22 +0000 (17:40 +0100)]
Autoloader incorrect case warnings fixed

Change-Id: I610de60b49840a26ddb7ceeb14264aec77dc8b96

10 years agoAdd getRobotPolicy()
leucosticte [Mon, 10 Mar 2014 08:57:16 +0000 (04:57 -0400)]
Add getRobotPolicy()

Bug: 57764
Change-Id: I5d53b9b36b8ec5263bf7ebb13c7ef8c102c1ce68

10 years agoTest against php 5.6 on travis
addshore [Mon, 24 Mar 2014 11:45:18 +0000 (12:45 +0100)]
Test against php 5.6 on travis

Change-Id: I7401f1d059437eadd3712c012a93a6a5b6ac4403

10 years agoMerge "Use correct Creative Commons license abbreviation"
jenkins-bot [Mon, 24 Mar 2014 12:59:19 +0000 (12:59 +0000)]
Merge "Use correct Creative Commons license abbreviation"

10 years agoMerge "Removing Wikitravel from the default interwiki list"
jenkins-bot [Mon, 24 Mar 2014 12:53:04 +0000 (12:53 +0000)]
Merge "Removing Wikitravel from the default interwiki list"

10 years agoUse correct Creative Commons license abbreviation
Siebrand Mazeland [Mon, 24 Mar 2014 12:51:29 +0000 (13:51 +0100)]
Use correct Creative Commons license abbreviation

Change-Id: I7df989de9dca2ee056030ff6f5830d5f0124185e

10 years agoTweaked "latest" handling of filebackend stat entries
Aaron Schulz [Sat, 15 Mar 2014 09:08:04 +0000 (02:08 -0700)]
Tweaked "latest" handling of filebackend stat entries

* Let "latest" stat entries override non "latest" so
  that future getFileStat() calls with the "latest" flag
  can actually have a cache hit.

Change-Id: I1e9391039537d608b89773b4d51575e3b364a751

10 years agoMerge "[Regression] Delete autoblocks when removing autoblock flag"
jenkins-bot [Mon, 24 Mar 2014 06:23:30 +0000 (06:23 +0000)]
Merge "[Regression] Delete autoblocks when removing autoblock flag"

10 years agoMerge "DatabaseMysqlBase: Remove broken check for Percona Server"
jenkins-bot [Mon, 24 Mar 2014 06:11:30 +0000 (06:11 +0000)]
Merge "DatabaseMysqlBase: Remove broken check for Percona Server"

10 years agoMerge "Remove double wfDebug() call in Database.php"
jenkins-bot [Mon, 24 Mar 2014 06:10:28 +0000 (06:10 +0000)]
Merge "Remove double wfDebug() call in Database.php"

10 years agoMerge "Add support for specifying headers in FileRepo::quickImport"
jenkins-bot [Mon, 24 Mar 2014 06:09:32 +0000 (06:09 +0000)]
Merge "Add support for specifying headers in FileRepo::quickImport"

10 years agoMerge "Add Special:ListDuplicatedFiles expensive query special page."
jenkins-bot [Mon, 24 Mar 2014 06:09:13 +0000 (06:09 +0000)]
Merge "Add Special:ListDuplicatedFiles expensive query special page."

10 years agoMerge "Add default implementation of getLength to base MediaHandler class"
jenkins-bot [Mon, 24 Mar 2014 06:02:24 +0000 (06:02 +0000)]
Merge "Add default implementation of getLength to base MediaHandler class"

10 years agoAdd Special:ListDuplicatedFiles expensive query special page.
Brian Wolff [Sat, 21 Sep 2013 19:08:59 +0000 (16:08 -0300)]
Add Special:ListDuplicatedFiles expensive query special page.

I saw some comments recently on commons suggesting that
better ways are needed to manage duplicate files (There are tools
for if a specific file is a duplicate, but no backlog of
outstanding duplicate files).

This seems like a fairly easy first step in that direction.

Wasn't sure if this should be an image gallery type
query page, or just a list. I think in this case a plain
list is more useful.

Change-Id: Ibe4b9da71ca6451ec4e6b0050feaf3ca70e1b888

10 years agoAdd support for specifying headers in FileRepo::quickImport
Brian Wolff [Sat, 22 Mar 2014 02:23:55 +0000 (23:23 -0300)]
Add support for specifying headers in FileRepo::quickImport

Previously only content-disposition headers were allowed.

This is needed so that TimedMediaHandler can put
X-Content-Duration headers on ogg transcodes.

Bug: 62928
Change-Id: Ic053be63b3edf348da95a88fc494fcf334430265

10 years agoAdd default implementation of getLength to base MediaHandler class
Brian Wolff [Sat, 22 Mar 2014 02:28:38 +0000 (23:28 -0300)]
Add default implementation of getLength to base MediaHandler class

It was being called in File::getLength, but was only implemented
in a subclass, that's not even in core. Any method of a handler
class called from a method in File class should work on any
subclass of MediaHandler.

Change-Id: I94eda90ec3dd64b6ff2e3a5732aa539366cec521

10 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Sun, 23 Mar 2014 20:24:34 +0000 (20:24 +0000)]
Localisation updates from https://translatewiki.net.

Change-Id: I30f333c40b241dfeefea11e617f3f80c70a84bb1

10 years agoMerge "Button group adjustments"
jenkins-bot [Sun, 23 Mar 2014 20:12:50 +0000 (20:12 +0000)]
Merge "Button group adjustments"

10 years ago[Regression] Delete autoblocks when removing autoblock flag
umherirrender [Sun, 23 Mar 2014 16:27:02 +0000 (17:27 +0100)]
[Regression] Delete autoblocks when removing autoblock flag

Since I5403f6e1d7f8f07273cd5da8068b928fdddcdfc9 on reblock the block
will be updated and not deleted/inserted and that update did not trigger
a delete of existing autoblocks.

Bug: 62748
Change-Id: I50384a41d819689944907e653e2495391253831b

10 years agoMerge "Misc fixes to UploadSourceField"
jenkins-bot [Sun, 23 Mar 2014 11:22:24 +0000 (11:22 +0000)]
Merge "Misc fixes to UploadSourceField"

10 years agoUpdate formatting for includes/specials/
Siebrand Mazeland [Sat, 22 Mar 2014 22:51:18 +0000 (23:51 +0100)]
Update formatting for includes/specials/

Change-Id: I478dedd0b692eae002a0ca9b0ec15cb2c357411f

10 years agoLink to bugzilla.wikimedia.org in README for consistency
Alexandre Emsenhuber [Fri, 14 Mar 2014 20:47:13 +0000 (21:47 +0100)]
Link to bugzilla.wikimedia.org in README for consistency

Change-Id: I27a97cb89ba1981c931fe5fe2ae1422c832c4405

10 years agoRemove double wfDebug() call in Database.php
Alexandre Emsenhuber [Sun, 23 Mar 2014 10:24:38 +0000 (11:24 +0100)]
Remove double wfDebug() call in Database.php

Fix for I12adfb4fcb (54664be).

Change-Id: I6acfd35aae18af9d6e5ae29e5554ca7d04342af5

10 years agoAutomatically add a new line at the end of wfLogDBError()
Alexandre Emsenhuber [Sun, 23 Mar 2014 09:30:59 +0000 (10:30 +0100)]
Automatically add a new line at the end of wfLogDBError()

I found two calls to wfLogDBError() that do not add a new line
at the end of the message. So instead of adding them to that
entries, I changed wfLogDBError() to automatically put it on
icoming messages; as for wfDebugLog().

Change-Id: Id014b5827a0aeef6873ebf08d78f0a3d7581d63b

10 years agoFix documentation of wfDebugLog()
Alexandre Emsenhuber [Sun, 23 Mar 2014 09:17:48 +0000 (10:17 +0100)]
Fix documentation of wfDebugLog()

- $public parameter does not exist anymore
- Put the type before the parameter name

Change-Id: I0f3a893803ab5466570ef45398f797e4714d9d37

10 years agoMisc fixes to UploadSourceField
Alexandre Emsenhuber [Sun, 23 Mar 2014 08:58:06 +0000 (09:58 +0100)]
Misc fixes to UploadSourceField

Follow-up I7c15fd4250 (00ca365).

- Added 'radio-id' configuration option to set the id of the radio button,
  and changed Special:Upload to use it. Had to keep the old way to set it
  since this class is used by some extensions.
- Always set the "for" attribute of the label to the field and the not the
  radio, since the text it contains does not describes the radio button.

Change-Id: I524f8743fd03546024f8c97852a2bcb3c23c6019

10 years agoTry to make a dent in CodeSniffer reports on includes/ (1)
Siebrand Mazeland [Sun, 23 Mar 2014 01:28:57 +0000 (02:28 +0100)]
Try to make a dent in CodeSniffer reports on includes/ (1)

Change-Id: Iaf3120b4e32cc5835ef9ed86236d98679e2b87fa

10 years agoDeclare visibility on class properties of LoginForm
Siebrand Mazeland [Sat, 22 Mar 2014 23:24:55 +0000 (00:24 +0100)]
Declare visibility on class properties of LoginForm

Change-Id: Iaa291233d29aafb7805992de4eb636334f4a1664

10 years agoMerge "AutoLoader: Remove "Class ... not found" debug message"
jenkins-bot [Sat, 22 Mar 2014 21:37:40 +0000 (21:37 +0000)]
Merge "AutoLoader: Remove "Class ... not found" debug message"

10 years agoMerge "Remove some unneeded local vars from EditPage.php"
jenkins-bot [Sat, 22 Mar 2014 21:26:07 +0000 (21:26 +0000)]
Merge "Remove some unneeded local vars from EditPage.php"

10 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Sat, 22 Mar 2014 20:33:31 +0000 (20:33 +0000)]
Localisation updates from https://translatewiki.net.

Change-Id: I93194841aebc13bb2e6e147ae6170a3acf2186e7

10 years agoMerge "Give name for oojs-ui i18n files"
jenkins-bot [Sat, 22 Mar 2014 17:18:39 +0000 (17:18 +0000)]
Merge "Give name for oojs-ui i18n files"

10 years agoAdd a few @since to mediawiki.api
Niklas Laxström [Sat, 22 Mar 2014 14:03:03 +0000 (14:03 +0000)]
Add a few @since to mediawiki.api

Change-Id: I0717d1171a7179beb4cee6a922d682864e600e9c

10 years agoGive name for oojs-ui i18n files
Niklas Laxström [Sat, 22 Mar 2014 10:00:27 +0000 (10:00 +0000)]
Give name for oojs-ui i18n files

Even though this shouldn't cause problems with array_merge etc.
everything else has a name, so why shouldn't this.

Change-Id: Id40d9036c2f3cf89343bcfd14d37a14d4c306d01

10 years agoDatabaseMysqlBase: Remove broken check for Percona Server
Kevin Israel [Thu, 16 Jan 2014 07:18:36 +0000 (02:18 -0500)]
DatabaseMysqlBase: Remove broken check for Percona Server

Percona Server does not include its name in its version suffix.
It would be possible to check for precompiled versions of the
product using the version_comment variable, though not third-
party builds from its source code (which are merely indicated
as "Source distribution").

Given that even Percona itself does not distinguish between
Percona Server and MySQL in their version of the mysql command-
line client, I have chosen simply to remove the broken check.

I have also made the check for MariaDB consistent with that
in its version of mysql (by also checking for the old suffix
"-maria-").

Follows-up 0eab1ace67e7.

Change-Id: I62c3949b775a38f28f09568ebb28af2adb9be69b

10 years agoSwap wfProfileIn/Out calls for ProfileSection
Chad Horohoe [Fri, 21 Mar 2014 17:13:28 +0000 (10:13 -0700)]
Swap wfProfileIn/Out calls for ProfileSection

Change-Id: Iece1532241dda4297dd4ca2c93287c13462eb2e9

10 years agoMerge "Avoid showing crazy staleness times at ActiveUsers"
jenkins-bot [Fri, 21 Mar 2014 23:15:27 +0000 (23:15 +0000)]
Merge "Avoid showing crazy staleness times at ActiveUsers"

10 years agoMerge "Remove completely useless implementation of getInfo()"
jenkins-bot [Fri, 21 Mar 2014 23:13:43 +0000 (23:13 +0000)]
Merge "Remove completely useless implementation of getInfo()"

10 years agoMWException: Expand {{SITENAME}} in pagetitle with Message::text()
Brian Wolff [Fri, 28 Feb 2014 13:01:10 +0000 (09:01 -0400)]
MWException: Expand {{SITENAME}} in pagetitle with Message::text()

Bug: 58447
Change-Id: I5f4fcb6d6e044f708cd6adb1bc7312d592fc74dd

10 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Fri, 21 Mar 2014 20:46:11 +0000 (20:46 +0000)]
Localisation updates from https://translatewiki.net.

Change-Id: I18970accbce3b383e4ad89df2b5cd0d638861e26

10 years agoUpdate OOjs UI to v0.1.0-pre (3b434d5388)
James D. Forrester [Fri, 21 Mar 2014 18:06:33 +0000 (11:06 -0700)]
Update OOjs UI to v0.1.0-pre (3b434d5388)

New changes:
076b85e Split autoAdd into catchall and group specific settings

Change-Id: Idb99c0af20f966ead553c7a7eded421ad8b44382

10 years agoRemoving Wikitravel from the default interwiki list
kaldari [Fri, 21 Mar 2014 02:00:13 +0000 (19:00 -0700)]
Removing Wikitravel from the default interwiki list

It has already been removed from the WMF list.

Note that this will have no effect on existing wikis, only new wikis.

Change-Id: I201bc28ab17fdae3b7c5d46f1c65d70e03380ca9

10 years agoAutoLoader: Remove "Class ... not found" debug message
Kevin Israel [Fri, 21 Mar 2014 15:07:08 +0000 (11:07 -0400)]
AutoLoader: Remove "Class ... not found" debug message

Per existing FIXME comment: "This is not very polite. Assume we
do not manage the class."

Reverts the remaining portion of r44296 / 2f584f68a95a while
clarifying the "Give up" comment.

Change-Id: I4471f9376cae6b3c3e8df99e960770863ebf37ca

10 years agoMerge "Updating link protocols for WMF wikis in the interwiki map"
jenkins-bot [Fri, 21 Mar 2014 11:23:13 +0000 (11:23 +0000)]
Merge "Updating link protocols for WMF wikis in the interwiki map"

10 years agoMerge "Adding Wikivoyage to the default interwiki map"
jenkins-bot [Fri, 21 Mar 2014 11:22:12 +0000 (11:22 +0000)]
Merge "Adding Wikivoyage to the default interwiki map"

10 years agoMerge "ResourceLoaderStartUpModule: Improve comment about modifiedTime hack"
jenkins-bot [Fri, 21 Mar 2014 10:49:01 +0000 (10:49 +0000)]
Merge "ResourceLoaderStartUpModule: Improve comment about modifiedTime hack"

10 years agoMerge "ResourceLoaderStartUpModule: Remove no-op "delete isCompatible""
jenkins-bot [Fri, 21 Mar 2014 10:46:45 +0000 (10:46 +0000)]
Merge "ResourceLoaderStartUpModule: Remove no-op "delete isCompatible""

10 years agoMerge "Fix possible error list of action=revisiondelete"
jenkins-bot [Fri, 21 Mar 2014 10:39:33 +0000 (10:39 +0000)]
Merge "Fix possible error list of action=revisiondelete"

10 years agoExclude prop=uploadwarning from allimages and stashimageinfo
umherirrender [Sun, 9 Feb 2014 14:00:11 +0000 (15:00 +0100)]
Exclude prop=uploadwarning from allimages and stashimageinfo

Was added with I4a0af8986f924cd127a73828e72da6998f28536c,
but looks only useful on prop=imageinfo

Change-Id: I59c5f11f83be7e59f317686ab7fa16ad6fda008b

10 years agoMake Special:Whatlinkshere.php transcludable
aalekhN [Thu, 9 Jan 2014 21:57:27 +0000 (03:27 +0530)]
Make Special:Whatlinkshere.php transcludable

This commit makes Special:Whatlinkshere transcludable by extending
SpecialWhatLinksHere with IncludableSpecialPage. It also adds a condition
in the showIndirectLinks function to avoid displaying the form when the
page is being transcluded.

Bug: 35486
Change-Id: I49d6be57a9a780f9f959cb4356c5ac026db81775

10 years agoRemove $wgHttpOnlyBlacklist
Kevin Israel [Fri, 21 Mar 2014 01:19:08 +0000 (21:19 -0400)]
Remove $wgHttpOnlyBlacklist

This hack was added in r34083 / 6b16f4410897 to support IE for Mac.
That browser is no longer supported, and no additional user-agent
strings have been added in WMF configuration.

Change-Id: Iffba121a9964e2ad387fad8827ddfd8dabcbd12e