lhc/web/wiklou.git
9 years agomediawiki.action.edit.editWarning: Reuse jQuery collections
Derk-Jan Hartman [Tue, 6 May 2014 11:25:57 +0000 (13:25 +0200)]
mediawiki.action.edit.editWarning: Reuse jQuery collections

Change-Id: I3084efe5962bb6a13700f95745c415fb074bc7bd

9 years agoMerge "resourceloader: Use $.ajax instead of duplicating its "script" logic"
jenkins-bot [Tue, 6 May 2014 10:24:29 +0000 (10:24 +0000)]
Merge "resourceloader: Use $.ajax instead of duplicating its "script" logic"

9 years agoMerge "Move profile In/OUT call out of MWPHPUnitCommand"
jenkins-bot [Tue, 6 May 2014 10:18:51 +0000 (10:18 +0000)]
Merge "Move profile In/OUT call out of MWPHPUnitCommand"

9 years agoMerge "mediawiki.util: Clean up mw.util.$content"
jenkins-bot [Tue, 6 May 2014 10:16:26 +0000 (10:16 +0000)]
Merge "mediawiki.util: Clean up mw.util.$content"

9 years agoresourceloader: Use $.ajax instead of duplicating its "script" logic
Timo Tijhof [Wed, 30 Apr 2014 14:40:06 +0000 (16:40 +0200)]
resourceloader: Use $.ajax instead of duplicating its "script" logic

Also removed isFunction check. This is an internal method and the
parameter is either a function or omitted/nulled. No need for aggressive
validation.

Change-Id: I6bbd82ca1b986b45a2f4653427396b9a6fceb6e8

9 years agoMerge "Move teardownTestDB and wfLogProfilingData out of MWPHPUnitCommand"
jenkins-bot [Tue, 6 May 2014 10:13:59 +0000 (10:13 +0000)]
Merge "Move teardownTestDB and wfLogProfilingData out of MWPHPUnitCommand"

9 years agomediawiki.util: Clean up mw.util.$content
Timo Tijhof [Wed, 30 Apr 2014 18:33:15 +0000 (20:33 +0200)]
mediawiki.util: Clean up mw.util.$content

* Document how to use it (including the tricky bit with it needing
 a dependency on mediawiki.page.startup).

* Refer to mw.hook and #mw-content-text as recommended method of
  getting just the wikipage content.

* Remove the deprecated backwards-compatibility selectors.
  The core skins (Vector, Monobook, Modern, CologneBlue) all
  have mw-body now. Third-party skins should adopt those if they
  haven't already.

Change-Id: I30bdd893e0a0a340076efa7ce32fbd4b775bc3db

9 years agoMerge "Remove includepath stuff from MediaWikiPHPUnitCommand"
jenkins-bot [Tue, 6 May 2014 10:00:16 +0000 (10:00 +0000)]
Merge "Remove includepath stuff from MediaWikiPHPUnitCommand"

9 years agoVector: Don't supress focus outline on watch star
Timo Tijhof [Tue, 6 May 2014 00:40:51 +0000 (02:40 +0200)]
Vector: Don't supress focus outline on watch star

This is an old remnant that was intended to remove outline from
images inside anchor links. However the watch star is no longer
implemented this way and this is doing nothing. Except when
the element is focussed (using keyboard tab index), then this
rule is overriding the default :focus and causing the user to
potentially get confused since it is no longer clear where the
focus has gone to.

Bug: 64934
Change-Id: I57ee089c1ae18bb7a6c55ae17eab3a06f9e1f7d2

9 years agoSupport precomputed data in GitInfo
Bryan Davis [Mon, 28 Apr 2014 19:50:03 +0000 (13:50 -0600)]
Support precomputed data in GitInfo

Support reading git repository information from a JSON file in the cache
directory. When present, this file serves to provide information needed
by getHead, getHeadSHA1, getHeadCommitDate, getCurrentBranch and a new
getRemoteUrl method. A GitInfo::precomputeValues method is also provided
which can generate the cache file for a given GitInfo instance.

This support can be combined with a deployment step to reduce the need
to repeatedly gather information from the .git files/git binary. It also
allows computing information that can be lost when directory structures
differ between deployment staging hosts and hosts running MediaWiki.

This change also adds memoization of computed values for a given GitInfo
instance which may provide a small performance boost even for
deployments which are not using precomputed cache files.

Bug: 53972
Change-Id: I66e058acc5a71e5d82644f85d819f49d6ee9d1e6

9 years agoMerge "mediawiki.mixins: Move .box-sizing mixin from mediawiki.ui utilities"
jenkins-bot [Mon, 5 May 2014 23:41:47 +0000 (23:41 +0000)]
Merge "mediawiki.mixins: Move .box-sizing mixin from mediawiki.ui utilities"

9 years agoMerge "Don't call legalSearchChars() statically so it can properly inherit"
jenkins-bot [Mon, 5 May 2014 23:22:04 +0000 (23:22 +0000)]
Merge "Don't call legalSearchChars() statically so it can properly inherit"

9 years agoPostgreSQL: decode image.img_metadata
Jeff [Wed, 23 Apr 2014 06:56:23 +0000 (23:56 -0700)]
PostgreSQL: decode image.img_metadata

The img_metadata field was not being decoded from bytea into text.

This change to core fixes the reported problem with PdfHandler against
1.22.6, origin/REL1_23 and git head.

Bug: 59147
Change-Id: I285a317a57a29713af1f7f630b340278bd5400da

9 years agoMerge "PostgreSQL: Make l10n_cache.lc_value binary"
jenkins-bot [Mon, 5 May 2014 22:51:17 +0000 (22:51 +0000)]
Merge "PostgreSQL: Make l10n_cache.lc_value binary"

9 years agoMerge "Update OOjs UI to v0.1.0-pre (7d2507b267)"
jenkins-bot [Mon, 5 May 2014 21:21:28 +0000 (21:21 +0000)]
Merge "Update OOjs UI to v0.1.0-pre (7d2507b267)"

9 years agoUpdate OOjs UI to v0.1.0-pre (7d2507b267)
James D. Forrester [Mon, 5 May 2014 21:13:21 +0000 (14:13 -0700)]
Update OOjs UI to v0.1.0-pre (7d2507b267)

New changes:
9ccab2d Use .isDisabled() instead of .disabled to support inheriting
8f2a439 Localisation updates from https://translatewiki.net.
5f49c04 Remove unnecessary space in footless dialog
11dde77 Make autoFocus default to true

Change-Id: I9ae775a7c2a167d66542436ebd21064d8d254cc4

9 years agomediawiki.api: Fix API postWithToken method
jrobson [Tue, 29 Apr 2014 22:42:43 +0000 (15:42 -0700)]
mediawiki.api: Fix API postWithToken method

Referred to "this" instead of "api" ("this" here refers to the Deferred object).
Fixes "Uncaught TypeError: Cannot read property 'ajax' of undefined".

Change-Id: I78ba47a614512f6218e23d03e7c688e2c9efbe45

9 years agoDon't call legalSearchChars() statically so it can properly inherit
Chad Horohoe [Mon, 5 May 2014 20:33:22 +0000 (13:33 -0700)]
Don't call legalSearchChars() statically so it can properly inherit

Change-Id: Iaabc10ce2905eefe9de8bceeec3290082ba9eb2e

9 years agoSet Redis::OPT_READ_TIMEOUT by default
Aaron Schulz [Mon, 5 May 2014 18:43:21 +0000 (11:43 -0700)]
Set Redis::OPT_READ_TIMEOUT by default

* The value is also configurable just like connectTimeout
* This deals with problems like https://github.com/nicolasff/phpredis/issues/99
  and https://github.com/nicolasff/phpredis/issues/70

Change-Id: I05e91e05764020854d04673b7decae30359f57e9

9 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Mon, 5 May 2014 20:12:09 +0000 (20:12 +0000)]
Localisation updates from https://translatewiki.net.

Change-Id: I72e85ae5bf1ff819f8ee6e1a7d89c7828b940379

9 years agoMerge "Avoid raw sql in LocalFileDeleteBatch::doDBInserts"
jenkins-bot [Mon, 5 May 2014 19:53:21 +0000 (19:53 +0000)]
Merge "Avoid raw sql in LocalFileDeleteBatch::doDBInserts"

9 years agoMerge "Fix doc for Revision::newFromPageId"
jenkins-bot [Mon, 5 May 2014 19:52:20 +0000 (19:52 +0000)]
Merge "Fix doc for Revision::newFromPageId"

9 years agoFix doc for Revision::newFromPageId
Marius Hoch [Mon, 5 May 2014 19:45:53 +0000 (21:45 +0200)]
Fix doc for Revision::newFromPageId

Change-Id: Ice5b7f42facd30f856f06c1bc1f4408d61a4121d

9 years agoMerge "Maintain remember me state on password change"
jenkins-bot [Mon, 5 May 2014 19:35:36 +0000 (19:35 +0000)]
Merge "Maintain remember me state on password change"

9 years agoAvoid raw sql in LocalFileDeleteBatch::doDBInserts
umherirrender [Mon, 5 May 2014 19:28:32 +0000 (21:28 +0200)]
Avoid raw sql in LocalFileDeleteBatch::doDBInserts

Use Database::conditional instead of raw sql.

Change-Id: Ic00146e9ec582a263b9dec117b12532fdc24789e

9 years agoMerge "TextContent: Document parameters to convert()"
jenkins-bot [Mon, 5 May 2014 18:54:08 +0000 (18:54 +0000)]
Merge "TextContent: Document parameters to convert()"

9 years agoMerge "Removed unused getZoneHandlerUrl() method"
jenkins-bot [Mon, 5 May 2014 18:25:07 +0000 (18:25 +0000)]
Merge "Removed unused getZoneHandlerUrl() method"

9 years agoPostgreSQL: Make l10n_cache.lc_value binary
Jeff Janes [Mon, 5 May 2014 18:20:52 +0000 (11:20 -0700)]
PostgreSQL: Make l10n_cache.lc_value binary

Change-Id I427c6de5a0a29b43cff755db0eb8a750db620173 increases the
probability that a null byte will attempt to be stored in the
lc_value column.  PostgreSQL does not allow that byte in a text
column, so convert the column to bytea.

If the column already contains corrupted data, the upgrade routine
might fail.  To prevent this, delete the contents of the table before
changing the type.

Bug: 62098
Change-Id: Ie8368bde398b2ae4d3cfc9ee7bf35874bd2ded68

9 years agoMerge "PostgreSQL: Fix syntax error in page_props index"
jenkins-bot [Mon, 5 May 2014 17:53:54 +0000 (17:53 +0000)]
Merge "PostgreSQL: Fix syntax error in page_props index"

9 years agoPostgreSQL: Fix syntax error in page_props index
Jeff Janes [Tue, 29 Apr 2014 18:11:58 +0000 (11:11 -0700)]
PostgreSQL: Fix syntax error in page_props index

Follows up I217c42656fb877ff35a36eb446a22bdaf119faac

That change introduced a syntax error during update.  I have verified
that this fixes the syntax problem so that update.php runs, but have
not verified that the new functionality behaves as intended.

Also, the PostgreSQL schema changes introduced during the update
process were not present at all in a fresh install to PostgreSQL.  Add
analogous changes to tables.sql.

Bug: 64807
Change-Id: I736344839ec478216402fdfe260968afbd663498

9 years agoMerge "API: Check return value from $gitInfo->getHeadCommitDate()"
jenkins-bot [Mon, 5 May 2014 16:44:23 +0000 (16:44 +0000)]
Merge "API: Check return value from $gitInfo->getHeadCommitDate()"

9 years agoTextContent: Document parameters to convert()
daniel [Mon, 5 May 2014 16:04:43 +0000 (18:04 +0200)]
TextContent: Document parameters to convert()

Mostly extracted from I979e2438.

Change-Id: I764aae970a2ad90a54aa9816d81070d0899fd10a

9 years agoMerge "Documentation cleanup in Content-related files"
jenkins-bot [Mon, 5 May 2014 15:13:07 +0000 (15:13 +0000)]
Merge "Documentation cleanup in Content-related files"

9 years agoDocumentation cleanup in Content-related files
Bartosz Dziewoński [Mon, 5 May 2014 15:04:10 +0000 (17:04 +0200)]
Documentation cleanup in Content-related files

Mostly extracted from I979e2438.

Change-Id: I6562d111c15425957eaaad31ded175811d7abf1c

9 years agoAPI: Check return value from $gitInfo->getHeadCommitDate()
Brad Jorsch [Mon, 5 May 2014 14:23:30 +0000 (10:23 -0400)]
API: Check return value from $gitInfo->getHeadCommitDate()

action=query&meta=siteinfo&siprop=extensions calls
$gitInfo->getHeadCommitDate() to attempt to find the commit date, but
does not check whether that function returned false before using the
value. This resulted in displaying the current date for "vcs-date" when
the function failed.

Bug: 64821
Change-Id: Ic39a74abe5160b3b7fbfb7c15323328d6b317560

9 years agoMove profile In/OUT call out of MWPHPUnitCommand
addshore [Mon, 5 May 2014 12:53:26 +0000 (13:53 +0100)]
Move profile In/OUT call out of MWPHPUnitCommand

Change-Id: I710fddc20e88745c9091432dff87b5e361c1f71a

9 years agoMove teardownTestDB and wfLogProfilingData out of MWPHPUnitCommand
addshore [Mon, 5 May 2014 12:43:00 +0000 (13:43 +0100)]
Move teardownTestDB and wfLogProfilingData out of MWPHPUnitCommand

Change-Id: Ic175c1457e7f76a2b5232a2b5d3563c5982cfee2

9 years agoMerge "Remove color opt setting from MediaWikiPHPUnitCommand"
jenkins-bot [Mon, 5 May 2014 12:25:49 +0000 (12:25 +0000)]
Merge "Remove color opt setting from MediaWikiPHPUnitCommand"

9 years agoRemove includepath stuff from MediaWikiPHPUnitCommand
addshore [Mon, 5 May 2014 12:17:22 +0000 (13:17 +0100)]
Remove includepath stuff from MediaWikiPHPUnitCommand

Change-Id: I949c1ca350a28c606fba7406e9904e836e596b49

9 years agoRemove color opt setting from MediaWikiPHPUnitCommand
addshore [Mon, 5 May 2014 11:39:40 +0000 (12:39 +0100)]
Remove color opt setting from MediaWikiPHPUnitCommand

Change-Id: I08d3b53f80520452aef3fcf2017747406a38664d

9 years agoMerge "Vector: Restore collapsibleNav design improvements"
jenkins-bot [Mon, 5 May 2014 11:25:13 +0000 (11:25 +0000)]
Merge "Vector: Restore collapsibleNav design improvements"

9 years agoMerge "Fix typos in WikitextContent.php"
jenkins-bot [Mon, 5 May 2014 09:23:25 +0000 (09:23 +0000)]
Merge "Fix typos in WikitextContent.php"

9 years agoMerge "Return $wgSitename as displayname for local repo in filerepoinfo API"
jenkins-bot [Mon, 5 May 2014 06:38:40 +0000 (06:38 +0000)]
Merge "Return $wgSitename as displayname for local repo in filerepoinfo API"

9 years agoFix typos in WikitextContent.php
withoutaname [Mon, 5 May 2014 05:17:11 +0000 (22:17 -0700)]
Fix typos in WikitextContent.php

Fix typos in documentation for
/core/includes/content/WikitextContent.php

Change-Id: Idc0d4d9101309cea858473c86a4b12cf6e5f5ee4

9 years agoVector: Restore collapsibleNav design improvements
Timo Tijhof [Sun, 4 May 2014 20:10:33 +0000 (22:10 +0200)]
Vector: Restore collapsibleNav design improvements

Follows-up db13c65 and c3d544412, which removed the
collapsibleNav module. However it also undid various design
changes that really should not have been part of the
collapsibleNav module but were significant, I've restored those.

Basically, this merges the old collapsibleNav.less into
navigation.less. I won't list all chnages, but here's a few:

* Increase spacing between heading and side of portal (via margin and
  padding on the portal, not on the heading itself).
  The headings were almost against the browser edge.

* Change color of heading slightly (#4d4d4d instead of #444).

* Move separator line from below each heading to between sidebar
  sections.

* Change spacing between list items from 0.5 on the bottom to
  0.25em on top and bottom (effectively the same, except aligns
  the first and last item better in relation to the heading and
  the separator line).

* (js-only enhancement) Mark first section with class "first",
  and remove the separator line, heading and offset from that one.

Also:

* Clean up 'h3' padding/margin situation.
  They were inheriting 0.3em of bottom margin from the global
  'h3' selector for content. This was a bit of a fragile
  dependency and was just a coincidence. Reset the margin against
  the global selector and added it to the local padding instead.
  No visual change.

* Remove unused less variables.

Change-Id: I979179a82c1de9b1b7d66310ebd5daf8e6aa1802

9 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Sun, 4 May 2014 20:05:50 +0000 (20:05 +0000)]
Localisation updates from https://translatewiki.net.

Change-Id: I3cfce4dbbfe6c17713ad4d824d2514feb9e2fb67

9 years agoVector: Remove unused collapsibleNav.less
Timo Tijhof [Sun, 4 May 2014 17:54:56 +0000 (19:54 +0200)]
Vector: Remove unused collapsibleNav.less

Follows-up db13c65.

Change-Id: I5fbfe4df5a7b7b3df8a295957eb8db1f2363014e

9 years agomediawiki.api: Don't apply file extension stripping to category names
rillke [Sat, 3 May 2014 19:34:23 +0000 (21:34 +0200)]
mediawiki.api: Don't apply file extension stripping to category names

`mw.Title#getNameText()` strips anything following a dot (.), assuming
it's a file name (which doesn't make sense for category names).

C.f. https://doc.wikimedia.org/mediawiki-core/master/js/#!/api/mw.Title-method-getMainText

This causes some trouble in UploadWizard's category-suggestion system.

This bug has been there since the very first version (cb0cf72eba9ff)
which, ironically, was specifically written for UploadWizard.

Bug: 64764
Change-Id: I2925e1050215272cdf03c8c6b1de6ba79348f6a5

9 years agoJSDuck-ify /resources/mediawiki.special/*
Timo Tijhof [Sun, 27 Apr 2014 15:40:18 +0000 (17:40 +0200)]
JSDuck-ify /resources/mediawiki.special/*

- Adds mw.special.recentchanges to the index.
- Adds mw.special.upload to the index.
- Register File as valid value type. Relates to the
  "File" interface (from HTML5 File APIs; http://dev.w3.org/2006/webapi/FileAPI/#dfn-file)
- Sort directories in jsduck/config.json alphabetically.

Change-Id: I282cbeeec60b9f527879aedd90ba824a833438b7

9 years agoMerge "mwjsduck-gen: Abort early and report exit code"
jenkins-bot [Sun, 4 May 2014 02:44:55 +0000 (02:44 +0000)]
Merge "mwjsduck-gen: Abort early and report exit code"

9 years agoMerge "Revert "jquery.textSelection: Remove hardcoded checks for removed WikiEditor...
jenkins-bot [Sun, 4 May 2014 02:39:01 +0000 (02:39 +0000)]
Merge "Revert "jquery.textSelection: Remove hardcoded checks for removed WikiEditor iframe mode""

9 years agoRevert "jquery.textSelection: Remove hardcoded checks for removed WikiEditor iframe...
Alex Monk [Sun, 4 May 2014 02:24:33 +0000 (02:24 +0000)]
Revert "jquery.textSelection: Remove hardcoded checks for removed WikiEditor iframe mode"

Appears to have broken CodeEditor

This reverts commit c40b6fa9b0a0e17729a75661f80e7882cb0598e1.

Change-Id: I6d04cb91527defe1fdb0d7fb2a324fe1417a89f7

9 years agoRemove collapsibleNav: performance cost too high
Federico Leva [Sat, 3 May 2014 11:12:46 +0000 (13:12 +0200)]
Remove collapsibleNav: performance cost too high

Appears to be unused by any extension in gerrit.

Bug: 39035
Change-Id: I220057c799bef7e8c4d964f47d56f61ec120d8c2

9 years agoMerge "Add action-history"
jenkins-bot [Sun, 4 May 2014 00:54:45 +0000 (00:54 +0000)]
Merge "Add action-history"

9 years agoAdd action-history
Ocean behind ears [Sat, 3 May 2014 19:06:21 +0000 (15:06 -0400)]
Add action-history

Bug: 48619
Change-Id: Iac95e401e6d9b3e67512c512221557d3b9b7a5bf

9 years agoMerge "Improve in-line documentation of $wgUrlProtocols; add 'redis://'"
jenkins-bot [Sat, 3 May 2014 22:04:36 +0000 (22:04 +0000)]
Merge "Improve in-line documentation of $wgUrlProtocols; add 'redis://'"

9 years agoImprove in-line documentation of $wgUrlProtocols; add 'redis://'
Ori Livneh [Sat, 3 May 2014 21:55:04 +0000 (14:55 -0700)]
Improve in-line documentation of $wgUrlProtocols; add 'redis://'

* RedisPubSubFeedEngine uses 'redis://' URLs. So does redis-py and many other
  client libraries. It should be recognized by MediaWiki. So add it.
* Remove in-line comments justifying each individual URL scheme.
  DefaultSettings.php is long enough; it doesn't need to moonlight as
  the annals of the history of MediaWiki development.
* Make the documentation of $wgUrlProtocols a bit more useful.

Change-Id: I4c2de67cc4e243659b0bed674e0ccd48221c57f3

10 years agomwjsduck-gen: Abort early and report exit code
Timo Tijhof [Sat, 3 May 2014 19:07:07 +0000 (21:07 +0200)]
mwjsduck-gen: Abort early and report exit code

This bash script is supposed to abort early with a non-zero
exit code if the jsduck test found any errors or warnings.

Change-Id: I2ae0976be866519dd9f41f4c02d78d300a494328

10 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Sat, 3 May 2014 19:57:04 +0000 (19:57 +0000)]
Localisation updates from https://translatewiki.net.

Change-Id: I5b35bd80d643c943aeb9a608b3299fd7d45cbf00

10 years agoReturn $wgSitename as displayname for local repo in filerepoinfo API
Gergő Tisza [Tue, 1 Apr 2014 22:55:47 +0000 (22:55 +0000)]
Return $wgSitename as displayname for local repo in filerepoinfo API

displayname is used in user interface texts to tell the user what
is the source of a file so returning null does not make sense
here.

Bug: 64800
Change-Id: Iafbc1a8e63b512d1515215fa1295e5b7434f1861

10 years agoJSON RC format: cast 'patrolled' and 'minor' to boolean
Ori Livneh [Sat, 3 May 2014 18:30:05 +0000 (11:30 -0700)]
JSON RC format: cast 'patrolled' and 'minor' to boolean

This makes them consistent with 'bot'.

Change-Id: Id4342eedee8176b0b76458bdaf8ca69c89857d47

10 years agoMerge "Use an actual URL for helppage in enotif_body"
jenkins-bot [Sat, 3 May 2014 16:00:59 +0000 (16:00 +0000)]
Merge "Use an actual URL for helppage in enotif_body"

10 years agoUse an actual URL for helppage in enotif_body
Federico Leva [Thu, 10 Apr 2014 16:11:06 +0000 (18:11 +0200)]
Use an actual URL for helppage in enotif_body

The helppage can be a full URL, which canonicalurl doesn't like.

This means that if a wiki
* has a custom enotif_body which uses canonicalurl + helppage, but
* doesn't have helppage defined locally (as local/interwiki title),
then it will still have to fix either of the two locally.

Bug: 63269
Change-Id: I82d26b648ef23b69ae4fbd0a74ffa23eb7a93dae

10 years agoMerge "Check for the namespace correctly in Special:Allmessages"
jenkins-bot [Sat, 3 May 2014 08:33:09 +0000 (08:33 +0000)]
Merge "Check for the namespace correctly in Special:Allmessages"

10 years agoAdded missing File::RENDER_NOW flag to thumb.php
Aaron Schulz [Fri, 2 May 2014 23:33:14 +0000 (16:33 -0700)]
Added missing File::RENDER_NOW flag to thumb.php

Change-Id: I5f05b09272ebcad5cf8409af7ad61d9e9004a2f0

10 years agoRemoved unused getZoneHandlerUrl() method
Aaron Schulz [Fri, 2 May 2014 22:22:46 +0000 (15:22 -0700)]
Removed unused getZoneHandlerUrl() method

* This was not terribly well conceived and is not used by anything.

Change-Id: Icb03477e2b33621949fab7c39fd06e28ac0777fc

10 years agoMaintain remember me state on password change
csteipp [Fri, 2 May 2014 18:29:07 +0000 (11:29 -0700)]
Maintain remember me state on password change

Fix regression from https://gerrit.wikimedia.org/r/#/c/94614/

Ensure that when users login with "remember me" selected, they get a
new remember me token after changing their password.

Change-Id: Ibbf0d823bd5ef5304bf6ad1b67966d18dfb3580c

10 years agoMerge "Update OOjs UI to v0.1.0-pre (9a6c625f5f)"
jenkins-bot [Fri, 2 May 2014 21:57:37 +0000 (21:57 +0000)]
Merge "Update OOjs UI to v0.1.0-pre (9a6c625f5f)"

10 years agoMerge "Update OOjs UI to v0.1.0-pre (e6edd86d37)"
jenkins-bot [Fri, 2 May 2014 21:57:35 +0000 (21:57 +0000)]
Merge "Update OOjs UI to v0.1.0-pre (e6edd86d37)"

10 years agoMerge "Localisation updates from https://translatewiki.net."
Translation updater bot [Fri, 2 May 2014 20:12:29 +0000 (20:12 +0000)]
Merge "Localisation updates from https://translatewiki.net."

10 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Fri, 2 May 2014 19:47:25 +0000 (19:47 +0000)]
Localisation updates from https://translatewiki.net.

Change-Id: I65fccf05eac621d55e6404631359d5add9499b1f

10 years agoRestore mediawiki.toc dependency on mediawiki.util
Timo Tijhof [Fri, 2 May 2014 19:45:44 +0000 (21:45 +0200)]
Restore mediawiki.toc dependency on mediawiki.util

Follows-up If0438b7b6f4649, which broken the toc toggle module
since it was no longer part of a global module (mediawiki.util)
but only added to individual pages by the parser.

While that is a superior load mechanism, it broke existing pages
due to parser cache. Not the general html cache for logged-out
users but the main parser cache, which affects logged-in users
as well.

Bug: 64765
Change-Id: Ia12998fb11c686e1cc965578f7beb31c79b1b12c

10 years agoUpdate OOjs UI to v0.1.0-pre (9a6c625f5f)
James D. Forrester [Fri, 2 May 2014 19:04:45 +0000 (12:04 -0700)]
Update OOjs UI to v0.1.0-pre (9a6c625f5f)

New changes:
9a6c625 Fix regression in frame style scoping

Change-Id: Ia8d4a7525d951a1b59c0c983262d868ed6d379ed

10 years agoMerge "Rename basic skinning modules: skins.common.* → mediawiki.skinning.*"
jenkins-bot [Fri, 2 May 2014 18:38:22 +0000 (18:38 +0000)]
Merge "Rename basic skinning modules: skins.common.* → mediawiki.skinning.*"

10 years agoMerge "jquery.makeCollapsible: Use the pointer cursor for all toggles"
jenkins-bot [Fri, 2 May 2014 18:24:52 +0000 (18:24 +0000)]
Merge "jquery.makeCollapsible: Use the pointer cursor for all toggles"

10 years agoMerge "jquery.textSelection: Remove hardcoded checks for removed WikiEditor iframe...
jenkins-bot [Fri, 2 May 2014 18:19:38 +0000 (18:19 +0000)]
Merge "jquery.textSelection: Remove hardcoded checks for removed WikiEditor iframe mode"

10 years agojquery.makeCollapsible: Use the pointer cursor for all toggles
Derk-Jan Hartman [Thu, 18 Jul 2013 17:39:45 +0000 (19:39 +0200)]
jquery.makeCollapsible: Use the pointer cursor for all toggles

Change-Id: I82030a5879782eb2475a3a4bc2e0bb2988add06a

10 years agoMerge "HtmlFormatter: fix check for empty ruleset"
jenkins-bot [Fri, 2 May 2014 18:00:37 +0000 (18:00 +0000)]
Merge "HtmlFormatter: fix check for empty ruleset"

10 years agoMerge "Made wfThumbIsStandard() aware of the width/height handler scaling choice"
jenkins-bot [Fri, 2 May 2014 17:59:16 +0000 (17:59 +0000)]
Merge "Made wfThumbIsStandard() aware of the width/height handler scaling choice"

10 years agoUpdate OOjs UI to v0.1.0-pre (e6edd86d37)
Roan Kattouw [Fri, 2 May 2014 17:42:57 +0000 (10:42 -0700)]
Update OOjs UI to v0.1.0-pre (e6edd86d37)

New changes:
e1c2ae8 [BREAKING CHANGE] Cleanup widget focus/select/clear methods

Change-Id: I7214257bcd33b400df4f7b1d8c2be317936f0cff

10 years agoRename basic skinning modules: skins.common.* → mediawiki.skinning.*
Bartosz Dziewoński [Tue, 29 Apr 2014 08:37:46 +0000 (10:37 +0200)]
Rename basic skinning modules: skins.common.* → mediawiki.skinning.*

For consistency in module naming: skins.* contains the modules for
particular skins, mediawiki.* contains the modules for core MediaWiki
itself. Clearly this belongs more to the latter than the former.
'skinning' is probably the best thing to name these to not sound silly
and avoid confusion with actual skins.

(The fact that there are files in skins/ that are not skin-related is
a remnant of bad decisions in the past. I want to clean that up as
well this year.)

Updated release notes and usages, kept old definitions for HTML
backwards-compatibility (for 30 days on WMF deployment).

I intend to backport this to 1.23 (sans the compatibility modules).
Otherwise the current module names become "public API" and we either
break compatibility later or support them forever.

Change-Id: I3947eaacd389eaba32f6fc8370395caec4aa1edb

10 years agoMerge "Fix API login after I7c957e1e"
jenkins-bot [Fri, 2 May 2014 15:53:59 +0000 (15:53 +0000)]
Merge "Fix API login after I7c957e1e"

10 years agoRelease notes for recent HTMLForm changes
Brad Jorsch [Tue, 11 Mar 2014 16:37:34 +0000 (12:37 -0400)]
Release notes for recent HTMLForm changes

Change-Id: I1828914e01eab6be0ce45b3f08b7a60242bd4c12

10 years agoHTMLForm: Add "cloner" type
Brad Jorsch [Fri, 7 Mar 2014 16:03:32 +0000 (11:03 -0500)]
HTMLForm: Add "cloner" type

SecurePoll is going to need the ability to have a form for stuff like
"one or more admin usernames" and "one or more poll questions, each with
one or more options".

This change implements a generic field container that simply displays as
a <ul> followed by an "add more" button, with each <li> containing
various fields including a "remove" button.

Since this is only going to show up in SecurePoll to people creating a
poll (not to general users), the current design is functional but not
necessarily beautiful. Those interested in beauty are welcome to do so
in a followup change.

Change-Id: I46fad3971739ddc961259fe32eb6e1cd265a1c06

10 years agoHTMLForm: Add hide-if
Brad Jorsch [Thu, 27 Feb 2014 17:14:38 +0000 (12:14 -0500)]
HTMLForm: Add hide-if

SecurePoll will need a way to display a field only if another field has
a particular value.

We already have this for a limited case in HTMLSelectOrOtherField; this
makes it possible to specify that any particular field should be hidden
based on any other field.

Change-Id: I5d2e6fb1efba0ad97647ac140e2b9a9ac0aee06e

10 years agoFix API login after I7c957e1e
Brad Jorsch [Fri, 2 May 2014 14:09:40 +0000 (10:09 -0400)]
Fix API login after I7c957e1e

Prior to change I7c957e1e, API logins were done as if the "keep me
logged in" checkbox was checked. That change altered this for no
apparent reason.

Bug: 64727
Change-Id: I7fcca2a1eabcac3b2c232cd05d9989af85cc3ed0

10 years agoCheck for the namespace correctly in Special:Allmessages
Amir E. Aharoni [Fri, 2 May 2014 11:31:09 +0000 (13:31 +0200)]
Check for the namespace correctly in Special:Allmessages

This is a followup to I21a6d4359faf9d86ce3b01e423e8c3ab4c02658f

It fixes an error there, which causes a lot of messages
not to appear.

This checks for the namespace of the page correctly.

Change-Id: I63a34a4d674454edf9627a5893ef9dd15643f927

10 years agoMerge "Made TransactionProfiler handle nested transactions to the same server/DB"
jenkins-bot [Fri, 2 May 2014 05:21:17 +0000 (05:21 +0000)]
Merge "Made TransactionProfiler handle nested transactions to the same server/DB"

10 years agoMerge "Initialize static input to null"
jenkins-bot [Fri, 2 May 2014 05:17:02 +0000 (05:17 +0000)]
Merge "Initialize static input to null"

10 years agoMade partial file download errors in Swift more useful
Aaron Schulz [Thu, 1 May 2014 19:34:42 +0000 (12:34 -0700)]
Made partial file download errors in Swift more useful

Change-Id: I97a5cd1ed38508468122e33968b88adf2570a9a3

10 years agoConsistency tweak: Add www. to mediawiki.org
Raimond Spekking [Thu, 1 May 2014 21:11:49 +0000 (23:11 +0200)]
Consistency tweak: Add www. to mediawiki.org

Change-Id: I14f69248fb65fc2c6f396910e3475b64606b380a

10 years agoHtmlFormatter: fix check for empty ruleset
Max Semenik [Wed, 30 Apr 2014 18:46:52 +0000 (11:46 -0700)]
HtmlFormatter: fix check for empty ruleset

This ensures that no unneeded HTML parse will occur

Change-Id: I2fae4bea555f823e5244c1430f9f3f43a3f78b71

10 years agoMerge "Localisation updates from https://translatewiki.net."
Translation updater bot [Thu, 1 May 2014 20:37:39 +0000 (20:37 +0000)]
Merge "Localisation updates from https://translatewiki.net."

10 years agoMerge "Expand core post edit functionality to match VE"
jenkins-bot [Thu, 1 May 2014 20:29:02 +0000 (20:29 +0000)]
Merge "Expand core post edit functionality to match VE"

10 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Thu, 1 May 2014 20:12:08 +0000 (20:12 +0000)]
Localisation updates from https://translatewiki.net.

Change-Id: Ia1b1f7e1cfdd30cb258acb2f12717a00a9edb32c

10 years agoInitialize static input to null
csteipp [Thu, 1 May 2014 19:58:46 +0000 (12:58 -0700)]
Initialize static input to null

Followup to I8710844f21d21cbbf28517b0cc25b0713b506bee.

Change-Id: I1163deeaf18a31480ed425c7aedd0024591fd4ce

10 years agoMerge "mediawiki.util.test: Suppress deprecation notice for jsMessage"
jenkins-bot [Thu, 1 May 2014 19:43:39 +0000 (19:43 +0000)]
Merge "mediawiki.util.test: Suppress deprecation notice for jsMessage"

10 years agoMade TransactionProfiler handle nested transactions to the same server/DB
Aaron Schulz [Thu, 1 May 2014 07:08:52 +0000 (00:08 -0700)]
Made TransactionProfiler handle nested transactions to the same server/DB

Change-Id: Ie4dfd4af88a9da76c76b21053bbd125c6ad3b193

10 years agoUpdate OOjs UI to v0.1.0-pre (301887f487)
James D. Forrester [Thu, 1 May 2014 19:36:20 +0000 (12:36 -0700)]
Update OOjs UI to v0.1.0-pre (301887f487)

New changes:
d641133 Add Agora theme dialogs

Change-Id: Ia43507e933bf728b6a8f1d15b2fc0ffb8e998ae3

10 years agoMerge "mediawiki.js: Move stray lines int global scope to closure"
jenkins-bot [Thu, 1 May 2014 19:33:49 +0000 (19:33 +0000)]
Merge "mediawiki.js: Move stray lines int global scope to closure"