lhc/web/wiklou.git
9 years agojquery.textSelection: re-add iframe check due to regression
Derk-Jan Hartman [Mon, 28 Jul 2014 19:50:48 +0000 (21:50 +0200)]
jquery.textSelection: re-add iframe check due to regression

This is to fix a regression due to change Ibe011b2b of bug 29328.
The replacement jquery.textSelection of CodeEditor was no longer able
to be disable don the fly. This is because the code of textSelection
and WikiEditor is still too much intertwined.

I'm making a new patchset to strip them further apart.

Bug: 68556
Change-Id: I7c4c43ba2cde6f7c869e41ed4c5a51783cd32f82

9 years agoAdd mw-ui-input to mediawiki ui
jdlrobson [Thu, 24 Jul 2014 21:59:46 +0000 (14:59 -0700)]
Add mw-ui-input to mediawiki ui

Upstream component from Flow
Adds mw-ui-input component
Update existing (and undocumented) usage in core of mw-ui-input to
use Flow focus style

Updated usage of mw-ui-input in Special:Search and Special:Userlogin
Packaged in mediawiki.ui.inputs to allow developers to use inputs
separately to other mediawiki ui components.

Change-Id: Ida765b97e6574bdc8fbba88a08ec98ec12f3dc95

9 years agoMerge "Update jQuery Cookie to v1.3.1"
jenkins-bot [Mon, 28 Jul 2014 19:32:32 +0000 (19:32 +0000)]
Merge "Update jQuery Cookie to v1.3.1"

9 years agoUpdate jQuery Cookie to v1.3.1
paladox [Mon, 21 Jul 2014 08:31:09 +0000 (08:31 +0000)]
Update jQuery Cookie to v1.3.1

Source

* https://github.com/carhartl/jquery-cookie/blob/v1.3.1/jquery.cookie.js

Change log

* https://github.com/carhartl/jquery-cookie/blob/v1.3.1/CHANGELOG.md

Notable changes:

* Removed the "raw" option from $.cookie.
  This can now only be set globally via $.cookie.raw

* Bugfix: Properly handle RFC 2068 quoted cookie values.

* New: $.cookie() returns all available cookie.

We should eventually upgrade to v1.4.1, but that has a breaking change.
Namely, it drops support for $.cookie('key', null) which needs to be
replaced by $.removeCookie which didn't exist until v1.2.0.

Change-Id: Ic664dbe7b1be2c9dd67d0f50599c36fa2dab8449

9 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Mon, 28 Jul 2014 19:07:05 +0000 (21:07 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I262a6adfd236603246fa68c162a18f3fcabb72c3

9 years agoFixed use of wrong class constant
Aaron Schulz [Mon, 28 Jul 2014 19:03:58 +0000 (12:03 -0700)]
Fixed use of wrong class constant

Change-Id: I6c7e49d16685315f9e84b61ba11d1a3b08730597

9 years agoMerge "Truncate block reason for whole multibyte characters"
jenkins-bot [Mon, 28 Jul 2014 17:45:50 +0000 (17:45 +0000)]
Merge "Truncate block reason for whole multibyte characters"

9 years agoMerge "Specifiy mixed doc param in FSFile"
jenkins-bot [Mon, 28 Jul 2014 17:40:51 +0000 (17:40 +0000)]
Merge "Specifiy mixed doc param in FSFile"

9 years agoTruncate block reason for whole multibyte characters
umherirrender [Mon, 28 Jul 2014 17:25:49 +0000 (19:25 +0200)]
Truncate block reason for whole multibyte characters

This applies to Special:BlockList, or to the block message shown to the
user, or API results. Log is not effected, because it already truncates
on its own.

Change-Id: I0a8bae5f43fd1604034d65e96c9461a9f83c0b0a

9 years agoMerge "Added support for result=json parameter to runJobs.php"
jenkins-bot [Mon, 28 Jul 2014 17:36:58 +0000 (17:36 +0000)]
Merge "Added support for result=json parameter to runJobs.php"

9 years agoAdded support for result=json parameter to runJobs.php
Aaron Schulz [Mon, 28 Jul 2014 17:30:18 +0000 (10:30 -0700)]
Added support for result=json parameter to runJobs.php

* This can let the caller get info about what was run, just like the web version

Change-Id: I49d7eccee52eb1dc161249fdc0546259ccf1f959

9 years agoRemoved use of cache in JobQueueFederated pop() method
Aaron Schulz [Sat, 26 Jul 2014 19:37:56 +0000 (12:37 -0700)]
Removed use of cache in JobQueueFederated pop() method

* This does not really buy anything for a number of reason and
  can cause bugs. For example, if the aggregator is notified due
  to undelayed jobs but this cache is not updated, then the runners
  will not see the jobs and will de-list aggregator entry.

bug: 68506
Change-Id: I1eacca108df59fff9c0fcc846aafaf1616cf5895

9 years agoSpecifiy mixed doc param in FSFile
umherirrender [Mon, 28 Jul 2014 17:04:51 +0000 (19:04 +0200)]
Specifiy mixed doc param in FSFile

Change-Id: I406e46da6ece2e2f9436783a0280afa7cfa9807c

9 years agoCollapse nested if statements
Reedy [Tue, 22 Jul 2014 19:19:41 +0000 (20:19 +0100)]
Collapse nested if statements

Change-Id: I1cecfe5884edb98c8ad0a441f4d82288d597f631

9 years agoRemove File::sha1Base36() (deprecated since 1.19)
umherirrender [Mon, 28 Jul 2014 10:46:10 +0000 (12:46 +0200)]
Remove File::sha1Base36() (deprecated since 1.19)

Change-Id: I551a3c7451307e1a4fba3ea9b22320cc4ca72215

9 years agoMerge "ResourceLoader: Test that all module dependencies are satisfiable"
jenkins-bot [Sun, 27 Jul 2014 21:21:41 +0000 (21:21 +0000)]
Merge "ResourceLoader: Test that all module dependencies are satisfiable"

9 years agoDefine fallback skin using $wgFallbackSkin instead of hardcoding Vector
Bartosz Dziewoński [Tue, 22 Jul 2014 18:25:35 +0000 (20:25 +0200)]
Define fallback skin using $wgFallbackSkin instead of hardcoding Vector

Bug: 68332
Change-Id: Ibd7485dfa3123fb9ac3e9dd97cbe7129a0969c65

9 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Sun, 27 Jul 2014 20:03:20 +0000 (22:03 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: Ifc90dcf97a19e99a99e42ccd5ea10404ce75d083

9 years agoAdded password hashing API
Tyler Anthony Romeo [Wed, 31 Jul 2013 05:11:18 +0000 (05:11 +0000)]
Added password hashing API

Deprecated the old User::crypt, et. al password hashing
system and implemented an extensible password hashing
API.

The new Password class allows registering of child classes
and provides factory functions for creating new Password
objects. The built-in hash types are the old MediaWiki MD5
types, which are for backwards-compatibility only, and bcrypt.

Also included is support for wrapping existing hashes as well
as encrypting passwords with a configured encryption key.

Bug: 54948
Bug: 28419
Change-Id: I0a9c972931a0eff0cfb2619cef3ddffd03710285

9 years agoAdd comment about how to deploy new xml schema XSD files
Reedy [Sun, 27 Jul 2014 17:52:24 +0000 (18:52 +0100)]
Add comment about how to deploy new xml schema XSD files

Change-Id: I5a20594befaa5afcab44960fd892c6f798c3d729

9 years agoMerge "Allow message object on HTMLForm::setWrapperLegendMsg/setSubmitTextMsg"
jenkins-bot [Sun, 27 Jul 2014 17:17:36 +0000 (17:17 +0000)]
Merge "Allow message object on HTMLForm::setWrapperLegendMsg/setSubmitTextMsg"

9 years agoRemove return value from QueryPage::execute
umherirrender [Sun, 20 Jul 2014 20:31:58 +0000 (22:31 +0200)]
Remove return value from QueryPage::execute

The parent SpecialPage::execute also has no return and not all return
statements in QueryPage::execute actual return a value

Change-Id: If7a38ca5ed1107b6a5a740acae54295534950696

9 years agoFix param doc of OutputPage::setHTMLTitle
umherirrender [Sun, 27 Jul 2014 15:21:01 +0000 (17:21 +0200)]
Fix param doc of OutputPage::setHTMLTitle

Method also accept Message object

Change-Id: I3a5254a3776f0215667e64ff9d01d60b80375aca

9 years agoAllow message object on HTMLForm::setWrapperLegendMsg/setSubmitTextMsg
umherirrender [Sun, 27 Jul 2014 09:48:24 +0000 (11:48 +0200)]
Allow message object on HTMLForm::setWrapperLegendMsg/setSubmitTextMsg

When a message needs plural support, it should be possible to parse a
message object with the params set.

Change-Id: Ifb67952b589a1821cde452b2be3f327f24e6b534

9 years agoMerge "Revert "Make a hidden form field to keep the language code""
jenkins-bot [Sun, 27 Jul 2014 14:56:27 +0000 (14:56 +0000)]
Merge "Revert "Make a hidden form field to keep the language code""

9 years agoRemove some duplicate newlines in call to wfDebug()
Antoine Musso [Fri, 25 Jul 2014 10:58:27 +0000 (12:58 +0200)]
Remove some duplicate newlines in call to wfDebug()

Spotted on beta:

--------
commonswiki-375c0c3e:

0.0752   1.9M  mime: <image/png> extension: <png>

--------

With lot of requests, that causes them to be interlayed and ungreppable.

Change-Id: Ib99bc9547bdecb9efa59b7d292ddd7d10a552652

9 years agoRevert "Make a hidden form field to keep the language code"
Nikerabbit [Sun, 27 Jul 2014 12:23:18 +0000 (12:23 +0000)]
Revert "Make a hidden form field to keep the language code"

This reverts commit f3d9e7137ed19dbe1944567909e1f117eba0fade.

Breaks the core functionality of the special page.

Change-Id: I4a4b01e16763a7b418ff137112d2db2d42293ed1

9 years agoFix getAutosummary for create blank page
florianschmidtwelzow [Sun, 27 Jul 2014 12:18:26 +0000 (14:18 +0200)]
Fix getAutosummary for create blank page

Fixes for change to enable the creation of blank pages. Added test
for this case.

Follow up: I3457c36a909d1dbfaeed04a1f0568c69e0ef3386

Bug: 57238
Change-Id: Id52be6cbe22c6098d1c0824d7a7848579aa05a84

9 years agoMerge "Remove text output while running tests"
jenkins-bot [Sun, 27 Jul 2014 12:21:13 +0000 (12:21 +0000)]
Merge "Remove text output while running tests"

9 years agoRemove text output while running tests
Niklas Laxström [Sun, 27 Jul 2014 10:10:31 +0000 (12:10 +0200)]
Remove text output while running tests

Change-Id: I65d9ee70adfe53267b7c0acd59fce43d4683777b

9 years agoMerge "OutputPageTest: Don't assume Vector is the default skin"
jenkins-bot [Sun, 27 Jul 2014 00:22:00 +0000 (00:22 +0000)]
Merge "OutputPageTest: Don't assume Vector is the default skin"

9 years agoMerge "Remove unused XMLReader2 class"
jenkins-bot [Sun, 27 Jul 2014 00:19:08 +0000 (00:19 +0000)]
Merge "Remove unused XMLReader2 class"

9 years agoFix appearance of suppress messages at Special:Undelete
Leon Liesener [Fri, 25 Jul 2014 22:44:14 +0000 (00:44 +0200)]
Fix appearance of suppress messages at Special:Undelete

This change makes 'Rev-suppressed-text-view' appear in case
suppressed page content is viewed through Special:Undelete
and 'Rev-suppressed-text-permission' in case there is a
disallowed attempt to do so.

Bug: 56380
Change-Id: I2440227b3e5a9b5baec81b57bb479ecc26052b27

9 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Sat, 26 Jul 2014 19:36:55 +0000 (21:36 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I0ff2674390da79121b3bf349358e748fc36436f1

9 years agoMerge "jquery.textSelection: Add setContents function"
jenkins-bot [Sat, 26 Jul 2014 19:12:11 +0000 (19:12 +0000)]
Merge "jquery.textSelection: Add setContents function"

9 years agoMerge "Show change language log on Special:PageLanguage"
jenkins-bot [Sat, 26 Jul 2014 17:49:04 +0000 (17:49 +0000)]
Merge "Show change language log on Special:PageLanguage"

9 years agoMerge "Make a hidden form field to keep the language code"
jenkins-bot [Sat, 26 Jul 2014 17:42:12 +0000 (17:42 +0000)]
Merge "Make a hidden form field to keep the language code"

9 years agoMerge "Improving some import-related error messages"
jenkins-bot [Sat, 26 Jul 2014 17:28:03 +0000 (17:28 +0000)]
Merge "Improving some import-related error messages"

9 years agojquery.textSelection: Add setContents function
Derk-Jan Hartman [Sat, 26 Jul 2014 13:47:03 +0000 (15:47 +0200)]
jquery.textSelection: Add setContents function

This function is specified in the commands handler below, but did not
have an implementation for the plain textarea case.

Better we make this work. A user wanted this api call so his JS
cleanup script could work consistently on both plain textarea and the
CodeEditor

Change-Id: Ib3afc505037a5b12269e55b4b130a38a3fac7823

9 years agoUse master DB to check for page existence during import
This, that and the other [Tue, 22 Jul 2014 02:02:39 +0000 (12:02 +1000)]
Use master DB to check for page existence during import

By default, slaves are used for the existence check. However, in the case
of importing many revisions of the one page, the chances are that they
won't have caught up to the fact that that page has just been created,
causing site statistics to be incorrectly updated. We need to use the
master DB for this check.

Bug: 40009
Change-Id: I301353fb976a982f58635b87d9960d81fc541d14

9 years agoEnable the creation of empty pages
Étienne Beaulé [Sun, 13 Jul 2014 01:36:37 +0000 (21:36 -0400)]
Enable the creation of empty pages

This change enables the direct creation of empty pages without needing
to use a work-around (such as "{{subst:ns:0}}"). A warning is added as
the message "blankarticle" to request confirmation that the empty page
was meant to be blank. A automatic edit summary has been added when
creating a blank page. The message is: "autosumm-newblank."

The API has been updated to permit the creation of empty pages, when
"text" is null, but not non-existant.

Unit tests have also been added to test these features.

Bug: 57238
Bug: 65206
Change-Id: I3457c36a909d1dbfaeed04a1f0568c69e0ef3386

9 years agoMerge "Apply bidi styles to references in Parsoid styles"
jenkins-bot [Sat, 26 Jul 2014 02:21:11 +0000 (02:21 +0000)]
Merge "Apply bidi styles to references in Parsoid styles"

9 years agoImproving some import-related error messages
This, that and the other [Sat, 26 Jul 2014 01:53:25 +0000 (11:53 +1000)]
Improving some import-related error messages

Present tense sounds stilted here.

Change-Id: I69761486a584b48ccf7df0d07a9ba52885a217a1

9 years agoRemove unused XMLReader2 class
This, that and the other [Thu, 24 Jul 2014 07:41:02 +0000 (17:41 +1000)]
Remove unused XMLReader2 class

Undocumented and unused within core. Was previously used in WikiImporter,
but that use was removed in r81437.

Change-Id: I45f4ff3fae19a7d9c1a0dacb2e02d53ee4bdaefb

9 years agoAdd some tests for OldChangesList
aude [Fri, 25 Jul 2014 13:08:12 +0000 (15:08 +0200)]
Add some tests for OldChangesList

Change-Id: I6681ce6aa4e753fef33fe9f4719596d630889da6

9 years agoImprovements to RCCacheEntryFactoryTest and helper class
aude [Fri, 25 Jul 2014 13:05:39 +0000 (15:05 +0200)]
Improvements to RCCacheEntryFactoryTest and helper class

* pass User as argument when making the test context
* override rc_source when applicable

Change-Id: Id2094978d9f5ba962e76de7df29638e15a7547c3

9 years agoRemove unused param in RCCacheEntryFactoryTest
aude [Fri, 25 Jul 2014 07:36:54 +0000 (09:36 +0200)]
Remove unused param in RCCacheEntryFactoryTest

Change-Id: Ide6743759aba1083f6b4a78ec2643f059f8d3e47

9 years agoSplit code for making test RecentChange objects into own class
aude [Fri, 25 Jul 2014 07:30:09 +0000 (09:30 +0200)]
Split code for making test RecentChange objects into own class

this code is useful for adding tests of the other
changes classes and better not to duplicate it.

Change-Id: I464b4fbf39a0f47cb8911378b731cdd1672ecd86

9 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Fri, 25 Jul 2014 20:51:41 +0000 (22:51 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: If3d3fe97968e04fde8df4a05a35c9d2ba08f59ae

9 years agoMade Special:RunJobs work for private wikis
Aaron Schulz [Thu, 24 Jul 2014 20:07:08 +0000 (13:07 -0700)]
Made Special:RunJobs work for private wikis

Change-Id: Ieb7b20f606d276bdee284932e3205fd87d92fdeb

9 years agoSpecialEditWatchlist: Avoid empty namespace sections
umherirrender [Tue, 1 Jul 2014 18:22:38 +0000 (20:22 +0200)]
SpecialEditWatchlist: Avoid empty namespace sections

When the database contains a title for a positive namespace which is no
longer active, a table of contents item and a empty section is shown on
Special:EditWatchlist. After reload the section is gone, because the
database was cleaned up and the invalid namespace can no longer produce
the section. Refactor a bit to avoid the empty section on the first
view as well to get a stable output of that special page.

Change-Id: I41426bde71b21a4abddb12af0b3a84931f51ac97

9 years agoMerge "Add plural to message 'rcnotefrom'"
jenkins-bot [Fri, 25 Jul 2014 17:52:19 +0000 (17:52 +0000)]
Merge "Add plural to message 'rcnotefrom'"

9 years agoMerge "Wrap redirectpagesub in a <span>"
jenkins-bot [Fri, 25 Jul 2014 17:47:17 +0000 (17:47 +0000)]
Merge "Wrap redirectpagesub in a <span>"

9 years agoMerge "Refactored duplicated code into JobRunner.php"
jenkins-bot [Fri, 25 Jul 2014 17:33:29 +0000 (17:33 +0000)]
Merge "Refactored duplicated code into JobRunner.php"

9 years agoAdd word "imported" to history/log summary during import
This, that and the other [Fri, 25 Jul 2014 09:58:33 +0000 (19:58 +1000)]
Add word "imported" to history/log summary during import

Currently, an import-by-upload generates poor edit summaries such as
"2 revisions", and an interwiki-import generates only marginally better
ones ("2 revisions from [[link]]").

This change adds the word "imported" to those summaries.

Change-Id: If58023485b323641d063eada45248503f1bf17a1

9 years agoRefactored duplicated code into JobRunner.php
Aaron Schulz [Thu, 24 Jul 2014 22:03:23 +0000 (15:03 -0700)]
Refactored duplicated code into JobRunner.php

* Also added an async flag to SpecialRunJobs so that it can be
  set to false to get a JSON blob back with a regular 200 status.

Change-Id: I2f5763e017684c3c61f3d3f27ddf7f7834bdfce2

9 years agoMerge "Cleanup some docs (includes/[s-z])"
jenkins-bot [Fri, 25 Jul 2014 17:15:04 +0000 (17:15 +0000)]
Merge "Cleanup some docs (includes/[s-z])"

9 years agoMerge "Cleanup some docs (includes/[m-r])"
jenkins-bot [Fri, 25 Jul 2014 17:14:53 +0000 (17:14 +0000)]
Merge "Cleanup some docs (includes/[m-r])"

9 years agoMerge "Cleanup some docs (includes/[e-l])"
jenkins-bot [Fri, 25 Jul 2014 17:05:35 +0000 (17:05 +0000)]
Merge "Cleanup some docs (includes/[e-l])"

9 years agoMove adjustment of revision delete target in SpecialRevisiondelete to fix fatal
aude [Fri, 25 Jul 2014 15:53:52 +0000 (17:53 +0200)]
Move adjustment of revision delete target in SpecialRevisiondelete to fix fatal

targetObj needs to be set correctly before accessing the RevisionList,
and trying to get the 'current'.  If not set correctly, then $title
given to RevisionList (and it's subclasses) is Special:Revisiondelete
and rev_page is 0. So nothing is found for 'current' and a fatal
error happens.

Follow-up to Id1baacb

Bug: 68566
Change-Id: Ic078af5417798db1b2900057dbf7514112e94b46

9 years agoAdd plural to message 'rcnotefrom'
umherirrender [Mon, 14 Jul 2014 12:21:54 +0000 (14:21 +0200)]
Add plural to message 'rcnotefrom'

Also use the splitted date and time on the message.

Change-Id: I495d19258205d8713a19aa934a7657aecbe240d4

9 years agoRevert "Generalize Installer::showStatusMessage()"
Legoktm [Mon, 21 Jul 2014 08:31:09 +0000 (08:31 +0000)]
Revert "Generalize Installer::showStatusMessage()"

We probably want to put errors on top in the web installer
and warnings on top in the CLI installer due to differences
in scrolling.

This reverts commit 1c1e321af7977722073116fb6846f494502f6805.

Change-Id: I247030f0a3da6dff44884f4a282e52e92657fd91

9 years agoMerge "Check for boolean false result from database query in SqlBagOStuff"
jenkins-bot [Fri, 25 Jul 2014 01:31:55 +0000 (01:31 +0000)]
Merge "Check for boolean false result from database query in SqlBagOStuff"

9 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Thu, 24 Jul 2014 21:36:35 +0000 (23:36 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I348abe6cee1468682f71e2fe9137304c8c61dcd1

9 years agoMerge "Add white-space to get pre to wrap in Firefox"
jenkins-bot [Thu, 24 Jul 2014 20:50:48 +0000 (20:50 +0000)]
Merge "Add white-space to get pre to wrap in Firefox"

9 years agoAdd white-space to get pre to wrap in Firefox
S Page [Thu, 24 Jul 2014 19:59:02 +0000 (12:59 -0700)]
Add white-space to get pre to wrap in Firefox

Change-Id: Ib80c1273e6dd0b6204f2f6d6c15b6a777b79e9d0

9 years agoMerge "Avoid function calls in the loop condition of a for statement"
jenkins-bot [Thu, 24 Jul 2014 19:51:16 +0000 (19:51 +0000)]
Merge "Avoid function calls in the loop condition of a for statement"

9 years agoAvoid function calls in the loop condition of a for statement
umherirrender [Thu, 24 Jul 2014 15:33:27 +0000 (17:33 +0200)]
Avoid function calls in the loop condition of a for statement

Change-Id: I64d9ba96797085b6f54658218404a02d4087ceaf

9 years agoMerge "Send 404 in various special pages when there're no results"
jenkins-bot [Thu, 24 Jul 2014 19:39:41 +0000 (19:39 +0000)]
Merge "Send 404 in various special pages when there're no results"

9 years agoMerge "Break some long lines in maintenance, skins, tests"
jenkins-bot [Thu, 24 Jul 2014 19:39:33 +0000 (19:39 +0000)]
Merge "Break some long lines in maintenance, skins, tests"

9 years agoMerge "Cleanup some docs (includes/[a-d])"
jenkins-bot [Thu, 24 Jul 2014 18:55:00 +0000 (18:55 +0000)]
Merge "Cleanup some docs (includes/[a-d])"

9 years agoMerge "Cleanup some docs (includes/*.php)"
jenkins-bot [Thu, 24 Jul 2014 18:54:43 +0000 (18:54 +0000)]
Merge "Cleanup some docs (includes/*.php)"

9 years agoApply bidi styles to references in Parsoid styles
Roan Kattouw [Thu, 24 Jul 2014 18:49:12 +0000 (11:49 -0700)]
Apply bidi styles to references in Parsoid styles

This mirrors the rtlcite module in the Cite extension.

Change-Id: I6841baec2661426541e46bad58f09c7d3f456f9e

9 years agoCleanup some docs (includes/[s-z])
umherirrender [Thu, 24 Jul 2014 17:43:44 +0000 (19:43 +0200)]
Cleanup some docs (includes/[s-z])

- Swap "$variable type" to "type $variable"
- Added missing types
- Fixed spacing inside docs
- Makes beginning of @param/@return/@var/@throws in capital
- Changed some types to match the more common spelling

Change-Id: Ie419638e909a47aa72a274043604247830ee1a81

9 years agoCleanup some docs (includes/[m-r])
umherirrender [Thu, 24 Jul 2014 17:43:25 +0000 (19:43 +0200)]
Cleanup some docs (includes/[m-r])

- Swap "$variable type" to "type $variable"
- Added missing types
- Fixed spacing inside docs
- Makes beginning of @param/@return/@var/@throws in capital
- Changed some types to match the more common spelling

Change-Id: I8ebfbcea0e2ae2670553822acedde49c1aa7e98d

9 years agoCleanup some docs (includes/[e-l])
umherirrender [Thu, 24 Jul 2014 17:43:03 +0000 (19:43 +0200)]
Cleanup some docs (includes/[e-l])

- Swap "$variable type" to "type $variable"
- Added missing types
- Fixed spacing inside docs
- Makes beginning of @param/@return/@var/@throws in capital
- Changed some types to match the more common spelling

Change-Id: I41a84e8e1dec39170aa655250325ffc485eaeaef

9 years agoCleanup some docs (includes/[a-d])
umherirrender [Thu, 24 Jul 2014 17:42:45 +0000 (19:42 +0200)]
Cleanup some docs (includes/[a-d])

- Swap "$variable type" to "type $variable"
- Added missing types
- Fixed spacing inside docs
- Makes beginning of @param/@return/@var/@throws in capital
- Changed some types to match the more common spelling

Change-Id: I7b65fe04db431342cc58b469dc48f41a50c4e891

9 years agoCleanup some docs (includes/*.php)
umherirrender [Thu, 24 Jul 2014 17:42:24 +0000 (19:42 +0200)]
Cleanup some docs (includes/*.php)

- Swap "$variable type" to "type $variable"
- Added missing types
- Fixed spacing inside docs
- Makes beginning of @param/@return/@var/@throws in capital
- Changed some types to match the more common spelling

Change-Id: I783e4dbfe5f6f98b32b9a03ccf6439e13e132bcc

9 years agoMerge "Add styling for the styleguide"
jenkins-bot [Thu, 24 Jul 2014 17:15:17 +0000 (17:15 +0000)]
Merge "Add styling for the styleguide"

9 years agoBreak some long lines in maintenance, skins, tests
umherirrender [Thu, 24 Jul 2014 17:03:17 +0000 (19:03 +0200)]
Break some long lines in maintenance, skins, tests

Change-Id: I5d86ad3e0c90e09440268a670f5af3e2bf080612

9 years agoMerge "Fix @deprecated of ImageGalleryBase"
jenkins-bot [Thu, 24 Jul 2014 12:52:41 +0000 (12:52 +0000)]
Merge "Fix @deprecated of ImageGalleryBase"

9 years agoMerge "Each line in a doc block should start with *"
jenkins-bot [Thu, 24 Jul 2014 12:49:58 +0000 (12:49 +0000)]
Merge "Each line in a doc block should start with *"

9 years agoMerge "Doc: Reformat @params declaration"
jenkins-bot [Thu, 24 Jul 2014 12:49:20 +0000 (12:49 +0000)]
Merge "Doc: Reformat @params declaration"

9 years agoMerge "Fixed spacing"
jenkins-bot [Thu, 24 Jul 2014 12:49:17 +0000 (12:49 +0000)]
Merge "Fixed spacing"

9 years agoFix @deprecated of ImageGalleryBase
umherirrender [Wed, 23 Jul 2014 21:51:11 +0000 (23:51 +0200)]
Fix @deprecated of ImageGalleryBase

Follows-up 0804f31c1c1167. @deprecated "since", not "in".

Change-Id: I9f28fd431eb84258d89c34c7c1e3e8a90a594dba

9 years agoDoc: Reformat @params declaration
umherirrender [Thu, 24 Jul 2014 11:12:18 +0000 (13:12 +0200)]
Doc: Reformat @params declaration

I have not found documentation about the @params command, so this seems
not valid.
I have moved the text to the corresponding @param

Change-Id: I443866d602b60570278289e6e24a77d37314cede

9 years agoMerge "Removed @since in MediaWikiPHPUnitTestListener"
jenkins-bot [Thu, 24 Jul 2014 10:24:10 +0000 (10:24 +0000)]
Merge "Removed @since in MediaWikiPHPUnitTestListener"

9 years agoFixed spacing
umherirrender [Mon, 21 Jul 2014 12:47:42 +0000 (14:47 +0200)]
Fixed spacing

- Removed spaces after not operator (!)
- Removed spaces inside array index
- use tab as indent instead of spaces
- Add newline at end of file
- Removed spaces after casts

Change-Id: I9ba17c4385fcb43d38998d45f89cf42952bc791b

9 years agoRemove colon after @deprecated/@param/@todo/@note
umherirrender [Thu, 24 Jul 2014 09:30:25 +0000 (11:30 +0200)]
Remove colon after @deprecated/@param/@todo/@note

Change-Id: I4e66dad85eecf7e8e03ac760af900395e1bc11b6

9 years agoAdd styling for the styleguide
Prateek Saxena [Wed, 23 Jul 2014 10:08:39 +0000 (15:38 +0530)]
Add styling for the styleguide

Change-Id: Idf741c9242d28a8823049507f7193b8f5578b7a9

9 years agoSend 404 in various special pages when there're no results
Liangent [Thu, 24 Jul 2014 08:25:01 +0000 (08:25 +0000)]
Send 404 in various special pages when there're no results

Bug: 67182
Change-Id: I442645d8b98731282768e6cc19a8f426b1d0b519

9 years agoEach line in a doc block should start with *
umherirrender [Thu, 24 Jul 2014 08:08:16 +0000 (10:08 +0200)]
Each line in a doc block should start with *

Added missing * to some doc blocks

Change-Id: I0709f2e94b053437fa0f06bb67ae7ae4c248a618

9 years agoAllow wfShellExec() to use an array as a command prompt
Yuri Astrakhan [Mon, 21 Jul 2014 22:46:16 +0000 (01:46 +0300)]
Allow wfShellExec() to use an array as a command prompt

Command line may now be given as an array, where each value
will be escaped and glued together with a space.

Change-Id: I9237ec1fccc60c0c4a360562db1c050a3be7e6a3

9 years agoMerge "commonElements: Import styling for <code> from mediawiki.org"
jenkins-bot [Thu, 24 Jul 2014 03:34:37 +0000 (03:34 +0000)]
Merge "commonElements: Import styling for <code> from mediawiki.org"

9 years agoAllow specifying a random page only in main namespace
Brian Wolff [Fri, 20 Jun 2014 14:38:22 +0000 (11:38 -0300)]
Allow specifying a random page only in main namespace

Make Special:Random/ get you a page in NS_MAIN. Previously it
got a page in the content namespaces. Special:Random (no /) still
returns pages from all content namespaces.

This also affects Special:RandomRootPage from the RandomRootPage
extension.

Bug: 46420
Change-Id: I9ce66b534b86eaa09236dd56dab7ac18d1ef37ec

9 years agoMake Special:FilePath redirect to Special:Redirect/file
Brian Wolff [Wed, 25 Jun 2014 22:19:33 +0000 (19:19 -0300)]
Make Special:FilePath redirect to Special:Redirect/file

Used to redirect to Special:Redirect/file/, which caused an error.

Bug: 66980
Change-Id: I8eb484fc88fad323122ddb6c25c55ab404030c64

9 years agoMerge "Fix off-by-one error in the "previous 200" link in category listings with...
jenkins-bot [Thu, 24 Jul 2014 02:12:29 +0000 (02:12 +0000)]
Merge "Fix off-by-one error in the "previous 200" link in category listings with until=param"

9 years agoMerge "Fix deprecated of ApiQuery::setGeneratorContinue"
jenkins-bot [Thu, 24 Jul 2014 01:06:52 +0000 (01:06 +0000)]
Merge "Fix deprecated of ApiQuery::setGeneratorContinue"

9 years agoMerge "Update OOjs UI to v0.1.0-pre (a7ce4d48d9)"
jenkins-bot [Thu, 24 Jul 2014 00:48:39 +0000 (00:48 +0000)]
Merge "Update OOjs UI to v0.1.0-pre (a7ce4d48d9)"

9 years agoUpdate OOjs UI to v0.1.0-pre (a7ce4d48d9)
James D. Forrester [Wed, 23 Jul 2014 23:48:16 +0000 (16:48 -0700)]
Update OOjs UI to v0.1.0-pre (a7ce4d48d9)

New changes:
6847186 Tests: Move …/test/… to …/tests/… to be the same as other repos
c2ee74f Handle touch events in toolbars and toolgroups
84b51fe Localisation updates from https://translatewiki.net.
a875313 Make TextInputWidget's autosizing work when setValue() is called

Change-Id: I9c26f04281f1988cacaaf7d72753e06419541873