lhc/web/wiklou.git
9 years agoWhen getting remote config, if the caller requested a single setting without an array...
Alex Monk [Sat, 6 Sep 2014 21:42:02 +0000 (22:42 +0100)]
When getting remote config, if the caller requested a single setting without an array, always do that

Even if it comes from the cache. See Idfec62d5 review comments for PS43.

Change-Id: I67ceef7fec61b7f37728f120354bd886018d244e

9 years agoMerge "Add missing space to autodoc of meta=siteinfo&siprop=languages"
jenkins-bot [Tue, 2 Sep 2014 17:04:10 +0000 (17:04 +0000)]
Merge "Add missing space to autodoc of meta=siteinfo&siprop=languages"

9 years agoMerge "shared.css: Limit .plainlinks styling to .external links"
jenkins-bot [Tue, 2 Sep 2014 15:50:31 +0000 (15:50 +0000)]
Merge "shared.css: Limit .plainlinks styling to .external links"

9 years agoRemoved request() and output() from class "MediaWiki"
withoutaname [Wed, 16 Jul 2014 18:14:52 +0000 (11:14 -0700)]
Removed request() and output() from class "MediaWiki"

Also removed the todo, as the folding was done years ago.

Change-Id: I4953ec3ca650bab9154c07a3a73f1f6ca4ee071e

9 years agoMerge "Use .mw-body in skins"
jenkins-bot [Mon, 1 Sep 2014 20:30:31 +0000 (20:30 +0000)]
Merge "Use .mw-body in skins"

9 years agoMerge "mediawiki.language: Fix infinite loop in commafy() when pattern has no grouping"
jenkins-bot [Mon, 1 Sep 2014 20:22:57 +0000 (20:22 +0000)]
Merge "mediawiki.language: Fix infinite loop in commafy() when pattern has no grouping"

9 years agoUse .mw-body in skins
Arlo Breault [Wed, 13 Aug 2014 11:15:47 +0000 (04:15 -0700)]
Use .mw-body in skins

 * This helps Parsoid's output reach parity.

 * Merge in conjunction with
   Vector: Iae873906abcd8b2a986e5f728f0ce207256de770
   MonoBook: I0c889950e618b2afa6332c4c56b5531744526e72

Bug: 38726
Change-Id: Id0228fa839ef80b0b3bfee864e81f2c65963e01b

9 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Mon, 1 Sep 2014 20:04:33 +0000 (22:04 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I7d2e35ecc2b78e4103236275edb8838b61843a41

9 years agoMerge "QA: Remove logic for inexistant "wpvector-collapsiblenav" option"
jenkins-bot [Mon, 1 Sep 2014 16:41:11 +0000 (16:41 +0000)]
Merge "QA: Remove logic for inexistant "wpvector-collapsiblenav" option"

9 years agoQA: Remove logic for inexistant "wpvector-collapsiblenav" option
Timo Tijhof [Mon, 1 Sep 2014 16:11:13 +0000 (18:11 +0200)]
QA: Remove logic for inexistant "wpvector-collapsiblenav" option

This option was never part of MediaWiki core and shouldn't have
been here in the first place.

It was removed from the Vector extension in October 2013 with I33dc0033c.

Not sure what this code is for or why it's not failing.

Change-Id: Ie552d9de3aa1f123a8f1c9414b444481461b4ec6

9 years agoMerge "mediawiki.action.edit: Improve #addButton documentation"
jenkins-bot [Mon, 1 Sep 2014 14:39:48 +0000 (14:39 +0000)]
Merge "mediawiki.action.edit: Improve #addButton documentation"

9 years agoMerge "Revert "Toolbar: Only show on WikiText pages""
jenkins-bot [Mon, 1 Sep 2014 14:07:01 +0000 (14:07 +0000)]
Merge "Revert "Toolbar: Only show on WikiText pages""

9 years agoMerge "Category finder style cleanups"
jenkins-bot [Mon, 1 Sep 2014 13:58:18 +0000 (13:58 +0000)]
Merge "Category finder style cleanups"

9 years agoRevert "Toolbar: Only show on WikiText pages"
Helder.wiki [Sat, 23 Aug 2014 23:11:01 +0000 (23:11 +0000)]
Revert "Toolbar: Only show on WikiText pages"

Classical toolbar no longer appears in Page namespace on Wikisources.

This reverts commit 7263ef1e002786b27fa06db43aa7a6fca00461fb.

Bug: 69447
Bug: 29908
Change-Id: Ifafe41f7bc91183e0db4c10d8340a8b620b380bc

9 years agomediawiki.action.edit: Improve #addButton documentation
Bartosz Dziewoński [Sat, 30 Aug 2014 23:30:51 +0000 (01:30 +0200)]
mediawiki.action.edit: Improve #addButton documentation

Change-Id: I6ba4e711dfb492357e1364681d986b0c5515599e

9 years agoMerge "Use correct progressive color on inputs"
jenkins-bot [Mon, 1 Sep 2014 12:13:18 +0000 (12:13 +0000)]
Merge "Use correct progressive color on inputs"

9 years agomediawiki.language: Fix infinite loop in commafy() when pattern has no grouping
Santhosh Thottingal [Sat, 23 Aug 2014 12:52:03 +0000 (18:22 +0530)]
mediawiki.language: Fix infinite loop in commafy() when pattern has no grouping

When the decimal part of the pattern has no grouping, commafy was entering
into an infinite loop. Corrected the logic to handle this case.

Also added qunit tests.

Bug: 69835
Change-Id: I0f9e274411aead6a4e95402fd38c54ac6b76df53

9 years agoMerge "Move actual OldChangesList line formatting to separate method"
jenkins-bot [Mon, 1 Sep 2014 09:50:19 +0000 (09:50 +0000)]
Merge "Move actual OldChangesList line formatting to separate method"

9 years agoAdd missing space to autodoc of meta=siteinfo&siprop=languages
umherirrender [Sat, 30 Aug 2014 08:39:34 +0000 (10:39 +0200)]
Add missing space to autodoc of meta=siteinfo&siprop=languages

Change-Id: I56ba3b3282ea747b47016558513f96ca597e28d7

9 years agoUpdate OOjs to v1.1.0
James D. Forrester [Sun, 31 Aug 2014 21:26:08 +0000 (14:26 -0700)]
Update OOjs to v1.1.0

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

Change-Id: I37cfbfe14ef07e811bd2c8d6656ff5315dc8c3b6

9 years agoMerge "add mw-diff-* classes to view diff page header links"
jenkins-bot [Sun, 31 Aug 2014 20:40:12 +0000 (20:40 +0000)]
Merge "add mw-diff-* classes to view diff page header links"

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

9 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Sun, 31 Aug 2014 19:34:12 +0000 (21:34 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I523c093311ea09aad64e235f2d9f155c56b714a9

9 years agoshared.css: Limit .plainlinks styling to .external links
Bartosz Dziewoński [Sun, 31 Aug 2014 12:45:24 +0000 (14:45 +0200)]
shared.css: Limit .plainlinks styling to .external links

Overriding the background of all links on the page can have unexpected
results, for example causing the "Enlarge" icons under thumbnails to
disappear when the entire page is wrapped in <div class="plainlinks">.
https://en.wikipedia.org/wiki/Wikipedia:Wikipedia_Signpost/2014-08-27/In_the_media

Change-Id: I6fb15c5de39419993d37d9f5dd31ecb7ae6503fa

9 years agoTablePager: Redo arrow icons from scratch as CSS backgrounds
Bartosz Dziewoński [Mon, 25 Aug 2014 14:52:11 +0000 (16:52 +0200)]
TablePager: Redo arrow icons from scratch as CSS backgrounds

Redrawn the images with SVG versions.

Intentionally did not preserve the value of the 'alt' attribute of the old
images, it doesn't seem very useful to me. Instead, added 'title'
attributes on the sort links that describe their action. This should be
more useful than the old version for both visual and aural mediums.

Bug: 69277
Change-Id: Ibaec75e81d3eb8338d911ac84d91570047f475f5

9 years agoIndexPager: Don't generate rel=first and rel=last
Bartosz Dziewoński [Mon, 25 Aug 2014 14:40:42 +0000 (16:40 +0200)]
IndexPager: Don't generate rel=first and rel=last

These values for the "rel" attribute (aliases for 'begin' and 'end',
respectively) have only appeared as proposals for the HTML4
specification, but were then explicitly dropped.

The story of them and more links are available on
<http://microformats.org/wiki/existing-rel-values> (search for
'first', 'last', 'begin', 'end'). The gist is that they were
intentionally dropped and therefore should not be used.

Change-Id: I33afd1364bf9ccf79c11a2a050ad0c4ff52c447a

9 years agoTablePager: Load images via CSS backgrounds rather than HTML <img>s
Bartosz Dziewoński [Sat, 23 Aug 2014 18:19:18 +0000 (20:19 +0200)]
TablePager: Load images via CSS backgrounds rather than HTML <img>s

Moved files from directory: skins/common/images → resources/src/mediawiki/images
and renamed:

* arrow_disabled_last_25.png  → pager-arrow-disabled-fastforward-ltr.png
* arrow_disabled_first_25.png → pager-arrow-disabled-fastforward-rtl.png
* arrow_disabled_right_25.png → pager-arrow-disabled-forward-ltr.png
* arrow_disabled_left_25.png  → pager-arrow-disabled-forward-rtl.png
* arrow_last_25.png           → pager-arrow-fastforward-ltr.png
* arrow_first_25.png          → pager-arrow-fastforward-rtl.png
* arrow_right_25.png          → pager-arrow-forward-ltr.png
* arrow_left_25.png           → pager-arrow-forward-rtl.png

The new names are not very intuitive, but there's a mostly reasonable
system behind them and we need names like this to have them
automatically flipped for RTL styles.

Bug: 69277
Change-Id: Ica34cdd5fcc9340a94fb5e60bb34c30266953dcb

9 years agoTablePager: Modernize style loading
Bartosz Dziewoński [Mon, 25 Aug 2014 14:19:45 +0000 (16:19 +0200)]
TablePager: Modernize style loading

* Create a CSS module for pager styling (table and navigation),
  pulling in existing styles for shared.css. Load it on all pages
  where the pager itself is shown.
* Build a ParserOutput object encapsulating the return HTML and
  required modules, rather than only providing the HTML. Added some
  hacks for backwards-compatibility with old-style calls and
  soft-deprecated them (there are many usages in extensions).

Other cleanup:
* Remove styles in oldshared.css, they were all overwritten by
  shared.css or by styles for .mw-datatable.
* Remove inline styles where possible, explain them where impossible.
* On SpecialListFiles, display navigation bar above the table as well
  as below (this seems to be the convention for other pages).

Change-Id: Iae976f854b96b5c61691918787c4dff7db089c28

9 years agoMerge "Installer: Do not use Vector skin if not installed"
jenkins-bot [Sat, 30 Aug 2014 22:42:39 +0000 (22:42 +0000)]
Merge "Installer: Do not use Vector skin if not installed"

9 years agoMerge "Move mediawiki.legacy.* modules from skins/common/ to resources/"
jenkins-bot [Sat, 30 Aug 2014 22:38:30 +0000 (22:38 +0000)]
Merge "Move mediawiki.legacy.* modules from skins/common/ to resources/"

9 years agoInstaller: Do not use Vector skin if not installed
saper [Tue, 26 Aug 2014 19:38:41 +0000 (21:38 +0200)]
Installer: Do not use Vector skin if not installed

MediaWiki installer works fine in a bareskin
mode without Vector features, so do not
throw errors in the PHP error log just because
we don't have "skins" project extracted.

The message in the PHP error log:

Warning:  include_once(w/skins/Vector/Vector.php): failed to open stream: No such file or directory in w/includes/installer/WebInstallerOutput.php on line 135
Stack trace:
  1. {main}() w/mw-config/index.php:0
  2. wfInstallerMain() w/mw-config/index.php:38
  3. WebInstaller->execute() w/mw-config/index.php:79
  4. WebInstaller->outputCss() w/includes/installer/WebInstaller.php:185
  5. WebInstallerOutput->getCSS() w/includes/installer/WebInstaller.php:1200

Change-Id: I7b8bd77f5868af2ccf464e48db771f2e8e0472ff

9 years agoMove mediawiki.legacy.* modules from skins/common/ to resources/
Bartosz Dziewoński [Thu, 28 Aug 2014 16:11:03 +0000 (18:11 +0200)]
Move mediawiki.legacy.* modules from skins/common/ to resources/

Also renamed some image files for consistency and sanity.

Added temporary symlinks to the new location for ajax.js and
wikibits.js, which still seem to get many hits for unknown reasons.
I'm going to figure this out and remove them before 1.24 release.

shared.css also appears in the access logs from bug 69277, but with
many fewer hits (it might just correspond to debug=true requests)
and failing to load a style file is a lot less problematic from
user's perspective than failing to load a script.

Bug: 69277
Change-Id: Id4a8f9470d287c73309ff526ffb88984e2d351b9

9 years agoBetter text for <anoneditwarning> in core
James D. Forrester [Thu, 10 Apr 2014 20:30:25 +0000 (13:30 -0700)]
Better text for <anoneditwarning> in core

The message has been tweaked to be closer to the version used for several
years with success on the English Wikipedia and on some other wikis. In
particular, the calls-to-action now have individual links rather than
expecting users to be able to magically find them themselves, and a user-
facing justification for why they should log in.

Change-Id: I687e47c23618e536a8f3010d7a6f168feb7bfa72

9 years agoMerge "Localisation updates from https://translatewiki.net."
Translation updater bot [Sat, 30 Aug 2014 20:57:11 +0000 (20:57 +0000)]
Merge "Localisation updates from https://translatewiki.net."

9 years agoMerge "Clean up mediawiki.legacy.upload a bit more"
jenkins-bot [Sat, 30 Aug 2014 20:17:52 +0000 (20:17 +0000)]
Merge "Clean up mediawiki.legacy.upload a bit more"

9 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Sat, 30 Aug 2014 20:14:19 +0000 (22:14 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I832df75c475904fe0560d2ab03d8a9edab193bcd

9 years agoClean up mediawiki.legacy.upload a bit more
Alex Monk [Wed, 27 Aug 2014 14:52:49 +0000 (15:52 +0100)]
Clean up mediawiki.legacy.upload a bit more

We can merge it into mediawiki.special.upload later.

It still sets wgUploadWarningObj, because that's used in a bunch of places:
commonswiki         MediaWiki:UploadForm.js
commonswiki         MediaWiki:UploadFormTest.js
fawiki              MediaWiki:UploadForm.js
siwiki              MediaWiki:UploadForm.js
commonswiki         User:CuteHappyBrute/monobook.js
kowiki              User:Kwj2772/UploadForm.js
sqwiki              User:Euriditi/UploadForm.js

Bug: 31946
Change-Id: I4fc3dcd1f1bfb15aa130845e3de0474943b7e3fc

9 years agoMerge "ProtectionForm: Stop using global objects"
jenkins-bot [Sat, 30 Aug 2014 16:41:20 +0000 (16:41 +0000)]
Merge "ProtectionForm: Stop using global objects"

9 years agoMerge "Fix WebInstaller style"
jenkins-bot [Sat, 30 Aug 2014 16:10:22 +0000 (16:10 +0000)]
Merge "Fix WebInstaller style"

9 years agoCheck page_len in ResourceLoaderWikiModule::isKnownEmpty() for 'user' modules
Kunal Mehta [Fri, 29 Aug 2014 06:31:44 +0000 (23:31 -0700)]
Check page_len in ResourceLoaderWikiModule::isKnownEmpty() for 'user' modules

In most cases, we just check whether the pages exist before saying
the module is not empty to avoid generating cached HTML without
the appropriate <script> or <link> tags.

However, for modules in the 'user' group, normal users cannot
delete their personal JavaScript/CSS pages, causing needless
extra requests, even though we know the pages are empty.

ResourceLoader::isKnownEmpty() now checks the page_len field
for modules in the 'user' group to check that there is
some actual content.

Bug: 68488
Change-Id: I0570f62887fd4642fd60367ae0b51d7dc19488ca

9 years agoFix WebInstaller style
Florianschmidtwelzow [Fri, 29 Aug 2014 20:40:47 +0000 (22:40 +0200)]
Fix WebInstaller style

The WebInstaller don't use classes, so it broke after Vector skin changed
to use classes instead of ID's

See: Iae873906abcd8b2a986e5f728f0ce207256de770

Bug: 70190
Change-Id: Ia70498a0ee7c99d000790223c44feddce73a5416

9 years agoMerge "Make "/*@noflip*/ /*@embed*/" annotation work"
jenkins-bot [Fri, 29 Aug 2014 19:45:06 +0000 (19:45 +0000)]
Merge "Make "/*@noflip*/ /*@embed*/" annotation work"

9 years agoMerge "Localisation updates from https://translatewiki.net."
Translation updater bot [Fri, 29 Aug 2014 19:25:47 +0000 (19:25 +0000)]
Merge "Localisation updates from https://translatewiki.net."

9 years agoMerge "startup: Update documentation"
jenkins-bot [Fri, 29 Aug 2014 18:53:10 +0000 (18:53 +0000)]
Merge "startup: Update documentation"

9 years agoCategory finder style cleanups
Chad Horohoe [Fri, 29 Aug 2014 01:58:25 +0000 (18:58 -0700)]
Category finder style cleanups

* Renamed class to CategoryFinder (camel case)
* Removed pointless empty constructor
* Swapped wfProfileIn/Out for ProfileSection
* Renamed scan_next_layer() to scanNextLayer() because underscores
  are ugly (no public callers)
* Made scanNextLayer() and check() private, no callers outside class
* Explicitly made run() and seed() public
* Removed ugly underscores from seed() parameter
* More useful variable name in single caller

Change-Id: Iaffea7634c7b17ed5324b3b5c9b938c1a1348555

9 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Fri, 29 Aug 2014 18:52:09 +0000 (20:52 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I910d5f7be5ed1178746be1513003e8ced3059cce

9 years agoMerge "Made findMissingFiles inspect the destination title for moves"
jenkins-bot [Fri, 29 Aug 2014 18:40:05 +0000 (18:40 +0000)]
Merge "Made findMissingFiles inspect the destination title for moves"

9 years agoMerge "ApiQueryBase: wfDeprecated() takes a string as second parameter, not number"
jenkins-bot [Fri, 29 Aug 2014 18:29:50 +0000 (18:29 +0000)]
Merge "ApiQueryBase: wfDeprecated() takes a string as second parameter, not number"

9 years agoMade findMissingFiles inspect the destination title for moves
Aaron Schulz [Fri, 29 Aug 2014 18:03:06 +0000 (11:03 -0700)]
Made findMissingFiles inspect the destination title for moves

Change-Id: I865f5575bc41bc85a09c9429d70e526c093961ee

9 years agoMerge "Fixed wrong comment in DatabaseBase::getFlag"
jenkins-bot [Fri, 29 Aug 2014 18:13:43 +0000 (18:13 +0000)]
Merge "Fixed wrong comment in DatabaseBase::getFlag"

9 years agoMerge "Add basic tests for EnhancedChangesList"
jenkins-bot [Fri, 29 Aug 2014 18:05:16 +0000 (18:05 +0000)]
Merge "Add basic tests for EnhancedChangesList"

9 years agoMerge "Make it easier to subclass Content and ContentHandler subclasses"
jenkins-bot [Fri, 29 Aug 2014 17:58:04 +0000 (17:58 +0000)]
Merge "Make it easier to subclass Content and ContentHandler subclasses"

9 years agoAdd basic tests for EnhancedChangesList
aude [Thu, 28 Aug 2014 13:30:20 +0000 (15:30 +0200)]
Add basic tests for EnhancedChangesList

Change-Id: Ic440a40652dcd10a6bc6bbf4237255ae9a0ef04a

9 years agoMade findMissingFiles use preloadFileStat() on old versions too to speed it up
Aaron Schulz [Thu, 28 Aug 2014 21:58:29 +0000 (14:58 -0700)]
Made findMissingFiles use preloadFileStat() on old versions too to speed it up

Change-Id: I03133c146f5a4f07f27b26dd033d6c93b72aea04

9 years agoApiQueryBase: wfDeprecated() takes a string as second parameter, not number
Bartosz Dziewoński [Fri, 29 Aug 2014 17:42:26 +0000 (19:42 +0200)]
ApiQueryBase: wfDeprecated() takes a string as second parameter, not number

Change-Id: I86902f6f10928ef19efab56dcf065418ea1139ca

9 years agoMerge "Make EditPage::tokenOK public for SemanticForms."
jenkins-bot [Fri, 29 Aug 2014 17:10:04 +0000 (17:10 +0000)]
Merge "Make EditPage::tokenOK public for SemanticForms."

9 years agoMake EditPage::tokenOK public for SemanticForms.
Brian Wolff [Fri, 29 Aug 2014 16:56:47 +0000 (13:56 -0300)]
Make EditPage::tokenOK public for SemanticForms.

This partially reverts a7fbdd6503ba981

Bug: 67522
Change-Id: Ia390975c3a46f1016567f1bcdabe3ec536bb6af6

9 years agoMerge "Add @since tags for initial Action.php methods"
jenkins-bot [Fri, 29 Aug 2014 17:02:03 +0000 (17:02 +0000)]
Merge "Add @since tags for initial Action.php methods"

9 years agomediawiki.action.view.redirect: Work around a IE 10+ HTML5 history API bug
Bartosz Dziewoński [Fri, 29 Aug 2014 15:45:48 +0000 (17:45 +0200)]
mediawiki.action.view.redirect: Work around a IE 10+ HTML5 history API bug

Internet Explorer 10 and 11 doesn't scroll the page to given fragment
when `history.replaceState` is used. Changing `location.hash` afterwards,
even though it's a no-op, results in the page scrolling properly.

Minimal broken test case:
  <style>div { height: 1000px; border: 1px solid blue; }</style>
  <script>history.replaceState( /*data=*/ history.state, /*title=*/ document.title, /*url=*/ '#second' );</script>
  <div id="start">Beginning of page</div>
  <div id="first">First section</div>
  <div id="second">Second section (should always scroll to here)</div>

JSFiddle test case:
* Works:        http://jsfiddle.net/rv9w9wr5/
* Doesn't work: http://jsfiddle.net/e6fy0mar/
* Works again:  http://jsfiddle.net/o8vc5grf/

It is also interesting to try visiting the test cases with a fragment
already in the URL. It seems that the history API in IE updates the
page's address, but doesn't update "fragment state" – the broken,
second testcase scrolls to #first in spite of displaying #second in
the address bar.

* http://fiddle.jshell.net/rv9w9wr5/show/light/#first
* http://fiddle.jshell.net/e6fy0mar/show/light/#first
* http://fiddle.jshell.net/o8vc5grf/show/light/#first

Bug: 70176
Change-Id: I19221a25a3167e94c2aa412bfdd8d0d8c57c5076

9 years agoAdd @since tags for initial Action.php methods
addshore [Fri, 29 Aug 2014 13:53:32 +0000 (14:53 +0100)]
Add @since tags for initial Action.php methods

These were introduced in r86001
Hash: 8779f4b55fe1753f762c8477f344f8c4267562ea

Change-Id: I1ae1d4f220d20961f77d2c913fd4f17233893c45

9 years agoAdd @todo note in OldChangesListTest
aude [Fri, 25 Jul 2014 16:40:47 +0000 (18:40 +0200)]
Add @todo note in OldChangesListTest

Change-Id: I7878689bcbd4c3742f3ab042c79d7bc8db07e04a

9 years agoAdd test case for recent changes flags in OldChangesList
aude [Fri, 25 Jul 2014 16:40:15 +0000 (18:40 +0200)]
Add test case for recent changes flags in OldChangesList

Change-Id: I011fcc684ddefda3ba86715e781f97b294240933

9 years agoAdd $logAction param for test recent changes helper
aude [Fri, 25 Jul 2014 16:39:07 +0000 (18:39 +0200)]
Add $logAction param for test recent changes helper

to allow testing with various types of log actions

Change-Id: Idc78c964a68e98239265aaaa9e7913d477a3298f

9 years agoFixed wrong comment in DatabaseBase::getFlag
Aaron Schulz [Fri, 29 Aug 2014 06:13:42 +0000 (23:13 -0700)]
Fixed wrong comment in DatabaseBase::getFlag

Change-Id: Ic299f538b322a07c0ee66786bbe70cb48de3b22e

9 years agoMerge "Remove dead code for showing login form to logged-in users"
jenkins-bot [Thu, 28 Aug 2014 22:23:30 +0000 (22:23 +0000)]
Merge "Remove dead code for showing login form to logged-in users"

9 years agoMerge "Remove some references to skins/common/ in comments"
jenkins-bot [Thu, 28 Aug 2014 22:23:04 +0000 (22:23 +0000)]
Merge "Remove some references to skins/common/ in comments"

9 years agoMerge "Load password information when expiring"
jenkins-bot [Thu, 28 Aug 2014 22:16:25 +0000 (22:16 +0000)]
Merge "Load password information when expiring"

9 years agoMerge "Made findMissingFiles support scanning files changed in a time range"
jenkins-bot [Thu, 28 Aug 2014 22:15:08 +0000 (22:15 +0000)]
Merge "Made findMissingFiles support scanning files changed in a time range"

9 years agoMerge "Revert "Consolidate parts of WebStart.php and doMaintenance.php into Initializ...
jenkins-bot [Thu, 28 Aug 2014 22:12:09 +0000 (22:12 +0000)]
Merge "Revert "Consolidate parts of WebStart.php and doMaintenance.php into Initialize.php""

9 years agoRemove some references to skins/common/ in comments
Bartosz Dziewoński [Thu, 28 Aug 2014 17:47:04 +0000 (19:47 +0200)]
Remove some references to skins/common/ in comments

Change-Id: I57f3edff3de7ccf18155467e3cadf32b1b893d72

9 years agoRevert "Consolidate parts of WebStart.php and doMaintenance.php into Initialize.php"
Chad [Thu, 28 Aug 2014 22:05:14 +0000 (22:05 +0000)]
Revert "Consolidate parts of WebStart.php and doMaintenance.php into Initialize.php"

Good idea, but moves things about too much and will break things. Let's revisit and not break things.

This reverts commit 214931ed33124a36e01e105c41c7d7e4797bde82.

Change-Id: I6f5026b572105cd9e7d6de12a491c7ee45ac3dbc

9 years agoUpdate OOjs UI to v0.1.0-pre (43f379c884)
James D. Forrester [Thu, 28 Aug 2014 21:49:12 +0000 (14:49 -0700)]
Update OOjs UI to v0.1.0-pre (43f379c884)

New changes:
0473209 Standardize less imports and image rule generation
4ead033 Localisation updates from https://translatewiki.net.
596d4e9 Tweak behaviour to match description in demos
8846b27 Fix typo in documentation: "nodes" (pl.) goes wo. article
611703c Fix label text in RTL demo listing containing parentheses
93c4b43 Divide CSS properties between base styles and themes
6ede2d8 Reorganize theme system
3515f5a Build with clean CSS
a24c7af Make OO.ui.Window's $content a div again
ea0172d Followup 6ede2d8: fix popup font size
d72addb Fix remaining references to 'agora' not 'minerva'
f6468b8 build: Don't copy anything other than SVG and PNG files to /dist
43f379c build: Also whitelist GIF files in the copy task

Local changes:
The "Agora" OOUI theme has been renamed to "Minerva", so correct loader.
The RTL CSS files were here by mistake, and have been removed.

Change-Id: I76e47b0b53bc5652146dd24fc403591bcc54e18b

9 years agoUse correct progressive color on inputs
jdlrobson [Thu, 28 Aug 2014 18:53:06 +0000 (11:53 -0700)]
Use correct progressive color on inputs

Bug: 69040
Change-Id: Ie61b37a7d849d26fa45386cd4a264c64d7fcd036

9 years agoMade findMissingFiles support scanning files changed in a time range
Aaron Schulz [Thu, 28 Aug 2014 20:48:30 +0000 (13:48 -0700)]
Made findMissingFiles support scanning files changed in a time range

Change-Id: Ic69249cc3646a04a885ca3b12ea426f1eb2cd171

9 years agoMerge "resourceloader: Don't register raw modules client-side"
jenkins-bot [Thu, 28 Aug 2014 20:38:00 +0000 (20:38 +0000)]
Merge "resourceloader: Don't register raw modules client-side"

9 years agoresourceloader: Don't register raw modules client-side
Kunal Mehta [Thu, 28 Aug 2014 20:16:03 +0000 (13:16 -0700)]
resourceloader: Don't register raw modules client-side

Prevents modules from depending on raw modules, like 'mediawiki' & 'jquery'.

To do that, those modules (as designated by raw=>true), aren't
registered in the module registry.

Change-Id: Iac37a236964dc40d6259988a0baaaa6331b54ec6

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

Change-Id: I7bf1aefb98b962cae3e52adc02a0e23ea4641ced

9 years agoMerge "TitleTest: fix minor todo about test naming"
jenkins-bot [Thu, 28 Aug 2014 18:52:32 +0000 (18:52 +0000)]
Merge "TitleTest: fix minor todo about test naming"

9 years agoTitleTest: fix minor todo about test naming
Chad Horohoe [Thu, 28 Aug 2014 18:38:18 +0000 (11:38 -0700)]
TitleTest: fix minor todo about test naming

Change-Id: I1aa29b859cb1dcf0ff3c30c23f5d4c6b412f72f9

9 years agoMerge "Fix font of mw-ui-button"
jenkins-bot [Thu, 28 Aug 2014 18:19:07 +0000 (18:19 +0000)]
Merge "Fix font of mw-ui-button"

9 years agoFix font of mw-ui-button
jdlrobson [Thu, 28 Aug 2014 18:10:30 +0000 (11:10 -0700)]
Fix font of mw-ui-button

Bug: 70072
Change-Id: I12bbdc7c84ce2cc99271c8ffd9dca24cb7d1faf9

9 years agoLoad password information when expiring
csteipp [Thu, 28 Aug 2014 18:04:57 +0000 (11:04 -0700)]
Load password information when expiring

Call loadPasswords when expiring the user's password, otherwise the
change is overwritten with the previous value.

This lets you do:
  $u = User::newFromName( 'User' );
  $u->expirePassword();
And the user will have to reset their password on the next login.

Change-Id: I47325dde1ce14280088efdc90ce7887b45e0dc6a

9 years agoMerge "Remove SpecialSearchNoResults and call SpecialSearchResults always"
jenkins-bot [Thu, 28 Aug 2014 17:36:07 +0000 (17:36 +0000)]
Merge "Remove SpecialSearchNoResults and call SpecialSearchResults always"

9 years agoMerge "es5-shim: Add polyfill for Object.create"
jenkins-bot [Thu, 28 Aug 2014 16:58:56 +0000 (16:58 +0000)]
Merge "es5-shim: Add polyfill for Object.create"

9 years agoMerge "Introduce mediawiki.skinning module for external link icons"
jenkins-bot [Thu, 28 Aug 2014 14:24:27 +0000 (14:24 +0000)]
Merge "Introduce mediawiki.skinning module for external link icons"

9 years agoMove actual OldChangesList line formatting to separate method
aude [Thu, 28 Aug 2014 11:36:26 +0000 (13:36 +0200)]
Move actual OldChangesList line formatting to separate method

Change-Id: I31100c79abc30460bd08eb50862b51a56b807fba

9 years agoMerge "Making missing old files not try to render a thumbnail"
jenkins-bot [Thu, 28 Aug 2014 07:43:26 +0000 (07:43 +0000)]
Merge "Making missing old files not try to render a thumbnail"

9 years agoMerge "Check for error before outputting srcset urls"
jenkins-bot [Thu, 28 Aug 2014 07:35:17 +0000 (07:35 +0000)]
Merge "Check for error before outputting srcset urls"

9 years agoMerge "Consolidate parts of WebStart.php and doMaintenance.php into Initialize.php"
jenkins-bot [Thu, 28 Aug 2014 01:46:35 +0000 (01:46 +0000)]
Merge "Consolidate parts of WebStart.php and doMaintenance.php into Initialize.php"

9 years agoMerge "Use addQuotes() as needed in MergeHistory pager"
jenkins-bot [Wed, 27 Aug 2014 23:59:34 +0000 (23:59 +0000)]
Merge "Use addQuotes() as needed in MergeHistory pager"

9 years agoUse addQuotes() as needed in MergeHistory pager
Aaron Schulz [Wed, 27 Aug 2014 23:49:34 +0000 (16:49 -0700)]
Use addQuotes() as needed in MergeHistory pager

Change-Id: Ibf15ff303cf9641a0ce3da855a88d8276fb21ff1

9 years agoMerge "Fixed UID comment"
jenkins-bot [Wed, 27 Aug 2014 23:31:48 +0000 (23:31 +0000)]
Merge "Fixed UID comment"

9 years agoRemove SpecialSearchNoResults and call SpecialSearchResults always
Chad Horohoe [Wed, 27 Aug 2014 23:17:02 +0000 (16:17 -0700)]
Remove SpecialSearchNoResults and call SpecialSearchResults always

The former hook is only used by one extension which uses the
same code path for both hooks meaning no fix is necessary. Makes
it possible for extensions to actually provide results when none
were found.

Change-Id: Ia4d56b2a1a7531529dbde8a011a33a4482c04932

9 years agoFixed UID comment
Aaron Schulz [Wed, 27 Aug 2014 23:19:11 +0000 (16:19 -0700)]
Fixed UID comment

Change-Id: I2e44bd69f4acafa032e0c4207749008409afcd53

9 years agoMerge "Revert "Remove useless $out parameter from SkinTemplate::prepareQuickTemplate()""
jenkins-bot [Wed, 27 Aug 2014 22:50:07 +0000 (22:50 +0000)]
Merge "Revert "Remove useless $out parameter from SkinTemplate::prepareQuickTemplate()""

9 years agoRevert "Remove useless $out parameter from SkinTemplate::prepareQuickTemplate()"
Bartosz Dziewoński [Wed, 27 Aug 2014 22:42:16 +0000 (22:42 +0000)]
Revert "Remove useless $out parameter from SkinTemplate::prepareQuickTemplate()"

This reverts commit 404939b9c272bd12a62bb47f7ca452368b7f20ca.

Lacked sufficient deprecation process (no notice, no one checked
existing skins), resulting in a fatal in at least one skin (BlueSky).

Change-Id: Id009f6ac05ebcb3cd1f739b1b46e810ddacf29af

9 years agoMerge "Indicate the actual version of HHVM in use"
jenkins-bot [Wed, 27 Aug 2014 22:42:12 +0000 (22:42 +0000)]
Merge "Indicate the actual version of HHVM in use"

9 years agoMerge "API: Organize classes"
jenkins-bot [Wed, 27 Aug 2014 21:25:24 +0000 (21:25 +0000)]
Merge "API: Organize classes"

9 years agoIntroduce mediawiki.skinning module for external link icons
Jack Phoenix [Mon, 30 Jun 2014 21:56:02 +0000 (00:56 +0300)]
Introduce mediawiki.skinning module for external link icons

This should facilitate the creation of third-party skins.

Previously third-party skin creators have had to either copy the relevant
lines from Monobook's main.css, which has led to unnecessary code
duplication and bitrot (to a degree), or no support for external link
icons at all.

This change set will hopefully make the main.css file of your average
custom skin about 86 lines shorter, as well as keep the external link code
and icons centralized for proper RTL support and whatnot (which is *not*
a given when it comes to custom, non-core skins!).

HTTPS' custom icon was dropped and HTTPS URLs are now given the standard
external link arrow icon. This is an intentional design decision.

New icons are Isarra's handiwork, kudos!

Bug: 63521
Change-Id: I8ecbc827f2b05aec79401ac4962fcc15387c8ad8

9 years agoMerge "mediawiki.debug: Fix crash in browsers without Function#bind"
jenkins-bot [Wed, 27 Aug 2014 21:00:02 +0000 (21:00 +0000)]
Merge "mediawiki.debug: Fix crash in browsers without Function#bind"