Aaron Schulz [Thu, 25 Apr 2013 21:45:49 +0000 (14:45 -0700)]
[JobQueue] Added a delayedJobsEnabled() function.
Change-Id: I7fe6e04aa5c51a61facd5a7327c5544dadb4108b
MatmaRex [Wed, 6 Mar 2013 20:10:15 +0000 (21:10 +0100)]
(bug 41729) Move section edit links to after the headings
This requires minor changes in various parts of MediaWiki, and
being extra careful about cached rendered pages' HTML.
Fun fact: editsection links are not made in Parser. They're made in
Linker, in Skin *and* in ParserOutput.
Client-side code and screen-scrapers will have to be adjusted to
handle both cases (old HTML will still be visible on cached page
renders until they are purged); extensions using the DoEditSectionLink
or EditSectionLink hooks might need adjustments as well.
* Linker: Change the HTML of pages to move the link itself from the
beginning of the heading (before <span class="mw-headline">) to the end
of the heading (after the span).
* Skin: Change the class from .editsection to .mw-editsection; we use this
opportunity to clean up old cruft, and this makes it much easier to
handle cached renders (by just detecting the old class).
* ParserOutput: Implement a horrible hack to support cached parser
outputs with the old order of items.
* Ensure everything that should support both classes supports both
classes (this includes print stylesheets and some scripts).
* Implement styles for the new look for all the skins (did this in
shared.css; the styles are non-intrusive and can be overridden
easily, and all of the skins were using the same look before).
Change-Id: I6a6c12a90de3604012420b20c1f520e0ece170ab
Aaron Schulz [Thu, 25 Apr 2013 06:56:04 +0000 (23:56 -0700)]
Created ProfileSection class to avoid wfProfileOut() whack-a-mole.
Change-Id: I9f7e0638edd99e1ac07b83054e8f7ef255179281
Translation updater bot [Sun, 28 Apr 2013 19:33:56 +0000 (19:33 +0000)]
Localisation updates from translatewiki.net.
Change-Id: If64ce665b16822b743659a0914fafb034e7a97c8
jenkins-bot [Sun, 28 Apr 2013 17:48:09 +0000 (17:48 +0000)]
Merge "Don't underline a elements with the mw-ui-button class:"
umherirrender [Sat, 27 Apr 2013 11:23:52 +0000 (13:23 +0200)]
Fixed spacing around parenthesis in languages/tests/maintenance
Change-Id: Idd4299d17f1fcf98ab1d635484cb4e880f35ee24
umherirrender [Sat, 27 Apr 2013 12:02:08 +0000 (14:02 +0200)]
Fixed spacing around parenthesis in includes
Change-Id: Ie8adc00f4ee8ecec4554e584c18d5d2073415397
Victor Vasiliev [Sun, 28 Apr 2013 14:06:57 +0000 (10:06 -0400)]
Fix email address formatting in API credits.
Change-Id: I9d295d5b07558e2b28105899c3c40331cea06adf
TheDJ [Sun, 28 Apr 2013 14:06:21 +0000 (14:06 +0000)]
Merge "jquery.makeCollapsible: minor fixes to togglingHandler()"
Brent Garber [Tue, 9 Apr 2013 21:20:53 +0000 (21:20 +0000)]
Fix PHPUnit ORM Tests to work with Postgres
Change-Id: Ia4321727f6f1eab65c91d9876f87d51b545a72c2
Matthew Flaschen [Sun, 28 Apr 2013 03:17:55 +0000 (23:17 -0400)]
Don't underline a elements with the mw-ui-button class:
This is in addition to an existing 'text-decoration: none' on the class
itself. This is being kept for other elements (e.g. button), but is
not specific enough to beat a conflicting declaration in commonElements.css
Change-Id: I8ec7efd97abad0ca75dea9b1c28e1fb91323741f
Brian Wolff [Tue, 15 Jan 2013 21:38:29 +0000 (17:38 -0400)]
{{PAGESIZE:{{FULLPAGENAME}}}}, {{{{FULLPAGENAME}}}} not outdated
Previously, when parsing {{PAGESIZE:{{FULLPAGENAME}}}} or
{{ {{FULLPAGENAME}} }} (a self-transclusion), we used the
version currently in the db, which is outdated because
the moment we save the page there will be a new version.
This often causes confusion when testing templates that
often have examples of template use in the doc section
which would be one version out of date.
This change causes those variables to give results for
the most recent version of the page. For self-templates
that's done by reparsing the page after save. For
self page sizes this is done by taking the size
of the input to Parser::parse.
Note that {{subst:PAGESIZE:{{subst:FULLPAGENAME}}}}
will still yield previous revision like before.
bug: 39590
Change-Id: Idfac13de37d05317f65e4131534543e66cf74873
Translation updater bot [Sat, 27 Apr 2013 19:29:17 +0000 (19:29 +0000)]
Localisation updates from translatewiki.net.
Change-Id: If59e0ce436bc12b557ddf62be574cd0cabe32ed4
MarkAHershberger [Sat, 27 Apr 2013 16:30:00 +0000 (16:30 +0000)]
Merge "Web installer: always autoselect some DB type"
umherirrender [Fri, 19 Apr 2013 12:53:20 +0000 (14:53 +0200)]
Pass array to Title::getLocalURL instead of an urlencoded string
This makes code easier to read and the urlencode is done inside
getLocalURL or friends
Change-Id: I21b988890356d11835eedba12a90a347bf0905b2
umherirrender [Fri, 26 Apr 2013 15:45:18 +0000 (17:45 +0200)]
Use wfShellExec in parserTest.inc
This avoids shell execution with backticks
Change-Id: Ib0db0c2ac36ae615f280ed9db82d2ca6aad744b5
Aaron Schulz [Fri, 26 Apr 2013 22:50:06 +0000 (15:50 -0700)]
Avoid use of __METHOD__ in closures.
Change-Id: If633400bc915e3e0582d420826c30761678f4878
Translation updater bot [Fri, 26 Apr 2013 21:52:36 +0000 (21:52 +0000)]
Localisation updates from translatewiki.net.
Change-Id: I2ae1cf4d6dfd73f031edb225b2a9095f697fe258
Subramanya Sastry [Thu, 25 Apr 2013 09:52:30 +0000 (15:22 +0530)]
Updated wikitext-escaping tests to reflect Parsoid's latest output
* Changed wikitext (input) portion of several html2wt-centric tests
to match how Parsoid adds the nowiki tags. We are not as concerned
about the wt -> html direction.
* Changed 'disabled' flag to 'parsoid' on several tests since that was
the original intention of these disabled tests. Since then, we have
the parsoid option to indicate the same thing which is more accurate
than 'disabled'.
* Added few more escaping tests based on recent Parsoid fixes and
discovery of new bugs.
* Disabled one test known to not pass because of absence of
data-parsoid flags.
Change-Id: Icd10a9bccbcc27715914b9f00a20afb06ed275d1
jenkins-bot [Fri, 26 Apr 2013 15:20:47 +0000 (15:20 +0000)]
Merge "Move list generation out of TablePager::getLimitSelect()"
jenkins-bot [Fri, 26 Apr 2013 15:16:29 +0000 (15:16 +0000)]
Merge "Remove subpage from form target on Special:BlockList"
jenkins-bot [Fri, 26 Apr 2013 15:12:38 +0000 (15:12 +0000)]
Merge "Simplify the logic to decide whether to show "variant" and "noconvertlink" on Special:Preferences"
jenkins-bot [Fri, 26 Apr 2013 15:08:40 +0000 (15:08 +0000)]
Merge "Fix HTMLForm's documentation example"
jenkins-bot [Fri, 26 Apr 2013 15:05:20 +0000 (15:05 +0000)]
Merge "Fix TimestampTest broken by
7e3386d4"
jenkins-bot [Fri, 26 Apr 2013 15:01:41 +0000 (15:01 +0000)]
Merge "Added space after switch/Removed spaces after unset"
umherirrender [Fri, 26 Apr 2013 14:42:31 +0000 (16:42 +0200)]
Added space after switch/Removed spaces after unset
While at it, added/removed some other spaces in the same files
Change-Id: I84d8001aa123a008807ad5eb76f396aed7c899a4
jenkins-bot [Fri, 26 Apr 2013 14:41:32 +0000 (14:41 +0000)]
Merge "Added a function to LoginForm to show the "return to" page."
Siebrand Mazeland [Fri, 26 Apr 2013 12:00:22 +0000 (14:00 +0200)]
Update code formatting
Change-Id: I16a9b42651f1cfb1a70dffbb67b7b83dfeb90d03
Alexandre Emsenhuber [Tue, 23 Apr 2013 13:53:56 +0000 (15:53 +0200)]
Update messages.inc and rebuild MessagesEn.php.
Change-Id: I5af753e9db10abc5e991a546649a7280a9fed8a2
raymond [Fri, 26 Apr 2013 13:51:01 +0000 (15:51 +0200)]
Update maintenance file with new message keys slipped in sometime...
Change-Id: I1103ebd965790cf9b60dbc9f4c302534576c4221
umherirrender [Fri, 26 Apr 2013 12:18:06 +0000 (14:18 +0200)]
Removed space after isset
While at it, added/removed some other spaces in the same files
Change-Id: Iabb23a448f6f53eb6020155f9c744f74f8b11786
jenkins-bot [Fri, 26 Apr 2013 10:54:23 +0000 (10:54 +0000)]
Merge "Remove unused local variables in tests"
raymond [Fri, 26 Apr 2013 08:25:32 +0000 (10:25 +0200)]
Ignore message 'today-at' for translation
Spotted by Beta16 and Toliño
https://translatewiki.net/wiki/Thread:Support/About_MediaWiki:Today-at/en
https://translatewiki.net/wiki/Thread:Translating_talk:MediaWiki/About_MediaWiki:Today-at/en
Change-Id: Ic5a4b576fe0143c65e7b6582d11c071918d68a2a
Siebrand Mazeland [Fri, 26 Apr 2013 07:48:46 +0000 (09:48 +0200)]
Remove unused local variables in tests
Change-Id: I71318eb7d8c00bfc1ce6d2fc636b498f7a695f42
jenkins-bot [Fri, 26 Apr 2013 05:25:59 +0000 (05:25 +0000)]
Merge "Fix "contributors this month" # in signup form"
S Page [Fri, 26 Apr 2013 05:08:59 +0000 (22:08 -0700)]
Fix "contributors this month" # in signup form
Switch createacct-benefit-head3 from {{NUMBEROFUSERS}} to`
{{NUMBEROFACTIVEUSERS}}.
Bug: 47693
Change-Id: Icbbdf90830dd74bdf0d53a1bf07c3c9cddaa50e4
S Page [Fri, 26 Apr 2013 01:53:38 +0000 (18:53 -0700)]
Create account-specific header for its error box
new message createacct-error
Bug: 47691
Change-Id: I47d87858cd0e9dc3c668351283234388294872bb
Aaron Schulz [Wed, 24 Apr 2013 01:31:06 +0000 (18:31 -0700)]
Moved RC purge logic to RecentChange::purgeExpiredChanges().
* Also deferred the change to onTransactionIdle().
Change-Id: Ife8a06c0ac9230bfe564d17c33f16cb989c8bc24
Aaron Schulz [Thu, 18 Apr 2013 05:05:47 +0000 (22:05 -0700)]
Changed on-request job running to shell out instead of doing a loop.
* Also factored out a new wfShellExecDisabled() function.
* This will keep the process in the background if possible to avoid
killing site performance, especially with slow jobs.
* This also keep fatals and uncatcheable exceptions from
hitting the user.
* If $wgPhpCli is not set to an actual path or safe mode
is on, then the old code will be used.
Change-Id: I6a28152251659ee53eee2604f16d5bf02c85a44f
Kaldari [Thu, 25 Apr 2013 23:21:41 +0000 (23:21 +0000)]
Merge "MyISAM warning when InnoDB is not available"
ebernhardson [Thu, 25 Apr 2013 21:34:17 +0000 (14:34 -0700)]
MyISAM warning when InnoDB is not available
Bug: 34430
Change-Id: I68e79a8efe7cd625c12b5993074de9c3479e760b
jenkins-bot [Thu, 25 Apr 2013 20:58:41 +0000 (20:58 +0000)]
Merge "Updated onTransactionIdle() docs a bit."
freakolowsky [Wed, 17 Apr 2013 08:30:58 +0000 (10:30 +0200)]
Fixed maintenance/tables.sql (typo i guess)
Change-Id: Ib1e90f9bf1bd728d1a263d65f2f869abf2f6c294
Aaron Schulz [Thu, 25 Apr 2013 20:32:55 +0000 (13:32 -0700)]
Updated onTransactionIdle() docs a bit.
Change-Id: I12063991393a0db064488a72cfda70911fec3755
jenkins-bot [Thu, 25 Apr 2013 20:20:29 +0000 (20:20 +0000)]
Merge "test: describe the parser tests recorder"
jenkins-bot [Thu, 25 Apr 2013 20:08:34 +0000 (20:08 +0000)]
Merge "Add linkprefix test to parserTests.txt."
Antoine Musso [Tue, 19 Mar 2013 14:09:04 +0000 (15:09 +0100)]
test: describe the parser tests recorder
How to best describe the myriad of parser tests recorder we have? PHP
come with interfaces which let us express what a developer should expect
from all those common classes.
The ITestRecorder interface represent our parser test recorders.
Change-Id: I58e10e7ebcb7ae1c4598a4f7e3bd4f11a7f713c4
umherirrender [Sun, 21 Apr 2013 14:59:18 +0000 (16:59 +0200)]
Use wfShellExec in MimeMagic
This avoids shell execution with backticks
Change-Id: I37ca19f4b19a3a7f2834a234051e4044653fcfb1
C. Scott Ananian [Thu, 25 Apr 2013 18:35:47 +0000 (14:35 -0400)]
Add linkprefix test to parserTests.txt.
This example is taken from is:Finnland.
Change-Id: I730e0a1e16d0f1283db3da90d3ab9c039355eb3f
freakolowsky [Wed, 17 Apr 2013 12:18:17 +0000 (14:18 +0200)]
Fixed dumpBlocks fcn
Change-Id: I5db9105a38ffd968cf6a6bac0d723db40ec1f518
C. Scott Ananian [Thu, 25 Apr 2013 15:55:59 +0000 (11:55 -0400)]
Add parserTests for tilde and equals signs in links.
The Parsoid team stumbled over bugs here; adding to parserTests to prevent
future regressions.
Change-Id: Iad599aef9e3a6e62bb8a447bf955eb98230e81cf
Platonides [Sat, 26 Jan 2013 14:36:54 +0000 (15:36 +0100)]
(Bug 44357) Update checkStorage.php to not use deprecated Revision::getText()
Change-Id: Id632867207960ba5c25d2b6eaba06f051fb1e681
jenkins-bot [Thu, 25 Apr 2013 14:47:37 +0000 (14:47 +0000)]
Merge "Remove globals unneeded after
47d1060"
Platonides [Thu, 25 Apr 2013 14:31:01 +0000 (16:31 +0200)]
Remove globals unneeded after
47d1060
Change-Id: I39b6fa829e0d6ea7861b06edd8f5c599edcf4b76
Siebrand Mazeland [Thu, 25 Apr 2013 09:37:51 +0000 (11:37 +0200)]
Add some recently added messages as ignored
CSS styles and magic words should not be translated.
Change-Id: Ieed5df74fabe697762bd390b18f01c28c11637a9
Aaron Schulz [Wed, 24 Apr 2013 21:19:23 +0000 (14:19 -0700)]
Clarified PoolCounter::execute() docs a bit.
Change-Id: Id37e11e9520381cccf917d71ea269c8a85334c58
Translation updater bot [Wed, 24 Apr 2013 20:11:33 +0000 (20:11 +0000)]
Merge "Localisation updates from translatewiki.net."
Translation updater bot [Wed, 24 Apr 2013 19:41:59 +0000 (19:41 +0000)]
Localisation updates from translatewiki.net.
Change-Id: Iffd4eb0c9cc97a21514af551bf6d5c42f3626507
jenkins-bot [Wed, 24 Apr 2013 19:37:49 +0000 (19:37 +0000)]
Merge "Fix bug in OOM avoidance for RepoGroup cache."
jenkins-bot [Wed, 24 Apr 2013 19:29:04 +0000 (19:29 +0000)]
Merge "Some more editor files to ignore."
jenkins-bot [Wed, 24 Apr 2013 18:46:57 +0000 (18:46 +0000)]
Merge "[JobQueue] Use regular wfDebug() in some places."
Brian Wolff [Tue, 23 Apr 2013 21:01:32 +0000 (18:01 -0300)]
Add parentid to output of list=usercontribs
This makes it consistent with prop=revisions. Was requested on
irc by Betacommand.
Change-Id: Idfbee9b4f089738ab70825c11945faf8dd3da66d
Alexandre Emsenhuber [Mon, 22 Apr 2013 09:20:42 +0000 (11:20 +0200)]
Simplify the logic to decide whether to show "variant" and "noconvertlink" on Special:Preferences
- Group common checks; $wgDisableLangConversion and count( $variants ) only be need to be
executed once to decide to show or not both fields
- Move the check for existence of multiple variant directly after calling getVariants(),
so there is no need to run unnecessary code when a language doesn't have variants
- Move the declaration of $variantArray to where it will actually be used
- fix comment style
Change-Id: I2d621424904d0210336845cd82f96bb68a022514
Matthias Mullie [Wed, 24 Apr 2013 07:54:53 +0000 (09:54 +0200)]
Docs for Redis' ->exec() return value
I had to look up exactly why it'd return an array, figured someone else some day
might too
Change-Id: Iefb3a0f8292baf8846ed6a1b852432eb9daa92c2
jenkins-bot [Wed, 24 Apr 2013 07:58:45 +0000 (07:58 +0000)]
Merge "Fixed return value for RedisBagOStuff::cas()."
jenkins-bot [Wed, 24 Apr 2013 07:31:28 +0000 (07:31 +0000)]
Merge "Create account form with vertical form appearance"
Kevin Israel [Wed, 3 Apr 2013 21:44:00 +0000 (17:44 -0400)]
Remove is_numeric check from Title::checkUserBlock
This should allow the usernames of administrators such as "7"
to show correctly on permissions error pages.
I extracted the working code from UserBlockedError::__construct
into a separate method Block::getPermissionsError, called from
both places with context provided as an argument.
Additional changes to get the test suite to pass are included.
Bug: 46768
Change-Id: I49d973992a99e03b4e8de112b47b737037a85338
Aaron Schulz [Wed, 24 Apr 2013 00:17:50 +0000 (17:17 -0700)]
Fix bug in OOM avoidance for RepoGroup cache.
Change-Id: Ic2e7fb6a9a7207315fd65454d883b84278efafc0
Matthew Flaschen [Sat, 6 Apr 2013 01:57:03 +0000 (21:57 -0400)]
Create account form with vertical form appearance
Similar to the login form (change 55847), this presents a compact
vertically-stacked form, if a global variable is set or if you add
?useNew=1 to the query string.
The redesigned create account form also:
* Removes the remember me checkbox (see bugzilla 47267)
* Displays some wiki statistics in a benefits column.
* Repositions the FancyCaptcha image if present using JavaScript (see
bugzilla 47372).
* Sets the template skin as in change 59577.
Bug: 44628
Bug: 47267
Change-Id: I9b03d519af43de147bff0ac509a1154f67cd3a0a
jenkins-bot [Tue, 23 Apr 2013 21:51:50 +0000 (21:51 +0000)]
Merge "Don't repeat label styling"
Aaron Schulz [Tue, 23 Apr 2013 21:31:52 +0000 (14:31 -0700)]
Fixed return value for RedisBagOStuff::cas().
Change-Id: I3b180baaba8fb12ab2960e358c8b6d1a1eac05dd
jenkins-bot [Tue, 23 Apr 2013 21:11:34 +0000 (21:11 +0000)]
Merge "Introducing a new variable {{ROOTPAGENAME}}"
blotmandroid [Sun, 21 Apr 2013 14:09:49 +0000 (19:39 +0530)]
Introducing a new variable {{ROOTPAGENAME}}
Introduced a new variable ROOTPAGENAME which has similar
content like BASEPAGENAME.
ROOTPAGENAME only contains the name of the topmost page without namespace, e.g.
for "User:Name/Article/Subarticle" it should be "Name".
BASEPAGENAME would be "Name/Article" here.
Update : fixed indentation in maintenance/fuzz-tester.php
Added to RELEASE-NOTES-1.2.2
Bug: 6747
Change-Id: I71ef0a15c95c9145462f3aa7fdb3ed11dac79265
Translation updater bot [Tue, 23 Apr 2013 20:24:21 +0000 (20:24 +0000)]
Merge "Localisation updates from translatewiki.net."
Translation updater bot [Tue, 23 Apr 2013 19:26:59 +0000 (19:26 +0000)]
Localisation updates from translatewiki.net.
Change-Id: If5568ddced2f4cf8bde140f77c3789ac6948033e
jenkins-bot [Tue, 23 Apr 2013 19:25:34 +0000 (19:25 +0000)]
Merge "Include cluster name in JobQueueDB cache keys."
csteipp [Tue, 21 Aug 2012 18:55:48 +0000 (11:55 -0700)]
(bug 38082) Check read permissions in ApiFeedContribs
Before showing the contents of a title in the generated feed, check
that the calling user has permissions to read the specific title.
Change-Id: Iba16a5489d80cd4f0958ad6bbcf2e1a948e97f93
Aaron Schulz [Sun, 21 Apr 2013 21:56:20 +0000 (14:56 -0700)]
Include cluster name in JobQueueDB cache keys.
* This makes it work properly with JobQueueFederated.
Change-Id: I0309dee7e97fa3813dfa5f1ae1eb1fcbca14b829
Zhaofeng Li [Sat, 6 Apr 2013 05:52:05 +0000 (13:52 +0800)]
Minor fixes to the code documentation
Change-Id: Iddfecfea17109eeea604ef111d6f98ea8399cc96
jenkins-bot [Tue, 23 Apr 2013 17:43:59 +0000 (17:43 +0000)]
Merge "Update AutoLoader"
Kevin Israel [Thu, 18 Apr 2013 17:35:49 +0000 (13:35 -0400)]
Move "SpecialSearchResultsPrepend" note back to 1.21
Partial revert of I6a51e3ee: the hooks were actually added
before the branch point (in Ib3843314), not in I226349aa, which
merely added the release note.
The author of I226349aa has already backported the change.
Change-Id: Ifc2728133c6ca52ef866ce963c28bd3d06eab05a
Alexandre Emsenhuber [Tue, 23 Apr 2013 14:48:24 +0000 (16:48 +0200)]
Update AutoLoader
- Move files in includes/externalstore to their own location for consistency
- Order MWCryptRand alphabetically
- Add missing HTMLButtonField
Change-Id: Ib3798dce6080960df68badd6237968a33473e36b
Alexandre Emsenhuber [Tue, 23 Apr 2013 13:27:41 +0000 (15:27 +0200)]
Fix TimestampTest broken by
7e3386d4
- Call RequestContext::getMain()->setLanguage() since
MWTimestamp::getHumanTimestamp() will call getLanguage() to get the
Language object (and it not always English depending on the order the
tests are called)
- While I'm at it, use MediaWikiLangTestCase to avoid duplicating things
Change-Id: I910287ccf093ef5681cd09445501dccc8d3f4d14
jenkins-bot [Tue, 23 Apr 2013 13:18:35 +0000 (13:18 +0000)]
Merge "Fix case of $wgLocalTZoffset from
7e3386d4"
Platonides [Tue, 23 Apr 2013 11:15:52 +0000 (13:15 +0200)]
Simplify the nested ifs of Preprocessor_DOM::preprocessToObj()
Change-Id: Ibb91068678aca1729f00f1ba7844017771334e94
Niklas Laxström [Wed, 3 Apr 2013 12:17:32 +0000 (12:17 +0000)]
User::addGroup could cause duplicate groups
Use array_unique to avoid this case.
Bug: 46844
Change-Id: I14eb6e5a5333d887d71d545e42570493437dd320
Aaron Schulz [Mon, 22 Apr 2013 06:57:37 +0000 (23:57 -0700)]
Moved CryptRand.php to MWCryptRand.php
Change-Id: I03e3742f270ccf05ea923a46e8f8171e6f73ffcd
Aaron Schulz [Mon, 22 Apr 2013 20:27:50 +0000 (13:27 -0700)]
StatCounter doc tweaks.
Change-Id: I8882e142170841c70cb620e1ea0246facc30f046
Platonides [Tue, 23 Apr 2013 11:20:01 +0000 (13:20 +0200)]
Fix case of $wgLocalTZoffset from
7e3386d4
The variable is called $wgLocalTZoffset, with lowercase O.
And php variable names are case-sensitive.
This commit is a simple
sed -i 's/wgLocalTZOffset/wgLocalTZoffset/' includes/Timestamp.php
Change-Id: Iddf9b363c9ddc95938ba8b5e0c134d9ec734109c
Aaron Schulz [Mon, 22 Apr 2013 07:04:14 +0000 (00:04 -0700)]
Renamed QoS_Atomic => QOS_ATOMIC in some places.
Change-Id: Ib6c4a1e36e8caddd08852d0fdce005ed0bc00cee
AVRS Aditya Sastry [Tue, 16 Apr 2013 14:03:04 +0000 (19:33 +0530)]
Make current year default value in the Special:Contributions
Bug: 45580
Change-Id: I720946e7a37ca5a639c3ac786fc863020929cf1a
S Page [Tue, 23 Apr 2013 07:24:41 +0000 (00:24 -0700)]
Don't repeat label styling
Only have one selector for .mw-ui-vform > div label , move all CSS to
that.
Bug: 47532
Change-Id: Ibd36f818865aa5ec99cc187bef983261485966d3
Matt Walker [Thu, 21 Mar 2013 00:54:32 +0000 (17:54 -0700)]
HTMLForms: Support non submit buttons
There is now a new generic HTMLButtonField class which does
not need to be a submit button.
Change-Id: I451a952bba0c7339b5337e5201417beaee3f16fd
S Page [Fri, 19 Apr 2013 07:44:04 +0000 (00:44 -0700)]
Move template header inside form so CAPTCHA works
Also wrap it inside a section tag so the form's styling of gray labels
and full-width input fields doesn't apply to the CAPTCHA. The same fix
is in the new Create account form (though that uses JavaScript to
reposition the FancyCaptcha image).
CSS gives the section a small bottom margin to space it from the form
contents, small enough to not affect form layout if there is nothing
in the template header.
Bug: 47371
Change-Id: I1523fe6551585ba731b0ca4207e22d614d0a46d8
Kevin Israel [Tue, 23 Apr 2013 03:15:39 +0000 (23:15 -0400)]
Web installer: always autoselect some DB type
If the PHP mysql extension were not available, none of the DB type
radio buttons would be selected, and if the form were submitted
without selecting any of them, a PHP fatal error would occur
because of a lack of input validation.
So have the installer autoselect a DB type other than mysql if
necessary, and add a simple check to prevent a fatal error if all
radio buttons nevertheless end up deselected for some unknown reason.
Bug: 47489
Change-Id: Ic456899028c054a761d172df8ec32f6a26dc5b97
Reedy [Wed, 13 Mar 2013 20:08:28 +0000 (20:08 +0000)]
Replace weird usage of explode
Change-Id: Ic4021be695c9ed15dea0da0e94967a0d7d441670
Aaron Schulz [Mon, 22 Apr 2013 20:47:52 +0000 (13:47 -0700)]
Bumped RING_SIZE to use 28 bits to improve weight accuracy a bit.
Change-Id: I4dbecd292fd404e43ed296dd37892db113fa1026
Timo Tijhof [Mon, 22 Apr 2013 09:07:08 +0000 (11:07 +0200)]
mediawiki.util: Fix roundtripping of tooltip in portlet links
In
558985f72a ctrl-option- for Chrome on Mac was added, but it
didn't add "option-" to the regex. Since then the tooltip in
Chrome on Mac (and later when we started referring to option
instead of alt on all Mac browsers) was never detected by this
regex, sometimes resulting in double tooltips (when adding) or
outdated tooltips (when updating).
Now we always look for an accesskey hint in the tooltip and
strip it it's there.
Also fixed a bug where an undefined error can occur if accesskey
is given but tooltip not (the method unconditinally appended
text to the tooltip varible which might be undefined causing
a tooltip like "undefined[a]").
Change-Id: I0bde1a228983c58b20cad0c09a8e5efe8225ea23
Translation updater bot [Mon, 22 Apr 2013 19:35:32 +0000 (19:35 +0000)]
Localisation updates from translatewiki.net.
Change-Id: Ic9d28bde4ca24c8e1a041b86ae48e7d6d24de522
jenkins-bot [Mon, 22 Apr 2013 19:21:28 +0000 (19:21 +0000)]
Merge "Refactor MWTimestamp::getHumanTimestamp and add hook."