lhc/web/wiklou.git
9 years agoMerge "Made LocalFile move/delete/restore handle network partitions better"
jenkins-bot [Thu, 21 Aug 2014 15:38:10 +0000 (15:38 +0000)]
Merge "Made LocalFile move/delete/restore handle network partitions better"

9 years agoMerge "Title::getContentModel(): load from DB if necessary"
jenkins-bot [Thu, 21 Aug 2014 15:31:20 +0000 (15:31 +0000)]
Merge "Title::getContentModel(): load from DB if necessary"

9 years agoUpdate OOjs UI to v0.1.0-pre (944c47c5fe)
James D. Forrester [Thu, 21 Aug 2014 00:23:53 +0000 (17:23 -0700)]
Update OOjs UI to v0.1.0-pre (944c47c5fe)

New changes:
36ae086 Use a pollNode for every transplanted stylesheet, not just external ones
a1771ed Support nested style transplantation
8c60d3c Create a combo box widget
944c47c Update oojs to v1.0.12

Change-Id: I800bb36b80d04e165e9fa9b00ed8a5223f2d954b

9 years agoTitle::getContentModel(): load from DB if necessary
Kevin Israel [Wed, 20 Aug 2014 21:46:11 +0000 (17:46 -0400)]
Title::getContentModel(): load from DB if necessary

Also don't cast $model to int in LinkCache::addGoodLinkObj(); content
model IDs are non-numeric strings, not integers, so that field was
always populated with the value 0. Because 0 is a falsy value, this
caused subsequent calls to Title::getContentModel() to return the
default model rather than the correct one.

Also (hopefully) fixed every single query that could cause a
LinkCache entry to be added without the content model.

Bug: 69789
Change-Id: I94f06baf406afa538cd2b10139598442f9fc6759

9 years agoUpdate OOjs to v1.0.12
James D. Forrester [Wed, 20 Aug 2014 22:35:43 +0000 (15:35 -0700)]
Update OOjs to v1.0.12

Release notes:
 https://git.wikimedia.org/blob/oojs%2Fcore.git/v1.0.12/History.md

Change-Id: I5542d1cf5aad4d4fd78a04f6bea7a27cbabf055a

9 years agoAdd support for adding deferred update within a deferred update
bsitu [Tue, 19 Aug 2014 22:23:05 +0000 (15:23 -0700)]
Add support for adding deferred update within a deferred update

Under some configurations all Echo notifications are inserted
via a DeferredUpdate.  When an extension delays its own notification
trigger via DeferredUpdate as well the Echo notification will not
be run.

Change-Id: Ib40fcd4939ede5b0ff986ab109432630efd1be74

9 years agoRevert "Load mediawiki.action.view.redirectToFragment in mobile"
Florianschmidtwelzow [Wed, 20 Aug 2014 21:59:14 +0000 (21:59 +0000)]
Revert "Load mediawiki.action.view.redirectToFragment in mobile"

This reverts commit 21ec580f066566d7da97cca0ef40c112b6a0b7a1.

Change-Id: I49788d6b56efdd2fed77ff7657e11554b9927076

9 years agoMerge "Load mediawiki.action.view.redirectToFragment in mobile"
jenkins-bot [Wed, 20 Aug 2014 21:38:32 +0000 (21:38 +0000)]
Merge "Load mediawiki.action.view.redirectToFragment in mobile"

9 years agoMerge "Localisation updates from https://translatewiki.net."
Translation updater bot [Wed, 20 Aug 2014 20:45:00 +0000 (20:45 +0000)]
Merge "Localisation updates from https://translatewiki.net."

9 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Wed, 20 Aug 2014 20:25:51 +0000 (22:25 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I01ae5ce97f4b82c10bc8184a5d5db0517ca6f7fe

9 years agoOn redirects update the URL to that of the target page with JavaScript
Bartosz Dziewoński [Tue, 8 Jul 2014 00:50:37 +0000 (02:50 +0200)]
On redirects update the URL to that of the target page with JavaScript

Redirects to sections will now update the URL in browser's address bar
using the HTML5 History API. When [[Dog]] redirects to [[Animals#Dog]],
the user will now see "Animals#Dog" in their browser instead of "Dog#Dog".

The target URL is generated server-side to avoid pulling in dependencies
in the client-side RL module, which is loaded in the top queue.

Browsers that do not support the History API are still supported, the
way they always were.

Given the following three pages:
* A: #REDIRECT [[C]]
* B: #REDIRECT [[C#Section]]
* C: ==Section== \n ==Other section== \n

The following links should behave as follows:
* A                →  C
* B                →  C#Section
* A#Other_section  →  C#Other_section
* B#Other_section  →  C#Other_section

The code also supports forwarding query parameters like 'debug=1'.

Bug: 35045
Bug: 39328
Change-Id: I9d8d834762e19b836b7e35122b6c4cef0f91b7f0

9 years agoMerge "Fix @param of Language::dateTimeObjFormat"
jenkins-bot [Wed, 20 Aug 2014 18:44:51 +0000 (18:44 +0000)]
Merge "Fix @param of Language::dateTimeObjFormat"

9 years agoMerge "Split RevisionDeleteAbstracts.php to separate files"
jenkins-bot [Wed, 20 Aug 2014 18:40:43 +0000 (18:40 +0000)]
Merge "Split RevisionDeleteAbstracts.php to separate files"

9 years agoMerge "API: Adjust feature usage log format"
jenkins-bot [Wed, 20 Aug 2014 18:24:10 +0000 (18:24 +0000)]
Merge "API: Adjust feature usage log format"

9 years agoFix @param of Language::dateTimeObjFormat
umherirrender [Wed, 20 Aug 2014 17:35:30 +0000 (19:35 +0200)]
Fix @param of Language::dateTimeObjFormat

Follow-Up: Ib26407bc55dff7969d8a3b1e2ae51751b202d8fb
Change-Id: I078ffe3ff385f4541d91b2fb8ef9564138f78393

9 years agoSplit RevisionDeleteAbstracts.php to separate files
umherirrender [Fri, 8 Aug 2014 14:05:33 +0000 (16:05 +0200)]
Split RevisionDeleteAbstracts.php to separate files

Same as I244a66fe19c089df4bcabcf745536d99b2103bc4

Change-Id: I90cea070a8e24d82f0675f122c79326988351e08

9 years agoConsistently use 'Less' rather than 'LESS' in function names
Bartosz Dziewoński [Wed, 20 Aug 2014 16:48:10 +0000 (18:48 +0200)]
Consistently use 'Less' rather than 'LESS' in function names

PHP function names are case-insensitive, so this is a fully
backwards-compatible change.

Change-Id: Ide04ad542ac5c3a26b6064093ae272cf9aeef2d1

9 years agoEditPage: Remove unused classic toolbar accesskeys data
Bartosz Dziewoński [Wed, 20 Aug 2014 16:42:33 +0000 (18:42 +0200)]
EditPage: Remove unused classic toolbar accesskeys data

Clearly this is not going to ever be used. Half of these conflict with
something else anyway.

Change-Id: I21ada83eba4638b3eb820b62c0c1eb90951e6f9b

9 years agoAPI: Adjust feature usage log format
Brad Jorsch [Wed, 20 Aug 2014 15:17:35 +0000 (11:17 -0400)]
API: Adjust feature usage log format

On the advice of the Research Analyst, quote all data fields and add
slashes to escape quotes.

Change-Id: I3471475c0ae7a11398a774b1a14d023676259c04
Follows-up: Ifd640883e46f3e6c8179c63d122c704b046674ca

9 years agoMerge "API: Add a "submodule" param type"
jenkins-bot [Wed, 20 Aug 2014 07:15:31 +0000 (07:15 +0000)]
Merge "API: Add a "submodule" param type"

9 years agoMerge "User adjust git timestamp for extensions on Special:Version"
jenkins-bot [Wed, 20 Aug 2014 06:59:13 +0000 (06:59 +0000)]
Merge "User adjust git timestamp for extensions on Special:Version"

9 years agoMerge "Remove wrong type from @param on ContentHandler::merge3"
jenkins-bot [Wed, 20 Aug 2014 06:57:42 +0000 (06:57 +0000)]
Merge "Remove wrong type from @param on ContentHandler::merge3"

9 years agoMerge "Fix doc of PPFrame_Hash::cachedExpand"
jenkins-bot [Wed, 20 Aug 2014 06:55:21 +0000 (06:55 +0000)]
Merge "Fix doc of PPFrame_Hash::cachedExpand"

9 years agoMerge "Remove WikiPage::estimateRevisionCount (deprecated since 1.19)"
jenkins-bot [Wed, 20 Aug 2014 06:51:49 +0000 (06:51 +0000)]
Merge "Remove WikiPage::estimateRevisionCount (deprecated since 1.19)"

9 years agoMerge "Remove Xml::namespaceSelector() (deprecated since 1.19)"
jenkins-bot [Wed, 20 Aug 2014 06:41:55 +0000 (06:41 +0000)]
Merge "Remove Xml::namespaceSelector() (deprecated since 1.19)"

9 years agoMerge "Add missing @param to function docs"
jenkins-bot [Wed, 20 Aug 2014 06:40:11 +0000 (06:40 +0000)]
Merge "Add missing @param to function docs"

9 years agoRemove WikiPage::estimateRevisionCount (deprecated since 1.19)
umherirrender [Tue, 15 Jul 2014 12:46:56 +0000 (14:46 +0200)]
Remove WikiPage::estimateRevisionCount (deprecated since 1.19)

Change-Id: Icc44f67dd6479553b44f5566d1158638e4a09e60

9 years agoRemove Xml::namespaceSelector() (deprecated since 1.19)
umherirrender [Mon, 28 Jul 2014 11:01:19 +0000 (13:01 +0200)]
Remove Xml::namespaceSelector() (deprecated since 1.19)

Change-Id: If4eaadda2f2533cdcebc692f90c43bdddab3d82b

9 years agoMerge "Remove wrong null type from @param of Content::fillParserOutput"
jenkins-bot [Wed, 20 Aug 2014 06:31:30 +0000 (06:31 +0000)]
Merge "Remove wrong null type from @param of Content::fillParserOutput"

9 years agoMerge "Remove wrong type from @param of IORMTable::getPrefixedFields"
jenkins-bot [Wed, 20 Aug 2014 06:30:36 +0000 (06:30 +0000)]
Merge "Remove wrong type from @param of IORMTable::getPrefixedFields"

9 years agoCorrect type of @param of Linker::getRevDeleteLink
umherirrender [Thu, 14 Aug 2014 17:22:13 +0000 (19:22 +0200)]
Correct type of @param of Linker::getRevDeleteLink

Change-Id: Ie382e2f7b68e27f56de469bfead1588b97b5f9c3

9 years agoMerge "Use FormSpecialPage for Special:RandomInCategory"
jenkins-bot [Wed, 20 Aug 2014 06:22:07 +0000 (06:22 +0000)]
Merge "Use FormSpecialPage for Special:RandomInCategory"

9 years agoUse FormSpecialPage for Special:RandomInCategory
Douglas Gardner [Sat, 16 Aug 2014 02:01:48 +0000 (03:01 +0100)]
Use FormSpecialPage for Special:RandomInCategory

This commit moves [[Special:RandomInCategory]] from using the SpecialPage class
to using the FormSpecialPage class, in the process moving from a simple input
box in the middle of a sentence to a "proper" form.

Bug: 67581
Bug: 67253
Change-Id: Ibf8694c0643f7cd3964ff9f62ffc6049f0978416

9 years agoFix release notes for deleting protected pages
Jackmcbarn [Wed, 20 Aug 2014 04:03:24 +0000 (00:03 -0400)]
Fix release notes for deleting protected pages

Follows up I5a7c4147

Change-Id: I32f792f9f6baf309fc8c450c2759871e6c0b8b3d

9 years agoUpdate OOjs UI to v0.1.0-pre (51f513f9d3)
James D. Forrester [Wed, 20 Aug 2014 00:59:55 +0000 (17:59 -0700)]
Update OOjs UI to v0.1.0-pre (51f513f9d3)

New changes:
8019b96 Localisation updates from https://translatewiki.net.
1fbe3cc Localisation updates from https://translatewiki.net.
455bbb5 Localisation updates from https://translatewiki.net.
379c9da Localisation updates from https://translatewiki.net.
ff74dc3 Fix CSS transplantation in IE
5de13ef Localisation updates from https://translatewiki.net.
44fafb5 Fixing formatting of Agora (mobile) dialogs
d9b7f6a Adjust for border with box-sizing: border-box
a942c71 demos: Refactor tool groups to be re-usable between toolbars

Change-Id: I0ce44be7ecd8ab6fc0693c23bca22d1a8286e383

9 years agoMerge "Generate 'Enlarge' image in CSS rather than HTML (Linker)"
jenkins-bot [Tue, 19 Aug 2014 23:51:19 +0000 (23:51 +0000)]
Merge "Generate 'Enlarge' image in CSS rather than HTML (Linker)"

9 years agoMerge "Sanitize thumbnails and captions styles"
jenkins-bot [Tue, 19 Aug 2014 23:50:19 +0000 (23:50 +0000)]
Merge "Sanitize thumbnails and captions styles"

9 years agoGenerate 'Enlarge' image in CSS rather than HTML (Linker)
Bartosz Dziewoński [Mon, 18 Aug 2014 12:53:23 +0000 (14:53 +0200)]
Generate 'Enlarge' image in CSS rather than HTML (Linker)

There is an ungodly number of requests for magnify-clip.png, embedding
it in CSS is probably good for performance.

It also makes it a lot easier to change the icon, or provide a vector
version (SVG or icon font).

We need to be careful to keep new CSS compatible with old HTML (HTML
is cached for up to 30 days in WMF environment), but luckily in this
case this requires just one CSS rule. Follow-up to remove it: I7a920105.

Bug: 69673
Change-Id: I849a2222fdf708573e54fa0658dbef4d9f2f665f

9 years agoMerge "Update default button color per design consensus"
jenkins-bot [Tue, 19 Aug 2014 23:13:58 +0000 (23:13 +0000)]
Merge "Update default button color per design consensus"

9 years agoSanitize thumbnails and captions styles
Bartosz Dziewoński [Mon, 18 Aug 2014 12:15:19 +0000 (14:15 +0200)]
Sanitize thumbnails and captions styles

No design changes, just cleaning up.

* Remove dead rules (equivalent to default styles).
* Remove unnecessary !importants (added in r3300 (!), apparently to
  intentionally override styles in skins at the time).
* Make commonContent.css's directionality-specific styling not depend
  on shared.css (these don't have to be loaded together).
* Fix double margins for .magnify in mixed directionalities.
* Clarify that shared.css should only contain basic layout styles.
* Group together directionality-specific styles in commonContent.css,
  comment about them. oldshared.css seems to intentionally not use them.
* Align commonContent.css and oldshared.css where applicable.

Change-Id: I2176d5ee73e37030c15ee5e16ba4eb0660349e15

9 years agoUpdate default button color per design consensus
Rob Moen [Tue, 19 Aug 2014 22:34:30 +0000 (15:34 -0700)]
Update default button color per design consensus

https://trello.com/c/wANl1n0M/544-update-the-default-mediawiki-ui-button-text-color-in-core

Change-Id: Ie8acb28f4562399360e9c578232ff3fd91d65b93

9 years agoMerge "Revision: Allow for userCanBitfield to check per-page restrictions"
jenkins-bot [Tue, 19 Aug 2014 21:11:08 +0000 (21:11 +0000)]
Merge "Revision: Allow for userCanBitfield to check per-page restrictions"

9 years agoMerge "Remove wrong type from @param of Language::viewPrevNext"
jenkins-bot [Tue, 19 Aug 2014 21:02:37 +0000 (21:02 +0000)]
Merge "Remove wrong type from @param of Language::viewPrevNext"

9 years agoMove @codingStandardsIgnoreStart into doc comment
umherirrender [Tue, 19 Aug 2014 19:55:22 +0000 (21:55 +0200)]
Move @codingStandardsIgnoreStart into doc comment

No need to have a own comment here, because phpcs support this.

Change-Id: I7ec0ed4d174417d054eb8578519ae15eda4055ac

9 years agoMerge "Allow two-tier setup of transwiki import sources"
jenkins-bot [Tue, 19 Aug 2014 18:35:55 +0000 (18:35 +0000)]
Merge "Allow two-tier setup of transwiki import sources"

9 years agoMerge "Test only against protection for deleting"
jenkins-bot [Tue, 19 Aug 2014 17:22:57 +0000 (17:22 +0000)]
Merge "Test only against protection for deleting"

9 years agoMerge "Remove red outline from invalid inputs"
jenkins-bot [Tue, 19 Aug 2014 16:57:50 +0000 (16:57 +0000)]
Merge "Remove red outline from invalid inputs"

9 years agoAPI: Add a "submodule" param type
Brad Jorsch [Thu, 14 Aug 2014 20:12:58 +0000 (16:12 -0400)]
API: Add a "submodule" param type

This allows action=paraminfo to indicate when a parameter is specifying
a submodule (so clients can detect what the submodule names are). This
will also allow the future action=help HTMLization to easily auto-link
to submodule docs, and will allow ApiSandbox to handle submodules more
generically.

For BC, rather than directly specifying "type": "submodule", it lists
the names of all the submodules as the type and adds an additional
"submodules" indicator on the param info object.

Change-Id: Id31babdc81d970ac781ec11daa3cdafef18ecd5d

9 years agoMerge "Don't estimate the revision count for page deletions"
jenkins-bot [Tue, 19 Aug 2014 15:03:01 +0000 (15:03 +0000)]
Merge "Don't estimate the revision count for page deletions"

9 years agoRemove pointless dependencies from mediawiki.legacy.config
Bartosz Dziewoński [Sun, 17 Aug 2014 17:07:04 +0000 (19:07 +0200)]
Remove pointless dependencies from mediawiki.legacy.config

* The code has never actually depended on wikibits (or at least
  doesn't now).
* These files are not actually loaded via ResourceLoader, so
  dependencies etc. don't work anyway.

Change-Id: Id99903c68e98c0c3c832128b891699360c9391ea

9 years agoMerge "Move installer files from skins/common/ to mw-config/"
jenkins-bot [Tue, 19 Aug 2014 13:54:24 +0000 (13:54 +0000)]
Merge "Move installer files from skins/common/ to mw-config/"

9 years agoAllow two-tier setup of transwiki import sources
This, that and the other [Wed, 23 Jul 2014 07:45:51 +0000 (17:45 +1000)]
Allow two-tier setup of transwiki import sources

There has been some demand, particularly in the Wikimedia cluster, for the
ability to import from any wiki of a cluster. For this to occur, the
transwiki import user interface needs a bit of a rethink.

This patch replaces the existing single dropdown with a pair of dropdowns:
the first to select the wiki project, and the second to select the
subproject (e.g. a Wikipedia/Wiktionary language, or a Wikia site).
The second one is optional (to support single-wiki sites like Meta, or
for backwards compatibility with existing setups).

$wgImportSources is now treated as a mixed array/associated array (see
comment in DefaultSettings.php). Existing configurations will still work
but will receive no new functionality.

The non-JavaScript fallback is not pretty, but (a) it works, (b) I don't
see an easy way to make it nicer, and (c) wiki sysops should probably be
using a JavaScript-enabled browser for admin actions like importing...

The intention is to alter the WMF configuration to automatically populate
$wgImportSources with all public cluster wikis. I'm not exactly sure how
this will be set up, but this patch is an important first step. I expect
some non-WMF users of MediaWiki will find it helpful as well.

Change-Id: Icdb655500c1ae5374dc7a9f4d99e6738b2269b14

9 years agoMerge "Use getConfig on local context to get configuration settings in Action"
Legoktm [Tue, 19 Aug 2014 03:53:08 +0000 (03:53 +0000)]
Merge "Use getConfig on local context to get configuration settings in Action"

9 years agoUse getConfig on local context to get configuration settings in Action
Alexandre Emsenhuber [Sat, 16 Aug 2014 19:25:16 +0000 (21:25 +0200)]
Use getConfig on local context to get configuration settings in Action

Follow-up I47db5eab45 (aa15d528)

Change-Id: I76409f5fc61e5d35235f964e094dd8881bcc8311

9 years agoMerge "Fix highlighting of results when the search result does not return termMatches"
jenkins-bot [Mon, 18 Aug 2014 22:41:42 +0000 (22:41 +0000)]
Merge "Fix highlighting of results when the search result does not return termMatches"

9 years agoLoad mediawiki.action.view.redirectToFragment in mobile
Florian [Sat, 2 Aug 2014 00:31:43 +0000 (02:31 +0200)]
Load mediawiki.action.view.redirectToFragment in mobile

Mobile supports redirect's to fragment, so load the module in desktop
and mobile.

Bug: 69020
Change-Id: Ife76b3e9d660e6d64186ac2e4ab69bf4d8e16ae4

9 years agoRemove red outline from invalid inputs
jdlrobson [Mon, 18 Aug 2014 20:48:57 +0000 (13:48 -0700)]
Remove red outline from invalid inputs

This is currently an issue in Flow which uses the required attributes
on certain mw-ui-inputs.

Change-Id: I9f1df52c282c5e156c53a573660b35a978762cc2

9 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Mon, 18 Aug 2014 19:58:54 +0000 (21:58 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: If1018a085ee4bd6a77a88603bc2509ae5fee3b43

9 years agoMerge "Use HTMLForm to generate the form on Special:ListFiles"
jenkins-bot [Mon, 18 Aug 2014 18:38:10 +0000 (18:38 +0000)]
Merge "Use HTMLForm to generate the form on Special:ListFiles"

9 years agoMerge "Added more JobRunner docs"
jenkins-bot [Mon, 18 Aug 2014 18:32:49 +0000 (18:32 +0000)]
Merge "Added more JobRunner docs"

9 years agoMerge "Special:Search: Remove token from URL when saving settings"
jenkins-bot [Mon, 18 Aug 2014 18:30:03 +0000 (18:30 +0000)]
Merge "Special:Search: Remove token from URL when saving settings"

9 years agoMerge "Special:Version: Link to tree instead of commit for git hashes"
jenkins-bot [Mon, 18 Aug 2014 18:26:55 +0000 (18:26 +0000)]
Merge "Special:Version: Link to tree instead of commit for git hashes"

9 years agoRevision: Allow for userCanBitfield to check per-page restrictions
Kunal Mehta [Mon, 18 Aug 2014 18:11:34 +0000 (11:11 -0700)]
Revision: Allow for userCanBitfield to check per-page restrictions

Change-Id: I13ded8328cac59466b691e63183a16d321659ea4

9 years agoMerge "Move debug log related settings up in Setup.php"
jenkins-bot [Mon, 18 Aug 2014 17:45:05 +0000 (17:45 +0000)]
Merge "Move debug log related settings up in Setup.php"

9 years agoFix mediawiki.ui.checkbox loading in mobile
Florianschmidtwelzow [Mon, 18 Aug 2014 17:21:42 +0000 (19:21 +0200)]
Fix mediawiki.ui.checkbox loading in mobile

* mwui checkboxes can load on mobile, too

* mwui should have position on top to load before the content is rendered

Follow up: I6a0db7c8ce33d242120f1cba9222db4e2154696c
and I89d80927d603407678182592a1b12e2132de4141

Change-Id: I8222610aa714f7e422acaa3c3041c41f817eab7d

9 years agoAdd missing @param to function docs
umherirrender [Fri, 15 Aug 2014 16:22:34 +0000 (18:22 +0200)]
Add missing @param to function docs

Change-Id: Ib26407bc55dff7969d8a3b1e2ae51751b202d8fb

9 years agoMerge "Use batch inserts for watchlist"
jenkins-bot [Mon, 18 Aug 2014 16:12:20 +0000 (16:12 +0000)]
Merge "Use batch inserts for watchlist"

9 years agoMerge "Remove unmatched @param"
jenkins-bot [Mon, 18 Aug 2014 16:00:50 +0000 (16:00 +0000)]
Merge "Remove unmatched @param"

9 years agoMerge "Fix calls to DatabaseBase static functions"
jenkins-bot [Mon, 18 Aug 2014 15:59:23 +0000 (15:59 +0000)]
Merge "Fix calls to DatabaseBase static functions"

9 years agoFix highlighting of results when the search result does not return termMatches
Stephan Gambke [Mon, 18 Aug 2014 15:55:51 +0000 (15:55 +0000)]
Fix highlighting of results when the search result does not return termMatches

If the search engine does not know the concept of serch terms the search
result object will just return an empty array as defined in class
SearchResultSet.

In this case SearchHighlighter::highlightSimple will place a span between
each and every byte (yes, byte, not character, it will break multibyte
chars).

This patch will just output the first few lines of a page if no search
terms are available for highlighting.

Note: Highlighting the page name in the case of title matches is
questionable, IMHO. It might make more sense for this case as well to
just return the first few lines of the page.

Change-Id: I276418f271855fb99443188f51cc076289c6ba0d

9 years agoMerge "Fix URL protocol detection regex for file link= parameter"
jenkins-bot [Mon, 18 Aug 2014 15:34:33 +0000 (15:34 +0000)]
Merge "Fix URL protocol detection regex for file link= parameter"

9 years agoMerge "Localisation updates from https://translatewiki.net."
jenkins-bot [Mon, 18 Aug 2014 14:30:56 +0000 (14:30 +0000)]
Merge "Localisation updates from https://translatewiki.net."

9 years agoMerge "Include action in permission error messages"
jenkins-bot [Mon, 18 Aug 2014 14:02:56 +0000 (14:02 +0000)]
Merge "Include action in permission error messages"

9 years agoMerge "Remove EnhancedChangesList::arrow() and friends"
jenkins-bot [Mon, 18 Aug 2014 13:55:01 +0000 (13:55 +0000)]
Merge "Remove EnhancedChangesList::arrow() and friends"

9 years agoMerge "Do not flip margin of magnify icon on user interface language"
jenkins-bot [Mon, 18 Aug 2014 11:43:19 +0000 (11:43 +0000)]
Merge "Do not flip margin of magnify icon on user interface language"

9 years agoRemove obsolete no.json
Siebrand Mazeland [Mon, 18 Aug 2014 10:47:11 +0000 (12:47 +0200)]
Remove obsolete no.json

Change-Id: I9a16f2cbd7cd4233a7c14899288e609810822b25

9 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Mon, 18 Aug 2014 10:17:43 +0000 (12:17 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: Ia75c166315dfde47dbfaffedf8a9bb6e86982dab

9 years agoUpdated dictionary
Yuri Astrakhan [Fri, 15 Aug 2014 18:08:17 +0000 (14:08 -0400)]
Updated dictionary

Change-Id: Ie727553268892d8b7f9b46fefebeee4463d5fecb

9 years agoMerge "CSS style for thumbs on special pages"
jenkins-bot [Mon, 18 Aug 2014 00:15:17 +0000 (00:15 +0000)]
Merge "CSS style for thumbs on special pages"

9 years agoMove installer files from skins/common/ to mw-config/
Bartosz Dziewoński [Mon, 11 Aug 2014 01:59:22 +0000 (03:59 +0200)]
Move installer files from skins/common/ to mw-config/

The CSS and JS files are definitely used only by the installer.

As for the images:
* mediawiki.png is still used directly by some error pages
  (includes/PHPVersionError.php, includes/templates/NoLocalSettings.php)
* ajax-loader.gif is still used by shared.css
* bullet.gif is mysteriously used by *something*, according to the
  logs at bug 69277 comment 11; I currently have no idea what, so
  let's keep it here for a while
* All other ones don't grep (outside of the installer itself) and
  don't appear in the logs on bug 69277.

Bug: 69277
Change-Id: I9146d9211a807911a5e0cfaa1dd3ab8170f333ca

9 years agoRemove EnhancedChangesList::arrow() and friends
Bartosz Dziewoński [Sun, 17 Aug 2014 22:04:57 +0000 (00:04 +0200)]
Remove EnhancedChangesList::arrow() and friends

Not used in core, the only usage outside removed in Ieb5bb6f9.

Also removed two now-unused files from skins/common/.

Bug: 69675
Change-Id: Ia0e9fc2af25af903db085f2a05c04dcd9aff213e

9 years agoMerge "Fix phpcs errors in tests dir"
jenkins-bot [Sun, 17 Aug 2014 22:02:36 +0000 (22:02 +0000)]
Merge "Fix phpcs errors in tests dir"

9 years agoFix phpcs errors in tests dir
addshore [Sat, 16 Aug 2014 12:53:24 +0000 (13:53 +0100)]
Fix phpcs errors in tests dir

Change-Id: I79fa3b8f92e958f4a0dc4fe892703f37d711ca95

9 years agoOverride phpunit assertTag method to stop errors
addshore [Sun, 17 Aug 2014 21:38:07 +0000 (22:38 +0100)]
Override phpunit assertTag method to stop errors

This method throws a deperecation error in phpunit
that we dont want to see (and dont want to break
travis tests).

Nothing this method uses is beign deprecated thus
we can override the method and not need to worry
about the error or it vanishing in the future!

Bug: 69505
Change-Id: I0eb63be390b4fdf416635dd8e8a2ad94615e6a47

9 years agoMerge "Remove some unused files from skins/common/"
jenkins-bot [Sun, 17 Aug 2014 21:24:42 +0000 (21:24 +0000)]
Merge "Remove some unused files from skins/common/"

9 years agoMerge "Localisation updates from https://translatewiki.net."
Translation updater bot [Sun, 17 Aug 2014 21:19:20 +0000 (21:19 +0000)]
Merge "Localisation updates from https://translatewiki.net."

9 years agoRemove some unused files from skins/common/
Bartosz Dziewoński [Sun, 17 Aug 2014 20:38:18 +0000 (22:38 +0200)]
Remove some unused files from skins/common/

Grepping doesn't point to any usages, and they don't appear in logs
from bug 69277 comment 11.

add.png
Arr_.png
closewindow.png
diffunderline.gif
link_icon.gif
remove.png
tooltip_icon.png
Zoom_sans.gif

Bug: 69277
Change-Id: I09c0c13b353366e83124e7ffa1fa02eeada76729

9 years agoMerge "Use public instead of var in classes"
jenkins-bot [Sun, 17 Aug 2014 20:30:51 +0000 (20:30 +0000)]
Merge "Use public instead of var in classes"

9 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Sun, 17 Aug 2014 20:15:26 +0000 (22:15 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I3a6292805700b7071997414a2e601220cd564188

9 years agoUse public instead of var in classes
addshore [Sun, 17 Aug 2014 20:07:37 +0000 (21:07 +0100)]
Use public instead of var in classes

Change-Id: I16d1714ba37667d8c9c7c79a765c7199ea0023e4

9 years agoMerge "WebInstallerOutput: Restore 'global $wgResourceModules'"
jenkins-bot [Sun, 17 Aug 2014 20:06:26 +0000 (20:06 +0000)]
Merge "WebInstallerOutput: Restore 'global $wgResourceModules'"

9 years agoMerge "Avoid theoretical division by zero"
jenkins-bot [Sun, 17 Aug 2014 19:51:07 +0000 (19:51 +0000)]
Merge "Avoid theoretical division by zero"

9 years agoMerge "Use Xml::element instead of Html::element for empty elements"
jenkins-bot [Sun, 17 Aug 2014 19:49:25 +0000 (19:49 +0000)]
Merge "Use Xml::element instead of Html::element for empty elements"

9 years agoMerge "Add dependencies to module mediawiki.util"
jenkins-bot [Sun, 17 Aug 2014 19:43:46 +0000 (19:43 +0000)]
Merge "Add dependencies to module mediawiki.util"

9 years agoMerge "Remove fallback 'de' gender namespaces"
jenkins-bot [Sun, 17 Aug 2014 19:37:38 +0000 (19:37 +0000)]
Merge "Remove fallback 'de' gender namespaces"

9 years agoFix @returns >> @return phpdoc
addshore [Sun, 17 Aug 2014 19:25:21 +0000 (20:25 +0100)]
Fix @returns >> @return phpdoc

Change-Id: Ib0050a3854e1d3405ffcdd4c92569d4df6ff847f

9 years agoWebInstallerOutput: Restore 'global $wgResourceModules'
Bartosz Dziewoński [Sun, 17 Aug 2014 17:00:37 +0000 (19:00 +0200)]
WebInstallerOutput: Restore 'global $wgResourceModules'

Deleted in 301a7f3d, previously added in a96afeb2.

Change-Id: If0889bc003320abd0b74fc57b8975255f0efcc7e

9 years agoRemove fallback 'de' gender namespaces
umherirrender [Sun, 17 Aug 2014 13:54:13 +0000 (15:54 +0200)]
Remove fallback 'de' gender namespaces

Some languages are fallback to 'de', but have there own namespaces.
There is no feedback, that the german gender namespaces should override
the localized namespaces for gender, so removing it for now.

At least nds has ask for this at
https://de.wikipedia.org/w/index.php?title=Benutzer_Diskussion:Raymond&oldid=133185685#merkw.C3.BCrdiges_Software-Verhalten_auf_nds.wp

Change-Id: Ie666c95b614faeb9ac1cb57d4b5d96294d43c6cf

9 years agoAdd dependencies to module mediawiki.util
Fomafix [Sun, 17 Aug 2014 13:23:40 +0000 (13:23 +0000)]
Add dependencies to module mediawiki.util

* mediawiki.Uri.js uses mw.util.wikiUrlencode().
* mediawiki.special.unwatchedPages.js uses mw.util.getParamValue().

Change-Id: Id109e1ba3ec8421ff278a2b2c5111413b4c3bc62

9 years agomediawiki.page.watch.ajax depends on mediawiki.page.startup
Fomafix [Sun, 17 Aug 2014 11:51:08 +0000 (11:51 +0000)]
mediawiki.page.watch.ajax depends on mediawiki.page.startup

mediawiki.page.watch.ajax.js requires mw.page, which is defined in
mediawiki.page.startup.js

I just got the error message:
  Exception thrown by mediawiki.page.watch.ajax
  TypeError: mw.page is undefined

Change-Id: I869fbcb701c3c17ecf6564d89a9bb773bd1a76bd