Chad [Tue, 11 Feb 2014 01:03:45 +0000 (01:03 +0000)]
Revert "Limit searches at 500 per page"
People seem to like large slow search pages.
This reverts commit
42d4f35696852b2d72089dce86034792fdf4de8e.
Change-Id: I52ee602a81c1b6ec4e124008806271b0c74c581c
Chad Horohoe [Thu, 9 Jan 2014 18:38:19 +0000 (10:38 -0800)]
Limit searches at 500 per page
* 5000 search results in a single page is too many to be useful and
just results in a slow page load. If you need that many results use
the API.
* Adds new parameter to WebRequest::getLimitOffset() to allow making
the 5000 limit configurable by callers
Change-Id: I7c12e4b0526db6453aaba5d589ee1c01a54b72d4
jenkins-bot [Thu, 9 Jan 2014 18:36:43 +0000 (18:36 +0000)]
Merge "filebackend: Added supported for retrieving file metadata/headers"
jenkins-bot [Thu, 9 Jan 2014 15:02:08 +0000 (15:02 +0000)]
Merge "Add validation of the content model edited by EditPage"
jenkins-bot [Thu, 9 Jan 2014 12:53:22 +0000 (12:53 +0000)]
Merge "Exclude toggle button of collapsible elements from user selection"
jenkins-bot [Thu, 9 Jan 2014 04:34:29 +0000 (04:34 +0000)]
Merge "Replace deprecated User::editToken with User::getEditToken (1.19)"
jenkins-bot [Thu, 9 Jan 2014 04:08:00 +0000 (04:08 +0000)]
Merge "Declare visibility on all properties in ForkController"
jenkins-bot [Thu, 9 Jan 2014 00:31:05 +0000 (00:31 +0000)]
Merge "Made use of proper backend-fail-store message"
Aaron Schulz [Wed, 8 Jan 2014 23:59:39 +0000 (15:59 -0800)]
Fixed minor unit test dir leakage
Change-Id: I78cf483dde5078d4fad4e1738d8bb8a8f634e3b1
Aaron Schulz [Wed, 8 Jan 2014 23:42:44 +0000 (15:42 -0800)]
Made use of proper backend-fail-store message
Change-Id: I89d275926530b16f5660863608b89541d72c9f33
jenkins-bot [Wed, 8 Jan 2014 23:09:23 +0000 (23:09 +0000)]
Merge "Added sanity check for doGetLocalCopyMulti() in Swift"
Aaron Schulz [Wed, 8 Jan 2014 23:02:32 +0000 (15:02 -0800)]
Added sanity check for doGetLocalCopyMulti() in Swift
* This better handles the case of /tmp being full or something
Change-Id: Ibf4fed0fd053f82ef5ede46b6c2ec72feee95699
Chad Horohoe [Wed, 8 Jan 2014 22:15:09 +0000 (14:15 -0800)]
Declare visibility on all properties in ForkController
Grepped all of core and extensions, and nothing uses them
Change-Id: I8e4f191aafffdbc2254e39bed81a5209cdf29795
jenkins-bot [Wed, 8 Jan 2014 22:14:30 +0000 (22:14 +0000)]
Merge "Add hook to allow extensions to modify the LonelyPages query"
kaldari [Wed, 8 Jan 2014 19:51:54 +0000 (11:51 -0800)]
Add hook to allow extensions to modify the LonelyPages query
First step to solving bug 3483.
Bug: 3483
Change-Id: Ie8c5765ddc6b6028836024c426a0369e6966b25e
jenkins-bot [Wed, 8 Jan 2014 21:31:11 +0000 (21:31 +0000)]
Merge "Remove "or other" option for stubtreshold"
Aaron Schulz [Mon, 30 Sep 2013 07:12:10 +0000 (00:12 -0700)]
filebackend: Added supported for retrieving file metadata/headers
* This can be useful for carrying over metadata when copying files around
* Also fixed a bug in sanitizeHdrs() for Swift (broken content-disposition)
Change-Id: I4534e9acac2b306086797b3677f85c05b98e39fc
Translation updater bot [Wed, 8 Jan 2014 20:34:03 +0000 (20:34 +0000)]
Localisation updates from https://translatewiki.net.
Change-Id: Iaee33fbd265807b18879b6f9873d1d4344dfb878
jenkins-bot [Wed, 8 Jan 2014 18:57:57 +0000 (18:57 +0000)]
Merge "Removed cloudfiles dependency in SwiftFileBackend"
jenkins-bot [Wed, 8 Jan 2014 18:49:22 +0000 (18:49 +0000)]
Merge "Remove searchlimit preference"
jenkins-bot [Wed, 8 Jan 2014 18:34:10 +0000 (18:34 +0000)]
Merge "Do not suggest to use unused local vars"
Siebrand Mazeland [Wed, 8 Jan 2014 18:27:10 +0000 (19:27 +0100)]
Do not suggest to use unused local vars
Change-Id: I4c2ab60054304593a9fd873b28e160b9d07442f0
jenkins-bot [Wed, 8 Jan 2014 18:19:33 +0000 (18:19 +0000)]
Merge "Don't suggest if the search term is a known title"
Bartosz Dziewoński [Wed, 8 Jan 2014 17:08:24 +0000 (17:08 +0000)]
Merge "Merge RELEASE-NOTES-1.22 into HISTORY"
Bartosz Dziewoński [Wed, 8 Jan 2014 16:42:21 +0000 (17:42 +0100)]
Merge RELEASE-NOTES-1.22 into HISTORY
About time someone did this. One would think it's somebody's
responsibility, eh.
Change-Id: I8649940e006aa191662095a5f787728985ea5c9c
Hydriz [Wed, 8 Jan 2014 12:52:43 +0000 (20:52 +0800)]
Fix missing apostrophe in maintenance/generateJsonI18n.php
Change-Id: I3f678df09853bfdb6295985c81d4469024aecfbb
Reedy [Tue, 7 Jan 2014 20:04:14 +0000 (20:04 +0000)]
Call to a member function getCommonMetaArray() on a non-object at
File.php on line 586
Bug: 59785
Change-Id: I7163f3fd122922a28519b7cb1d3d4cd4b81165ee
Aaron Schulz [Fri, 3 Jan 2014 19:24:11 +0000 (11:24 -0800)]
Use file handle caching in newSequentialPerNodeIDs()
* This is now similar to the other methods in that regard
Change-Id: I36163fa7f1bc13d493df9d77b139a99881d0de45
Siebrand Mazeland [Wed, 8 Jan 2014 08:25:32 +0000 (09:25 +0100)]
Replace deprecated User::editToken with User::getEditToken (1.19)
Change-Id: Ic845c2a62488ea44a306c83652b503fa2c862d8c
Aaron Schulz [Sun, 8 Dec 2013 23:19:00 +0000 (15:19 -0800)]
Removed cloudfiles dependency in SwiftFileBackend
* Added a new curl multi wrapper under libs/.
* Used the new MultiHttpClient class instead of CloudFiles
* Removed CDN related config and code as it does not work.
well due to mutating files and tiny purge rate limits by CDNs.
* Also removed the unused and esoteric 'swiftAnonUser' parameter.
* Support concurrent 'describe' operations.
* Set ACLs on containers on intial PUT instead of in two steps.
Previously if the second step failed, prepare() would never
set the ACLs correctly since it aborts if the container exists.
* Improve token deletion to only trigger on 401s rather than other
random errors like 50X timeouts.
* Removed duplicative getResponse* code by just using one closure
called for both the concurrent and serial cases. Both cases are
now funneled through doExecuteOpHandlesInternal().
* Add the MD5 to stat info, as it might be useful for speeding up
the copy scripts in some cases (when both backends have md5 set).
* Avoid use of trigger_error() since there is a swift log group.
* A few other small code cleanups.
Change-Id: I1adb3e2df6df8cf01d3ad74158de96ea9a79da2e
Chad Horohoe [Tue, 7 Jan 2014 00:20:07 +0000 (16:20 -0800)]
Remove searchlimit preference
Change-Id: Ib3dd2ba54261514b827d12a21536392530c7e02e
Brad Jorsch [Sat, 4 Jan 2014 19:26:26 +0000 (14:26 -0500)]
Make imagelinks work like templatelinks
Due to bug 17259 (which is fixed in a better way in Id44d566a),
imagelinks only records the redirect and not the actual image used when
an image redirect is referenced. This causes various problems, such as
cascading protection not working through image redirects.
It makes more sense for imagelinks to work like tempaltelinks, recording
both so that things like cascading protection don't have to care about
image redirects explicitly.
Comparing imagelinks to templatelinks also reveals a few places
(WikiPage::doDeleteUpdates, WikiPage::doCascadeProtectionUpdates) that
should be triggering a LinksUpdate if the image links changed.
Bug: 23002
Bug: 23542
Bug: 26503
Change-Id: I64fe7d25646cae2c8213211893c6f821f3504dbf
Reedy [Tue, 7 Jan 2014 22:59:17 +0000 (22:59 +0000)]
Make WikiPage::$mPreparedEdit public
Partial revert of I2c34baaf8b64b204444efa1bfa6ea356e0124c54
Change-Id: Id4e90c612941ff2bdb50d7a68f4e18b004c9f744
jenkins-bot [Tue, 7 Jan 2014 22:57:11 +0000 (22:57 +0000)]
Merge "Send cache purges for action=raw after editing user css/js"
jenkins-bot [Tue, 7 Jan 2014 22:45:02 +0000 (22:45 +0000)]
Merge "Move redirect rendering into WikitextContent"
Aaron Schulz [Tue, 31 Dec 2013 23:31:26 +0000 (15:31 -0800)]
Moved HashRing to /libs
Change-Id: I0b74b386f7459f550816f99aa7e00970c3cff4c7
jenkins-bot [Tue, 7 Jan 2014 21:17:12 +0000 (21:17 +0000)]
Merge "Moved MappedIterator to /libs and changed exception type"
jenkins-bot [Tue, 7 Jan 2014 21:16:14 +0000 (21:16 +0000)]
Merge "Migrate redirectToFragment() from wikibits.js to own module"
Aaron Schulz [Tue, 31 Dec 2013 23:33:15 +0000 (15:33 -0800)]
Moved MappedIterator to /libs and changed exception type
Now throws UnexpectedValueException rather than MWException.
Change-Id: Id466b66f43db97c5837030d166b9abd66fd56e0d
jenkins-bot [Tue, 7 Jan 2014 21:11:11 +0000 (21:11 +0000)]
Merge "Add ProfilerMwprof"
Ori Livneh [Mon, 6 Jan 2014 21:24:44 +0000 (13:24 -0800)]
Add ProfilerMwprof
ProfilerMwprof is similar to ProfilerSimpleUDP in that accumulated profiling
samples are emitted to a remote host using UDP. Profiling data for sections
that are called multiple times are aggregating using the RunningStat class I
introduced in Ifedda276d; this provides the ability to compute timing variance
across multiple requests without storing individual values for a second pass
through the data.
Entries are serialized into MessagePack arrays, using the implementation added
in Id2833c5a9. The first element of each array is an entry type specifier.
Currently two types exist: TYPE_SINGLE (single sample; no statistical moments)
and TYPE_RUNNING (aggregated entry with statistical moments). Additional entry
formats may be specified in the future.
TYPE_SINGLE entries have the format:
[ TYPE_SINGLE, name (string), CPU time (float), wall time (float ]
TYPE_RUNNING entries have the format:
[ TYPE_RUNNING, name (string), count (int),
CPU m1 (float), CPU m2 (float), CPU min (float), CPU max (float),
wall m1 (float), wall m2 (float), wall min (float), wall max (float) ]
To help reviewers test this change, I have a trivial Python script that can
serve as the back-end: <https://gist.github.com/atdt/
8290191>
Change-Id: I688e7231dad9fcc9d29954afacc47f55d521f58d
Translation updater bot [Tue, 7 Jan 2014 20:34:54 +0000 (20:34 +0000)]
Localisation updates from https://translatewiki.net.
Change-Id: I0b92294dfb157ec75e1b116395de0181f9da707b
umherirrender [Tue, 7 Jan 2014 18:54:27 +0000 (19:54 +0100)]
DatabaseInstaller::setVarsFromRequest needs array
Method is not marked as var args.
Bug: 58434
Follow-Up: I920b0231db1b70b68c6c8907257c288a0e112668
Change-Id: Ief7f7c06e75efbe7ae1da13f5021a9062483f690
Brad Jorsch [Sat, 4 Jan 2014 22:07:33 +0000 (17:07 -0500)]
Move redirect rendering into WikitextContent
There's no good reason for everything that wants to render a page to
have to test whether the page is a redirect and then call
Article::viewRedirect to get the fancy rendering instead of using the
ParserOutput. This logic can easily be moved into
WikitextContent::getParserOutput so callers can just use the
returned ParserOutput.
At the same time, we can handle "#REDIRECT [[File:Foo]]" and
"#REDIRECT [[Category:Foo]]" the way people expect, by recording the
link in pagelinks rather than imagelinks/categorylinks (although this
means fixing ImagePage's bug about assuming anything in imagelinks that
is a redirect is a redirect to the image too).
And we can finally fix bug 14323, too.
Bug: 14323
Bug: 17259
Bug: 27621
Bug: 42642
Bug: 50488
Change-Id: Id44d566a7ca35a1b9579d0c0e947877c980b0686
Followup: I1c7582d1bf7ec4184a45b00154e3dd5b39dd444b
Followup: I3653b608941813a73281f4f0545bea2487d43964
Jack Phoenix [Tue, 7 Jan 2014 12:32:03 +0000 (14:32 +0200)]
Remove #mw_trackbacks CSS from shared.css.
This was historically used on [[MediaWiki:Trackbackbox]] (from where it was
moved to Article::addTrackbacks() in r47543, committed on 20 February 2009
by raymond), but the entire trackback feature was removed in r104051, committed on 23 November 2011.
The #mw_trackbacks definition was moved from various (skin-specific) CSS
files to here in r52404 (committed on 25 June 2009) by ialex.
Change-Id: I7809de83ebb537d4739ef89265c32935aa036e1d
jenkins-bot [Tue, 7 Jan 2014 10:45:52 +0000 (10:45 +0000)]
Merge "Update docs for CLDRPluralRuleEvaluator.php"
Adrian Lang [Tue, 7 Jan 2014 09:30:49 +0000 (10:30 +0100)]
Update PHPUnit version check to 3.7.0
assertContainsOnlyInstancesOf has been added in PHPUnit 3.7.0, so we need to
have that version for running the tests.
Bug: 59759
Change-Id: I25dbd377b97ec0b9062d3c8cf495ba3f06956ac4
jenkins-bot [Tue, 7 Jan 2014 05:27:24 +0000 (05:27 +0000)]
Merge "Add sequence support for externallinks table"
Brad Jorsch [Thu, 14 Nov 2013 21:07:52 +0000 (16:07 -0500)]
API: Add prop=contributors
Certain applications, such as the generation of PDFs, could use a list
of all non-anonymous contributors to the page (as well as a count of
anonymous contributors) without crawling the output of prop=revisions.
This patch adds a prop module to retrieve this information.
Including the IP addresses of anonymous contributors is not realistically
possible without further schema changes, so that is not done here.
Additionally, revisions with DELETED_USER will be skipped entirely.
Change-Id: Iaff50dfb09016154901a5197aa14eb9f8febcbc5
jenkins-bot [Mon, 6 Jan 2014 23:47:15 +0000 (23:47 +0000)]
Merge "MWException doesn't care about $wgTitle anymore"
jenkins-bot [Mon, 6 Jan 2014 23:38:11 +0000 (23:38 +0000)]
Merge "Sync up with Parsoid parserTests."
Ori Livneh [Mon, 6 Jan 2014 23:18:18 +0000 (15:18 -0800)]
Revert Id39d4457a: Remove experiment code for moduleStorage
Because of a bug affecting the production cluster during the initial run of the
experiment, we need to rerun it. This patch reverts Id39d4457a, restoring the
experiment setup code. As before, it will be removed at the conclusion of the
experiment.
Change-Id: Ifa97d36d3af589ca0586baad2702fb7b58b246e5
Jackmcbarn [Mon, 6 Jan 2014 21:53:43 +0000 (16:53 -0500)]
Include namespaces in {{CASCADINGSOURCES}} output
Include the namespace of pages in the output of the CASCADINGSOURCES
parser function.
Change-Id: Ie39ecfb52965c36349e601bee092590a147b5a03
jenkins-bot [Mon, 6 Jan 2014 21:27:54 +0000 (21:27 +0000)]
Merge "Mechanism for renaming/aliasing classes"
Nik Everett [Mon, 6 Jan 2014 16:57:08 +0000 (11:57 -0500)]
Don't suggest if the search term is a known title
Also tell the SearchEngine that we don't *need* the suggestion. Some will
make it any way and we'll ignore it. Cirrus will be able to save some time
by not building the suggestion.
Bug: 59666
Change-Id: Ifd5bafe25a715db9d44cf0fee2ba2607f6c270a2
Translation updater bot [Mon, 6 Jan 2014 19:58:18 +0000 (19:58 +0000)]
Localisation updates from https://translatewiki.net.
Change-Id: I1b1e7c920d7a71f8c2230dbacf9ce4b51bb1d2fe
jenkins-bot [Mon, 6 Jan 2014 19:04:53 +0000 (19:04 +0000)]
Merge "Add CASCADINGSOURCES parser function"
Kunal Mehta [Wed, 16 Oct 2013 22:27:59 +0000 (15:27 -0700)]
Merge AssertEdit extension into core
Added &assert=user and &assert=bot for all API modules.
Some functionality was dropped:
* assert='exists': the edit API already has &nocreate/&createonly
* nassert parameter: there is no usecase for checking that your
account is logged out or not flagged
* assert=true/false: If you want to test a failing assertion, log out
* assert=test: Not useful
* Checking edits via index.php
The error format was changed from:
{"edit": {"assert": "bot", "result": "Failure"}}
to the standard format of API errors in an 'errors' array
using the codes: 'assertuserfailed' and 'assertbotfailed'.
Bug: 27841
Bug: 53106
Change-Id: Ia4815168548fea3dbf1c305792a451374f2a3b7e
Siebrand Mazeland [Mon, 6 Jan 2014 16:49:44 +0000 (17:49 +0100)]
Update docs for CLDRPluralRuleEvaluator.php
Change-Id: I072fe3e58edc7585cb56483513e8447221af1083
Kevin Israel [Fri, 22 Nov 2013 04:13:03 +0000 (23:13 -0500)]
Mechanism for renaming/aliasing classes
Sometimes it is desirable to change a class name that is still referenced
in extensions or config files (e.g. for consistency, as in I507ba00a).
PHP's class_alias() function can help in preserving backward compatibility;
however, creating an alias first requires that the class be loaded.
Hence this is implemented in AutoLoader. Lazy loading continues to work,
the list of class names is still maintained in a central location, and
optionally, deprecation warnings can be generated.
Change-Id: I1d3fb04a448647b5be10bed7fec05238b9fc6fc7
Fomafix [Mon, 6 Jan 2014 15:05:39 +0000 (15:05 +0000)]
Exclude toggle button of collapsible elements from user selection
Bug: 34445
Change-Id: I53e224a6cf60a55c40ababf9c05ce2dff3b8f179
physikerwelt [Fri, 3 Jan 2014 17:05:24 +0000 (17:05 +0000)]
Add reference to the current user to the PageRenderingHash hook
To generate a user-dependent cache key it makes sense to pass
a reference to the user object, since $wgUser is deprecated.
Change-Id: I32a1df52912292230852c31d69968eeb312a4a97
raymond [Mon, 6 Jan 2014 13:56:49 +0000 (14:56 +0100)]
Make message key optional
https://gerrit.wikimedia.org/r/#/c/65299/
Change-Id: I2c27359696a346d92761452f598e8fe00d88156a
addshore [Fri, 15 Nov 2013 23:45:43 +0000 (00:45 +0100)]
Cleanup HTMLCheckMatrixTest.
Fix Covers tags, looks like we need more testcases
for all other HTML* classes
Change-Id: I166464da3373b45564dd770feecacafacb301604
Dereckson [Mon, 6 Jan 2014 12:09:18 +0000 (13:09 +0100)]
Gender aliases for user namespaces in French and Cajun French
NS_USER:
* User identifies as male: Utilisateur
* User identifies as female: Utilisatrice
NS_USER_TALK:
* User identifies as male: Discussion utilisateur
* User identifies as female: Discussion utilisatrice
Languages with fallback to French:
* applies to frc (Cajun French). This language also uses « Utilisateur »
and « Utilisatric » to translate “user”.
* doesn't apply to bm, ff, frp, ht, ln, mg, pcd, sg, ty, wa, wo.
This change is a follow-up of I5825f750a58dd196f907ad848c74f82130fd857d.
Change-Id: Icb8c787ebfa0e7dfd8289260225fef045fc1b0cb
aude [Mon, 6 Jan 2014 11:22:47 +0000 (12:22 +0100)]
Replace usage of deprecated SpecialPage::getTitle() function
Change-Id: Ibd301b5d039026495778d7638fd272997221101b
Federico Leva [Mon, 6 Jan 2014 09:50:11 +0000 (10:50 +0100)]
Set Italian (it) as fallback for Corsican (co)
As requested by both active translators:
<https://translatewiki.net/wiki/Thread:Portal_talk:Co/Fallback_to_Italian>
One is French-speaking and the other Italian-speaking: turns out
this fallback is not controversial at all.
Change-Id: I050c84b0cd435379dd5ecbf22d2128101775bf12
jenkins-bot [Mon, 6 Jan 2014 09:25:16 +0000 (09:25 +0000)]
Merge "Revert "L10n: gender aliases for user namespaces in French""
Siebrand [Mon, 6 Jan 2014 09:20:29 +0000 (09:20 +0000)]
Revert "L10n: gender aliases for user namespaces in French"
This incorrectly also set gender based namespaces for at least 12 more
locales. That is too high negative impact. Please resubmit without
also impacting languages that fall back to French by adding:
// Remove French aliases
$namespaceGenderAliases = array();
See MessagesLbe.php for example.
This reverts commit
cadbf1fc5fd094bcc5e5e4055ddce4c8dec84020.
Change-Id: I5825f750a58dd196f907ad848c74f82130fd857d
jenkins-bot [Mon, 6 Jan 2014 04:03:01 +0000 (04:03 +0000)]
Merge "Cleanup of includes/rcfeed"
Kevin Israel [Sat, 4 Jan 2014 19:25:44 +0000 (14:25 -0500)]
No need to return true/false from AutoLoader
Partially reverts r36942 (
7e627faec6bd).
Change-Id: I5b3dfd148863413025c71de5fadef1cb5bd70dce
Translation updater bot [Sun, 5 Jan 2014 20:08:28 +0000 (20:08 +0000)]
Localisation updates from https://translatewiki.net.
Change-Id: Ie4cf8986d2fc3bdf1d485958c7171b0b86cefee2
jenkins-bot [Sun, 5 Jan 2014 11:10:12 +0000 (11:10 +0000)]
Merge "Call Language::getLocalisationCache() static"
Kunal Mehta [Sun, 5 Jan 2014 05:10:13 +0000 (21:10 -0800)]
Cleanup of includes/rcfeed
* Added license headers to everything
* Added @since tags for all classes
* Use wfParseUrl instead of parse_url
* Check for RedisConnectionPool::getConnection returning false
Change-Id: I7db808c0465bd869de3f2daa82444b5e3d1268c2
jenkins-bot [Sun, 5 Jan 2014 04:53:17 +0000 (04:53 +0000)]
Merge "Remove methods from SpecialPage deprecated in 1.17 and 1.18"
jenkins-bot [Sun, 5 Jan 2014 02:13:00 +0000 (02:13 +0000)]
Merge "Deoptimize SVG versions of enhanced recent changes collapse/show arrows"
Bartosz Dziewoński [Sun, 5 Jan 2014 00:35:24 +0000 (01:35 +0100)]
Deoptimize SVG versions of enhanced recent changes collapse/show arrows
Taken from PS6 of I1fcc2556 (
3b304289) which added them.
Apparently we can't even get the MIME type of SVGs right.
Bug: 59234
Change-Id: I6fcc89fddee5f1be5b678304ead303f43d682785
Brad Jorsch [Sat, 4 Jan 2014 23:41:10 +0000 (18:41 -0500)]
Properly peform deletion updates when moving over a redirect
When moving over a redirect, WikiPage::doDeleteUpdates is called to do
things like clean up obsolete entries in `redirect` and other tables.
But it doesn't pass a Content object and the WikiPage doesn't have one
cached, so it winds up not actually doing these updates.
Change-Id: I54c90cebfd6bea07137a77bd70acec02cab51084
umherirrender [Sat, 4 Jan 2014 21:03:02 +0000 (22:03 +0100)]
Remove extra parenthesis on where conditions
No need for parenthesis there, because Database::makeList always add
parenthesis around raw where clauses.
Also replaced hard coded quotes by Database::addQuotes
Change-Id: Idcfea54383ac1ba22daa38fba81b883dc0d883f6
umherirrender [Sat, 4 Jan 2014 20:33:12 +0000 (21:33 +0100)]
Call Language::getLocalisationCache() static
Change-Id: Ibbe03b92f2beebaaf93ba9e3c5bebbf3d7626b7a
Dereckson [Sat, 4 Jan 2014 20:12:50 +0000 (21:12 +0100)]
L10n: gender aliases for user namespaces in French
NS_USER:
* M: Utilisateur
* F: Utilisatrice
NS_USER_TALK:
* M: Discussion utilisateur
* F: Discussion utilisatrice
Change-Id: I8fa805473a61677f75b04e2708ad087d99bb3c82
Brad Jorsch [Thu, 5 Dec 2013 17:41:24 +0000 (12:41 -0500)]
Improve TestUser group handling
There's no need for TestUser to remove all groups only to add some back
on. We should be able to speed things up (see bug 43762) by only
removing the groups that aren't wanted and only adding the ones that
aren't already possessed.
Change-Id: I50dd9b117a8a21c8a6170520b3bbf98e3030ae47
Jackmcbarn [Thu, 2 Jan 2014 18:27:29 +0000 (13:27 -0500)]
Add CASCADINGSOURCES parser function
Add {{CASCADINGSOURCES}}, which gives a list of cascading-protected pages
that cause a given page to be protected. This is an expensive parser
function.
Change-Id: I0e9556d53d9a78bc02848c775cb667294726cea1
jenkins-bot [Sat, 4 Jan 2014 13:27:51 +0000 (13:27 +0000)]
Merge "Fix user-friendlyness of block confirmation screen"
m4tx [Mon, 23 Dec 2013 11:37:03 +0000 (12:37 +0100)]
Fix user-friendlyness of block confirmation screen
* "Confirm block" checkbox is now highlighted
* Added "check the box if you're sure" message to the errors at the top
Bug: 58783
Change-Id: I2b496d763a14fe47d7458525cb1e8bb9fa5788f6
jenkins-bot [Sat, 4 Jan 2014 11:19:36 +0000 (11:19 +0000)]
Merge "Various fixes for EnhancedChangesList"
jenkins-bot [Sat, 4 Jan 2014 11:15:05 +0000 (11:15 +0000)]
Merge "Declare visibility for class properties in DatabaseSqlite"
Siebrand Mazeland [Sun, 29 Dec 2013 18:26:50 +0000 (19:26 +0100)]
Remove methods from SpecialPage deprecated in 1.17 and 1.18
No longer used in core or Gerrit extensions. Some patches have been
submitted to remove the last usages. For details see:
* https://gerrit.wikimedia.org/r/#/q/status:open+topic:replace-deprecated,n,z
* https://gerrit.wikimedia.org/r/#/q/status:merged+topic:replace-deprecated,n,z
- SpecialPage::__call() (deprecated in 1.17)
- SpecialPage::executePath() (deprecated in 1.18)
- SpecialPage::exists() (deprecated in 1.18)
- SpecialPage::file() (deprecated in 1.18)
- SpecialPage::func() (deprecated in 1.18)
- SpecialPage::getGroup() (deprecated in 1.18)
- SpecialPage::getPage() (deprecated in 1.18)
- SpecialPage::getPageByAlias() (deprecated in 1.18)
- SpecialPage::getLocalNameFor() (deprecated in 1.18)
- SpecialPage::getRegularPages() (deprecated in 1.18)
- SpecialPage::getRestrictedPages() (deprecated in 1.18)
- SpecialPage::getTitleForAlias() (deprecated in 1.18)
- SpecialPage::getUsablePages() (deprecated in 1.18)
- SpecialPage::includable() (deprecated in 1.18)
- SpecialPage::init()
- SpecialPage::initAliasList() (deprecated in 1.18)
- SpecialPage::initList() (deprecated in 1.18)
- SpecialPage::name() (deprecated in 1.18)
- SpecialPage::removePage() (deprecated in 1.18)
- SpecialPage::resolveAlias() (deprecated in 1.18)
- SpecialPage::resolveAliasWithSubpage() (deprecated in 1.18)
- SpecialPage::restriction() (deprecated in 1.18)
- SpecialPage::setGroup() (deprecated in 1.18)
Change-Id: I5122f0f23255bc1e8b63a7329a6d1653899b7f59
jenkins-bot [Sat, 4 Jan 2014 02:08:51 +0000 (02:08 +0000)]
Merge "Further cleanup to Special:Version"
Matt Walker [Wed, 29 May 2013 02:52:05 +0000 (19:52 -0700)]
Further cleanup to Special:Version
Cleaned up some HTML, added some CSS classes for the version
information, and refactored some of the code.
Also added column headers for the extension descriptions.
Change-Id: I5bbc4d4024620ea57ab1bf778255a487fbc9b378
jenkins-bot [Sat, 4 Jan 2014 00:42:28 +0000 (00:42 +0000)]
Merge "Add licensing for extensions to Special:Version"
jenkins-bot [Sat, 4 Jan 2014 00:12:12 +0000 (00:12 +0000)]
Merge "Don't convert bad curids to the Main Page"
jenkins-bot [Sat, 4 Jan 2014 00:10:29 +0000 (00:10 +0000)]
Merge "Do not reveal RevDeled file title"
Ori.livneh [Fri, 3 Jan 2014 23:56:23 +0000 (23:56 +0000)]
Merge "Revert "Optimize all SVGs""
Ori.livneh [Fri, 3 Jan 2014 23:53:11 +0000 (23:53 +0000)]
Revert "Optimize all SVGs"
On my Mac, calling finfo_file on external-link-ltr-icon.svg gets the correct
MIME-type ("image/svg+xml"), but in production I get "application/xml".
This is probably due to the version of fileinfo or libmagic that is deployed on
the cluster. Reverting for now.
This reverts commit
a9b855eea52ba3b739a9150beb8e69db8afd2143.
Change-Id: Ie4db624ba9f561a467622878d0992847be018b7d
Translation updater bot [Fri, 3 Jan 2014 20:53:21 +0000 (20:53 +0000)]
Merge "Localisation updates from https://translatewiki.net."
Translation updater bot [Fri, 3 Jan 2014 20:35:25 +0000 (20:35 +0000)]
Localisation updates from https://translatewiki.net.
Change-Id: I8d9a05eb6ce4136d424c4f2ce7cdc65e8c09b0f6
umherirrender [Fri, 3 Jan 2014 20:35:21 +0000 (21:35 +0100)]
Fix doc for Database::upsert
One @params too much
Change-Id: I8cea6228587574ff90060d46b4430b2348a68973
umherirrender [Fri, 3 Jan 2014 19:36:20 +0000 (20:36 +0100)]
Add sequence support for externallinks table
Database field el_id was added with
Ib6b0fc3736d173fa4ba7b786ecfc710b2f4711bb, but due to autoincrement in
mysql no sequence support was added.
For mysql this is a nop, it adds a field to the insert but that is null
and mysql autoincrement will fill it.
INSERT /* LinksUpdate::incrTableUpdate 127.0.0.1 */ IGNORE
INTO `externallinks` (el_id,el_from,el_to,el_index)
VALUES
(NULL,'1610','http://de.wikipedia.org/wiki/Hauptseite','http://org.wikipedia.de./wiki/Hauptseite')
At least Oracle will need it
Bug: 58435
Change-Id: I3f68ea8d99c5450c0c66feeb1469ef0ee6cc4eab
Matt Walker [Fri, 24 May 2013 11:19:49 +0000 (04:19 -0700)]
Add licensing for extensions to Special:Version
Allow extensions to register a software license and present
this on the Special:Version page. A new $wgExtensionCredits
parameter has been introduced for this purpose: 'license-name'.
This will also automatically pick up the presense of additional
licensing and/or credits files. If ((AUTHORS)|(CREDITS))(\.txt)?
exists in the extension base directory a credits link will be
created. If ((LICENSE)|(COPYING))(\.txt)? exists a license link
will be created.
The API has also been updated to produce VCS information and present
links to the license/credits files.
Bug: 48418
Change-Id: I388f3b630462f1909f30751c987f7af585e98881