lhc/web/wiklou.git
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 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 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 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 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

9 years agoDon't estimate the revision count for page deletions
Marius Hoch [Sat, 3 May 2014 16:47:25 +0000 (18:47 +0200)]
Don't estimate the revision count for page deletions

Often the estimated revision count is several thousands away
from the real one, thus disallowing normal sysops to delete
pages which they actually should be able to delete.

This also changes the revision number shown to users on
action=delete to the real one, as that code path is only
being hit for users that can delete the page.

Bug: 69556
Change-Id: Id0d02aa9960477a0cec8752ef714b6bc6b9ff2ac

9 years agoFix calls to DatabaseBase static functions
withoutaname [Thu, 24 Jul 2014 02:29:28 +0000 (19:29 -0700)]
Fix calls to DatabaseBase static functions

Previously they were calling Database:: which is a nonexistent class.

Change-Id: I73b2ed4722c9108b6a00c8c0cabbda9564378b4b

9 years agoRemove unmatched @param
umherirrender [Sat, 16 Aug 2014 18:49:41 +0000 (20:49 +0200)]
Remove unmatched @param

There is no method parameter for this @param

Change-Id: I42d1e3439e5b767be09920d536bee34bcd017ec9

9 years agoMove debug log related settings up in Setup.php
Alexandre Emsenhuber [Mon, 4 Aug 2014 20:13:39 +0000 (22:13 +0200)]
Move debug log related settings up in Setup.php

Since this doesn't rely on functions defined in GlobalFunctions.php;
this can be in the first "defaults" section of the file.

Change-Id: I24f1a14322d90d053adf51716516001477364e16

9 years agoMerge "Fix the (un)watch token to include the namespace name."
jenkins-bot [Sat, 16 Aug 2014 13:20:31 +0000 (13:20 +0000)]
Merge "Fix the (un)watch token to include the namespace name."

9 years agoFix URL protocol detection regex for file link= parameter
This, that and the other [Sat, 16 Aug 2014 12:09:42 +0000 (22:09 +1000)]
Fix URL protocol detection regex for file link= parameter

This regex looked something like /^(?i)bitcoin:|ftp://|ftps://|.../, which
meant the anchoring ^ only applied to the first name. This meant that any
link= value that happened to contain a URL protocol anywhere within it
(e.g. wikinews:Foo containing "news:") got incorrectly matched by this
regex.

Bug: 69317
Change-Id: Ide1c4f64137666db99f8e3b6816df01ef5099c8e

9 years agoRegister a fake skin instead of a 'vector' that will fail
Kunal Mehta [Sat, 16 Aug 2014 05:50:25 +0000 (22:50 -0700)]
Register a fake skin instead of a 'vector' that will fail

Bug: 69639
Change-Id: Icd87520f7b6de337b009144420c3a430861d0833

9 years agoMerge "Add blanket support for mediawiki ui via globals"
jenkins-bot [Sat, 16 Aug 2014 00:48:19 +0000 (00:48 +0000)]
Merge "Add blanket support for mediawiki ui via globals"

9 years agoAdded more JobRunner docs
Aaron Schulz [Fri, 15 Aug 2014 22:19:46 +0000 (15:19 -0700)]
Added more JobRunner docs

Change-Id: I4fbb947a2fc2b5f325dff97127bf39edf18f0e13

9 years agoMerge "mediawiki.toc: Remove class="internal" from tocToggleLink"
jenkins-bot [Fri, 15 Aug 2014 21:49:35 +0000 (21:49 +0000)]
Merge "mediawiki.toc: Remove class="internal" from tocToggleLink"

9 years agoAdd blanket support for mediawiki ui via globals
jdlrobson [Wed, 30 Jul 2014 17:56:25 +0000 (10:56 -0700)]
Add blanket support for mediawiki ui via globals

This provides better mobile experiences on various pages
and a more consistent UI across both mobile and desktop.

It does this in two ways.

1) Forces HTMLForms to not use table based layouts so as
not to interfere with responsive nature of mediawiki ui elements

2) Applies MediaWiki.UI classes to most pages
If a page is created via Xml or Html classes it will use mediawiki ui
Where possible I've added classes unconditionally, but for cases of buttons
this is behind the $wgUseMediaWikiUIEverywhere global since button styling is
enabled on pages by default and for checkboxes since it is changes HTML markup.

3) Adds all MediaWiki.UI styles to pages which can use it
When enabled:
* Apply these styles to all pages which use HTMLForms
* Apply to EditPage
* Apply to anything that uses certain elements outputted by the
Xml or HTML helper classes
* Apply to History page
* Apply to protection page
* Apply to move page
* Apply to deletion page

Currently kept behind a global to allow us time to finetune
existing elements. After further testing we will look to kill the
globals and make mediawiki.ui the default

See: I430c0fbb79d2a33bb828b2427bda0ee01115d73f
Change-Id: I47db5eab4569514d039261d11b6dedb0eeae17b5

9 years agoMerge "Turn HTMLBlockedUsersItemSelect into HTMLSelectLimitField"
jenkins-bot [Fri, 15 Aug 2014 21:40:32 +0000 (21:40 +0000)]
Merge "Turn HTMLBlockedUsersItemSelect into HTMLSelectLimitField"

9 years agoMerge "mediawiki.jqueryMsg: Prevent default action for functions as external link"
jenkins-bot [Fri, 15 Aug 2014 21:29:35 +0000 (21:29 +0000)]
Merge "mediawiki.jqueryMsg: Prevent default action for functions as external link"

9 years agoUse batch inserts for watchlist
Erik Bernhardson [Fri, 15 Aug 2014 21:04:10 +0000 (14:04 -0700)]
Use batch inserts for watchlist

Inserting a watchlist item was using two queries where only one was
necessary.  This adjusts to use a single query and adds the ability
to watchlist multiple titles simultaneously.

Change-Id: I331238524598f1ee87c28104ab02edf4b2afaaf2

9 years agoMerge "Set relevant title on Special:RecentChangesLinked"
jenkins-bot [Fri, 15 Aug 2014 20:26:17 +0000 (20:26 +0000)]
Merge "Set relevant title on Special:RecentChangesLinked"

9 years agoUpdate Moment.js from 2.7.0 to 2.8.1
paladox [Mon, 4 Aug 2014 11:13:21 +0000 (11:13 +0000)]
Update Moment.js from 2.7.0 to 2.8.1

Project site

* http://momentjs.com/ and https://github.com/moment/moment/

File source

* https://github.com/moment/moment/blob/2.8.1/moment.js

README

* https://github.com/moment/moment/blob/2.8.1/readme.md

Changelog

1.8.0 changelog

* https://gist.github.com/ichernev/ac3899324a5fa6c8c9b4

1.8.1 changelog

* https://github.com/moment/moment/blob/2.8.1/CHANGELOG.md

difference between 2.7.0 and 2.8.1

incompatible changes

* #1761: moments created without a language are no longer following the global language, in case it changes. Only newly created moments take the global language by default. In case you're affected by this, wait, comment on #1797 and wait for a proper reimplementation
* #1642: 45 days is no longer "a month" according to humanize, cutoffs for month, and year have changed. Hopefully your code does not depend on a particular answer from humanize (which it shouldn't anyway)
* #1784: if you use the human readable English datetime format in a weird way (like storing them in a database) that would break when the format changes you're at risk.
* #1785  moment.momentProperties  is now an array of properties instead of a hash. If you have a plugin that uses it to make sure cloned moments will retain the plugin-added properties you need to change your code.

deprecations (old behavior will be dropped in 3.0)

* #1761  lang  is renamed to  locale ,  langData  ->  localeData . Also there is now defineLocale  that should be used when creating new locales
* #1763  add(unit, value)  and  subtract(unit, value)  are now deprecated. Use  add(value, unit)  and  subtract(value, unit)  instead.
* #1759 rename  duration.toIsoString  to  duration.toISOString . The js standard library and moment's  toISOString  follow that convention.

new locales

* #1789 Tibetan (bo)
* #1786 Africaans (af)
* #1778 Burmese (my)
* #1727 Belarusian (be)

bugfixes

* #1738 local to zone conversion with keepLocalTime=true
* #1642 more accurate humanize

performance

* #1808 speedup cloning 49x
* #1708 speedup creation with Date object

features

*#1716  moment.relativeTimeThreshold  now supports getting the existing threshold

locale bugfix

* #1784 add comma between day-of-month and year in us-en
* #1710 fix lithuanian month name

2.8.1

* bugfix #1813: fix moment().lang([key]) incompatibility

Change-Id: Iaffaaa18e08773f8f36e83e918e61a2259f1e2e3

9 years agoMerge "API: Mark seldom-used formats as deprecated"
jenkins-bot [Fri, 15 Aug 2014 16:32:05 +0000 (16:32 +0000)]
Merge "API: Mark seldom-used formats as deprecated"

9 years agoMerge "Use lowercase array in ResourceLoaderStartUpModule.php"
jenkins-bot [Fri, 15 Aug 2014 14:33:45 +0000 (14:33 +0000)]
Merge "Use lowercase array in ResourceLoaderStartUpModule.php"

9 years agoMerge "jquery.tablesorter: Only look at th's for headers"
jenkins-bot [Fri, 15 Aug 2014 13:32:49 +0000 (13:32 +0000)]
Merge "jquery.tablesorter: Only look at th's for headers"

9 years agoUse lowercase array in ResourceLoaderStartUpModule.php
umherirrender [Fri, 15 Aug 2014 13:29:28 +0000 (15:29 +0200)]
Use lowercase array in ResourceLoaderStartUpModule.php

Change-Id: Idf28e6d302e3b28c1c5cfb9f8f108dd9a69a092c

9 years agoAPI: Mark seldom-used formats as deprecated
Brad Jorsch [Fri, 8 Aug 2014 10:00:22 +0000 (11:00 +0100)]
API: Mark seldom-used formats as deprecated

While it doesn't take a lot to maintain most of these, there is some
effort needed (e.g. wddx was breaking with HHVM). None have much if any
usage that seems likely to be actual code of some sort, and humans
should be able to read the jsonfm format as easily as dbgfm, dumpfm, or
txtfm.

Change-Id: I4e3d2ef59d4306756b289a4be46caef7d359ccef

9 years agoAPI: Log usage of various deprecated features
Brad Jorsch [Thu, 14 Aug 2014 18:15:23 +0000 (14:15 -0400)]
API: Log usage of various deprecated features

This will let us know how aggressively we can finally remove these.

Change-Id: I03fab36e921807e74fbabfa878756af254d89a1b

9 years agoAPI: Add method for logging feature usage
Brad Jorsch [Fri, 8 Aug 2014 09:37:02 +0000 (10:37 +0100)]
API: Add method for logging feature usage

For example, to determine usage levels of deprecated features.

Change-Id: Ifd640883e46f3e6c8179c63d122c704b046674ca

9 years agoMerge "Fixed doc comment"
jenkins-bot [Thu, 14 Aug 2014 22:58:42 +0000 (22:58 +0000)]
Merge "Fixed doc comment"

9 years agoFixed doc comment
Aaron Schulz [Thu, 14 Aug 2014 22:35:30 +0000 (15:35 -0700)]
Fixed doc comment

Change-Id: I906f3f34ac27207dd6b87b07fa6e791bc7b66691

9 years agoMerge "Normalize key before creating a Skin object"
Bartosz Dziewoński [Thu, 14 Aug 2014 21:05:55 +0000 (21:05 +0000)]
Merge "Normalize key before creating a Skin object"

9 years agoNormalize key before creating a Skin object
Kunal Mehta [Thu, 14 Aug 2014 20:47:24 +0000 (13:47 -0700)]
Normalize key before creating a Skin object

Bug: 69566
Change-Id: Id0af543cf206f47a3577019313597388ebc63b6a

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

Change-Id: I45940b5477b7d441b2d029061b2e2c2da443b164

9 years agoAdd missing @param to function docs
umherirrender [Thu, 14 Aug 2014 19:34:55 +0000 (21:34 +0200)]
Add missing @param to function docs

Change-Id: Ib7ac94d05a04490f25dfd40b46b27973cbab582c

9 years agoChanged password default to PBKDF2
Tyler Romeo [Sun, 27 Jul 2014 19:48:22 +0000 (15:48 -0400)]
Changed password default to PBKDF2

Bug: 28419
Change-Id: I096a862c884f6a6adbb381c0fcc70844bf007c63

9 years agoMerge "Make Special:UserLogin form use mw-ui-checkbox"
jenkins-bot [Thu, 14 Aug 2014 18:48:44 +0000 (18:48 +0000)]
Merge "Make Special:UserLogin form use mw-ui-checkbox"

9 years agoMerge "Add missing @param to function docs"
jenkins-bot [Thu, 14 Aug 2014 18:34:20 +0000 (18:34 +0000)]
Merge "Add missing @param to function docs"

9 years agoMake Special:UserLogin form use mw-ui-checkbox
jdlrobson [Fri, 25 Jul 2014 23:43:36 +0000 (16:43 -0700)]
Make Special:UserLogin form use mw-ui-checkbox

Change-Id: Ib585e32463765d7eb7d0be5dae54dc828ddd4ca9

9 years agoAdd missing @param to function docs
umherirrender [Thu, 14 Aug 2014 18:22:52 +0000 (20:22 +0200)]
Add missing @param to function docs

Change-Id: I47fa96a976f55a1a93cb75397285edb8c7f4cd8a

9 years agoMerge "Remove various functions and globals deprecated since 1.22 from RecentChange"
jenkins-bot [Thu, 14 Aug 2014 18:06:35 +0000 (18:06 +0000)]
Merge "Remove various functions and globals deprecated since 1.22 from RecentChange"

9 years agoMerge "Correctly handle incorrect namespace in cleanupTitles.php"
jenkins-bot [Thu, 14 Aug 2014 16:58:25 +0000 (16:58 +0000)]
Merge "Correctly handle incorrect namespace in cleanupTitles.php"

9 years agoMerge "Remove useless $out parameter from SkinTemplate::prepareQuickTemplate()"
jenkins-bot [Thu, 14 Aug 2014 16:47:32 +0000 (16:47 +0000)]
Merge "Remove useless $out parameter from SkinTemplate::prepareQuickTemplate()"

9 years agoMerge "Followup I4049b666: "Removing prefix exception for HTMLCheckMatrix""
jenkins-bot [Thu, 14 Aug 2014 12:51:27 +0000 (12:51 +0000)]
Merge "Followup I4049b666: "Removing prefix exception for HTMLCheckMatrix""

9 years agoMerge "mediawiki.notify: Simplify callback by using .then()"
jenkins-bot [Wed, 13 Aug 2014 23:04:00 +0000 (23:04 +0000)]
Merge "mediawiki.notify: Simplify callback by using .then()"

9 years agoMerge "Use camel case for variable names in Article.php"
jenkins-bot [Wed, 13 Aug 2014 22:42:57 +0000 (22:42 +0000)]
Merge "Use camel case for variable names in Article.php"

9 years agoMerge "Don't set the session name in CLI or when sessions are deactivated"
jenkins-bot [Wed, 13 Aug 2014 22:30:55 +0000 (22:30 +0000)]
Merge "Don't set the session name in CLI or when sessions are deactivated"

9 years agoMerge "Allow to send the memory usage with UDP profiler."
jenkins-bot [Wed, 13 Aug 2014 22:24:39 +0000 (22:24 +0000)]
Merge "Allow to send the memory usage with UDP profiler."

9 years agoEnabled $wgUseLinkNamespaceDBFields
Aaron Schulz [Tue, 12 Aug 2014 17:55:05 +0000 (10:55 -0700)]
Enabled $wgUseLinkNamespaceDBFields

Change-Id: I7aa64c3ef50cd0bc210ea755a0c9d6ee1b7abb7c

9 years agomediawiki.notify: Simplify callback by using .then()
Fomafix [Wed, 13 Aug 2014 21:31:48 +0000 (21:31 +0000)]
mediawiki.notify: Simplify callback by using .then()

Change-Id: Ifff25534d716721ff1d2d4484dbd0f63161ecb43

9 years agoMerge "Pass $name to default Skin constructor for backwards-compatability"
jenkins-bot [Wed, 13 Aug 2014 21:21:07 +0000 (21:21 +0000)]
Merge "Pass $name to default Skin constructor for backwards-compatability"

9 years agoMerge "Added --lastUpdatedId option to backlink namespace population script"
jenkins-bot [Wed, 13 Aug 2014 21:06:52 +0000 (21:06 +0000)]
Merge "Added --lastUpdatedId option to backlink namespace population script"

9 years agoMerge "Run some parser tests with tidy."
jenkins-bot [Wed, 13 Aug 2014 21:02:56 +0000 (21:02 +0000)]
Merge "Run some parser tests with tidy."

9 years agoMerge "Revert "Made LCStoreDB try to use a separate DB connection""
jenkins-bot [Wed, 13 Aug 2014 21:01:36 +0000 (21:01 +0000)]
Merge "Revert "Made LCStoreDB try to use a separate DB connection""

9 years agoMerge "includes/actions/: Use Config instead of globals"
jenkins-bot [Wed, 13 Aug 2014 20:48:48 +0000 (20:48 +0000)]
Merge "includes/actions/: Use Config instead of globals"

9 years agoPass $name to default Skin constructor for backwards-compatability
Kunal Mehta [Wed, 13 Aug 2014 20:45:56 +0000 (13:45 -0700)]
Pass $name to default Skin constructor for backwards-compatability

This feature was necessary when it was only possible to specify the
name of the class a skin used, this was the only way for one class to
dynamically serve multiple skins (such as if the skins were purely
template based with no PHP or if one skin had different themes to it).
It also provided an option for other skins to set $this->skinname dynamically.

See code review on I5c442f3c9e.

Change-Id: I7315fadf2e26d164ccc4f47b6d883945fa2570da

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

9 years agoMerge "SkinFallbackTemplate: Use SkinFactory instead of $wgValidSkinNames"
jenkins-bot [Wed, 13 Aug 2014 20:41:06 +0000 (20:41 +0000)]
Merge "SkinFallbackTemplate: Use SkinFactory instead of $wgValidSkinNames"

9 years agoincludes/actions/: Use Config instead of globals
Kunal Mehta [Wed, 13 Aug 2014 02:45:55 +0000 (19:45 -0700)]
includes/actions/: Use Config instead of globals

Changed InfoAction::pageCounts to be non-static, so
it's able to access $this to get the Config object.

Also replaced instances of $wgScript with wfScript().

Change-Id: I4a6a3224e762f13640af04a73e2934b887dffedd