Amir E. Aharoni [Mon, 30 Jul 2012 08:51:47 +0000 (11:51 +0300)]
Add @since 1.20 to getDirMarkEntity
Change-Id: Ib74b68a85e470ef23685802af93c3ec66d50e1ed
Demon [Mon, 30 Jul 2012 01:52:37 +0000 (01:52 +0000)]
Merge "Follow-up Ifa9c55b7 (
58852d8): Change one more item to getWatchedItem()"
Demon [Mon, 30 Jul 2012 01:48:42 +0000 (01:48 +0000)]
Merge "No need to call parseTitle() directly in MediaWiki::__construct()."
Demon [Mon, 30 Jul 2012 01:45:17 +0000 (01:45 +0000)]
Merge "Don't unset() $wgOut in AjaxDispatcher."
Demon [Mon, 30 Jul 2012 01:44:23 +0000 (01:44 +0000)]
Merge "Fix for Ic74c7ba7 (
c8c50eb): there's no reason to pass $this by reference."
Siebrand [Sun, 29 Jul 2012 20:46:40 +0000 (20:46 +0000)]
Merge "Use local context to get messages and time formatting methods of Language class."
Siebrand [Sun, 29 Jul 2012 20:43:36 +0000 (20:43 +0000)]
Merge "Store the Title and User objects passed RecentChange::notify*()"
Siebrand [Sun, 29 Jul 2012 20:33:42 +0000 (20:33 +0000)]
Merge "Update SkinLegacy to use newer methods to create the file link."
Alexandre Emsenhuber [Sun, 29 Jul 2012 19:29:44 +0000 (21:29 +0200)]
Don't unset() $wgOut in AjaxDispatcher.
It's now totally useless since we are storing it
in the RequestContext object, so this won't prevent
the MediaWiki class to use it.
Change-Id: I10a15a16769f8f208c13bfb9ad38738562c11eac
Alexandre Emsenhuber [Sun, 29 Jul 2012 19:11:33 +0000 (21:11 +0200)]
Use Linker::linkKnown() instead of Linker::link() with options in Article.
Change-Id: I01a69bc76a9904859c3baf04b19659de7edf5348
Siebrand [Sun, 29 Jul 2012 19:12:01 +0000 (19:12 +0000)]
Merge "Making listToText() not break if passed a 1-item list."
Reedy [Sun, 29 Jul 2012 18:23:38 +0000 (18:23 +0000)]
Merge "Cleanup InfoAction"
Reedy [Sat, 28 Jul 2012 18:50:34 +0000 (19:50 +0100)]
Suppress warnings around parse_url call
From the docs:
On seriously malformed URLs, parse_url may return false and emit a E_WARNING
We're already checking for false, but we can get spammed with E_WARNING..
Change-Id: I44a9ef2b163e64113bd2a30b081c1256ffeada1e
Catrope [Sat, 28 Jul 2012 00:15:32 +0000 (00:15 +0000)]
Merge "Update jquery.qunit from upstream v1.8.0 to v1.9.0"
Aaron Schulz [Fri, 27 Jul 2012 23:39:26 +0000 (23:39 +0000)]
Merge "Add hints to comment of ApiBase::needsToken/getTokenSalt"
Aaron Schulz [Fri, 27 Jul 2012 23:33:58 +0000 (23:33 +0000)]
Merge "Replace hard coded parentheses"
Aaron Schulz [Fri, 27 Jul 2012 23:31:38 +0000 (23:31 +0000)]
Merge "Refactor out LinkBatch related query building"
Timo Tijhof [Fri, 27 Jul 2012 23:09:20 +0000 (16:09 -0700)]
Update jquery.qunit from upstream v1.8.0 to v1.9.0
* Upstream https://github.com/jquery/qunit.git
- tag: v1.9.0
- tree: https://github.com/jquery/qunit/tree/v1.9.0
- commit: https://github.com/jquery/qunit/commit/
e36f17de98b2813df25ef8d3a504139f488971d2
* Also update our testrunner.js since the format of
QUnit.config.urlConfig has changed (it is still backwards
compatible, but we might as well use the new format right away,
as it makes the checkboxes look better).
Change-Id: Ia5a9eb7a40a438c126879497ec0dbecbb72e0edb
Aaron Schulz [Fri, 27 Jul 2012 23:06:47 +0000 (23:06 +0000)]
Merge "Added point in release notes about added ORM stuffs"
Reedy [Wed, 18 Jul 2012 15:24:50 +0000 (16:24 +0100)]
Refactor out LinkBatch related query building
Some minor refactoring of SpecialDisambiguations to
reduce the amount of copy pasted code in ProofreadPage
extensions special page SpecialPagesWithoutScans
Change-Id: I41c8613b6f8c235809b51a5e00cdfa0775e5d733
Liangent [Fri, 27 Jul 2012 14:57:34 +0000 (22:57 +0800)]
Replace hard coded parentheses
Change-Id: I8ca697a3bdae4f693b626f2d2da15ad28dce937d
robin [Sun, 15 Jul 2012 19:47:21 +0000 (15:47 -0400)]
Add language converter for Uzbek.
Also add tests per Hashar, based on the Serbian file but less since
Uzbek does not have "variant guessing" or custom plural rules.
Change-Id: I27da994b88fbe13cfb7df12851e704d881397666
robin [Fri, 27 Jul 2012 13:56:50 +0000 (15:56 +0200)]
fix typo in LanguageSrTest.php
Change-Id: I2e72d428ac56c94e4980ee712fdd66d381c504e0
umherirrender [Fri, 27 Jul 2012 12:43:55 +0000 (14:43 +0200)]
Add hints to comment of ApiBase::needsToken/getTokenSalt
Change-Id: I7141256527aaff5496ac4e163199c947fb27fed0
Nikerabbit [Fri, 27 Jul 2012 11:02:29 +0000 (11:02 +0000)]
Merge "Make DateFormatter work in any language, by default in the page content language"
Krinkle [Fri, 27 Jul 2012 07:04:12 +0000 (07:04 +0000)]
Merge "Ugrade jQuery UI to 1.8.22"
Reedy [Thu, 26 Jul 2012 23:18:09 +0000 (00:18 +0100)]
Ugrade jQuery UI to 1.8.22
http://blog.jqueryui.com/2012/07/jquery-ui-1-8-22/
Change-Id: I770ca9eaae180dbac8ac785113a5787b71acc67d
Aaron Schulz [Fri, 27 Jul 2012 01:14:39 +0000 (01:14 +0000)]
Merge "Use WebRequest instead of $_SERVER in OutputPage."
Aaron Schulz [Fri, 27 Jul 2012 01:10:54 +0000 (01:10 +0000)]
Merge "explode()'ing the callback is no longer needed in AjaxDispatcher."
Aaron Schulz [Thu, 26 Jul 2012 21:49:49 +0000 (21:49 +0000)]
Merge "Fix for I5211ec50 (
d969a27): more refactoring of the code."
Aaron Schulz [Thu, 26 Jul 2012 21:45:26 +0000 (21:45 +0000)]
Merge "Use WikiPage::loadPageData() to reload data from the "
Aaron Schulz [Thu, 26 Jul 2012 21:37:37 +0000 (21:37 +0000)]
Merge "fix logic bug in assertArrayEquals"
Catrope [Thu, 26 Jul 2012 21:23:12 +0000 (21:23 +0000)]
Merge "Various thumb.php fixes."
Aaron [Thu, 26 Jul 2012 19:00:22 +0000 (12:00 -0700)]
Various thumb.php fixes.
* Made wfThumbHandle404() handle full REQUEST_URI urls.
* Made wfExtractThumbParams() handle protocal relative zone urls.
* Added FileRepo::getZoneHandlerUrl() and site zone configuration to simplify wmf rewrite rules.
* Renamed some variables to be less misleading.
Change-Id: Ic3e23c2a623c1241ee22a9811aee073fb07aa68c
Siebrand [Thu, 26 Jul 2012 18:45:49 +0000 (18:45 +0000)]
Merge "Add Turoyo (tru) language to MediaWiki"
daniel [Thu, 26 Jul 2012 18:08:54 +0000 (20:08 +0200)]
fix logic bug in assertArrayEquals
Change-Id: I442ebfe77292918f29121aba1205de664723e468
Krinkle [Thu, 26 Jul 2012 17:20:59 +0000 (17:20 +0000)]
Merge "mediawiki.Uri: Optional url use default location."
Hashar [Thu, 26 Jul 2012 14:53:58 +0000 (14:53 +0000)]
Merge "Improve documentation of maintenance scripts."
Mark Holmquist [Thu, 19 Jul 2012 20:55:21 +0000 (13:55 -0700)]
mediawiki.Uri: Optional url use default location.
This patch does three things:
1. If mw.Uri doesn't get any arguments, it will return the default
URI. This is a good default, because it's something that will be
used often, and the URI object that refers to the default location
already exists locally, we're just using it to return a clone of
that.
2. Fixes a strange logic error that prevents #1 from taking effect
properly. The last clause in the 'if' statement on line 120
meant that if uri is undefined, the if block would execute. I
doubt that was intended, but it happened, and now it's fixed.
There may be some error handling in mw.Uri.parse that could be
removed since the URI passed in will almost never be undefined.
3. Adds tests for the new constructor values.
Change-Id: I9254b89bba41572c6dce72d2100d7085c37fb2c3
jeroendedauw [Sat, 21 Jul 2012 19:20:30 +0000 (21:20 +0200)]
some doc for the ORM system
Change-Id: Icdfe6c754fdeddb42f0df04efcb1e06df8b73173
Siebrand [Thu, 26 Jul 2012 04:44:44 +0000 (04:44 +0000)]
Merge "Add Burmese to list of languages with wider headings"
Siebrand [Thu, 26 Jul 2012 04:38:52 +0000 (04:38 +0000)]
Merge "Add 皮膚 for better word segmentation."
Siebrand [Thu, 26 Jul 2012 04:38:19 +0000 (04:38 +0000)]
Merge "Drop conversion from 游標 to 光标 which can also refer to verniers"
Siebrand [Thu, 26 Jul 2012 04:37:30 +0000 (04:37 +0000)]
Merge "Add 路面 for better word segmentation."
Catrope [Thu, 26 Jul 2012 02:11:05 +0000 (02:11 +0000)]
Merge "(bug 14237) Allow PAGESINCATEGORY to distinguish between 'all', 'pages', 'files' and 'subcats'"
Catrope [Thu, 26 Jul 2012 02:08:57 +0000 (02:08 +0000)]
Merge "allow combined width/height param in {{filepath:}}"
Aaron Schulz [Thu, 26 Jul 2012 01:45:07 +0000 (18:45 -0700)]
[FileBackend] Made copy script use error() for status dump.
Change-Id: I68a359e9ac1490683fb650d4c43f9b643e321701
Timo Tijhof [Sat, 21 Jul 2012 21:26:21 +0000 (14:26 -0700)]
(bug 260) Wrap <pre> overflow properly.
The previous approach with overflow: hidden; had issues.
This is much better. See inline comment as well as the discussion
on bug 260 for more information and the cross-browser test.
And it took only 8 years!
* Ref:
- bug 260
- bug 414
- bug 22060
Change-Id: I7eec3ffeaa5ad633270714ce06023b29a71519f9
Krinkle [Wed, 25 Jul 2012 21:21:49 +0000 (21:21 +0000)]
Merge "Revert "(bug 260) Handle <pre> overflow automatically with a scroll bar""
Aaron Schulz [Wed, 25 Jul 2012 20:16:27 +0000 (20:16 +0000)]
Merge "Split Generic into MediaHandler and ImageHandler"
Alexandre Emsenhuber [Wed, 25 Jul 2012 19:31:06 +0000 (21:31 +0200)]
Improve documentation of maintenance scripts.
Change-Id: I93e80edcfc3dc2d5630f7514808cafc22daf39f7
Aaron Schulz [Wed, 25 Jul 2012 19:30:46 +0000 (19:30 +0000)]
Merge "Revert "memcached: better error messaging""
Aaron Schulz [Wed, 25 Jul 2012 19:28:08 +0000 (19:28 +0000)]
Revert "memcached: better error messaging"
This always issues PHP notices when the code is hit.
This reverts commit
fe6da52a11375c83d86f73bf4725d14acfbf4cbf
umherirrender [Wed, 25 Jul 2012 15:51:05 +0000 (17:51 +0200)]
(bug 14237) Allow PAGESINCATEGORY to distinguish between 'all', 'pages',
'files' and 'subcats'
Change-Id: I6dc90c6701c857256343f3c8f874dc20c6cc098a
umherirrender [Wed, 25 Jul 2012 15:31:47 +0000 (17:31 +0200)]
allow combined width/height param in {{filepath:}}
Using the same regex like [[File:|]]
With heigth, the width inside the thumb link can be calculated, if the
height not fit in the width.
Change-Id: If188d923d6cd25ea6a5118098f3a513ca5135d43
Nikerabbit [Wed, 25 Jul 2012 12:38:54 +0000 (12:38 +0000)]
Merge "Add correct rtl value to some languages"
Liangent [Wed, 25 Jul 2012 09:13:41 +0000 (17:13 +0800)]
Add 皮膚 for better word segmentation.
Change-Id: I677293c2669f606b2c51a4354c74bd4a775d1c7e
Alexandre Emsenhuber [Wed, 25 Jul 2012 10:22:47 +0000 (12:22 +0200)]
Use WikiPage::loadPageData() to reload data from the
There's no need to do this using custom code when we already
have methods for this.
Change-Id: I348dd9a01322b7e9b521e7a014959e91254dd2aa
Amir E. Aharoni [Wed, 25 Jul 2012 09:28:45 +0000 (12:28 +0300)]
Add correct rtl value to some languages
The language ku-arab and kk-cn weren't defined as RTL in their
message files. This commit fixes that.
Change-Id: Id55c17e6cdb2238993dc52b17b1297a352ba14d3
Liangent [Wed, 25 Jul 2012 09:29:06 +0000 (17:29 +0800)]
Add 路面 for better word segmentation.
Change-Id: Ie5e2fa49a36ebc96898ca8af73fcc59727beff35
Liangent [Wed, 25 Jul 2012 09:07:31 +0000 (17:07 +0800)]
Drop conversion from 游標 to 光标 which can also refer to verniers
Change-Id: I4445c9befae8f2d134340e8354ba4379c19f30d8
Alexandre Emsenhuber [Tue, 24 Jul 2012 12:44:27 +0000 (14:44 +0200)]
Do checks in the correct order in Linker::getLinkColour().
There's no point doing potentially expensive checks (exists() and
getLength()) if the page is simply not in a content namespace.
Change-Id: I86a2b3a36071cf508b8e99ef20bdf3e0e20f3c82
Amir E. Aharoni [Wed, 25 Jul 2012 07:23:49 +0000 (10:23 +0300)]
Add Burmese to list of languages with wider headings
The Burmese script, like other Indic languages, has marks above and
below line. These marks appear cut off if the line height is too narrow.
This commit adds Burmese (code 'my') to the list of languages that have
larger line-height. It also changes the line-height value for <h1>,
because apparently the current value is too narrow for Burmese, at
least on my machine.
Change-Id: I097632b4ea77acad40ca55de828211a9cab88949
Tim Starling [Wed, 25 Jul 2012 04:09:03 +0000 (04:09 +0000)]
Merge "Removed now obsolete compat-code"
Siebrand [Wed, 25 Jul 2012 01:16:32 +0000 (01:16 +0000)]
Merge "Add @since annotation to Language::formatExpiry()"
Catrope [Tue, 24 Jul 2012 23:18:41 +0000 (23:18 +0000)]
Merge "Fix regression in API log events (bug 35635)"
umherirrender [Fri, 20 Jul 2012 17:46:08 +0000 (19:46 +0200)]
(bug 27610) Add archivename to list=filearchive
Change-Id: I485ff58ad57030cbfb3a0ee7803bf0e25c363d95
Catrope [Tue, 24 Jul 2012 22:28:59 +0000 (22:28 +0000)]
Merge "[FileBackend] Bumped Swift listing page size."
Reedy [Tue, 24 Jul 2012 22:20:26 +0000 (23:20 +0100)]
Add @since annotation to Language::formatExpiry()
Change-Id: I022762a3a5e6fa6e45824f963c9301a83930b850
Catrope [Tue, 24 Jul 2012 22:08:24 +0000 (22:08 +0000)]
Merge "show old protection in prop=info, if no new protection exists"
Catrope [Tue, 24 Jul 2012 21:53:20 +0000 (21:53 +0000)]
Merge "make list of 'Languages that support variant conversion' dynamic"
Catrope [Tue, 24 Jul 2012 21:14:52 +0000 (21:14 +0000)]
Merge "(bug 35893) Special:Block should load mediawiki.special.block.js"
Brad Jorsch [Tue, 24 Jul 2012 20:59:42 +0000 (16:59 -0400)]
(bug 35893) Special:Block should load mediawiki.special.block.js
Special:Block is showing checkboxes that apply only to IP blocks when
blocking usernames, and vice versa. The code to hide these checkboxes
already exists in resources/mediawiki.special/mediawiki.special.block.js,
but it's not being loaded.
Change-Id: I875125b56e9f234dbff87bff3b045877fb1614be
Trevor Parscal [Tue, 24 Jul 2012 20:43:28 +0000 (20:43 +0000)]
Merge "mw.toolbar: Clean up the API of the classic toolbar."
Krinkle [Tue, 24 Jul 2012 20:42:05 +0000 (20:42 +0000)]
Merge "Remove weird, confusing, unreachable code"
Catrope [Tue, 24 Jul 2012 20:29:04 +0000 (13:29 -0700)]
Remove weird, confusing, unreachable code
The removed code was doing first-order dependency resolution if a single
module was passed in as a string.
This is crazy because:
* passing in 'foo' triggered it but passing in ['foo'] didn't
* dependency resolution is resolve()'s responsibility
* all callers were passing in arrays produced by resolve(), so this code
was never reached
Change-Id: I081e2bf90cead63437e495006c78254cf65e3847
Catrope [Tue, 24 Jul 2012 20:31:53 +0000 (13:31 -0700)]
Whitespace fix
Change-Id: I439b39ffad2989afe1c01a1d430082730ae38151
Alexandre Emsenhuber [Wed, 27 Jun 2012 08:18:08 +0000 (10:18 +0200)]
don't use message when the 'nodb' flag is set
Fix for If5f1c26f (
69591db):
This breaks maintenance/language/transstat.php when there's no db connection.
Change-Id: I3f4416234ecce34c93ba14a66771379cb427e83b
Alexandre Emsenhuber [Mon, 16 Jul 2012 09:03:02 +0000 (11:03 +0200)]
Pass the local User object to Revision::userCan()
Change-Id: Iffd857a577593642464371a988b7b7829d246748
Alexandre Emsenhuber [Sat, 21 Jul 2012 20:35:05 +0000 (22:35 +0200)]
Reorder methods in the MediaWiki class for better consistency.
Change-Id: I651606b3d675212891c5075b3114c451810a3ec5
Alexandre Emsenhuber [Tue, 17 Jul 2012 05:40:40 +0000 (07:40 +0200)]
Improve documentation of maintenance scripts.
Change-Id: If0af9922ede902c2c6f18b627d5810f3e888c944
Alexandre Emsenhuber [Mon, 23 Jul 2012 21:06:08 +0000 (23:06 +0200)]
Update SkinLegacy to use newer methods to create the file link.
Linker::getInternalLinkAttributes() is an horrible old thing that I
would like to deprecate, and that's the last usage of it I could find.
Change-Id: Icbda801bf8240cf2e4e23d6b99406e3a909e9d0b
Jan Gerber [Mon, 23 Jul 2012 18:59:38 +0000 (11:59 -0700)]
Split Generic into MediaHandler and ImageHandler
media/Generic.php contains two classes, split it
into MediaHandler.php and ImageHandler.php
Change-Id: Id5027b397e3156cf70312b3ffa37227ca5c3b81c
Christian Aistleitner [Fri, 29 Jun 2012 14:18:28 +0000 (16:18 +0200)]
Eliminated deprecated functions in TextPassDumper
Change-Id: I9f3148fe6044cc718e57b4aaaaf507f3342dc4d3
Aaron Schulz [Tue, 24 Jul 2012 03:55:21 +0000 (20:55 -0700)]
Removed unused $wgAntiLockFlags flags.
Change-Id: I56a24db564906256f78b5d1903de4ddd70a13bc4
Aaron Schulz [Tue, 24 Jul 2012 00:22:49 +0000 (00:22 +0000)]
Merge "(bug 27567) Add file repo support to prop=duplicatefiles"
robin [Mon, 23 Jul 2012 23:25:36 +0000 (01:25 +0200)]
Add Turoyo (tru) language to MediaWiki
About 23% is translated so far on translatewiki.net
Change-Id: I1a6afc1cbfeaad65b152acfd338a29fe0db0dc5d
Reedy [Mon, 23 Jul 2012 20:17:43 +0000 (20:17 +0000)]
Merge "(bug 38333) Check global blocks on account create"
csteipp [Fri, 20 Jul 2012 18:54:14 +0000 (11:54 -0700)]
(bug 38333) Check global blocks on account create
Before displaying an account creation form, checks against
GlobalBlocking are run, but not when the actual account is
created.
At this time, User::isBlockedFromCreateAccount() does not
run the hooks for which GlobalBlocking is registered.
Change-Id: Ieb3696bc49d6f4c4e3e95d8c55121b7ffa07b506
Reedy [Mon, 23 Jul 2012 19:18:42 +0000 (20:18 +0100)]
Remove <i> tags from MessagesKsh.php, they aren't parsed
Change-Id: I24b5ceb61170c0150e805b243642b9335d770aab
Kaldari [Mon, 23 Jul 2012 18:18:08 +0000 (18:18 +0000)]
Merge "More accurate function description for isAllowed()"
Kaldari [Mon, 23 Jul 2012 08:02:04 +0000 (01:02 -0700)]
More accurate function description for isAllowed()
Change-Id: Idf95efc20714bfb2595259bcce6ba9eaf9a63fae
umherirrender [Mon, 23 Jul 2012 16:45:38 +0000 (18:45 +0200)]
(bug 27567) Add file repo support to prop=duplicatefiles
This adds a new method findBySha1s to the FileRepo classes to support
the multiple hash search against all repos (with only one query for each
db repo).
Change-Id: I745cae7a1db3a32c20aa0067b744402fcf1a3122
Aaron Schulz [Mon, 23 Jul 2012 15:07:55 +0000 (08:07 -0700)]
[FileBackend] Bumped Swift listing page size.
Change-Id: I44cab543246c0ff65b2bd64020d642a18c48cb67
Translation updater bot [Mon, 23 Jul 2012 13:12:00 +0000 (13:12 +0000)]
Localisation updates from translatewiki.net.
Change-Id: I7db66b78968b5627b3936631a4d18b12ab77a65a
Reedy [Tue, 17 Jul 2012 22:56:51 +0000 (23:56 +0100)]
Add testRomanNumerals
Up Language::romanNumeral() to work upto 10,000
Does anyone know how do do letters with an underscore ontop of them? ;)
Change-Id: Ib1b1415126af855ce5fb55f81b71534c26d84cc9
Tim Starling [Mon, 23 Jul 2012 03:29:55 +0000 (03:29 +0000)]
Merge "Fixed DATA_FOR_UPDATE loading in WikiPage."
Tim Starling [Mon, 23 Jul 2012 03:28:54 +0000 (03:28 +0000)]
Aaron Schulz [Sun, 22 Jul 2012 19:42:28 +0000 (19:42 +0000)]
Merge "Fix missing occurence change in I6b69919a (
747e89e)."
Alexandre Emsenhuber [Sun, 22 Jul 2012 19:03:43 +0000 (21:03 +0200)]
Fix missing occurence change in I6b69919a (
747e89e).
The line above changed in that revision, but not this one,
so I highly suspect that this occurence of deleterevision
should have been changed to deletelogentry.
Change-Id: Ief4ca9acf08bccc8ff064cea5795a2dbeae44d19