Aaron Schulz [Fri, 17 Aug 2012 18:46:40 +0000 (18:46 +0000)]
Merge "MessageCache::destroyInstance() is static."
Catrope [Fri, 17 Aug 2012 18:27:03 +0000 (18:27 +0000)]
Merge "[FileBackend] Added auth token/url cache to SwiftFileBackend."
Aaron [Thu, 16 Aug 2012 22:46:19 +0000 (15:46 -0700)]
[FileBackend] Added auth token/url cache to SwiftFileBackend.
Change-Id: I5a053dec59730f642ac51817a1af57a1e257d3fe
IAlex [Fri, 17 Aug 2012 17:27:01 +0000 (17:27 +0000)]
Merge "Add missing unit of measure in inline CSS."
IAlex [Fri, 17 Aug 2012 16:59:13 +0000 (16:59 +0000)]
Merge "Remove presentational HTML tags in favour of <code>, <samp> and <strong>."
IAlex [Fri, 17 Aug 2012 16:50:30 +0000 (16:50 +0000)]
Merge "Replace deprecated <tt> with <code>."
IAlex [Fri, 17 Aug 2012 16:46:37 +0000 (16:46 +0000)]
Merge "Some API errors didn't include the prefix of the module in parameter related error messages"
Reedy [Fri, 17 Aug 2012 13:59:40 +0000 (14:59 +0100)]
Bug 39455 - Deletion Korean Optional Messages
Change-Id: I10832cb43387c777bab880f9caf7eb2759d7ad30
Reedy [Fri, 17 Aug 2012 13:52:15 +0000 (14:52 +0100)]
Some API errors didn't include the prefix of the module in parameter related error messages
This fixes up/normalises these usages (probably want refactoring out at a later date)
Change-Id: I5583d69d9e65a1ee09d31a37c88f369e7c0f7708
Translation updater bot [Fri, 17 Aug 2012 12:54:57 +0000 (12:54 +0000)]
Localisation updates from translatewiki.net.
Change-Id: I33160bbb6766157f2883a13d497c35327d4ca2f9
Aaron Schulz [Fri, 17 Aug 2012 03:23:37 +0000 (20:23 -0700)]
Don't get local file copies for svg/djvu files unless needed.
Change-Id: I80e9cc98ba78effba120d84c5f2edca0b547b61a
Aaron [Fri, 17 Aug 2012 01:05:01 +0000 (18:05 -0700)]
Adding more file profiling.
Change-Id: Id45e082966f1ed6105918c0732b450faf039cd96
Catrope [Fri, 17 Aug 2012 00:12:33 +0000 (00:12 +0000)]
Merge "[FileBackend] Refactored Swift backend to use ProcessCacheLRU."
Translation updater bot [Thu, 16 Aug 2012 20:38:01 +0000 (20:38 +0000)]
Merge "Localisation updates from translatewiki.net."
Catrope [Thu, 16 Aug 2012 20:33:03 +0000 (20:33 +0000)]
Merge "Catch exceptions in SqlBagOStuff and cache connection failures."
Translation updater bot [Thu, 16 Aug 2012 20:13:56 +0000 (20:13 +0000)]
Localisation updates from translatewiki.net.
Change-Id: I2b1c983a018ec97872ed2e75bb81c7d0f434a39f
Aaron [Wed, 15 Aug 2012 23:24:08 +0000 (16:24 -0700)]
Catch exceptions in SqlBagOStuff and cache connection failures.
Change-Id: I443f1bed3f9ccb40c444dd01ec446b677caf9d03
umherirrender [Thu, 16 Aug 2012 15:40:28 +0000 (17:40 +0200)]
(bug 39429) Fix wrong counting on query pages [regression]
Change-Id: I1c5be7cd6b3dd0990dba8f30f9d859aa841a1f55
umherirrender [Thu, 16 Aug 2012 15:11:31 +0000 (17:11 +0200)]
add missing message keys to messages.inc
Follow up Id5dbf742
Change-Id: If87ec6140d2e5954d1d15392e253b52665e3bf7f
Siebrand Mazeland [Thu, 16 Aug 2012 09:07:34 +0000 (11:07 +0200)]
Add missing unit of measure in inline CSS.
Change-Id: I0baceb98302d1af58270d13713b4366eda7c6dc3
Siebrand Mazeland [Thu, 16 Aug 2012 08:30:43 +0000 (10:30 +0200)]
Replace deprecated <tt> with <code>.
Change-Id: I5e15628e34dd0473d2f6ce17509ed17e94257dfa
Siebrand Mazeland [Thu, 16 Aug 2012 08:12:39 +0000 (10:12 +0200)]
Remove presentational HTML tags in favour of <code>, <samp> and <strong>.
Change-Id: I48cce8c4fcab3270ec5bea51b7236f2b4e478136
Alexandre Emsenhuber [Thu, 16 Aug 2012 08:00:45 +0000 (10:00 +0200)]
MessageCache::destroyInstance() is static.
So there is no point calling it using
MessageCache::singleton()->destroyInstance()
Change-Id: Ie4e10284b4b911fff018c52a2a680452601f8288
Demon [Thu, 16 Aug 2012 01:54:18 +0000 (01:54 +0000)]
Merge "Add UserTest::testAllRightsWithMessage"
Aaron [Thu, 16 Aug 2012 00:43:36 +0000 (17:43 -0700)]
[FileBackend] Actually respend the "syncChecks" config option
Change-Id: Ibb6a243b49970da7c22ff14231b04cb0ac5c64e7
Aaron [Thu, 16 Aug 2012 00:24:20 +0000 (17:24 -0700)]
[FileBackend] Added resyncFiles() function to multiwrite backend.
* Also fixed the the SHA1 function calls in consistencyCheck().
Change-Id: I29758ff79102929aa0ffb756526d7918bf74ca39
Mark Holmquist [Wed, 15 Aug 2012 22:44:35 +0000 (15:44 -0700)]
Add in a comment about some funky behavior
At Gabriel's behest, I've added some information about a test that
is inconsistent with the actual behavior of the parser. Please
consider fixing this if you have the time, else, the parser will
get fixed sometime in the future by someone on the parsoid team.
Change-Id: I2c5db4d9eab6f5f9e84aa354a22eeb2b5124bb0a
Translation updater bot [Wed, 15 Aug 2012 19:44:32 +0000 (19:44 +0000)]
Localisation updates from translatewiki.net.
Change-Id: Ieeb8ea6edf05429cd6bbae96bf15c149df863fbe
Catrope [Wed, 15 Aug 2012 18:42:40 +0000 (18:42 +0000)]
Merge "allow localization of elements via data-msg-text and data-msg-html"
jrobson [Tue, 14 Aug 2012 00:15:24 +0000 (17:15 -0700)]
allow localization of elements via data-msg-text and data-msg-html
to distinguish from attributes i've reversed the order e.g. instead of
html-msg i've used msg-html
i've added the data prefix to allow for html validation.
this is important as an OPTION tag cannot have any children so currently
there is no way to localize it. This provides a route.
Documentation needed.
Change-Id: Iefdbbf0e55ab3c6c6a9564b568980a7319bc4453
Catrope [Wed, 15 Aug 2012 18:01:18 +0000 (18:01 +0000)]
Merge "Allow aliased field names with separated syntax"
Catrope [Wed, 15 Aug 2012 17:54:55 +0000 (17:54 +0000)]
Merge "Allow importing pages as subpage"
Liangent [Wed, 15 Aug 2012 16:33:05 +0000 (00:33 +0800)]
Drop the user option 'nolangconversion'.
Currently no core code is using it, searched
by grepping nolangconversion in core.
Change-Id: I92e8de7dc5100ef2fb346277966246339d3dcf79
Siebrand [Wed, 15 Aug 2012 13:28:36 +0000 (13:28 +0000)]
Merge "Follow-up I6b0c58fb (
d50b416): add message to messages.inc"
umherirrender [Wed, 15 Aug 2012 13:16:09 +0000 (15:16 +0200)]
Allow aliased field names with separated syntax
This introduce the syntax from aliased table names for aliased field
names into the abstract database layer:
array( 'alias' => 'field' ) gives 'field AS alias'
This patch also includes changes to query pages, api and some more
places to show, how the new syntax looks in "production".
This allow us to remove the "AS" for Non-PostgreSQL databases, if we
want that.
Change-Id: I5f0de1c2f29092c173aec3de93ffdef436799e8d
IAlex [Wed, 15 Aug 2012 10:28:12 +0000 (10:28 +0000)]
Merge "(bug 37638) Remove calls to deprecated LogPage::logName method."
Alexandre Emsenhuber [Wed, 15 Aug 2012 09:47:23 +0000 (11:47 +0200)]
Follow-up I6b0c58fb (
d50b416): add message to messages.inc
Change-Id: I81cba3c97b124661aefacf3affce9ef86311ba31
Alexandre Emsenhuber [Sat, 30 Jun 2012 18:18:03 +0000 (20:18 +0200)]
Moved "action links" from LogEventsList to LogFormatter.
* This allow extensions to set both action text and links directly
from a subclass LogFormatter instead of having to use the LogLine
hooks for this purpose.
* Moved stuff for logs that already use a subclass of LogFormatter
there and the remaining in LegacyLogFormatter. I had to an hack
there so that the pass-by-ref of the comment parameter in the
LogLine hook still works.
* Removed RevisionDeleter::getLogLinks(), included it directly in
DeleteLogFormatter::getActionLinks(); it have a so ugly signature
that is very hard to use it somewhere else (and maintain backward
compatibility too).
* Removed the message caching system in LogEventsList since it's
not used anymore.
* Some misc cleanup to LogEventsList::logLine()
Change-Id: I96d696eed2ae35f5f5640e422ceb0a5b0c33babf
umherirrender [Wed, 15 Aug 2012 08:07:26 +0000 (10:07 +0200)]
Allow importing pages as subpage
Adding a "root page" input to Special:Import, which is used as prefix
before each imported page. With this option, it is possible to import
pages as subpage of a user or a project page.
On de.wp the import is often done into a low used namespace (100 or 101)
and than moved to the user space. Doing this in one step, makes things
easier.
Change-Id: Id5dbf742295a1bbddd8cb6eaa09fb28051f26613
Alexandre Emsenhuber [Wed, 15 Aug 2012 08:03:51 +0000 (10:03 +0200)]
Pass the 'returntoquery' parameter when clicking on a language selector link.
Also updated the check to pass the 'returnto' parameter
to be consistent with I2714ba1c (
56dbeaa).
Change-Id: I009089c9e943952287cc5515515f6a28ca194b16
Dereckson [Mon, 18 Jun 2012 22:56:55 +0000 (00:56 +0200)]
(bug 37638) Remove calls to deprecated LogPage::logName method.
The LogPage::logName method has been deprecated in 1.19,
warnings being planned in 1.21.
This change removes any call in the MediaWiki core to this
deprecated method.
Removing extra whitespaces/tabs in includes/ProtectionForm.php.
Change-Id: I1907f17341ecb6448967a5283e3c913778dcb1a9
Catrope [Wed, 15 Aug 2012 01:38:00 +0000 (01:38 +0000)]
Merge "Fix checks to pass or display "return to" links in Special:UserLogin."
Catrope [Wed, 15 Aug 2012 01:37:24 +0000 (01:37 +0000)]
Merge "(bug 24437) Add nofollow to image link"
Aaron Schulz [Wed, 15 Aug 2012 00:22:10 +0000 (00:22 +0000)]
Merge "store text length in local var in Preprocess::processToObj/Xml"
Catrope [Wed, 15 Aug 2012 00:17:03 +0000 (00:17 +0000)]
Merge "Notice: Undefined property: stdClass::$hitcount in list=tags"
Catrope [Wed, 15 Aug 2012 00:13:44 +0000 (00:13 +0000)]
Merge "output errors as debug info in api, when display_errors is on"
Catrope [Wed, 15 Aug 2012 00:12:47 +0000 (00:12 +0000)]
Merge "(bug 31040) Fixed $wgSecureLogin effect on returnto."
Aaron Schulz [Tue, 14 Aug 2012 23:17:59 +0000 (23:17 +0000)]
Merge "Follow-up I47412b67: pass an array of query parameters to Linker::link()"
Demon [Tue, 14 Aug 2012 23:14:40 +0000 (23:14 +0000)]
Merge "(bug 33471) Changed detection of secure cookies."
Demon [Tue, 14 Aug 2012 23:14:20 +0000 (23:14 +0000)]
Merge "(bug 36776) Changing User::getNewtalk to use $wgDisableAnonTalk."
Aaron Schulz [Sat, 19 May 2012 20:41:41 +0000 (13:41 -0700)]
Added UserCache class for doing name/title batch lookups.
* Made Special:ListFiles be the first user of this class.
Change-Id: I2ea068d4765fe6ae12445786c38217119e79f823
umherirrender [Tue, 14 Aug 2012 20:00:04 +0000 (22:00 +0200)]
output errors as debug info in api, when display_errors is on
With format=xml errors never outputted, only in the html version
Change-Id: I4364cee041ea42ed3a4ab43ac77a1ba3cc2cb886
umherirrender [Tue, 14 Aug 2012 19:34:09 +0000 (21:34 +0200)]
Notice: Undefined property: stdClass::$hitcount in list=tags
Full message:
Notice: Undefined property: stdClass::$hitcount in
..\includes\api\ApiQueryTags.php on line 76
Change-Id: I773e0a5f70ee025033899d6950336dff0829e09b
Translation updater bot [Tue, 14 Aug 2012 19:32:01 +0000 (19:32 +0000)]
Localisation updates from translatewiki.net.
Change-Id: Id509f00680d69ec2a5de30fd5762e0bf50476e76
Demon [Tue, 14 Aug 2012 17:53:58 +0000 (17:53 +0000)]
Merge "New hook 'ParserTestGlobals'"
Demon [Tue, 14 Aug 2012 17:42:20 +0000 (17:42 +0000)]
Merge "(bug 38406) Properly quote table names in DatabaseBase::tableName()"
Reedy [Sun, 12 Aug 2012 19:31:01 +0000 (20:31 +0100)]
PHP 5.4 has JSON_PRETTY_PRINT
Use this conditionally when $isHtml is true, and is
also running on PHP > = 5.4. Else return default 0
Change-Id: Ief775720a99d1a305c3f9f4ba7cc04eb96817fb3
Alexandre Emsenhuber [Tue, 14 Aug 2012 11:27:54 +0000 (13:27 +0200)]
Follow-up I47412b67: pass an array of query parameters to Linker::link()
Change-Id: I3cdc0a57a9cda740c482addd2c9c833a70897381
Alexandre Emsenhuber [Mon, 16 Jul 2012 08:45:27 +0000 (10:45 +0200)]
(bug 36524) "Show" options are now remembered between successive clicks.
The problem is that $options in SpecialRecentChanges::makeOptionsLink()
can that values set to false and wfArrayToCgi() omits such items;
instead they have to be explicitely converted to "0" to not be omitted.
Change-Id: I20af27fc4e012fec36d48b9120ec49a39f5cbb1f
Siebrand [Tue, 14 Aug 2012 10:28:32 +0000 (10:28 +0000)]
Merge "Fix permissions check to show "hide" buttons."
Alexandre Emsenhuber [Tue, 14 Aug 2012 09:51:26 +0000 (11:51 +0200)]
Follow-up I47412b67 (
dde8471): convert string query to array
If we detect and warn that the $query parameter is in an incorrect
format, we may as well convert it to the correct one.
Change-Id: Ief137ab758c65ec562c2a523f76b1a4f8c2617b5
Aaron Schulz [Tue, 14 Aug 2012 03:25:13 +0000 (03:25 +0000)]
Merge "Added utility method taking an array of elements and wrapping each element in it's own array."
Aaron Schulz [Tue, 14 Aug 2012 03:22:01 +0000 (03:22 +0000)]
Merge "Added GenericArrayObject class and associated test base"
jeroendedauw [Fri, 27 Jul 2012 18:31:23 +0000 (20:31 +0200)]
Added GenericArrayObject class and associated test base
Change-Id: Id7e9b59c7ed4a9338744db58935307ecb4bc441f
Daniel Werner [Mon, 13 Aug 2012 22:18:50 +0000 (00:18 +0200)]
New hook 'ParserTestGlobals'
Allows to set globals before running parser tests.
Change-Id: Iea057b992b260611bca7f3adade2c8214b0dcea2
umherirrender [Mon, 13 Aug 2012 08:18:18 +0000 (10:18 +0200)]
Add UserTest::testAllRightsWithMessage
New test case, which checked, if for all available rights a right-
message exist (Core and Extensions)
Some missing rights added with extra patch sets (need merge/rebasing
before merge of this)
Change-Id: I28957835fb77a01a799439ad7b3d22b96db07204
Aaron Schulz [Mon, 13 Aug 2012 20:52:11 +0000 (20:52 +0000)]
Merge "add 'editprotected' right to list of available rights"
Aaron Schulz [Mon, 13 Aug 2012 20:14:19 +0000 (20:14 +0000)]
Merge "Move method to its using test class rather then having a public static thing in the base test class"
Aaron Schulz [Mon, 13 Aug 2012 20:09:10 +0000 (20:09 +0000)]
Merge "Fix for assertArrayEquals. Was throwing fatal for object elements"
Aaron Schulz [Mon, 13 Aug 2012 20:05:19 +0000 (20:05 +0000)]
Merge "Improve documentation of maintenance scripts."
Aaron Schulz [Mon, 13 Aug 2012 20:04:39 +0000 (20:04 +0000)]
Merge "add 'reupload-own' right to list of available rights"
Aaron Schulz [Mon, 13 Aug 2012 20:04:30 +0000 (20:04 +0000)]
Merge "add 'passwortreset' right to list of available rights"
Aaron Schulz [Mon, 13 Aug 2012 20:04:18 +0000 (20:04 +0000)]
Merge "add 'patrolmarks' right to list of available rights"
Aaron Schulz [Mon, 13 Aug 2012 20:03:35 +0000 (20:03 +0000)]
Merge "Fix documentation of WikiPage::doDeleteArticle(Real)?()"
Catrope [Mon, 13 Aug 2012 20:01:40 +0000 (20:01 +0000)]
Merge "(bug 39296) Fix broken table sorting"
Brad Jorsch [Mon, 13 Aug 2012 14:12:57 +0000 (10:12 -0400)]
(bug 39296) Fix broken table sorting
Javascript's Array.sort wants -1, 0, or 1. Not false, true, or 0.
Change-Id: I2cb73668793092b53be0c1c6f7ffc647a88bf30a
Translation updater bot [Mon, 13 Aug 2012 19:43:35 +0000 (19:43 +0000)]
Localisation updates from translatewiki.net.
Change-Id: I655913611a5ec051ee4c01d3c2e20245e2f647c0
Aaron Schulz [Mon, 13 Aug 2012 18:05:29 +0000 (18:05 +0000)]
Merge "Added a Redis client for object cache storage"
Trevor Parscal [Mon, 13 Aug 2012 16:54:14 +0000 (16:54 +0000)]
Merge "remove bizarre overflow:hidden from lists in sidebar on Vector"
Alexandre Emsenhuber [Mon, 13 Aug 2012 14:09:25 +0000 (16:09 +0200)]
Fix documentation of WikiPage::doDeleteArticle(Real)?()
- The $suppress parameter is a boolean indicating whether
revision will be suppressed
- Added @since to WikiPage::doDeleteArticleReal()
Change-Id: I3af14f8cc7bf771f4d07215ca1dba2d6b6f05553
Tyler Romeo [Fri, 10 Aug 2012 18:59:08 +0000 (14:59 -0400)]
(bug 31040) Fixed $wgSecureLogin effect on returnto.
Added parameter to Title::getFullURL to allow specification
of a protocol rather than assuming PROTO_RELATIVE. Also
added an accompanying parameter to Skin::makeSpecialUrl
to make a link for a specific protocol.
Cleaned up the creation of personal URLs in SkinTemplate.php
so that when $wgSecureLogin is enabled, the returnto
query is not lost in the process.
Note: This will only work if $wgServer is set to a
protocol relative URL.
Change-Id: Iba48eb3620fb3a721220364185f7abfd902412d0
Signed-off-by: Tyler Romeo <tylerromeo@gmail.com>
umherirrender [Mon, 13 Aug 2012 07:51:02 +0000 (09:51 +0200)]
add 'patrolmarks' right to list of available rights
now it is shown and selectable on api (list=allusers&aurights=) and
Special:GlobalGroupPermissions (from CentralAuth)
Change-Id: I9464109c2d1648e5668e545b9c7109ced656f4d7
umherirrender [Mon, 13 Aug 2012 07:43:51 +0000 (09:43 +0200)]
add 'reupload-own' right to list of available rights
Follow up bug 5057, now it is shown and selectable on api
(list=allusers&aurights=) and Special:GlobalGroupPermissions
(from CentralAuth)
Change-Id: Ic7c57c8b29a385ad9c1ad8328ee08af758e3a4f7
MatmaRex [Sat, 11 Aug 2012 23:34:25 +0000 (01:34 +0200)]
remove bizarre overflow:hidden from lists in sidebar on Vector
I have no idea what this rule was there for. It serves no purpose (the
bullets are already hidden by list-style-type:none several lines above
it), and it only makes it harder to add a bullet point there, e.g. to mark
featured/good articles in interwiki links. I spent 15 minutes figuring out
why the hell they are staying hidden after I set list-style-type to disc.
I believe that this one line was the sole cause of awful hacks used for
the purpose of marking FA/GA interwikis, such as the one on en.wiki[1]
or pl.wiki[2].
[1] https://en.wikipedia.org/wiki/MediaWiki:Vector.css - grep for
{{tl|Link GA}}, {{tl|Link FA}}
[2] https://pl.wikipedia.org/wiki/MediaWiki:Gadget-featured-articles-links.css
- grep for .skin-vector
Patchset 2: add word-wrap:break-word per Trevor's suggestion.
Change-Id: Ic993b0fbcc5e468effab3552b032ff4946c18b46
umherirrender [Mon, 13 Aug 2012 07:29:44 +0000 (09:29 +0200)]
add 'passwortreset' right to list of available rights
Follow up bug 30636, now it should be shown and selectable on api
(list=allusers&aurights=) and Special:GlobalGroupPermissions (from
CentralAuth)
Change-Id: Id09d144f523c1ed687bd766945dbf9281e1d38c6
umherirrender [Mon, 13 Aug 2012 06:46:00 +0000 (08:46 +0200)]
add 'editprotected' right to list of available rights
Follow up bug 13137, now it should be shown and selectable on
Special:GlobalGroupPermissions (of CentralAuth)
Change-Id: Iebdf0454ff3636585983b07eab3d2387f404498f
Trevor Parscal [Mon, 13 Aug 2012 03:18:41 +0000 (03:18 +0000)]
Merge "Clean up mw.util.jsMessage"
Reedy [Sun, 12 Aug 2012 20:11:34 +0000 (21:11 +0100)]
Remove workaround hack for php bug 46944
https://bugs.php.net/bug.php?id=46944
Fixed for 5.3.0, and as we require >= 5.3.2, workaround is redundant
http://php.net/ChangeLog-5.php
Change-Id: I567466c0c747dba2f903e9258d0f06f725cefb8f
jeroendedauw [Sun, 12 Aug 2012 20:55:55 +0000 (22:55 +0200)]
Fix for assertArrayEquals. Was throwing fatal for object elements
Change-Id: I8fa45237e028a814e0895ac0f2b3723394b50d6b
IAlex [Sun, 12 Aug 2012 20:10:52 +0000 (20:10 +0000)]
Merge "Localisation updates from translatewiki.net."
jeroendedauw [Sun, 12 Aug 2012 19:47:06 +0000 (21:47 +0200)]
Move method to its using test class rather then having a public static thing in the base test class
Change-Id: Id82225d0fb65dcd30b5724ee4f2d7838dfcb5ea6
Translation updater bot [Sun, 12 Aug 2012 19:44:03 +0000 (19:44 +0000)]
Localisation updates from translatewiki.net.
Change-Id: I18d4e10c42bbda638eeb887a473e5ee2ee90909f
jeroendedauw [Sun, 12 Aug 2012 19:37:54 +0000 (21:37 +0200)]
Added utility method taking an array of elements and wrapping each element in it's own array.
Useful for data providers that only return a single argument.
Change-Id: I220948865e3de395363bf8858098e61de3c8d35b
jeroendedauw [Sun, 12 Aug 2012 19:35:37 +0000 (21:35 +0200)]
Added missing @since tags and fixed style
Change-Id: I8941345be8f754bda40f4c36cf2082ca3d408c50
Nikerabbit [Sun, 12 Aug 2012 17:58:58 +0000 (17:58 +0000)]
Merge "Follow-up I1fc22b16 (
06db921): Cast "required" parameter to boolean"
Alexandre Emsenhuber [Sun, 12 Aug 2012 16:59:42 +0000 (18:59 +0200)]
Follow-up I1fc22b16 (
06db921): Cast "required" parameter to boolean
Change-Id: I24e678500ab6b207b1d0ef32dd901913d8f131ed
IAlex [Sun, 12 Aug 2012 16:58:36 +0000 (16:58 +0000)]
Merge "Improve handling of the required argument in HTMLForm field definitions"
Timo Tijhof [Sun, 12 Aug 2012 05:04:50 +0000 (07:04 +0200)]
Clean up mw.util.jsMessage
* Re-use hideMessage()
* Actually set messageBoxEvents to true so that the one-time
setup is only set up once.
* Optimize hex colors ({6}->{3}).
While at it, also ran it for the rest of the file.
* Follows-up I41c70d78
Change-Id: I1863b62003edc825fdefe53d02c2d22e36409234
Reedy [Sat, 11 Aug 2012 23:28:58 +0000 (00:28 +0100)]
Update message specialpages-group-login to match other similar messages
Swap signup for create account
Change-Id: I3b90729a345946b48c1fc30e1d3bdd4a192f5283
jeroendedauw [Sat, 11 Aug 2012 22:23:46 +0000 (00:23 +0200)]
Improve handling of the required argument in HTMLForm field definitions
array( 'required' => false ) will now result in the field not being required rather then the unexpected opossite.
And this is now possible (without doing some extra if)
array( 'required' => getSomeBoolean() )
Change-Id: I1fc22b16ab1fa17111c48aa664aaf47de5f7075a