Parent5446 [Wed, 20 Feb 2013 16:10:55 +0000 (16:10 +0000)]
Merge "(bug 45012) Do not show a "badretype" error when creating an account by e-mail."
Alexandre Emsenhuber [Mon, 18 Feb 2013 07:13:38 +0000 (08:13 +0100)]
(bug 45012) Do not show a "badretype" error when creating an account by e-mail.
Change-Id: Idd1ffaef60dc2ab2498a3dabe2902051aea990d2
jenkins-bot [Wed, 20 Feb 2013 15:59:50 +0000 (15:59 +0000)]
Merge "style: indent tweaks to Title.php"
jenkins-bot [Wed, 20 Feb 2013 15:54:35 +0000 (15:54 +0000)]
Merge "Using "Page" for type hinting is really useless"
jenkins-bot [Wed, 20 Feb 2013 15:52:34 +0000 (15:52 +0000)]
Merge "(bug 35993) API gettoken parameter is deprecated (release notes complement)"
Antoine Musso [Tue, 19 Feb 2013 21:51:31 +0000 (22:51 +0100)]
style: indent tweaks to Title.php
Title.php had some indentation oddities with mixed tabs and spaces. This
patch tweak the whitespaces and sometime explode boolean logics to have
a more consistent style.
Change-Id: I891c112236a021d9b4e38eb57eeb3b232172139c
jenkins-bot [Wed, 20 Feb 2013 15:42:16 +0000 (15:42 +0000)]
Merge "(bug 45069) wfParseUrl() no longer produces a PHP notice if passed a "mailto:" URL without address"
jenkins-bot [Wed, 20 Feb 2013 15:39:55 +0000 (15:39 +0000)]
Merge "Fix documentation in Linker::formatTemplates."
Reedy [Mon, 21 Jan 2013 20:27:17 +0000 (20:27 +0000)]
Using "Page" for type hinting is really useless
Change-Id: I60b0787a17bca6d16c499f6e60f2163728a8f30a
jenkins-bot [Wed, 20 Feb 2013 15:37:47 +0000 (15:37 +0000)]
Merge "Mention that User::setInternalPassword() accepts null as password string"
jenkins-bot [Wed, 20 Feb 2013 15:31:50 +0000 (15:31 +0000)]
Merge "Add line breaks to the output of action=info"
jenkins-bot [Wed, 20 Feb 2013 15:30:06 +0000 (15:30 +0000)]
Merge "Add line breaks to the output of Special:Watchlist"
jenkins-bot [Wed, 20 Feb 2013 14:55:45 +0000 (14:55 +0000)]
Merge "Fix API output formatting (change lines delimited with * as bold)"
Waldir Pimenta [Wed, 16 Jan 2013 19:31:37 +0000 (19:31 +0000)]
Fix API output formatting (change lines delimited with * as bold)
Problem: on API documentation pages, lines delimited with asterisks
are automatically converted to bold. However, some lines aren't,
such as the one with the url in the main header of the root API page:
https://en.wikipedia.org/w/api.php
Not only this is breaks the standard formatting for module headers, etc,
but if the font used by the browser for monospaced text
doesn't preserve character width between bold and regular weight
(which it should), any layout structures will break.
Example: http://i.imgur.com/PVh6i.png
The regex that applies bold to the lines starting and ending in *
doesn't accept < and > inside the string,
but these are added by the url-formatting regex.
Simply changing the order of these operations fixes the issue.
Note: this change also removes the regex applying italics
to lines in the $ ... $ form, as suggested by Anomie and Yurik
in code review comments.
Change-Id: I7173f812bebb8a722fefdaa6cce9fcd554c82c84
Brad Jorsch [Mon, 31 Dec 2012 19:15:50 +0000 (14:15 -0500)]
(bug 43251) API prop=pageprops ppprop should accept multiple values
There is no reason for this parameter not to accept multiple values, the
query is structurally exactly the same as for something like
prop=categories&clcategories=....
Unless, of course, we need to support page props with "|" in the name.
Change-Id: I38cd83e213ede8e626d55c079c5c1b6f7e727336
jenkins-bot [Wed, 20 Feb 2013 13:41:23 +0000 (13:41 +0000)]
Merge "Add getters to Message object."
Alexandre Emsenhuber [Wed, 20 Feb 2013 10:33:33 +0000 (11:33 +0100)]
Add line breaks to the output of Special:Watchlist
This makes the source code of the page much more readable.
Change-Id: Ia9e0e382a362d95678cf37844651ff0c28115e5e
Abhishek Das [Wed, 20 Feb 2013 10:20:28 +0000 (15:50 +0530)]
Some minor coding practice fixes;
There were a few lines in `SpecialVersion.php` that caused the build to
be marked as failure. Fixing those:
1. Line 594 - String concat not required, so using single string instead
Change-Id: I799d11aaaf953d09f681585ee23dc5bf496af3d4
Antoine Musso [Tue, 19 Feb 2013 21:00:09 +0000 (22:00 +0100)]
style
tests/phpunit/includes/StringUtilsTest.php:42:3
- avoid function calls in a FOR loop test part
tests/phpunit/includes/PathRouterTest.php:155 to 165
- fix space/tabs indenting
- convert double quotes to single for consistency
tests/phpunit/data/xmp/7.result.php
- reindent to use tabs instead of spaces
- removed trailing whitespaces
tests/phpunit/includes/filebackend/FileBackendTest.php
- spaces in indentation
Change-Id: I9c15803f961fc88b798ada3dd6c2b292c1de2143
Aaron Schulz [Wed, 20 Feb 2013 00:56:47 +0000 (16:56 -0800)]
[JobQueue] Allow certain job types to always opt out of retries.
Change-Id: I4cdd43b0b248700e199947e99d2df32b91e23ef7
Alexandre Emsenhuber [Mon, 18 Feb 2013 09:45:49 +0000 (10:45 +0100)]
Pass all non-default values as hidden field in namespace form on Special:Watchlist
Except 'namespace', 'invert' and 'associated' which are displayed in the form.
This allows to forward all parameters that were modified using query string, e.g.
the new 'extended' parameter added in I115544005a621ee01a0ed0970a13099af92f42e7
that would be lost otherwise when using the form.
Change-Id: Idb0d3b1d6b4827d35ac9b09eb4d8a5ae630a0e3a
jenkins-bot [Tue, 19 Feb 2013 23:14:33 +0000 (23:14 +0000)]
Merge "Remove useless $prefs array from Special:Watchlist"
jenkins-bot [Tue, 19 Feb 2013 22:00:31 +0000 (22:00 +0000)]
Merge "Upstream: Update QUnit from v1.10.0 to v1.11.0"
jenkins-bot [Tue, 19 Feb 2013 21:42:25 +0000 (21:42 +0000)]
Merge "Allow API results to wrap long lines"
umherirrender [Mon, 18 Feb 2013 17:58:35 +0000 (18:58 +0100)]
set wgLanguageCode in NewParserTests for all tests
Change one method default and use a constant
Change-Id: Id8d6817c616c289834c6af9ecbc183dbc76fbded
Translation updater bot [Tue, 19 Feb 2013 20:09:22 +0000 (20:09 +0000)]
Localisation updates from translatewiki.net.
Change-Id: Ib3b94365f377f939290541539cb20010c837ec6b
daniel [Tue, 19 Feb 2013 19:28:57 +0000 (20:28 +0100)]
Add getters to Message object.
Being able to get the message key and parameters from a Message object
is needed to be able to report errors from the API in an abstract,
language neutral way.
Change-Id: I8ee9da4005db7cb0a487457127f1e24fb11dbd66
jenkins-bot [Tue, 19 Feb 2013 17:21:36 +0000 (17:21 +0000)]
Merge "Always cast input to string in wfBaseConvert"
jenkins-bot [Tue, 19 Feb 2013 17:16:16 +0000 (17:16 +0000)]
Merge "phpcs: Normalize methods declarations to "[final abstract] [visibility]"."
Antoine Musso [Tue, 12 Feb 2013 21:32:09 +0000 (22:32 +0100)]
phpcs: Normalize methods declarations to "[final abstract] [visibility]".
CodeSniffer sniff is:
[abstract final] [<visibility>] [static] function
As declared by:
PSR2.Methods.MethodDeclaration.StaticBeforeVisibility
in:
https://github.com/wikimedia/mediawiki-tools-codesniffer/blob/master/MediaWiki/ruleset.xml
Change-Id: Ifabd289e8668019ed752bdd711b3b43a9c346336
Yuri Astrakhan [Tue, 19 Feb 2013 16:40:07 +0000 (11:40 -0500)]
Move <warnings> and <query-continue> to result's top and optimize
* Both the warnings and query-continue elements will now be shown
at the top of the result, making it easier for debugging and learning.
* Added int $flags parameter instead of bool $overwrite for addValue()
and setElement(). Supported flags are OVERRIDE - overrides existing value,
same meaning as true (which will continue to work), and ADD_ON_TOP which
ensures that if the value being added does not exist, it will be placed
as the first element in the parent array.
* Optimized ApiBase::setWarning to no longer use regex (faster)
* Optimized ApiResult::addValue() for a bit more efficiency
* Added ApiResult::addAsFirstElement() that inserts a named value into
the array at the top
Change-Id: I0fa2697e1eaa4947d01527bb3ad555e1051f6be4
jenkins-bot [Tue, 19 Feb 2013 16:44:02 +0000 (16:44 +0000)]
Merge "API Remove $wgAPIGeneratorModules - it's dynamic now"
Yuri Astrakhan [Fri, 8 Feb 2013 23:43:25 +0000 (18:43 -0500)]
API Remove $wgAPIGeneratorModules - it's dynamic now
* $wgAPIGeneratorModules is now obsolete and will be ignored
* Removed generator tests - obsolete because there is no more list
Change-Id: I014260a42226854a2178345dc3cd0f50b41b3c08
Alexandre Emsenhuber [Tue, 19 Feb 2013 14:31:34 +0000 (15:31 +0100)]
Remove useless $prefs array from Special:Watchlist
It is a duplicate of $defaults, so instead of calling $user->get(Bool)Option()
one more time, use the already-present value in $defaults.
I know that boolean values in $defaults are casted to integer, but
WebRequest::getBool() simply casts the result of getVal() to boolean,
so there is no problem with this.
Change-Id: I2965c8c82b8cd8bfc8dee5d81a2bfa8af9e8131f
Timo Tijhof [Tue, 19 Feb 2013 10:27:16 +0000 (11:27 +0100)]
Upstream: Update QUnit from v1.10.0 to v1.11.0
* Code:
http://code.jquery.com/qunit/qunit-1.11.0.js
http://code.jquery.com/qunit/qunit-1.11.0.css
* Tree:
https://github.com/jquery/qunit/tree/v1.11.0
* Changes:
https://github.com/jquery/qunit/compare/v1.10.0...v1.11.0
* Release notes:
https://github.com/jquery/qunit/blob/v1.11.0/History.md
Change-Id: I3591455f0096471d073c94eaab424d151203b297
Kevin Israel [Tue, 19 Feb 2013 09:31:33 +0000 (04:31 -0500)]
Always cast input to string in wfBaseConvert
Fixes a regression caused by I841717be: IP::toHex('128.0.0.0')
was broken on 32-bit systems with the GMP extension installed.
Change-Id: I0c9a4ae771668e005355e381de4065d73c261460
Liangent [Sun, 17 Feb 2013 10:59:41 +0000 (18:59 +0800)]
(bug 45092) Better context for Article initialized by ApiEditPage
After I99a19c93, the $context argument of EditFilterMergedContent hook
is just $editPage->mArticle->getContext() which has a title of [[API]]
when it's created in ApiEditPage called internally (like what WikiLove
does). Now a new context is created for it which simulates a real edit
(title is the title being edited, and request is the derivated one with
a few more fake parameters added).
Change-Id: I743942822eb5097d9d98c11088a91395d9e6d47f
jenkins-bot [Mon, 18 Feb 2013 21:20:12 +0000 (21:20 +0000)]
Merge "(bug 45130) Fix siprop=protocols in XML format"
Alex Monk [Mon, 18 Feb 2013 20:57:00 +0000 (20:57 +0000)]
(bug 45130) Fix siprop=protocols in XML format
Change-Id: I2362be19f1e8f759e574d85ed210978c0fbd53a3
Translation updater bot [Mon, 18 Feb 2013 20:24:54 +0000 (20:24 +0000)]
Localisation updates from translatewiki.net.
Change-Id: I1646f9716c075e338a54ef4235eb8c624ce116c3
Amir E. Aharoni [Mon, 18 Feb 2013 18:28:43 +0000 (23:58 +0530)]
Wrote proper skip reason
Change-Id: I80627dab1db279ee0b9d27ec929671bc458558b7
jenkins-bot [Mon, 18 Feb 2013 16:14:51 +0000 (16:14 +0000)]
Merge "(bug 43467) Add invert selection for ns in Special:Newpages"
Alexandre Emsenhuber [Mon, 18 Feb 2013 14:39:29 +0000 (15:39 +0100)]
Fix documentation of DatabaseBase::fetchObject() and DatabaseBase::fetchRow()
- DatabaseBase::fetchRows() returns the row as an array, not an object
- Both methods return false if there are no more rows in the result
Change-Id: I328d61b237bb82479d3fcb4c54ee9fd96dc4598f
Alexandre Emsenhuber [Mon, 18 Feb 2013 12:17:23 +0000 (13:17 +0100)]
(bug 45069) wfParseUrl() no longer produces a PHP notice if passed a "mailto:" URL without address
Calling wfParseUrl( 'mailto:' ) or wfParseUrl( 'mailto:?subject=...' ) was resulting in the following PHP errors:
PHP Notice: Undefined index: path in includes/GlobalFunctions.php on line 813
PHP Notice: Undefined index: path in includes/GlobalFunctions.php on line 814
Now the existence of that key is checked and if missing an empty string is set so for consistency of the returned value.
The fix is based on the snippet provided on
https://www.mediawiki.org/wiki/Thread:Project:Support_desk/GLobafunctions.php_wfParseUrl_choking_on_url
Change-Id: Ife07d6e2a364a7cafda387cf7ed9cd71c2b68ef8
jenkins-bot [Mon, 18 Feb 2013 10:11:04 +0000 (10:11 +0000)]
Merge "(Bug 44192) Do not attempt to send a real e-mail in ApiAccountCreationTest"
Platonides [Mon, 18 Feb 2013 10:00:19 +0000 (11:00 +0100)]
Fix copyright notice shown as © instead of ©
Noticed by Waldir in bug 45112
Change-Id: I69e5f52605f8d9621fbf9b54ca9e2a4628150213
umherirrender [Mon, 11 Feb 2013 15:59:30 +0000 (16:59 +0100)]
Fix check of return value from SpecialPageFactory::resolveAlias
Calling SpecialPageFactory::resolveAlias with an invalid special page
name, gives an array( null, null ) back, but this part of code checks
explicit against !false, which gives always true. Changed the condition
to use an (implicit) check, like the other places, where
SpecialPageFactory::resolveAlias is called.
Change-Id: I8def9dd88ebfbe9fcf1ba8f9cae9e25039ec77ed
umherirrender [Mon, 11 Feb 2013 16:14:05 +0000 (17:14 +0100)]
fix hardcoded quote in BacklinkCache
Also make the IS NULL in upper case, looks better and sql reservered
words often written in upper case
Change-Id: I844ec37bbf3fb00d95a43dfd6f58db1e67724d53
umherirrender [Tue, 12 Feb 2013 19:40:33 +0000 (20:40 +0100)]
Add url param 'extended' to Special:Watchlist
This new url param allows overridding of the user option
'extendwatchlist' in the same way than, for example, 'enhanced' for
'usenewrc'.
This is helpful to provide a extended enhanced watchlist per url.
Without extendwatchlist a enhanced watchlist is not useful (no page
groups possible)
Also fixed the default for param namespace
Change-Id: I115544005a621ee01a0ed0970a13099af92f42e7
umherirrender [Sun, 17 Feb 2013 13:39:04 +0000 (14:39 +0100)]
[Regression] Do not trim spaces on edit preview or show changes
Since Ic05e5898 spaces are also trimmed on preview/show changes, which
is bad, because the autosummary "/* Header */ " gets trimmed and the
user text is direct written behind the slash. That is confusing and was
not so, before this change.
Force the trim on summary preview to have the right preview, because the
spaces are trimmed on save.
Change-Id: I0058ce31197f3ea8ffc5520f3f0f9e1bf6105066
Kaldari [Mon, 18 Feb 2013 03:01:49 +0000 (03:01 +0000)]
Merge "Temporarily reverting change Ifbeae7e9 for 2 weeks to allow time to fix issues with TimedMediaHandler and other extensions."
mrbluesky [Sat, 16 Feb 2013 00:43:38 +0000 (01:43 +0100)]
(bug 43467) Add invert selection for ns in Special:Newpages
Add invert selection checkbox for namespace on Special:NewPages.
Change-Id: Ie3f72d97e2ba217ba39f6c1b4bf747e71c7a5ae3
Translation updater bot [Sun, 17 Feb 2013 20:21:14 +0000 (20:21 +0000)]
Localisation updates from translatewiki.net.
Change-Id: I30d52de13dcf438a410cb478cbed88e6d4a6ba92
jenkins-bot [Sun, 17 Feb 2013 19:23:04 +0000 (19:23 +0000)]
Merge "Revert "Overriding Vector's footer margin when in print mode""
jenkins-bot [Sun, 17 Feb 2013 12:34:02 +0000 (12:34 +0000)]
Merge "(bug 44943) Cleanup of API:Account creation documentation."
Tyler Anthony Romeo [Wed, 13 Feb 2013 22:42:09 +0000 (17:42 -0500)]
(bug 44943) Cleanup of API:Account creation documentation.
Improved documentation for the parameters for action=createaccount
and fixed the help link so it is valid.
Change-Id: I8123aed59077d2cb7446df43fefbb6632dc608d7
Translation updater bot [Sat, 16 Feb 2013 23:28:18 +0000 (23:28 +0000)]
Merge "Localisation updates from translatewiki.net."
Translation updater bot [Sat, 16 Feb 2013 22:57:26 +0000 (22:57 +0000)]
Localisation updates from translatewiki.net.
Change-Id: I45454f0440ac2b9985343d534304d1a597dc9f95
Matmarex [Sat, 16 Feb 2013 21:53:23 +0000 (21:53 +0000)]
Revert "Overriding Vector's footer margin when in print mode"
This reverts commit
2b9e9f6a4a4c3bcfe04270194fd4f9a5b9f5a931
No longer necessary after I66d40673 was merged to fix
the underlying issue.
Change-Id: I1bbc7220f53d83071672cf727fa00c3d74bc5cbc
Alex Monk [Sat, 16 Feb 2013 21:03:23 +0000 (21:03 +0000)]
Move my name up to developers in the credits file
Change-Id: I6f1f400feacc345a0bbecae9f3de00aec4b59d41
Reedy [Sun, 9 Dec 2012 03:12:12 +0000 (03:12 +0000)]
Add a handful of missing @return
Change-Id: I21b218e6694600a2d2df4dd0a6b2b5cd2e10f1f9
Ori Livneh [Sat, 16 Feb 2013 06:04:36 +0000 (22:04 -0800)]
Correct name in CREDITS, per request.
Change-Id: I43117da886628c5b50b3d9def67db03d9760a840
Aaron Schulz [Fri, 15 Feb 2013 04:11:26 +0000 (20:11 -0800)]
[JobQueue] Avoid spamming the runJobs log with large blobs.
Change-Id: I5a69350c0486edd9368ebbd2e42ab51f03b682d8
jenkins-bot [Fri, 15 Feb 2013 22:13:36 +0000 (22:13 +0000)]
Merge "(bug 45017) Check whether this request is a POST before allowing a query module to run, if required by the query module"
Kaldari [Fri, 15 Feb 2013 21:19:53 +0000 (13:19 -0800)]
Temporarily reverting change Ifbeae7e9 for 2 weeks to allow time to
fix issues with TimedMediaHandler and other extensions.
This will temporarily allow HTML in JS i18n strings again.
See related bugs 44977, 44525, 44885, 43512
OKed by Krinkle.
Change-Id: Iedb304f80b79bb65b9080909a1d70d432ee8aa5d
jenkins-bot [Fri, 15 Feb 2013 21:13:31 +0000 (21:13 +0000)]
Merge "Better error message for invalid user name in cleanupSpam.php"
Alex Monk [Fri, 15 Feb 2013 20:54:00 +0000 (20:54 +0000)]
(bug 45017) Check whether this request is a POST before allowing a query module to run, if required by the query module
Change-Id: Ie08fd3a887390e2ead6f6d6fe1e16fa8f8617a2c
Translation updater bot [Fri, 15 Feb 2013 20:08:58 +0000 (20:08 +0000)]
OLocalisation updates from translatewiki.net.
Change-Id: I96cffc2914cfda4556db3b4e0850cbd616bd4e84
nischayn22 [Fri, 15 Feb 2013 13:22:01 +0000 (18:52 +0530)]
Return boolean from status object.
Change-Id: I37e4c37423f16bee6342ffce02383db251d900cd
jenkins-bot [Fri, 15 Feb 2013 18:55:33 +0000 (18:55 +0000)]
Merge "(bug 44385) move jquery.collapsibleTabs module to Vector extension"
MatmaRex [Tue, 5 Feb 2013 18:42:14 +0000 (19:42 +0100)]
(bug 44385) move jquery.collapsibleTabs module to Vector extension
It was entirely Vector-extension-specific (so very unlikely to have
been used by anything external), deeply interconnected with the
extension (its internal functions were overwritten by a script from
it, making it even more incompatible with other uses), and this
functionality (being really a partial workaround for low-res issues
with the skin) belongs to the extension instead of the skin anyway.
Corresponding Vector extension change: Ic6b622279
Change-Id: I7c0f42d922b20741f66014eea0a7593bc1950e0e
jenkins-bot [Fri, 15 Feb 2013 16:56:00 +0000 (16:56 +0000)]
Merge "Support WAI-ARIA's role="presentation" inside of WikiText."
Aaron Schulz [Fri, 15 Feb 2013 04:18:42 +0000 (20:18 -0800)]
[BagOStuff] De-breakified cas() for SqlBagOStuff.
* Seemed to be a functional merge conflict with sharding code.
Change-Id: I1e49790f6b82b09ea2cd6606ca918f0a620a191f
Siebrand Mazeland [Fri, 15 Feb 2013 11:38:53 +0000 (12:38 +0100)]
Update formatting
11 of n.
Change-Id: Ifdaf198b16bf72e1e0a3d3802c041d239096ae28
Siebrand Mazeland [Fri, 15 Feb 2013 11:23:15 +0000 (12:23 +0100)]
Update formatting
10 of n.
Change-Id: I9c17088ac063c14544484176daa00272dcd607b8
Siebrand Mazeland [Fri, 15 Feb 2013 11:10:19 +0000 (12:10 +0100)]
Update formatting
9 of n.
Change-Id: Ide20743a2e84ff68549286120e6cff9d9f396f54
Siebrand Mazeland [Fri, 15 Feb 2013 10:35:55 +0000 (11:35 +0100)]
Update formatting
8 of n.
Change-Id: I55551510e7afde5b6b981697d5c0efd7b9507585
Siebrand Mazeland [Fri, 15 Feb 2013 10:27:48 +0000 (11:27 +0100)]
Update formatting
7 of n.
Change-Id: I07687a4381f29fd9fc73666e460f25769ed54092
Siebrand Mazeland [Fri, 15 Feb 2013 10:24:31 +0000 (11:24 +0100)]
Update formatting
6 of n.
Change-Id: I0ca3f1f72349623631ce1d7f3a4e2ed5edbdbdf4
Siebrand Mazeland [Fri, 15 Feb 2013 10:17:52 +0000 (11:17 +0100)]
Update formatting
5 of n.
Change-Id: I811ca957b6588085d67606ebc0cd4033a1e53839
Aaron Schulz [Sun, 3 Feb 2013 08:00:50 +0000 (00:00 -0800)]
[LockManager] Created PostgreSqlLockManager class.
* Made DBLockManager abstract instead of a hacky blocking implementation.
With a PG and MySQL option, that option is no longer useful.
Change-Id: I939551bd2283608f2d017d9d2fca1334a533c005
Aaron Schulz [Sun, 3 Feb 2013 11:10:34 +0000 (03:10 -0800)]
[Database] Set bytea_output to match pg_unescape_bytea().
* In newer versions of PG, a "hex" escaping format is used, which
totally breaks things like SqlBagOStuff since the pg_unescape_bytea
function still works the old way (it does not use a DB handle).
Setting the format to the old way via SET fixes this.
Change-Id: I9f5a64922acd2d954880790f42ba4efafaed314e
Aaron Schulz [Fri, 1 Feb 2013 19:42:36 +0000 (11:42 -0800)]
[Database] Added support for lock/unlock in Postgres.
Change-Id: Ie422de58c36f195597eabdd51a27d3ed2c2880cf
Mark Holmquist [Thu, 14 Feb 2013 23:06:15 +0000 (15:06 -0800)]
(bug 44449) Add siprop=protocols to SiteInfo API
The existing method for getting allowed URL protocols will not help Parsoid,
so we're adding a new API call that will help us fix bug 44449.
Change-Id: I5fd130cb30313f8e8a376ff0146195f2264e8e0e
Translation updater bot [Thu, 14 Feb 2013 20:15:57 +0000 (20:15 +0000)]
Localisation updates from translatewiki.net.
Change-Id: I2d9a92d7c1771408fd89e6a3bbaeae641afc0c1e
Siebrand Mazeland [Wed, 13 Feb 2013 18:38:32 +0000 (19:38 +0100)]
Update code formatting
Change-Id: I8741b5b979e55f38a666961a16c387586a92410e
Siebrand Mazeland [Thu, 14 Feb 2013 13:10:38 +0000 (14:10 +0100)]
Update formatting
4 of n.
Change-Id: I23e2409ce9eff14c3434154d236de83c93a92440
Siebrand Mazeland [Thu, 14 Feb 2013 13:08:51 +0000 (14:08 +0100)]
Fix parentheses
Change-Id: I6e7d99796635ed8f4ec462ae8661069b8518e5c5
Siebrand Mazeland [Thu, 14 Feb 2013 11:56:23 +0000 (12:56 +0100)]
Update formatting
3 of n.
Change-Id: I62ad009018c54da6cf081c334e44eb98a3c72695
Siebrand Mazeland [Thu, 14 Feb 2013 11:36:35 +0000 (12:36 +0100)]
Update formatting
2 of n.
Change-Id: I5406673e99ed53e4e330ed47f022a17177544daa
Siebrand Mazeland [Thu, 14 Feb 2013 11:22:13 +0000 (12:22 +0100)]
Update formatting
1 of n.
Change-Id: I852729f08bbb0c5e39c2db44362ccdc7f59dcc08
Alexandre Emsenhuber [Thu, 14 Feb 2013 10:29:29 +0000 (11:29 +0100)]
Add line breaks to the output of action=info
This makes the source code of the page much more readable.
Change-Id: Icf3edc4a108bd4c0821f301986bb3d612071086c
IAlex [Thu, 14 Feb 2013 10:18:42 +0000 (10:18 +0000)]
Merge "InfoAction: Heading ID should not include # character."
Timo Tijhof [Thu, 14 Feb 2013 09:55:36 +0000 (10:55 +0100)]
InfoAction: Heading ID should not include # character.
It was using Parser::guessSectionNameFromWikiText, which expects
a string of wikitext (e.g. "== Foo ==") and extracts the heading
text, and from that it generates an ID, and from that it
generates an anchor link.
The extraction and anchor link are wrong and caused the output
to be <h2 id="#Foo"> instead of <h2 id="Foo">.
Follows up I702f2f13.
Bug: 44989
Change-Id: I81f67ae1ac86ed709c69f1bced970b2cbb5138db
Tyler Anthony Romeo [Mon, 11 Feb 2013 03:19:35 +0000 (22:19 -0500)]
(bug 44862) Fixed waitForSlave.php constructor.
The Maintenance constructor sets up $IP, so all
maintenance scripts must call the parent constructor.
This fixes waitForSlave.php, which used to not do that.
Change-Id: I7a2a50845805894d87bcae9de9289cae10f1f31f
Alexandre Emsenhuber [Thu, 14 Feb 2013 07:16:10 +0000 (08:16 +0100)]
Better error message for invalid user name in cleanupSpam.php
So that one that gets this message does not have to look at
the code to see what is wrong and how to correct it.
Change-Id: I4012ce7db010b9c132e68da9577ba1d5512d13e7
Santhosh Thottingal [Thu, 14 Feb 2013 05:49:55 +0000 (11:19 +0530)]
Update plural rules from CLDR, and correct Armenian plural rules
* Upgrade to revision 8007, Contains minor change - Armenian(hy) is added
* Remove MW custom plural logic from LanguageHy.php
* Add qunit test case
* Correct phpunit testcase
Change-Id: If78436fa1597e6f3b7f050c5eede4521018904c0
Translation updater bot [Wed, 13 Feb 2013 21:14:10 +0000 (21:14 +0000)]
Merge "Localisation updates from translatewiki.net."
jenkins-bot [Wed, 13 Feb 2013 20:56:46 +0000 (20:56 +0000)]
Merge "(bug 43211) Remove unneeded noprint classes after CSS change."
Translation updater bot [Wed, 13 Feb 2013 20:06:22 +0000 (20:06 +0000)]
Localisation updates from translatewiki.net.
Change-Id: Ib48503b82580090a87d4cb0b91c342eed971ea15