Commit graph

33369 commits

Author SHA1 Message Date
jenkins-bot
4ae146bf37 Merge "Fixed some @params documentation (includes/[specialpage|specials])" 2014-04-19 10:23:41 +00:00
umherirrender
f971300427 Fixed some @params documentation (includes/[specialpage|specials])
Swapped some "$var type" to "type $var" or added missing types
before the $var. Changed some other types to match the more common
spelling. Makes beginning of some text in captial.
Also added some missing @param.

Change-Id: Icf6f36bb53322b39cd5c89523dbd0e4ab10b9ec9
2014-04-19 10:16:52 +02:00
umherirrender
b9cd789fce docs: closure -> Closure; callback -> callable
Changed closure to capital word Closure in doc and type hint,
also changed callback in docs to callable

Change-Id: I52c8e8f13d38a837052101c38b9986be780ca057
2014-04-19 08:43:31 +02:00
umherirrender
fd66273c94 Fixed some @params documentation (includes/[cache|objectcache])
Swapped some "$var type" to "type $var" or added missing types
before the $var. Changed some other types to match the more common
spelling. Makes beginning of some text in captial.
Also added some missing @param.

Change-Id: I86fd10e3f2d4bb80e7432533038d124693acfb3c
2014-04-19 01:19:46 +02:00
Aaron Schulz
f7f710287b Improved HashRing usage in JobQueueFederated
* Added proper ejection and caching in HashRing to avoid rebuilding
  the hash all the time (or doing manual caching).
* Made JobQueueFederated blacklist failing servers for a few seconds.
* Also made the JobQueueFederated root job methods properly respect
  the weights when they fail over.

Change-Id: Ifa4c03272c1777cfff2523ab21f780074ddcf359
2014-04-18 20:28:48 +00:00
jenkins-bot
5a3b04433f Merge "Don't cache $wgResourceLoaderLESSVars in a static" 2014-04-18 19:31:59 +00:00
Bartosz Dziewoński
c59afbfe15 Merge "WebInstallerOutput: Fix path to jquery.js" 2014-04-18 19:29:52 +00:00
Ori Livneh
a2bf2346cd Don't cache $wgResourceLoaderLESSVars in a static
Caching the value of $wgResourceLoaderLESSVars in a static variable that is
enclosed in a closure makes it harder to reset global state for test runs, and
it does so in the name of a performance benefit that is miniscule.

Change-Id: I0958b03818f56ab73c8c9124daa9e54cc59f2428
2014-04-18 12:11:42 -07:00
jenkins-bot
45a5201014 Merge "Make HtmlFormatter return removed elements" 2014-04-18 18:58:54 +00:00
jenkins-bot
e7e6eab6af Merge "Made runParallelBatches() fully set the status array on abort" 2014-04-18 18:14:35 +00:00
Aaron Schulz
62505ef38d Made runParallelBatches() fully set the status array on abort
Change-Id: Ie35b28b85e734db6910a42ed384374ba3d594a8e
2014-04-18 18:04:04 +00:00
jenkins-bot
0235933691 Merge "Remove 2 unused Special:Search hooks" 2014-04-18 16:23:44 +00:00
Amir E. Aharoni
d99bda31e3 Cleanup SpecialAllmessages.php according to conventions
Change-Id: I21a6d4359faf9d86ce3b01e423e8c3ab4c02658f
2014-04-18 19:08:41 +03:00
Bartosz Dziewoński
ebcfbdfd87 WebInstallerOutput: Fix path to jquery.js
Follow-up to Id5ead145 and I335e4c08.

Bug: 64091
Change-Id: If40f479df7d68071d6ce5d2f3b8251e6bf3eb80e
2014-04-18 15:31:49 +00:00
Chad Horohoe
f234aa61f5 Remove 2 unused Special:Search hooks
Nothing is listed on mw.org as using these and nothing in Git uses
them either. Less hooks is a good thing, we've still got 11 here :(

Change-Id: I2dd1dbb269820b192f8d9e9a496a161f4ef851bf
2014-04-18 08:23:38 -07:00
jenkins-bot
fd3ac84a6b Merge "Simplify SpecialVersion:listToText()" 2014-04-18 14:48:09 +00:00
jenkins-bot
f8568f7bd9 Merge "Make API action=rsd work on private wikis" 2014-04-18 13:36:45 +00:00
Daniel Friesen
c7e18ffb14 Make API action=rsd work on private wikis
Tweak ApiRsd's settings so that it doesn't require read permissions to function.

Bug: 64085
Change-Id: I15288458ec3b0b583eece930d323f80314bb6ee3
2014-04-18 13:31:36 +00:00
Nik Everett
6289f3c48c Make HtmlFormatter return removed elements
This shouldn't cause much overhead and is useful for getting the text of
the removed tags.

Change-Id: I97cf66014719244b8bb2b0509b419c82202bdb01
2014-04-18 09:23:03 -04:00
jenkins-bot
ac0b31cee5 Merge "Update documentation for $wgExtensionMessagesFiles" 2014-04-18 10:02:00 +00:00
Kevin Israel
b67db3be8e Update documentation for $wgExtensionMessagesFiles
Follows-up e0043257c0.

Change-Id: Id8212fca83fde09a89891ead1e0a107ff0d66398
2014-04-17 16:46:56 -04:00
jenkins-bot
a8304d4c73 Merge "Add 'mw-anonuserlink' class for anonymous users" 2014-04-17 20:21:32 +00:00
jenkins-bot
b101f05438 Merge "includes/Linker.php: Added hook for "Media:" links" 2014-04-17 19:39:37 +00:00
Reedy
a7be78d438 Simplify SpecialVersion:listToText()
Don't special case $list only having one item

Unindent else block

Bug: 64069
Change-Id: I171a64147fe00f00ac0523ccf58fea11e800e2fd
2014-04-17 20:01:43 +01:00
jenkins-bot
d16f223edf Merge "Removed 'Remember my login' preference" 2014-04-17 17:02:43 +00:00
jenkins-bot
91372c2225 Merge "Remove deprecated function mw.util.toggleToc" 2014-04-17 15:32:28 +00:00
Fomafix
a54ef1a203 Remove deprecated function mw.util.toggleToc
* Remove dependency from mediawiki.util to mediawiki.toc.
* Load module mediawiki.toc only when toc is existent.

Gadgets that use the messages "showtoc" or "hidetoc" should explicitly
load the module mediawiki.toc or use their own messages.

Follows-up I3ca2acb70db98d00e3f1b (implements mediawiki.toc).

Change-Id: If0438b7b6f4649434e2b83133d6f583f2f8eff16
2014-04-17 17:23:43 +02:00
Chad Horohoe
61a854fadb Remove FakeTitle
This doesn't seem to be used anywhere anymore and it's an awful class

Change-Id: Ie9047a346e410099c3082725ced83818846e95c2
2014-04-17 14:51:32 +00:00
jenkins-bot
63ba8bca85 Merge "Use ResourceLoader::makeComment to embed page title in wiki modules" 2014-04-17 14:36:11 +00:00
jenkins-bot
f9a88733ee Merge "Skip loading PHP shims for JSON i18n files" 2014-04-17 14:29:33 +00:00
jenkins-bot
45e0034abb Merge "Consistently use '@deprecated since <version>'" 2014-04-17 06:12:11 +00:00
jenkins-bot
df80689c53 Merge "Properly deprecate the SpecialVersionExtensionTypes hook" 2014-04-17 06:11:53 +00:00
jenkins-bot
0afd1b5168 Merge "Output info in update.php for skipped updates due to shared tables" 2014-04-16 21:52:18 +00:00
Brian Wolff
0bf4b4ec4f Output info in update.php for skipped updates due to shared tables
Can be kind of confusing for people to figure out why certain
updates didn't happen. I just had an irc conversation with
someone who didn't realize why their db wasn't fully updated.

Change-Id: I56223e70bdac8baaf079c28cbb1f0e20ef0336b8
2014-04-16 17:45:26 -03:00
jenkins-bot
a26687e815 Merge "HtmlFormatter fixes" 2014-04-16 20:36:00 +00:00
Translation updater bot
47786874cf Localisation updates from https://translatewiki.net.
Change-Id: I81beafe71aa8784b349ff5cd8e7f0fee3ab6cfa3
2014-04-16 18:56:13 +00:00
jenkins-bot
a6bc2a9bb5 Merge "Revert "Revert "Removed useless JobQueue return values""" 2014-04-16 18:34:14 +00:00
Aaron Schulz
94c37ffb96 Revert "Revert "Removed useless JobQueue return values""
Made the obvious update to a caller missed in the change.

This reverts commit c76d5a95c1.

Change-Id: I67400ba5b9fc7de16c9f9d5075c488c5e58cea9e
2014-04-16 11:22:31 -07:00
jenkins-bot
a7f9c2fba9 Merge "Get rid of Title::indexTitle and Title::getIndexTitle()" 2014-04-16 18:16:20 +00:00
Chad Horohoe
d6c4ab9390 Get rid of Title::indexTitle and Title::getIndexTitle()
Nothing used them other than SearchUpdate, nor should they.
Move implementation there and make it private.

Change-Id: Iafc6f6d59487bd8c53cb99b2147815b2d70ead83
2014-04-16 11:03:42 -07:00
jenkins-bot
71fc56f11b Merge "Revert "Removed useless JobQueue return values"" 2014-04-16 17:50:07 +00:00
Reedy
c76d5a95c1 Revert "Removed useless JobQueue return values"
This reverts commit bc8c89d2df.

Bug: 64007

Change-Id: I4b4dbe4637dc50cd4630ef19d54f01efba10e138
2014-04-16 17:41:53 +00:00
Kevin Israel
1efdda25ee FormatJson: Make it possible to change the indent string
This is to allow consistency with MediaWiki PHP and JS files (e.g. when
generating JSON i18n files), not because tabs are "better" than spaces for
indenting code (both have advantages and disadvantages).

Because PHP's json_encode() function hardcodes the indent string, using tabs
has a performance cost (in post-processing the output) and is less suitable
for web output; thus the API and ResourceLoader debug mode will continue to
use four spaces. Adjusting the maintenance scripts and JSON files is left to
separate change sets.

Bug: 63444
Change-Id: Ic915c50b0acd2e236940b70d5dd48ea87954c9d5
2014-04-16 10:00:10 -04:00
jenkins-bot
1360206275 Merge "Changing a message's lang must reset cached text." 2014-04-16 13:26:36 +00:00
daniel
c95bc7fe90 Changing a message's lang must reset cached text.
Without this patch, it's not possible to get text in different
languages from the same Message object.

Change-Id: I0bb915b0d9205e78ac4599ced5efacacf2cf0240
2014-04-16 12:17:47 +02:00
tonythomas01
74756a2409 Removed 'Remember my login' preference
Removed 'Remember my login' from Preferences, as it was unwanted. It adds
to the complexity of the user preferences

Bug: 52342
Co-Author: Tyler Romeo <tylerromeo@gmail.com>
Change-Id: I7c957e1e1aaecf47f7c47bc063b5d3b364644afc
2014-04-16 12:49:44 +05:30
umherirrender
45ee4e7352 Add @since to Skin::getAllowedSkins
Follow-Up: I0b0fdfb5615c22aa876882c3ca344ebb1f10c4bd
Change-Id: Ia14edc64c57bd8a9da0f2bda2d061d1a67aa0101
2014-04-16 05:10:17 +00:00
Translation updater bot
7486e38c74 Localisation updates from https://translatewiki.net.
Change-Id: I84db8a8c3c4bea82febe02ebca9cb4a83c94b589
2014-04-15 20:31:32 +00:00
Bartosz Dziewoński
59002d8935 Consistently use '@deprecated since <version>'
Variants included 'in <version>', 'as of <version>' and just the
version number.

Some @deprecated annotations do not have the version number at all,
I want to hunt them down separately.

Change-Id: I8208c6097098f4735d4f51bc42254675f1f27f6d
2014-04-15 22:18:19 +02:00
Bartosz Dziewoński
a931293184 Properly deprecate the SpecialVersionExtensionTypes hook
wfRunHooks() has recently gained a new parameter for this.

Change-Id: If8dd90d03334ca6007f5af5e79c2545886c88b5f
2014-04-15 22:16:41 +02:00