lhc/web/wiklou.git
10 years agoMerge "Installer: Remove wgResourceLoaderMaxQueryLength in LocalSettings"
jenkins-bot [Thu, 4 Jul 2013 15:24:58 +0000 (15:24 +0000)]
Merge "Installer: Remove wgResourceLoaderMaxQueryLength in LocalSettings"

10 years agoMerge "Ignore now empty message for translation"
jenkins-bot [Thu, 4 Jul 2013 10:26:47 +0000 (10:26 +0000)]
Merge "Ignore now empty message for translation"

10 years agoIgnore now empty message for translation
raymond [Thu, 27 Jun 2013 07:37:36 +0000 (09:37 +0200)]
Ignore now empty message for translation

Followup to I2622b35e712120dc171ea44a887d6b42286f2a06

Change-Id: I235fe77381e2ef2c763de33b59373649b3b8a50b

10 years agoMerge "Use a UNIX timestamp in the LoggedOut cookie"
jenkins-bot [Thu, 4 Jul 2013 06:00:18 +0000 (06:00 +0000)]
Merge "Use a UNIX timestamp in the LoggedOut cookie"

10 years agoUse a UNIX timestamp in the LoggedOut cookie
Tim Starling [Sun, 26 May 2013 12:14:49 +0000 (14:14 +0200)]
Use a UNIX timestamp in the LoggedOut cookie

Since it is easier to interpret in VCL. The read side code strangely
does not need to be updated, and MW will continue to work with
cookies sent before this change, because wfTimestamp() automatically
detects the timestamp format.

Change-Id: I8c661b735b1de8e295d5d713a5ca959ee99e274e

10 years agoIn $wgConf, allow wgCanonicalServer to be false or absent
Tim Starling [Thu, 16 May 2013 23:12:32 +0000 (09:12 +1000)]
In $wgConf, allow wgCanonicalServer to be false or absent

According to the doc comment, $wgCanonicalServer can be false, and this
is equivalent to it being set to $wgServer. So don't require it to be
set for foreign wikis in $wgConf, just use the same interpretation.

This makes it slightly easier to set up CentralAuth test servers.

Change-Id: I5eb11669236ed2a71d08f53a1393a3d5e8f5f770

10 years agoMerge "doc: Improve documentation for mw.Map and mw#config"
jenkins-bot [Thu, 4 Jul 2013 05:44:42 +0000 (05:44 +0000)]
Merge "doc: Improve documentation for mw.Map and mw#config"

10 years agoFix protection rights usage
Brad Jorsch [Fri, 28 Jun 2013 17:20:00 +0000 (13:20 -0400)]
Fix protection rights usage

It has long been recognized that using the 'protect' right to control
the ability to edit sysop-protected pages is troublesome. r31247 fixed
this by adding an 'editprotected' right, but for some reason in r32164
this was changed to bypass protection completely instead of fixing the
bug identified in r31462.

This patch goes back to do it the right way: editprotected no longer
bypasses all protection, and it is used instead of 'protect' for
controlling access to sysop-protected pages. For good measure, the same
is done with autoconfirmed protection (semiprotection): a new
editsemiprotected right is created instead of overloading the
existing autoconfirmed right.

This also fixes bug 27152 by making editprotected no longer special.

Bug: 13137
Bug: 27152
Change-Id: I6bf650a3fbdab8589ae6945c8c916eafd949e41c

10 years agoMerge "updateCollation.php: sanity check the collation before proceeding"
jenkins-bot [Thu, 4 Jul 2013 05:26:18 +0000 (05:26 +0000)]
Merge "updateCollation.php: sanity check the collation before proceeding"

10 years agoupdateCollation.php: sanity check the collation before proceeding
MatmaRex [Sat, 18 May 2013 19:46:32 +0000 (21:46 +0200)]
updateCollation.php: sanity check the collation before proceeding

In some cases the constructor will work, but trying to access first
letter data will raise an exception, breaking all category pages.

Bug: 46615
Change-Id: I77de040f97080653fe0d1734d38490eaa2d322db

10 years agoAdd wgIsProbablyEditable for editability based on quickUserCan.
Matthew Flaschen [Thu, 23 May 2013 04:31:11 +0000 (00:31 -0400)]
Add wgIsProbablyEditable for editability based on quickUserCan.

It uses quickUserCan like SkinTemplate, for performance reasons.

Bug: 43790
Change-Id: I2f77b69624cc1a4cd74c8178eea53681f3f2b107

10 years agoMerge "Add 'viewmyprivateinfo', 'editmyprivateinfo', and 'editmyoptions' rights"
jenkins-bot [Thu, 4 Jul 2013 04:25:08 +0000 (04:25 +0000)]
Merge "Add 'viewmyprivateinfo', 'editmyprivateinfo', and 'editmyoptions' rights"

10 years agodoc: Improve documentation for mw.Map and mw#config
Timo Tijhof [Mon, 24 Jun 2013 23:35:29 +0000 (16:35 -0700)]
doc: Improve documentation for mw.Map and mw#config

* Link to the list on mediawiki.org
* Document it as type mw.Map instead of implied from code (= null)
  the fact that the literal code in mediawiki.js is a placeholder
  is an implementation detail that shouldn't be in the API docs.
* Add example for mw.Map.

Change-Id: I5c3ff272e605ee3825320f27aec32a4b4bf18ee2

10 years agoCSSJanus: Fix handling of CSS3 color syntaxes
MatmaRex [Thu, 6 Jun 2013 15:33:37 +0000 (17:33 +0200)]
CSSJanus: Fix handling of CSS3 color syntaxes

The 'color' rule, and by extension 'four_notation_color' too,
only understood #rrggbb and named colors. Extend it to match
rgb[a](...) and hsl[a](...) syntaxes as well.

This makes usage of rgb(a)/hsl(a) syntax in declarations like
'border-color: a b c d;' be interpreted and flipped correctly.

Change-Id: I218a9aa55a86b3d955b92375c1a209fdde312138

10 years agoEnable @example for jsduck index
Timo Tijhof [Wed, 26 Jun 2013 23:33:51 +0000 (16:33 -0700)]
Enable @example for jsduck index

Change-Id: Ifa38338b797413b6ad54c49f508cabe21c1565ea

10 years agoFix occasional collapsibleTabs JS error
Roan Kattouw [Thu, 4 Jul 2013 00:54:33 +0000 (17:54 -0700)]
Fix occasional collapsibleTabs JS error

vector/vector.js depends on $.fn.collapsibleTabs, but that's defined in
vector/collapsibleTabs.js which is loaded *after*. The only reason it
worked most of the time is because the invocation is wrapped in a document
ready callback. Most of the time, the document isn't ready yet when
vector.js runs, so the callback is deferred and $.fn.collapsibleTabs is
created before the callback runs. But if the document is already ready,
the callback runs immediately without $.fn.collapsibleTabs having been
created yet, and so it throws an error.

Fixed by including the .js files in the proper order.

Change-Id: If101efe82970bda7a39d827ce3c668abad6a5f5e

10 years agoFixed file purge script to handle NULL archive names
Aaron Schulz [Wed, 3 Jul 2013 23:23:55 +0000 (16:23 -0700)]
Fixed file purge script to handle NULL archive names

Change-Id: Icbff842694039e018850f1fa320f6e3d5b403aac

10 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Wed, 3 Jul 2013 19:41:20 +0000 (19:41 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I8cd827a5fece398cc94f0ca6ece76fe32811dcd9

10 years agoAdd 'viewmyprivateinfo', 'editmyprivateinfo', and 'editmyoptions' rights
Brad Jorsch [Mon, 10 Jun 2013 19:30:43 +0000 (15:30 -0400)]
Add 'viewmyprivateinfo', 'editmyprivateinfo', and 'editmyoptions' rights

These are needed for OAuth grants.

Note that we don't bother with a 'viewmyoptions' right, since the
majority will be determinable from just observing the interface.

Note that the fact of having a confirmed email address cannot be
reliably hidden, and if the user has 'sendemail' they may be able to
determine the real name and email address by sending an email to another
account that they control.

Change-Id: I3f03dd010020e8d43cc2d3bca7b3ef7196d1c548

10 years agoFixed $wgCookieExpiration functionality when set to 0.
Tyler Anthony Romeo [Tue, 30 Apr 2013 17:07:40 +0000 (13:07 -0400)]
Fixed $wgCookieExpiration functionality when set to 0.

When $wgCookieExpiration is set to 0, cookies should
by default expire when the browser closes. However,
MediaWiki accidentally interpreted this as the cookies
expiring 0 seconds from the request time.

Bug: 47886
Change-Id: Ib988ad18574122a56b0d11c8888c7c41d94dea6e

10 years agoMerge "Make brackets in section edit links accessible to CSS"
jenkins-bot [Tue, 2 Jul 2013 22:48:19 +0000 (22:48 +0000)]
Merge "Make brackets in section edit links accessible to CSS"

10 years agoMerge "deprecate ChangesList::usePatrol"
jenkins-bot [Tue, 2 Jul 2013 22:43:23 +0000 (22:43 +0000)]
Merge "deprecate ChangesList::usePatrol"

10 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Tue, 2 Jul 2013 19:09:50 +0000 (19:09 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I597f6e63ab1dea1e7462785d18245a280fb78f3f

10 years agoMake brackets in section edit links accessible to CSS
MatmaRex [Fri, 17 May 2013 18:34:08 +0000 (20:34 +0200)]
Make brackets in section edit links accessible to CSS

Each is now wrapped in <span class="mw-editsection-bracket" />.

The 'editsection-brackets' optional message, a hack added back in 2007
(43b05c00 / r23645), was removed and hardcoded again to facilitate this.

Bug: 48256
Change-Id: Id27555c6dee250eafeefa97ae8927438fd65b8d7

10 years agoMerge "Improve behavior of IP::toUnsigned on Windows"
jenkins-bot [Tue, 2 Jul 2013 17:14:21 +0000 (17:14 +0000)]
Merge "Improve behavior of IP::toUnsigned on Windows"

10 years agoMerge "Remove the EditSectionLink hook"
jenkins-bot [Tue, 2 Jul 2013 17:04:46 +0000 (17:04 +0000)]
Merge "Remove the EditSectionLink hook"

10 years agoMerge "Allow creation of empty MediaWiki: pages"
Brion VIBBER [Tue, 2 Jul 2013 17:01:37 +0000 (17:01 +0000)]
Merge "Allow creation of empty MediaWiki: pages"

10 years agoAllow creation of empty MediaWiki: pages
MatmaRex [Mon, 1 Jul 2013 11:25:41 +0000 (13:25 +0200)]
Allow creation of empty MediaWiki: pages

This is useful now since it's possible to disable messages by blanking
them (see bug 14176).

Instead disallow creation of page contents equivalent to the default
message to serve the same purpose as disallowing blanking did (prevent
edits which wouldn't change anything anyway; the edit form is even
prefilled with the default contents).

Bug: 50124
Change-Id: I070036f341b866cda67eb928c5b74ad2ce6c527c

10 years agodeprecate ChangesList::usePatrol
aude [Tue, 2 Jul 2013 09:29:12 +0000 (09:29 +0000)]
deprecate ChangesList::usePatrol

not used anywhere in core, not used in wmf-enabled extensions,
and used little or not at all elsewhere.

Change-Id: I9957696f025190d863a472e4512eb214b9cb5ada

10 years agoMerge "Clear shallowFallbacks in LocalisationCache::unload"
jenkins-bot [Tue, 2 Jul 2013 02:18:24 +0000 (02:18 +0000)]
Merge "Clear shallowFallbacks in LocalisationCache::unload"

10 years agoskin: Convert table of contents from <table> to <div>
MatmaRex [Fri, 21 Dec 2012 19:26:29 +0000 (20:26 +0100)]
skin: Convert table of contents from <table> to <div>

It makes no sense semantically; it was only used to make the TOC not
span full width of the page, which is easily achieved with CSS.

Bug: 658
Change-Id: I4ecd0659d1f955a9b593d281a3fef0a81c218a52

10 years agoMerge "SquidUpdate debug message are now in 'squid' group"
jenkins-bot [Mon, 1 Jul 2013 22:02:48 +0000 (22:02 +0000)]
Merge "SquidUpdate debug message are now in 'squid' group"

10 years agoMerge "Implement mw.toolbar.addButtons"
jenkins-bot [Mon, 1 Jul 2013 21:13:48 +0000 (21:13 +0000)]
Merge "Implement mw.toolbar.addButtons"

10 years agoMerge "Drop a code path in wfBCP47() which is never reached."
jenkins-bot [Mon, 1 Jul 2013 20:55:53 +0000 (20:55 +0000)]
Merge "Drop a code path in wfBCP47() which is never reached."

10 years agoClear shallowFallbacks in LocalisationCache::unload
Brad Jorsch [Mon, 1 Jul 2013 20:31:53 +0000 (16:31 -0400)]
Clear shallowFallbacks in LocalisationCache::unload

When a language code is unloaded, it also needs to clear the
shallowFallbacks entry. Otherwise the next time that language is used it
will incorrectly think that the other setup done by initShallowFallbacks
is still set up, leading to warnings.

Change-Id: Idf6a78f56a3bb864cc921427ac82972594610047

10 years agoMerge "wfBCP47Test: Remove commented-out testcases"
jenkins-bot [Mon, 1 Jul 2013 20:51:21 +0000 (20:51 +0000)]
Merge "wfBCP47Test: Remove commented-out testcases"

10 years agoDrop a code path in wfBCP47() which is never reached.
Liangent [Sun, 30 Jun 2013 19:51:58 +0000 (19:51 +0000)]
Drop a code path in wfBCP47() which is never reached.

count( $codeSegment ) > 0 should be never true in a foreach loop of
$codeSegment itself. See also Iffe166f3.

Change-Id: I453b5ec3379951a2ad6e34b9835907c2eba3046b

10 years agowfBCP47Test: Remove commented-out testcases
MatmaRex [Sun, 30 Jun 2013 19:21:37 +0000 (21:21 +0200)]
wfBCP47Test: Remove commented-out testcases

They would all pass anyway, but the functionality is already tested
elsewhere in the file.

Change-Id: Iffe166f3480df0b104e09e41dd8d3023d43b9aa7

10 years agoImplement mw.toolbar.addButtons
helder.wiki [Wed, 26 Sep 2012 14:52:57 +0000 (11:52 -0300)]
Implement mw.toolbar.addButtons

Example:

```
var skinPath;
if ( mw.toolbar ) {
    skinPath = mw.config.get( 'stylepath' );
    mw.toolbar.addButtons( [ {
        imageFile: skinPath + '/common/images/button_bold.png',
        speedTip: 'add foo tag',
        tagOpen: '<foo>',
        tagClose: '</foo>',
        sampleText: 'foo here',
        imageId: 'foo-id'
    }, {
        // ..
    } ] );

    mw.toolbar.addButtons( {
        imageFile: skinPath + '/common/images/button_bold.png',
        speedTip: 'add foo tag',
        tagOpen: '<foo>',
        tagClose: '</foo>',
        sampleText: 'foo here',
        imageId: 'foo-id'
    }, {
        // ..
    } );

    mw.toolbar.addButton( {
        imageFile: skinPath + '/common/images/button_link.png',
        speedTip: 'add baz tag',
        tagOpen: '<baz>',
        tagClose: '</baz>',
        sampleText: 'baz here',
        imageId: 'baz-id'
    } );

    mw.toolbar.addButton(
        skinPath + '/common/images/button_link.png',
        'add baz2 tag',
        '<baz2>',
        '</baz2>',
        'baz2 here',
        'baz2-id'
    );
}
```

Clean up:
* Rename currentFocused to $currentFocused (we are using jQuery);
* Add missing dependency 'mediawiki.legacy.wikibits', since this
  module uses the array window.mwCustomEditButtons.

Bug: 40518
Change-Id: I76d1f753cb9e1c119d9b5e7f565acd684f5516d1

10 years agoMerge "Set taborder on Special:ActiveUsers"
jenkins-bot [Mon, 1 Jul 2013 20:05:50 +0000 (20:05 +0000)]
Merge "Set taborder on Special:ActiveUsers"

10 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Mon, 1 Jul 2013 19:39:13 +0000 (19:39 +0000)]
Localisation updates from translatewiki.net.

Change-Id: Idfa4331722672da932fe8a124bc9618de0e31fea

10 years agoDependency inject DB into ManualLogEntry::insert()
Aaron Schulz [Mon, 1 Jul 2013 18:26:45 +0000 (11:26 -0700)]
Dependency inject DB into ManualLogEntry::insert()

Change-Id: I5018a6ef6095929edca444ad2d901adcf8680ed2

10 years agoMerge "test: skip math parser tests when missing $wgTexvc"
TheDJ [Mon, 1 Jul 2013 17:06:22 +0000 (17:06 +0000)]
Merge "test: skip math parser tests when missing $wgTexvc"

10 years agoMerge "Change "permissions errors" message to "permission error""
jenkins-bot [Mon, 1 Jul 2013 16:40:25 +0000 (16:40 +0000)]
Merge "Change "permissions errors" message to "permission error""

10 years agoChange "permissions errors" message to "permission error"
Molly White [Sat, 13 Apr 2013 18:54:14 +0000 (14:54 -0400)]
Change "permissions errors" message to "permission error"

This message typically only reports a single error.

Bug: 44507
Change-Id: I91848f98e59bddb4c33bb6ca4d5d9a2ebeeafada

10 years agoMerge "jquery.tablesorter: Support sortable column headers with rowspans"
jenkins-bot [Mon, 1 Jul 2013 15:43:23 +0000 (15:43 +0000)]
Merge "jquery.tablesorter: Support sortable column headers with rowspans"

10 years agojquery.tablesorter: Support sortable column headers with rowspans
Derk-Jan Hartman [Thu, 25 Apr 2013 15:48:54 +0000 (17:48 +0200)]
jquery.tablesorter: Support sortable column headers with rowspans

Bug: 38911
Change-Id: I172c3a610b28498334f80a7808663bab7fb0466c

10 years agoSet taborder on Special:ActiveUsers
Alex Monk [Mon, 1 Jul 2013 14:51:20 +0000 (15:51 +0100)]
Set taborder on Special:ActiveUsers

Order: 'Display users starting at' text box, hide bots checkbox, hide admins checkbox, go button

Bug: 43558
Change-Id: Ib32b43324abd0295b029f9b8e6c5af17b6570d4f

10 years agoMerge "RecentChanges, RecentChangesLinked, Watchlist: message when no items"
jenkins-bot [Mon, 1 Jul 2013 14:31:50 +0000 (14:31 +0000)]
Merge "RecentChanges, RecentChangesLinked, Watchlist: message when no items"

10 years agoRecentChanges, RecentChangesLinked, Watchlist: message when no items
MatmaRex [Mon, 20 May 2013 14:09:01 +0000 (16:09 +0200)]
RecentChanges, RecentChangesLinked, Watchlist: message when no items

Use consistent message in RecentChanges, RecentChangesLinked, and
Watchlist when there are no items to be shown.

Previously RecentChanges just showed empty space and
RecentChangesLinked and Watchlist used two different messages.
Harmonized both the text and the code.

Message added: 'recentchanges-noresult'
Messages removed: 'recentchangeslinked-noresult', 'watchnochange'

Change-Id: Idf9f7a8422d9ad13dc46c69ee284b04cbbe211b7

10 years agoSquidUpdate debug message are now in 'squid' group
Antoine Musso [Mon, 1 Jul 2013 13:16:43 +0000 (15:16 +0200)]
SquidUpdate debug message are now in 'squid' group

To debug purging issues in beta, it would be useful to have all squid
related messages grouped at the same place.  wfDebug() is logged on beta
but it has a good amount of spam which is not that useful.  Regrouping
all squid operations under the debug log group 'squid' will make it
easier to investigate.

Change-Id: I11112585f38307ae56ec3e05e7a8d6d9dab31bfa

10 years agoMerge "Set taborder for Special:ListFiles"
jenkins-bot [Mon, 1 Jul 2013 10:15:45 +0000 (10:15 +0000)]
Merge "Set taborder for Special:ListFiles"

10 years agoSet taborder for Special:ListFiles
Alex Monk [Sun, 17 Feb 2013 22:52:28 +0000 (22:52 +0000)]
Set taborder for Special:ListFiles

Order: Items per page, name prefix (if there's no miser mode), username, and submit button

Bug: 43556
Change-Id: Ic0ce1893c3da8e127584cbc90a400d45e3d715f6

10 years agoMagicWord: Remove some commented-out code
MatmaRex [Sun, 30 Jun 2013 22:55:41 +0000 (00:55 +0200)]
MagicWord: Remove some commented-out code

Change-Id: I62014cd09b4033be0c958da2527911368fff141a

10 years agoMerge "copy paste comment should probably have end instead of start"
jenkins-bot [Sun, 30 Jun 2013 21:46:11 +0000 (21:46 +0000)]
Merge "copy paste comment should probably have end instead of start"

10 years agoMerge "Lossless PNG compression..."
jenkins-bot [Sun, 30 Jun 2013 21:35:31 +0000 (21:35 +0000)]
Merge "Lossless PNG compression..."

10 years agoLossless PNG compression...
Reedy [Tue, 23 Apr 2013 10:57:31 +0000 (11:57 +0100)]
Lossless PNG compression...

Change-Id: I392f050e8ba1b5b1d28bc958a124cb237d8ea4b6

10 years agoMerge "HTMLCheckMatrix: Create the exceptions to be thrown directly"
jenkins-bot [Sun, 30 Jun 2013 21:19:14 +0000 (21:19 +0000)]
Merge "HTMLCheckMatrix: Create the exceptions to be thrown directly"

10 years agoHTMLCheckMatrix: Create the exceptions to be thrown directly
Platonides [Tue, 4 Jun 2013 21:54:20 +0000 (23:54 +0200)]
HTMLCheckMatrix: Create the exceptions to be thrown directly

Instead of using a function to create itself. Just like it's done
everywhere else in the code.

Change-Id: Ib080a3eb2fc2c173f8bf07289beb976824447357

10 years agoAdd release notes for 7120504bb (Id67227074).
Tyler Anthony Romeo [Sat, 1 Jun 2013 00:26:43 +0000 (20:26 -0400)]
Add release notes for 7120504bb (Id67227074).

Change-Id: I8ca71512dc598b41c19a27cd8e9b0c359a74e7e2

10 years agoMerge "Fix various language tags used in Html attribs to use wfBCP47()"
jenkins-bot [Sun, 30 Jun 2013 19:07:00 +0000 (19:07 +0000)]
Merge "Fix various language tags used in Html attribs to use wfBCP47()"

10 years agoMerge "Re-grouping and ordering the editing preferences"
jenkins-bot [Sun, 30 Jun 2013 18:18:41 +0000 (18:18 +0000)]
Merge "Re-grouping and ordering the editing preferences"

10 years agoFix various language tags used in Html attribs to use wfBCP47()
Liangent [Sat, 23 Mar 2013 08:07:33 +0000 (08:07 +0000)]
Fix various language tags used in Html attribs to use wfBCP47()

Change-Id: I823ffacf5a55e53d6ab5383c1a42a9199d56f11d

10 years agoMerge "Fix undo edit summary when the user who made the old revision is hidden"
jenkins-bot [Sun, 30 Jun 2013 17:25:01 +0000 (17:25 +0000)]
Merge "Fix undo edit summary when the user who made the old revision is hidden"

10 years agoMerge "Display "Printable version" links in toolbox on special pages"
jenkins-bot [Sun, 30 Jun 2013 17:14:13 +0000 (17:14 +0000)]
Merge "Display "Printable version" links in toolbox on special pages"

10 years agoMerge "Set initial focus on some special pages"
jenkins-bot [Sun, 30 Jun 2013 17:07:01 +0000 (17:07 +0000)]
Merge "Set initial focus on some special pages"

10 years agoSet initial focus on some special pages
Alex Monk [Sun, 17 Feb 2013 17:17:00 +0000 (17:17 +0000)]
Set initial focus on some special pages

* Special:Userrights - username (bug 43557)
* Special:Undelete - search prefix and reason (bug 43559)
* Special:BookSources - ISBN (bug 43561)

Bug: 43557
Bug: 43559
Bug: 43561
Change-Id: Idda08ffb3ca3d84d2adb89e5bc5f8e494d491486

10 years agoMerge "On submitted revdel form, prefill selected reason dropdown"
jenkins-bot [Sun, 30 Jun 2013 16:54:03 +0000 (16:54 +0000)]
Merge "On submitted revdel form, prefill selected reason dropdown"

10 years agoMerge "Add ID to action=info table rows"
jenkins-bot [Sun, 30 Jun 2013 16:30:37 +0000 (16:30 +0000)]
Merge "Add ID to action=info table rows"

10 years agoRe-grouping and ordering the editing preferences
TMg [Sat, 25 May 2013 15:01:27 +0000 (17:01 +0200)]
Re-grouping and ordering the editing preferences

Arange the settings in three groups: How to call the editor, how
the editor looks and how the preview works. The only toolbar
preference is at the bottom because the WikiEditor extension adds
its stuff there. All the preferences are untouched. This does not
add or remove a preference.

Goes with Id8b9a47a in the WikiEditor extension.

Change-Id: I429c8125b8db789d2756d61249f6cf1fa7f2f51c

10 years agorunOnloadHook is now only called from wikibits. Remove old comment
Matthew Flaschen [Sun, 30 Jun 2013 02:04:17 +0000 (22:04 -0400)]
runOnloadHook is now only called from wikibits.  Remove old comment

Change-Id: I01ad82b5ab6a0e006001b5b5073f57758cb20502

10 years agoMerge "Make list=logevents display log entries by anonymous users"
jenkins-bot [Sat, 29 Jun 2013 20:04:07 +0000 (20:04 +0000)]
Merge "Make list=logevents display log entries by anonymous users"

10 years agoMake list=logevents display log entries by anonymous users
Alex Monk [Sat, 29 Jun 2013 19:18:38 +0000 (20:18 +0100)]
Make list=logevents display log entries by anonymous users

Also fix warnings being shown and "anon" property being given to non-anon entries
when "userid" leprop was used but no "user".

Bug: 50315
Change-Id: I4df1c8c1040fb39d75ead5851d42b02d9de87a5a

10 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Sat, 29 Jun 2013 19:17:46 +0000 (19:17 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I115bb6c3ccdd8c49893f4c46acddad23299fead2

10 years agoMerge "docs: Fix member index for mw.html"
jenkins-bot [Sat, 29 Jun 2013 14:22:18 +0000 (14:22 +0000)]
Merge "docs: Fix member index for mw.html"

10 years agoMerge "Fix return types in documentation"
jenkins-bot [Sat, 29 Jun 2013 01:21:35 +0000 (01:21 +0000)]
Merge "Fix return types in documentation"

10 years agoFix return types in documentation
jeroendedauw [Fri, 28 Jun 2013 21:48:31 +0000 (23:48 +0200)]
Fix return types in documentation

Change-Id: I726e6201a737ab406dd0e46754d2bbbd95e769b4

10 years agoMerge "New function Language::getParentLanguage()."
jenkins-bot [Fri, 28 Jun 2013 15:15:04 +0000 (15:15 +0000)]
Merge "New function Language::getParentLanguage()."

10 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Fri, 28 Jun 2013 13:22:00 +0000 (13:22 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I90f14b88ea9fd4cf27e0c77817f15aa1d735a773

10 years agoMerge "API: Add prop=sha1 to list=recentchanges"
jenkins-bot [Fri, 28 Jun 2013 00:12:03 +0000 (00:12 +0000)]
Merge "API: Add prop=sha1 to list=recentchanges"

10 years agoSync up with Parsoid tests
Gabriel Wicke [Thu, 27 Jun 2013 21:46:20 +0000 (14:46 -0700)]
Sync up with Parsoid tests

Change-Id: Id1d80a581564d0365c04953da4f41b086a2bc0d8

10 years agoMerge "Localisation updates from http://translatewiki.net."
Translation updater bot [Thu, 27 Jun 2013 19:58:39 +0000 (19:58 +0000)]
Merge "Localisation updates from translatewiki.net."

10 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Thu, 27 Jun 2013 19:35:40 +0000 (19:35 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I943e34620f78a0af8ee078c918b14e3521957a12

10 years agoPreserve returnto when upload requires logging in
Matthew Flaschen [Fri, 21 Jun 2013 02:13:18 +0000 (22:13 -0400)]
Preserve returnto when upload requires logging in

Changes link text to loginreqlink message since
OutputPage->showPermissionsErrorPage passes that in.

Change-Id: Iebde4398cdb74eb2fcc441601f074c93a7ad6073

10 years agoMerge "Allow uca-sv@collation=standard to be a collation name."
jenkins-bot [Thu, 27 Jun 2013 18:48:21 +0000 (18:48 +0000)]
Merge "Allow uca-sv@collation=standard to be a collation name."

10 years agoAllow uca-sv@collation=standard to be a collation name.
Brian Wolff [Sat, 23 Mar 2013 23:17:29 +0000 (20:17 -0300)]
Allow uca-sv@collation=standard to be a collation name.

The "standard" collation for Swedish sorts V and W
only as secondary differences. Compare this to
the "reformed" collation which sorts them
as separate letters. Which collation is default
for sv seems to vary on icu version, but for icu 4.8
(which wmf uses) reformed is default. svwikisource
wants to use the "standard" collation.

Change-Id: I051590cf687ddea2e2cd84203d6e8eed3a6efd99

10 years agoMerge "Add fa to collation list."
jenkins-bot [Thu, 27 Jun 2013 18:27:58 +0000 (18:27 +0000)]
Merge "Add fa to collation list."

10 years agoRemove the EditSectionLink hook
MatmaRex [Fri, 17 May 2013 18:19:40 +0000 (20:19 +0200)]
Remove the EditSectionLink hook

Deprecated since 1.14. Not used by any extensions in gerrit.

Change-Id: I5f4b381496d1e005add9bbcd9e86d4390491e0d0

10 years agotest: skip math parser tests when missing $wgTexvc
Antoine Musso [Fri, 21 Jun 2013 15:39:29 +0000 (17:39 +0200)]
test: skip math parser tests when missing $wgTexvc

The Math extension has at least one test marked with the parsertest
option 'texvc'.  We now use it to detects whether $wgTexvc points to an
executable binary and would skip such parser tests if not.

'math' option is kept for backward compatibility, just in case.

Math extension has been updated to use this as of
https://gerrit.wikimedia.org/r/#/c/69873/

bug: 49884
Change-Id: I992b5a5b7aac067f1e368cb3eeba224c056b76f9

10 years agoMerge "Further improve load order of RC and watchlist styling"
jenkins-bot [Thu, 27 Jun 2013 09:49:08 +0000 (09:49 +0000)]
Merge "Further improve load order of RC and watchlist styling"

10 years agoFurther improve load order of RC and watchlist styling
Derk-Jan Hartman [Thu, 13 Jun 2013 23:47:43 +0000 (01:47 +0200)]
Further improve load order of RC and watchlist styling

This mainly addresses a regression in
I639a5ccbc3b7b2794e7b12ecb64e5ee6b10a640a, causing the bolding of
unread titles to be applied trough JS loading of the CSS.

Bug: 49610
Change-Id: I5cc20a342ebb566262e3aa1e9fe2cdf866a662c3

10 years agodocs: Fix member index for mw.html
Timo Tijhof [Thu, 27 Jun 2013 00:17:44 +0000 (17:17 -0700)]
docs: Fix member index for mw.html

Method mw.html#element was indexed as being a member of
class mw.html.Cdata due to the lack of an explicit @member
tag, so it defaulted to linear association to the previous
@class block.

Quick fix can be done inline with @member but might as well
do it propert and separate the linear sequences.

Change-Id: I22580a6257a681a30e1ecd7c1283b57d7cb730f2

10 years agodatabase: Improve DatabaseMysql::masterPosWait() performance by caching the position
Aaron Schulz [Thu, 23 May 2013 00:23:21 +0000 (17:23 -0700)]
database: Improve DatabaseMysql::masterPosWait() performance by caching the position

* This is useful for things like loads of refreshLinks jobs that call wfGetLB()->waitFor().

Change-Id: I05a564a3b73999517fec2476ed946e092c16c3d4

10 years agoMerge "Add user rights 'viewmywatchlist', 'editmywatchlist'"
jenkins-bot [Wed, 26 Jun 2013 23:19:28 +0000 (23:19 +0000)]
Merge "Add user rights 'viewmywatchlist', 'editmywatchlist'"

10 years agoMerge "Fix getPageDimensions failure handling"
jenkins-bot [Wed, 26 Jun 2013 22:57:49 +0000 (22:57 +0000)]
Merge "Fix getPageDimensions failure handling"

10 years agoMerge "benchmarks: README file having run recommendations"
Parent5446 [Wed, 26 Jun 2013 22:55:49 +0000 (22:55 +0000)]
Merge "benchmarks: README file having run recommendations"

10 years agoMerge "Change autocomment-prefix to be blank. Looks weird being '- '"
jenkins-bot [Wed, 26 Jun 2013 22:23:29 +0000 (22:23 +0000)]
Merge "Change autocomment-prefix to be blank. Looks weird being '- '"

10 years agoMerge "DifferenceEngine: Don't display empty header row"
jenkins-bot [Wed, 26 Jun 2013 22:13:06 +0000 (22:13 +0000)]
Merge "DifferenceEngine: Don't display empty header row"

10 years agoFix getPageDimensions failure handling
Brian Wolff [Tue, 16 Apr 2013 21:34:43 +0000 (18:34 -0300)]
Fix getPageDimensions failure handling

getPageDimensions returning false for failure wasn't being handled
properly, causing ugly output. The doc comment on that method was
wrong as well.

Most notably causing random whitespace output:
https://commons.wikimedia.org/wiki/?curid=22151015
(screenshot: http://i.imgur.com/c21EpVx.png).

Bug: 41281
Change-Id: I1a49474309e15808928f877dfc29ae366d028928

10 years agoMerge "Remove unnecessary clears"
jenkins-bot [Wed, 26 Jun 2013 22:01:12 +0000 (22:01 +0000)]
Merge "Remove unnecessary clears"