Commit graph

51930 commits

Author SHA1 Message Date
jenkins-bot
e25effa8b8 Merge "Put status handling in EditPage into private function" 2013-11-18 23:17:51 +00:00
jenkins-bot
aa34997603 Merge "mediawiki.ui: Add right padding to .agora-field-styling()" 2013-11-18 22:52:46 +00:00
aude
b2272f43ff Put status handling in EditPage into private function
This bit of code is isolated enough to be separated from
attemptSave and be put into a private function.

Change-Id: I84c532358ee32fec959039c62798e4de0702f14a
2013-11-18 23:19:25 +01:00
jenkins-bot
873ba756e3 Merge "Remove unused global in ForeignAPIRepo" 2013-11-18 21:10:38 +00:00
umherirrender
f658180f56 Remove unused global in ForeignAPIRepo
Follow-Up: I6849107a3af773687a31155b23a2d7b4d7a60645
Change-Id: I45d405a4dca9b7928f740fcd231e95c599310689
2013-11-18 21:49:28 +01:00
Raimond Spekking
bbae7dadd3 Merge "Localisation updates from http://translatewiki.net." 2013-11-18 20:46:48 +00:00
Translation updater bot
2d1a954298 Localisation updates from http://translatewiki.net.
Change-Id: I3615ad83da760c512799749618a35cb2e366ba41
2013-11-18 20:36:33 +00:00
jenkins-bot
49715d68ba Merge "Format email addresses more consistently" 2013-11-18 20:33:37 +00:00
Siebrand Mazeland
470d0c8c5d Format email addresses more consistently
Change-Id: I1dbced804ff1e0bf8e162570c17cc537d318872f
2013-11-18 21:17:55 +01:00
Siebrand Mazeland
4a4fc11008 Update LinkCache::addGoodLinkObj param defaults to int
Update the defaults for $revision and $model from bool to int, making it
consistent with the documented input. Also update docs and line length.
Change "inval( $x )" to preferred "(int) $x" while changing the method.

Change-Id: Ic19a408aa7c50fb03e2c3aca8df3fa7cedc2420b
2013-11-18 21:09:24 +01:00
jenkins-bot
81660007b8 Merge "Add WikiFilePage::getForeignCategories() method" 2013-11-18 19:23:36 +00:00
jenkins-bot
43ad591c51 Merge "Tweaked WikiPage::clear() comment a bit" 2013-11-18 19:18:41 +00:00
tgr
4893d1f8dd Add WikiFilePage::getForeignCategories() method
Unlike getCategories(), this will return the categories
on the wiki where the file is hosted (so it should work with Commons).

Bug: 56598
Change-Id: Ice972f023c676b5857707ccf58ee108585a7f021
2013-11-18 11:10:46 -08:00
jenkins-bot
edbc9edd09 Merge "Enable module storage for 0.05% of visitors w/storage-capable browsers" 2013-11-18 19:06:45 +00:00
Aaron Schulz
91f29bf1b6 Tweaked WikiPage::clear() comment a bit
Change-Id: I9ec27b575de5547d1ab0569c4c2cdd1307f8307a
2013-11-18 19:05:45 +00:00
jenkins-bot
4bed5565db Merge "Declare visibility on class properties of LCStore* classes" 2013-11-18 18:58:22 +00:00
jenkins-bot
618a686ae6 Merge "Declare visibility on class properties of LocalisationCache" 2013-11-18 18:56:27 +00:00
jenkins-bot
10b41a1fb0 Merge "Remove underscore from classes LCStore_*" 2013-11-18 18:54:25 +00:00
jenkins-bot
3f8d11fe84 Merge "Set visibility on class properties for *Dependency classes" 2013-11-18 18:46:48 +00:00
jenkins-bot
4910f271f1 Merge "Declare visibility for class properties of LocalisationCacheBulkLoad" 2013-11-18 18:45:10 +00:00
jenkins-bot
f678aaa3a8 Merge "Remove underscore from class LocalisationCache_BulkLoad" 2013-11-18 18:43:16 +00:00
jenkins-bot
4792e870bd Merge "Break long lines in includes/cache/" 2013-11-18 18:41:27 +00:00
jenkins-bot
5bd4512e18 Merge "Update formatting" 2013-11-18 18:39:29 +00:00
jenkins-bot
ffcf5b9d0f Merge "Remove unused local variables" 2013-11-18 18:37:37 +00:00
jenkins-bot
076adfc310 Merge "Set visibility for class properties of DependencyWrapper" 2013-11-18 18:30:06 +00:00
jenkins-bot
0fe5700a8a Merge "Address errors and warnings in CodeSniffer in api/" 2013-11-18 18:28:22 +00:00
jenkins-bot
e35135cc47 Merge "Update indentation" 2013-11-18 18:24:27 +00:00
jenkins-bot
d322c8aa08 Merge "Address CodeSniffer comments in ApiBase.php" 2013-11-18 18:22:25 +00:00
jenkins-bot
d7379debd2 Merge "Allow null to be passed to User::setNewPassword()" 2013-11-18 16:56:17 +00:00
Aaron Schulz
8c1a12677c Added fail-over support to JobQueueAggregatorRedis using "redisServers" option
* Also cleaned up various bits of documentation errors and cruft

Change-Id: Icccae5329941e4311fef02b6137a6b90f39f9046
2013-11-18 16:49:32 +00:00
Alexandre Emsenhuber
9a362d64c8 Allow null to be passed to User::setNewPassword()
This allows the temporary password to be cleared. This methods now
behaves the same as User::setInternalPassword() with that value.

Bug: 57075
Change-Id: I2c446864c7eb591dcb64e5971bc9989950715d15
2013-11-18 16:04:09 +01:00
jenkins-bot
295c9f93e9 Merge "Add show=unpatrolled to the recentchanges API" 2013-11-18 15:01:48 +00:00
jenkins-bot
d316530eb1 Merge "Relicense jquery.placeholder.js to MIT" 2013-11-18 10:30:40 +00:00
Translation updater bot
09519accc3 Localisation updates from http://translatewiki.net.
Change-Id: I5a74c20de10a3203ff81d453de6c739a8a476081
2013-11-18 06:37:41 +00:00
Timo Tijhof
65904ba1bb Add show=unpatrolled to the recentchanges API
Adding it only in the API because SpecialRecentChanges only shows
"Hide patrolled edits" option if rcpatrol is enabled.

show=!patrolled returns results that include changes that can't
be patrolled which technically correct (they aren't correct)
but probably not what you're looking for when looking for
unpatrolled changes.

Change-Id: I356a8625c7126b90aa7e7a23efe3bef7d448b502
2013-11-18 10:33:32 +05:30
Siebrand Mazeland
0ec4a01507 Set visibility on class properties for *Dependency classes
Set visibility to private for properties that are not referenced outside
of the class itself, and when the class is not currently being subclassed.

Change-Id: I427c6de5a0a29b43cff755db0eb8a750db620173
2013-11-18 04:53:13 +00:00
Siebrand Mazeland
e9c996a1b8 Set visibility for class properties of DependencyWrapper
Set to private. No subclassing and no uses outside of the class in core or
extensions.

Change-Id: If195d02b8ce853242312de7fb4bc7dc1cbe94365
2013-11-18 04:52:49 +00:00
Siebrand Mazeland
7d11e65dcc Declare visibility on class properties of LCStore* classes
No direct references found in core or extensions outside of the classes
themselves. None of these are subclassed, so set all of them to private.

Change-Id: Id599c0830c1e6d3679c7ae55147f4444f8252987
2013-11-17 23:18:01 +01:00
Siebrand Mazeland
4c3bc3f865 Add/update/remove incomplete/incorrect documentation
Change-Id: I3c2c7f61d9a579ad794ce7b564ccc8a7cfb9b6fc
2013-11-17 21:53:34 +00:00
Siebrand Mazeland
540d8dafeb Declare visibility on class properties of LocalisationCache
Mark all private, except the one that's being used in subclass. Checked
core and extension for direct uses. None found.

Change-Id: If73d65ca094ff56deb19d3b6f3ef99892654726d
2013-11-17 22:49:03 +01:00
Siebrand Mazeland
f8f3ddea50 Update docs to reduce inconsistent type compatibility in api/
Change-Id: Iaf97aeb514ddb2176491c3820fe891be8e989939
2013-11-17 21:47:51 +00:00
jenkins-bot
29b8605973 Merge "Add ar_id and el_id sequences for PostgreSQL" 2013-11-17 21:36:08 +00:00
Siebrand Mazeland
e711503e7a Remove underscore from classes LCStore_*
iPart of program to remove underscores from class names. Checked core and
600+ extensions for occurrences. All uses are in core, and are updated in
this change.

Change-Id: I432dc249d22053728013ae7d0d56c3c398021c5e
2013-11-17 22:09:31 +01:00
Siebrand Mazeland
1e07d64050 Declare visibility for class properties of LocalisationCacheBulkLoad
Mark all as private. Not referenced elsewhere in core or extensions.

Change-Id: Ibe0e854f39261053e5147138309c3a4b1944e5fe
2013-11-17 22:03:53 +01:00
Siebrand Mazeland
04021a8e81 Remove underscore from class LocalisationCache_BulkLoad
Part of program to remove underscores from class names. Checked core and
600+ extensions for occurrences. All uses are in core, and are updated in
this change.

Change-Id: Ib157c3cf209677718ff184552cf872b1d3f4e969
2013-11-17 22:00:34 +01:00
Siebrand Mazeland
ddb4e02634 Break long lines in includes/cache/
Change-Id: I23a6f46f89b3cdcaf2a3b982dc63e779eed5840d
2013-11-17 21:49:59 +01:00
Siebrand Mazeland
8251479984 Update formatting
Change-Id: I9aa56cbe0989d6f302ee0f47c4a6154101f73e90
2013-11-17 21:46:55 +01:00
Siebrand Mazeland
3f968db2cc Update some documentation in CacheTime and ParserCache
Change-Id: I31be0d4639f2a7189e15b622b34595564fad2a3d
2013-11-17 20:25:37 +00:00
Siebrand Mazeland
6f9c0c551f Update indentation in ApiUserrights::execute()
The previous formatting was inconsistent.

Change-Id: I22d7cba00cd39df7069b47f78ca130e3e031ceb4
2013-11-17 20:13:55 +00:00
Siebrand Mazeland
d9b3e2ee67 Simplify ApiUserRights::getUrUser()
Remove unneeded else and local variable assignment.

Change-Id: I166d811b220e925be11da5c49b6fe55f0d8e71c8
2013-11-17 19:46:18 +00:00