lhc/web/wiklou.git
10 years agoMerge "Reduce complexity of "noindex-category-desc""
jenkins-bot [Tue, 8 Apr 2014 15:44:15 +0000 (15:44 +0000)]
Merge "Reduce complexity of "noindex-category-desc""

10 years agoReduce complexity of "noindex-category-desc"
Siebrand Mazeland [Tue, 8 Apr 2014 15:34:40 +0000 (17:34 +0200)]
Reduce complexity of "noindex-category-desc"

Spotted by Lokal Profil and reported at
https://translatewiki.net/wiki/Thread:Support/About_MediaWiki:Noindex-category-desc/sv

Change-Id: Ie088085cc6aa1974c93a1687ecc67ed961413c6f

10 years agoRemove title case for "trackingcategories-msg"
Siebrand Mazeland [Tue, 8 Apr 2014 15:31:10 +0000 (17:31 +0200)]
Remove title case for "trackingcategories-msg"

Change-Id: I0312f89bf399009d87ccdd88f5abfaf79ea5794f

10 years agoWrap parameter in code tags
Siebrand Mazeland [Tue, 8 Apr 2014 13:08:51 +0000 (15:08 +0200)]
Wrap parameter in code tags

Spotted by Lokal Profil and reported at
https://translatewiki.net/wiki/Thread:Support/About_MediaWiki:Config-no-cli-uri/sv

Change-Id: I2803e42c8cfae1a882b3300861b832154129f57f

10 years agoMerge "Added more filter options to $wgRCFeeds"
Bartosz Dziewoński [Tue, 8 Apr 2014 11:27:34 +0000 (11:27 +0000)]
Merge "Added more filter options to $wgRCFeeds"

10 years agoMerge "qunit: Implement suppressWarnings/restoreWarnings"
Bartosz Dziewoński [Tue, 8 Apr 2014 11:25:02 +0000 (11:25 +0000)]
Merge "qunit: Implement suppressWarnings/restoreWarnings"

10 years agoFix spelling: occurred
Siebrand Mazeland [Tue, 8 Apr 2014 09:08:46 +0000 (11:08 +0200)]
Fix spelling: occurred

Change-Id: Ic307db2362b00f15eaac781587bfe9c1d074194f

10 years agoMerge "resourceloader: Don't add superfluous line breaks and semicolons"
jenkins-bot [Tue, 8 Apr 2014 03:36:47 +0000 (03:36 +0000)]
Merge "resourceloader: Don't add superfluous line breaks and semicolons"

10 years agoMerge "Add extra views (tabs) for files in a foreign repository"
jenkins-bot [Tue, 8 Apr 2014 02:34:33 +0000 (02:34 +0000)]
Merge "Add extra views (tabs) for files in a foreign repository"

10 years agoqunit: Implement suppressWarnings/restoreWarnings
Timo Tijhof [Mon, 7 Apr 2014 18:43:19 +0000 (11:43 -0700)]
qunit: Implement suppressWarnings/restoreWarnings

There are various tests triggering deprecation warnings because
they are testing deprecated functionality, on purpose.

Surpress these so that the logs aren't filled with false
positives in Jenkins.

Change-Id: I4bb546781a0c89999b2e5df7715abf492a44856d

10 years agoMerge "update-oojs.sh: Rewrite to fetch from npm repo instead of building from git"
jenkins-bot [Tue, 8 Apr 2014 00:13:13 +0000 (00:13 +0000)]
Merge "update-oojs.sh: Rewrite to fetch from npm repo instead of building from git"

10 years agoupdate-oojs.sh: Rewrite to fetch from npm repo instead of building from git
Timo Tijhof [Mon, 7 Apr 2014 22:15:06 +0000 (15:15 -0700)]
update-oojs.sh: Rewrite to fetch from npm repo instead of building from git

* Fetch upstream build from npm repository instead of building it locally
  from git (to avoid different timestamps and checksums not matching, no
  need for MediaWiki code to know how to build a oojs distribution).

* Ran it which changed the oojs.js file slightly (it now contains the file
  as released on npmjs.org instead of the local build by the person who
  last updated it in mediawiki).

Follows-up:
648667a - Split up resources/ into resources/lib/ and resources/src/
c68b967 - Add scripts to generate update builds of OOjs

Change-Id: I63f79293e21781c1db3d7c43658c22f58ba9102d

10 years agoAdded more filter options to $wgRCFeeds
Tyler Anthony Romeo [Thu, 6 Feb 2014 08:20:27 +0000 (03:20 -0500)]
Added more filter options to $wgRCFeeds

Changed RecentChange::notifyRCFeeds() to allow more
filter options than just omit_bots. In order to mirror
the on-wiki Special:RecentChanges UI, the options
omit_anon, omit_user, omit_minor, omit_patrolled were added,
which omits anonymous, registered, minor, and patrolled
edits, respectively.

Bug: 60941
Change-Id: I716c741f1f7d42b6506a97e9a5733beac23ac16c

10 years agoMerge "Replace in_array( array_keys( ... ) ) with array_key_exists( ... )"
jenkins-bot [Mon, 7 Apr 2014 23:16:46 +0000 (23:16 +0000)]
Merge "Replace in_array( array_keys( ... ) ) with array_key_exists( ... )"

10 years agoMerge "Delete UIDGenerator cache files after unit tests"
jenkins-bot [Mon, 7 Apr 2014 23:09:11 +0000 (23:09 +0000)]
Merge "Delete UIDGenerator cache files after unit tests"

10 years agoMerge "Convert <!-- timing data --> to a <script></script> block"
jenkins-bot [Mon, 7 Apr 2014 22:54:20 +0000 (22:54 +0000)]
Merge "Convert <!-- timing data --> to a <script></script> block"

10 years agoMerge "Followup 648667ac: fix paths in update-oojs-ui.sh"
jenkins-bot [Mon, 7 Apr 2014 22:28:04 +0000 (22:28 +0000)]
Merge "Followup 648667ac: fix paths in update-oojs-ui.sh"

10 years agoUpdate OOjs UI to v0.1.0-pre (4975b8db90)
Roan Kattouw [Mon, 7 Apr 2014 22:17:17 +0000 (15:17 -0700)]
Update OOjs UI to v0.1.0-pre (4975b8db90)

New changes:
9857035 [BREAKING CHANGE] Fix some intialize -> initialize typos
c93cd2b Use new OO#initClass method for base classes
967ea78 Switch over to grunt-banana-checker now that it's a real boy
4975b8d [BREAKING CHANGE] Death to initializeSelection

Change-Id: I3fac3f5ca25162b82f8830ee63cb4142eb7df68e

10 years agoFollowup 648667ac: fix paths in update-oojs-ui.sh
Roan Kattouw [Mon, 7 Apr 2014 22:12:38 +0000 (15:12 -0700)]
Followup 648667ac: fix paths in update-oojs-ui.sh

Change-Id: I579eb17c72a24ed7e23dc553fa55ce1b4e1f612c

10 years agoConvert <!-- timing data --> to a <script></script> block
Ori Livneh [Sat, 15 Mar 2014 08:05:44 +0000 (01:05 -0700)]
Convert <!-- timing data --> to a <script></script> block

This patch replaces:

  <!-- Served by mw1069 in 0.976 secs. -->

With:

  <script>mw.config.set({"wgBackendResponseTime":976,"wgHostname":"mw1069"});</script>

In the default HTML output of MediaWiki.

While the latter is a nearly twice as long, it is almost as readable for human
beings, while being substantially easy to get via JavaScript.

To get the values from the comment, you have to do something like:

  var comments, comment, hostname, duration;
  comments = $.grep( document.body.childNodes, function ( el ) {
return el.nodeType === 8
  } );
  comment = comments.length
? comments.pop().nodeValue.match( /(\S+) in ([\d.]+)/ ).slice( 1 )
: [ null, null ];
  hostname = comment[0];
  respTime = parseFloat( comment[1] );

On the other hand, to get the values from the JavaScript code, you can simply:

  var hostname = mw.config.get( 'wgHostname' );
  var respTime = mw.config.get( 'wgBackendResponseTime' );

I believe that the ability to parse the number easily via JavaScript will make
it easier to include with other client-side measurements as part of reports on
site performance as experienced by users.

Change-Id: I895cd03f0968815484ff8cda4b23cc602ac555f0

10 years agoMerge "Remove troublesome fonts from font stack"
jenkins-bot [Mon, 7 Apr 2014 21:23:13 +0000 (21:23 +0000)]
Merge "Remove troublesome fonts from font stack"

10 years agoMerge "Fix usage of $wgDebugDumpSql"
jenkins-bot [Mon, 7 Apr 2014 21:22:02 +0000 (21:22 +0000)]
Merge "Fix usage of $wgDebugDumpSql"

10 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Mon, 7 Apr 2014 20:30:49 +0000 (20:30 +0000)]
Localisation updates from https://translatewiki.net.

Change-Id: I65a75087d4eec55f12674de5881ecb34f2d8563a

10 years agoRemove troublesome fonts from font stack
jrobson [Mon, 7 Apr 2014 19:54:36 +0000 (12:54 -0700)]
Remove troublesome fonts from font stack

These fonts have been shown to render extremely
badly on Windows machines. Reverting them from the
font stack as a short term measure.

Bug: 63512
Change-Id: Ibb16c93ef7f0c7efd5ba963d01e6dc5db61fdc87

10 years agoSplit /resources into /resources/lib and /resources/src
James D. Forrester [Thu, 3 Apr 2014 16:17:09 +0000 (09:17 -0700)]
Split /resources into /resources/lib and /resources/src

Currently, MediaWiki has a mess of resources, some but not all of which are upstream libraries.
This means that occasionally people will attempt to make local modifications of the libraries
by accident, or deliberately but do not flag it, making dependency management a challenge (and
fixing upstream-related bugs a headache).

Instead, we now split the /resources directory into a /resources/lib directory for those items
which are used purely as intact upstream libraries, and a /resources/src directroy for those
which are either local libraries written for MediaWiki and mastered here, or downstream forks
of upstream libraries which require particular care and attention when being upgraded. Also,
some incidental files which are not to be loaded as part of a module have been moved to better
locations.

Upstream libaries

* jquery
resources/jquery/jquery.js

* jquery.appear
resources/jquery/jquery.appear.js

* jquery.async
resources/jquery/jquery.async.js

* jquery.chosen
resources/jquery.chosen/*

* jquery.cookie
resources/jquery/jquery.cookie.js

* jquery.form
resources/jquery/jquery.form.js

* jquery.fullscreen.js
resources/jquery/jquery.fullscreen.js

* jquery.hoverIntent
resources/jquery/jquery.hoverIntent.js

* jquery.json
resources/jquery/jquery.json.js

* jquery.mockjax
resources/jquery/jquery.mockjax.js

* jquery.qunit
resources/jquery/jquery.qunit.css
resources/jquery/jquery.qunit.js

* jquery.jStorage
resources/jquery/jquery.jStorage.js

* jquery.throttle-debounce
resources/jquery/jquery.ba-throttle-debounce.js

* jquery.validate
resources/jquery/jquery.validate.js

* jquery.xmldom
resources/jquery/jquery.xmldom.js

* moment
resources/moment/*

* OOjs
resource/oojs/*

* OOjs UI
resources/oojs-ui/*

* jquery.ui.*
resources/jquery.ui/*
resources/jquery.ui/themes/default moved to resources/lib/jquery.ui/themes/
resources/jquery.ui/themes/vector moved to resources/src/jquery.ui-themes/

* jquery.effects.*
resources/jquery.effects/*

* sinon
resources/sinonjs/*

Upstream libraries forked for MediaWiki

* jquery.color
resources/jquery/jquery.color.js

* jquery.tipsy
resources/jquery.tipsy/*

Local libraries

* jquery.arrowSteps
resources/jquery/jquery.arrowSteps.css
resources/jquery/jquery.arrowSteps.js
resources/jquery/images/jquery.arrowSteps.divider-ltr.png
resources/jquery/images/jquery.arrowSteps.divider-rtl.png
resources/jquery/images/jquery.arrowSteps.head-ltr.png
resources/jquery/images/jquery.arrowSteps.head-rtl.png
resources/jquery/images/jquery.arrowSteps.tail-ltr.png
resources/jquery/images/jquery.arrowSteps.tail-rtl.png

* jquery.autoEllipsis
resources/jquery/jquery.autoEllipsis.js

* jquery.badge
resources/jquery/jquery.badge.css
resources/jquery/jquery.badge.js

* jquery.byteLength
resources/jquery/jquery.byteLength.js

* jquery.byteLimit
resources/jquery/jquery.byteLimit.js

* jquery.checkboxShiftClick
resources/jquery/jquery.checkboxShiftClick.js

* jquery.client
resources/jquery/jquery.client.js

* jquery.colorUtil
resources/jquery/jquery.colorUtil.js

* jquery.delayedBind
resources/jquery/jquery.delayedBind.js

* jquery.expandableField
resources/jquery/jquery.expandableField.js

* jquery.farbtastic
resources/jquery/jquery.farbtastic.css
resources/jquery/jquery.farbtastic.js
resources/jquery/images/marker.png
resources/jquery/images/mask.png
resources/jquery/images/wheel.png

* jquery.footHovzer
resources/jquery/jquery.footHovzer.css
resources/jquery/jquery.footHovzer.js

* jquery.getAttrs
resources/jquery/jquery.getAttrs.js

* jquery.hidpi
resources/jquery/jquery.hidpi.js

* jquery.highlightText
resources/jquery/jquery.highlightText.js

* jquery.localize
resources/jquery/jquery.localize.js

* jquery.makeCollapsible
resources/jquery/jquery.makeCollapsible.css
resources/jquery/jquery.makeCollapsible.js

* jquery.mw-jump
resources/jquery/jquery.mw-jump.js

* jquery.mwExtension
resources/jquery/jquery.mwExtension.js

* jquery.placeholder
resources/jquery/jquery.placeholder.js

* jquery.spinner
resources/jquery/jquery.spinner.css
resources/jquery/jquery.spinner.js
resources/jquery/images/spinner-large.gif
resources/jquery/images/spinner.gif

* jquery.suggestions
resources/jquery/jquery.suggestions.css
resources/jquery/jquery.suggestions.js

* jquery.tabIndex
resources/jquery/jquery.tabIndex.js

* jquery.tablesorter
resources/jquery/jquery.tablesorter.css
resources/jquery/jquery.tablesorter.js
resources/jquery/images/sort_both.gif
resources/jquery/images/sort_down.gif
resources/jquery/images/sort_none.gif
resources/jquery/images/sort_up.gif

* jquery.textSelection
resources/jquery/jquery.textSelection.js

* jquery.qunit.completenessTest
resources/jquery/jquery.qunit.completenessTest.js

* mediawiki
resources/mediawiki/mediawiki.js
resources/mediawiki/mediawiki.log.js

* mediawiki.api
resources/mediawiki.api/mediawiki.api.js

* mediawiki.api.category
resources/mediawiki.api/mediawiki.api.category.js

* mediawiki.api.edit
resources/mediawiki.api/mediawiki.api.edit.js

* mediawiki.api.login
resources/mediawiki.api/mediawiki.api.login.js

* mediawiki.api.parse
resources/mediawiki.api/mediawiki.api.parse.js

* mediawiki.api.watch
resources/mediawiki.api/mediawiki.api.watch.js

* mediawiki.debug
resources/mediawiki/mediawiki.debug.js
resources/mediawiki/mediawiki.debug.less
resources/mediawiki/mediawiki.debug.profile.css
resources/mediawiki/mediawiki.debug.profile.js

* mediawiki.debug.init
resources/mediawiki/mediawiki.debug.init.js

* mediawiki.feedback
resources/mediawiki/mediawiki.feedback.css
resources/mediawiki/mediawiki.feedback.js
resources/mediawiki/mediawiki.feedback.spinner.gif

* mediawiki.hidpi
resources/mediawiki/mediawiki.hidpi.js

* mediawiki.hlist
resources/mediawiki/mediawiki.hlist.css
resources/mediawiki/mediawiki.hlist.js

* mediawiki.htmlform
resources/mediawiki/mediawiki.htmlform.js

* mediawiki.icon
resources/mediawiki/mediawiki.icon.less
resources/mediawiki/images/arrow-collapsed-ltr.png
resources/mediawiki/images/arrow-collapsed-ltr.svg
resources/mediawiki/images/arrow-collapsed-rtl.png
resources/mediawiki/images/arrow-collapsed-rtl.svg
resources/mediawiki/images/arrow-expanded.png
resources/mediawiki/images/arrow-expanded.svg

* mediawiki.inspect
resources/mediawiki/mediawiki.inspect.js

* mediawiki.notification
resources/mediawiki/mediawiki.notification.css
resources/mediawiki/mediawiki.notification.hideForPrint.css
resources/mediawiki/mediawiki.notification.js

* mediawiki.notify
resources/mediawiki/mediawiki.notify.js

* mediawiki.searchSuggest
resources/mediawiki/mediawiki.searchSuggest.css
resources/mediawiki/mediawiki.searchSuggest.js

* mediawiki.Title
resources/mediawiki/mediawiki.Title.js

* mediawiki.toc
resources/mediawiki/mediawiki.toc.js

* mediawiki.Uri
resources/mediawiki/mediawiki.Uri.js

* mediawiki.user
resources/mediawiki/mediawiki.user.js

* mediawiki.util
resources/mediawiki/mediawiki.util.js

* mediawiki.action.edit
resources/mediawiki.action/mediawiki.action.edit.js

* mediawiki.action.edit.styles
resources/mediawiki.action/mediawiki.action.edit.styles.css

* mediawiki.action.edit.collapsibleFooter
resources/mediawiki.action/mediawiki.action.edit.collapsibleFooter.css
resources/mediawiki.action/mediawiki.action.edit.collapsibleFooter.js

* mediawiki.action.edit.preview
resources/mediawiki.action/mediawiki.action.edit.preview.js

* mediawiki.action.history
resources/mediawiki.action/mediawiki.action.history.js

* mediawiki.action.history.diff
resources/mediawiki.action/mediawiki.action.history.diff.css

* mediawiki.action.view.dblClickEdit
resources/mediawiki.action/mediawiki.action.view.dblClickEdit.js

* mediawiki.action.view.metadata
resources/mediawiki.action/mediawiki.action.view.metadata.js

* mediawiki.action.view.postEdit
resources/mediawiki.action/mediawiki.action.view.postEdit.css
resources/mediawiki.action/mediawiki.action.view.postEdit.js
resources/mediawiki.action/images/green-checkmark.png

* mediawiki.action.view.redirectToFragment
resources/mediawiki.action/mediawiki.action.view.redirectToFragment.js

* mediawiki.action.view.rightClickEdit
resources/mediawiki.action/mediawiki.action.view.rightClickEdit.js

* mediawiki.action.edit.editWarning
resources/mediawiki.action/mediawiki.action.edit.editWarning.js

* mediawiki.action.watch.ajax
  No files associated with this resource.

* mediawiki.language
resources/mediawiki.language/mediawiki.language.js
resources/mediawiki.language/mediawiki.language.numbers.js
resources/mediawiki.language/languages/bs.js
resources/mediawiki.language/languages/dsb.js
resources/mediawiki.language/languages/fi.js
resources/mediawiki.language/languages/ga.js
resources/mediawiki.language/languages/he.js
resources/mediawiki.language/languages/hsb.js
resources/mediawiki.language/languages/hu.js
resources/mediawiki.language/languages/hy.js
resources/mediawiki.language/languages/la.js
resources/mediawiki.language/languages/os.js
resources/mediawiki.language/languages/ru.js
resources/mediawiki.language/languages/sl.js
resources/mediawiki.language/languages/uk.js

* mediawiki.cldr
resources/mediawiki.language/mediawiki.cldr.js

* mediawiki.libs.pluralruleparser
  Possibly should be moved to /lib
resources/mediawiki.libs/CLDRPluralRuleParser.js

* mediawiki.language.init
resources/mediawiki.language/mediawiki.language.init.js

* mediawiki.jqueryMsg
resources/mediawiki/mediawiki.jqueryMsg.js
resources/mediawiki/mediawiki.jqueryMsg.peg

* mediawiki.language.months
resources/mediawiki.language/mediawiki.language.months.js

* mediawiki.libs.jpegmeta
resources/mediawiki.libs/mediawiki.libs.jpegmeta.js

* mediawiki.page.gallery
resources/mediawiki.page/mediawiki.page.gallery.js

* mediawiki.page.ready
resources/mediawiki.page/mediawiki.page.ready.js

* mediawiki.page.startup
resources/mediawiki.page/mediawiki.page.startup.js

* mediawiki.page.patrol.ajax
resources/mediawiki.page/mediawiki.page.patrol.ajax.js

* mediawiki.page.watch.ajax
resources/mediawiki.page/mediawiki.page.watch.ajax.js

* mediawiki.page.image.pagination
resources/mediawiki.page/mediawiki.page.image.pagination.js

* mediawiki.special
resources/mediawiki.special/mediawiki.special.css
resources/mediawiki.special/mediawiki.special.js

* mediawiki.special.block
resources/mediawiki.special/mediawiki.special.block.css
resources/mediawiki.special/mediawiki.special.block.js

* mediawiki.special.changeemail
resources/mediawiki.special/mediawiki.special.changeemail.css
resources/mediawiki.special/mediawiki.special.changeemail.js

* mediawiki.special.changeslist
resources/mediawiki.special/mediawiki.special.changeslist.css

* mediawiki.special.changeslist.legend
resources/mediawiki.special/mediawiki.special.changeslist.legend.css

* mediawiki.special.changeslist.legend.js
resources/mediawiki.special/mediawiki.special.changeslist.legend.js

* mediawiki.special.changeslist.enhanced
resources/mediawiki.special/mediawiki.special.changeslist.enhanced.css

* mediawiki.special.movePage
resources/mediawiki.special/mediawiki.special.movePage.js

* mediawiki.special.pagesWithProp
resources/mediawiki.special/mediawiki.special.pagesWithProp.css

* mediawiki.special.preferences
resources/mediawiki.special/mediawiki.special.preferences.css
resources/mediawiki.special/mediawiki.special.preferences.js

* mediawiki.special.recentchanges
resources/mediawiki.special/mediawiki.special.recentchanges.js

* mediawiki.special.search
resources/mediawiki.special/mediawiki.special.search.css
resources/mediawiki.special/mediawiki.special.search.js

* mediawiki.special.undelete
resources/mediawiki.special/mediawiki.special.undelete.js

* mediawiki.special.upload
resources/mediawiki.special/mediawiki.special.upload.js

* mediawiki.special.userlogin.common.styles
resources/mediawiki.special/mediawiki.special.userlogin.common.css
resources/mediawiki.special/images/icon-lock.png

* mediawiki.special.userlogin.signup.styles
resources/mediawiki.special/mediawiki.special.userlogin.signup.css
resources/mediawiki.special/images/icon-edits.png
resources/mediawiki.special/images/icon-pages.png
resources/mediawiki.special/images/icon-contributors.png

* mediawiki.special.userlogin.login.styles
resources/mediawiki.special/mediawiki.special.userlogin.login.css
resources/mediawiki.special/images/glyph-people-large.png

* mediawiki.special.userlogin.common.js
resources/mediawiki.special/mediawiki.special.userlogin.common.js

* mediawiki.special.userlogin.signup.js
resources/mediawiki.special/mediawiki.special.userlogin.signup.js

* mediawiki.special.javaScriptTest
resources/mediawiki.special/mediawiki.special.javaScriptTest.js

* mediawiki.special.version
resources/mediawiki.special/mediawiki.special.version.css

* mediawiki.ui
resources/mediawiki.ui/default.less
resources/mediawiki.ui/vector.less
resources/mediawiki.ui/components/utilities.less
resources/mediawiki.ui/components/default/forms.less
resources/mediawiki.ui/components/vector/containers.less
resources/mediawiki.ui/components/vector/forms.less
resources/mediawiki.ui/mixins/effects.less
resources/mediawiki.ui/mixins/forms.less
resources/mediawiki.ui/mixins/type.less
resources/mediawiki.ui/mixins/utilities.less
resources/mediawiki.ui/settings/colors.less
resources/mediawiki.ui/settings/typography.less
resources/mediawiki.ui/styleguide.md

* mediawiki.ui.button
resources/mediawiki.ui/components/default/buttons.less
resources/mediawiki.ui/components/vector/buttons.less

Legacy modules, untouched:

* mediawiki.legacy.ajax
* mediawiki.legacy.commonPrint
* mediawiki.legacy.config
* mediawiki.legacy.protect
* mediawiki.legacy.shared
* mediawiki.legacy.oldshared
* mediawiki.legacy.upload
* mediawiki.legacy.wikibits

Miscellaneous files moved elsewhere

* A currently-failing (unused?) script attempting to build some kss style documentation.
  Previously in the root of the resources directory, now moved to a new folder, /docs/kss.
Makefile
README.txt
package.json
scripts/nodecheck.sh
styleguide-template/index.html
styleguide-template/public/kss.less
styleguide-template/public/less.js

* ResourceLoader startup JS code was also moved to /src
resources/startup.js

* mediawiki.mixins, hard-coded to be loaded by ResourceLoader, also moved to /src
resources/mediawiki.less/mediawiki.mixins.animation.less
resources/mediawiki.less/mediawiki.mixins.less
resources/mediawiki.less/mediawiki.mixins.rotation.less

* jquery.cycle.all.js appears not to be refered to (?!):
  (added in 2f1f0abc6b)
resources/jquery/jquery.cycle.all.js

Change-Id: Id5ead1453412e763bdb3763084e43694517088fd

10 years agoMerge "Cache VCS commit id/date text on Special:Version"
jenkins-bot [Mon, 7 Apr 2014 19:16:03 +0000 (19:16 +0000)]
Merge "Cache VCS commit id/date text on Special:Version"

10 years agoCache VCS commit id/date text on Special:Version
Alex Monk [Sun, 17 Nov 2013 17:30:42 +0000 (17:30 +0000)]
Cache VCS commit id/date text on Special:Version

So Special:Version works on beta.wmflabs.org again

Bug: 53335
Change-Id: I5a5b23a73974aba2322bf69f534e8aa8b60741db

10 years agojquery.suggestions, mediawiki.searchSuggest: Don't use jquery.autoEllipsis
Bartosz Dziewoński [Tue, 4 Feb 2014 12:11:17 +0000 (13:11 +0100)]
jquery.suggestions, mediawiki.searchSuggest: Don't use jquery.autoEllipsis

(How's that for a loaded commit topic, huh?)

We can just use text-overflow: ellipsis, which is widely supported
these days. The result is a lot less code being loaded on every page
view and a lot less processing being done on the suggestions.

This changes the position of the ellipsis from the "middle" of the
text to the end of it. I don't think this is a problem.

Bug: 30309
Bug: 59172
Change-Id: I6fc229a292a90a3cbb945b58061ee99b0ac7f97d

10 years agoMerge "Error Msg for missing db username & password when installing"
jenkins-bot [Mon, 7 Apr 2014 16:58:59 +0000 (16:58 +0000)]
Merge "Error Msg for missing db username & password  when installing"

10 years agoError Msg for missing db username & password when installing
pubudu538 [Sat, 15 Mar 2014 07:07:07 +0000 (12:37 +0530)]
Error Msg for missing db username & password  when installing

Added configurations for Mysql and Postgresql installers
to display an error message if user doesnt input a username to the
database username

Bug: 43528
Bug: 59663
Change-Id: Ib6b05d2d7e8ebb4438d3b0051c33d367f41a9957

10 years agoApiQueryDeletedrevs: Fix getDescription() docs
Bartosz Dziewoński [Mon, 7 Apr 2014 14:10:55 +0000 (16:10 +0200)]
ApiQueryDeletedrevs: Fix getDescription() docs

Strings were incorrectly quoted.

Change-Id: I5b7aa4709a9bfde36b4e81ba8ea3e15efde003b1

10 years agoMerge "Allow access to revision deleted wikitext on action=edit"
jenkins-bot [Mon, 7 Apr 2014 13:19:51 +0000 (13:19 +0000)]
Merge "Allow access to revision deleted wikitext on action=edit"

10 years agoMerge "Revert "Temporarily remove tests added in I8eef5a165""
jenkins-bot [Mon, 7 Apr 2014 13:18:30 +0000 (13:18 +0000)]
Merge "Revert "Temporarily remove tests added in I8eef5a165""

10 years agoMerge "Changed some comments from /// to /** @var */"
jenkins-bot [Mon, 7 Apr 2014 12:13:15 +0000 (12:13 +0000)]
Merge "Changed some comments from /// to /** @var */"

10 years agoRemove misspelling for ExpandTemplates special page
Siebrand Mazeland [Mon, 7 Apr 2014 10:00:28 +0000 (12:00 +0200)]
Remove misspelling for ExpandTemplates special page

This misspelling would have been a case insensitive equivalent, so it was
not needed.

Change-Id: I5e234cba686b1f2a8d359c370301425c0ae332ce

10 years agoAdd extra views (tabs) for files in a foreign repository
This, that and the other [Mon, 7 Apr 2014 10:00:11 +0000 (20:00 +1000)]
Add extra views (tabs) for files in a foreign repository

Previously, foreign files with no local page had only a [Create] tab, with
no explanation that this created a local description page. There was not
even a [Read] tab - from SkinTemplate's perspective, a foreign file page
did not exist.

This patch changes the following view tabs:
* [Read] now always appears on foreign files - no change in functionality
* New tab [View on <repo name>] always appears on foreign files
* [Create] tab renamed to [Add local description] for foreign files without
  a local page
* [Edit] tab renamed to [Edit local description] for foreign files with a
  local page

This is related to bug 26525. I am hesitant to implement a [Edit on
<repo name>] tab that goes straight to the edit screen, as I worry about
users getting confused and thinking they are editing the file locally.

Change-Id: I4a43b759b7a7e9ac2c8d437408847bf3b6c1f4a9

10 years agoMerge "Remove button-math"
jenkins-bot [Mon, 7 Apr 2014 09:38:35 +0000 (09:38 +0000)]
Merge "Remove button-math"

10 years agoRemove button-math
Moritz Schubotz (Physikerwelt) [Sun, 6 Apr 2014 08:37:39 +0000 (08:37 +0000)]
Remove button-math

The button-math is now created by the Extension:Math
see I3d126c1c252c27fa65ab8fb42ffab66a2d99cfa8

Bug: 60471
Change-Id: Ib17aa47c7d647e1ed293541adbdd1aa77e25e59e

10 years agoChanged some comments from /// to /** @var */
umherirrender [Sun, 6 Apr 2014 18:02:32 +0000 (20:02 +0200)]
Changed some comments from /// to /** @var */

Change-Id: I55b30099e4464c272c35bcabbddbb0b1364a5d65

10 years agoAllow passing parameters to preload
Jackmcbarn [Mon, 7 Apr 2014 01:03:02 +0000 (21:03 -0400)]
Allow passing parameters to preload

When pages are loaded in the edit box via preload, allow parameter
substitution. The interface-style $1 is used rather than the
template-style {{{1}}} to avoid conflicts with preloads that add template
parameters. Syntax is:
action=edit&preload=Foo&preloadparams[]=first&preloadparams[]=second

Bug: 12853
Change-Id: If02cf4b3dba9f9d22a956d8bfff224677cbce00d

10 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Sun, 6 Apr 2014 19:50:01 +0000 (19:50 +0000)]
Localisation updates from https://translatewiki.net.

Change-Id: Ifa7ad1aff1263465248fb63d40007bb99c3024ff

10 years agoFix [missing] variables in @param docs
umherirrender [Sun, 6 Apr 2014 18:11:30 +0000 (20:11 +0200)]
Fix [missing] variables in @param docs

Two places found without variable, one without $ and one only missed a
space before $

Change-Id: Iacd7c386d57223f3a112b59cd11383ef5c0ac2f1

10 years agoMerge "Remove unused 'prefs-beta' message"
jenkins-bot [Sun, 6 Apr 2014 16:19:47 +0000 (16:19 +0000)]
Merge "Remove unused 'prefs-beta' message"

10 years agoRevert "Temporarily remove tests added in I8eef5a165"
Aude [Sun, 6 Apr 2014 13:18:07 +0000 (13:18 +0000)]
Revert "Temporarily remove tests added in I8eef5a165"

this was to be temporary, right? we need the tests in.

If there are issues with jenkins, this is not the *best*
way to fix them.

This reverts commit 44a19685317de16f5afe42b710d8d412352d7fe9.

Change-Id: I5dd60a9818c28155d96a6642c588781667e682c3

10 years agoMerge "mediawiki.action.edit.js: Remove WikiEditor iframe hack from 2010"
jenkins-bot [Sun, 6 Apr 2014 13:01:36 +0000 (13:01 +0000)]
Merge "mediawiki.action.edit.js: Remove WikiEditor iframe hack from 2010"

10 years agoMerge "mediawiki.util: Init tooltipAccessKeyPrefix immediately instead of on domready"
jenkins-bot [Sun, 6 Apr 2014 11:43:18 +0000 (11:43 +0000)]
Merge "mediawiki.util: Init tooltipAccessKeyPrefix immediately instead of on domready"

10 years agomediawiki.util: Init tooltipAccessKeyPrefix immediately instead of on domready
Fomafix [Sat, 5 Apr 2014 18:46:53 +0000 (18:46 +0000)]
mediawiki.util: Init tooltipAccessKeyPrefix immediately instead of on domready

Change-Id: I60e30e1d029d29b713b229bf2b0313e92a59f120

10 years agoMerge "Make chunked upload jobs robust in face of exceptions."
jenkins-bot [Sun, 6 Apr 2014 09:26:10 +0000 (09:26 +0000)]
Merge "Make chunked upload jobs robust in face of exceptions."

10 years agoMerge "When uploading a new file, save to memcached directly after commit"
jenkins-bot [Sun, 6 Apr 2014 09:26:03 +0000 (09:26 +0000)]
Merge "When uploading a new file, save to memcached directly after commit"

10 years agoMerge "Make doEditContent call $dbw->rollback() if exception happens"
jenkins-bot [Sun, 6 Apr 2014 09:12:02 +0000 (09:12 +0000)]
Merge "Make doEditContent call $dbw->rollback() if exception happens"

10 years agoMerge "shared.css: Move sup, sub styling from commonElements to shared styles"
TheDJ [Sun, 6 Apr 2014 08:53:03 +0000 (08:53 +0000)]
Merge "shared.css: Move sup, sub styling from commonElements to shared styles"

10 years agoMake doEditContent call $dbw->rollback() if exception happens
Brian Wolff [Sun, 6 Apr 2014 03:16:37 +0000 (00:16 -0300)]
Make doEditContent call $dbw->rollback() if exception happens

doEditContent calls a variety of methods in the middle of its
database transaction that can throw exceptions. For example if
$revision->insertOn() throws an exception, it can cause
referential integrity issues unless the transaction is rolled
back by something further up the chain (Thus see I5807e, I8f1da5).

It seems like it would be more reliable if doEditContent rolled
back its own transaction in exceptional circumstances. So this
patch puts everything in a try block, and does rollback if
an exception happens.

Bug: 63145
Bug: 32551
Change-Id: Icc44687da4edb1a72f13d2b95bfee2eea3ad6808

10 years agoOptimize all SVGs
Bartosz Dziewoński [Sat, 8 Feb 2014 13:48:37 +0000 (14:48 +0100)]
Optimize all SVGs

Once more, with feeling. First reverted attempt: a9b855ee.

Passed with svgo 0.4.2 <https://github.com/svg/svgo>, then prepended
'<?xml version="1.0" encoding="UTF-8"?>' prolog to each file since
svgo sees it fit to remove it and that breaks just about everything.

Previous attempt used a '<?xml version="1.0" ?>' prolog, which
apparently is too short to ensure the file is picked up as an SVG in
some versions of the 'file' utility; see PleaseStand's comments on
bug 59234. We could just add some spaces instead of 'encoding="UTF-8"',
but it seems like a reasonable thing to add.

Skipped the ones in tests/, there's some weird stuff there and they
didn't shrink much when I tried anyway.

Total file size reduced from ~30 KB to ~10 KB.

---

For future reference, the prolog appending was done with the following
script:

for i in `find . -name '*.svg'`
do
    mv $i $i-tmp
    (echo -n '<?xml version="1.0" encoding="UTF-8"?>'; cat $i-tmp) > $i
    rm $i-tmp
done

---

Bug: 59744
Change-Id: Ic9fdd081003b694dbd7e413ca25fffe782b912b5

10 years agoMerge "Rollback transaction in case of uncaught exceptions during job"
jenkins-bot [Sun, 6 Apr 2014 02:31:43 +0000 (02:31 +0000)]
Merge "Rollback transaction in case of uncaught exceptions during job"

10 years agoWhen uploading a new file, save to memcached directly after commit
Brian Wolff [Sun, 6 Apr 2014 02:50:10 +0000 (23:50 -0300)]
When uploading a new file, save to memcached directly after commit

Previously if an exception was thrown when creating the description
page, the old (negative) memcached entry would not be purged, and
the file would appear not to exist until 24 hours later.

This way, as soon as we have the image row committed to db, we
change the memcache entry, so memcache of image row always looks
like actual image row.

Bug: 32551
Change-Id: I9c260e9a4a1e0d6ade1771542dd834f969904cef

10 years agoMake chunked upload jobs robust in face of exceptions.
Brian Wolff [Sun, 6 Apr 2014 02:15:26 +0000 (23:15 -0300)]
Make chunked upload jobs robust in face of exceptions.

If an exception occurs when creating the new image page during
PublishStashedFile (for example, if ExternalStorage servers
become overloaded), the job is aborted, but the current
transaction is not aborted. Then the next job comes along, does
$dbw->begin(), which implicitly commits the current open
transactions, causing database corruption (entries in page table
with page_latest = 0).

This patch ensures that if some unknown exception occurs during
the job, that the database gets rolled back to a known good state.

I also plan to make a separate patch to make the recordUpload
code handle exceptions properly. Nonetheless, I think its
important that the general job code be as robust as possible.

Bug: 32551
Change-Id: Icb5e06e81700e5dcf0d4e739c7b2bb3221e718b8

10 years agoRollback transaction in case of uncaught exceptions during job
Brian Wolff [Sun, 6 Apr 2014 02:02:02 +0000 (23:02 -0300)]
Rollback transaction in case of uncaught exceptions during job

If there is an unhandled exception during a job, rollback the
transaction to be safe. Otherwise its likely that the
transaction will be commited when next job is run, as $dbw->begin()
implicitly commits any open pending transactions. This can result
in database referential integrity issues.

Change-Id: I5807e64440ff6c6651fbbb4924645d05d843b98e

10 years agoMerge "WatchAction: Add 'returnto' and 'returntoquery' to the login link"
jenkins-bot [Sun, 6 Apr 2014 01:12:18 +0000 (01:12 +0000)]
Merge "WatchAction: Add 'returnto' and 'returntoquery' to the login link"

10 years agoWatchAction: Add 'returnto' and 'returntoquery' to the login link
konarak [Fri, 4 Apr 2014 08:35:28 +0000 (14:05 +0530)]
WatchAction: Add 'returnto' and 'returntoquery' to the login link

Bug: 60594
Change-Id: Ic8c0ea5b203c63f9273992cb70bfb06c0d461311

10 years agoRemove unused 'prefs-beta' message
Bartosz Dziewoński [Sat, 5 Apr 2014 23:49:03 +0000 (01:49 +0200)]
Remove unused 'prefs-beta' message

Unused since change Id8b9a47a in WikiEditor (9 months ago).

Bug: 28555
Change-Id: I76667a15ccbb1f6bdc5e5a67ffcb0a65ce55d124

10 years agomediawiki.special: Kill width: 98% on borderless tables
Bartosz Dziewoński [Tue, 4 Mar 2014 20:31:47 +0000 (21:31 +0100)]
mediawiki.special: Kill width: 98% on borderless tables

For Special:Prefixindex this dates back to the stone age, I didn't
bother finding out what the reasoning was. width: 100% was clearly
intended.

For Special:EmailUser there isn't even such an element anywhere.

Change-Id: Ie3a7e7fa00961b62e46e3f8cd05fd2e7d3c25f06

10 years agoVector: Simply style external links
jrobson [Fri, 4 Apr 2014 00:58:56 +0000 (17:58 -0700)]
Vector: Simply style external links

These external link icons are extremely costly with little gain.
During the typography experiment, these were removed, no one
raised this as an issue during the 5  months it was live, suggesting
that explicit pdf icons etc are not as useful as we like to believe.

As a result of these findings posting this patch upstream.
Bug: 54604
Change-Id: If985b16c4f682d737683597ed80951c6d6644c8f

10 years agoPer wikitech-l, remove premature wfDeprecated()
Max Semenik [Sat, 5 Apr 2014 21:51:50 +0000 (01:51 +0400)]
Per wikitech-l, remove premature wfDeprecated()

This way of deprecation is way too rushed, we generally don't mark as
@deprecated and put wfDeprecated() in the same release.

Change-Id: I5dc07d9819b6fb77fcf3194ed16676eaacb834a8

10 years agoFix spacing after @param and friends in comments
umherirrender [Sat, 5 Apr 2014 19:54:24 +0000 (21:54 +0200)]
Fix spacing after @param and friends in comments

Searched for:
\@(param|return|throws|since|deprecated|access|todo|var)[ \t]{2,}

Change-Id: Icce22ba9fe0635455691ca58d9872d618151f346

10 years agoMerge "Localisation updates from https://translatewiki.net."
Translation updater bot [Sat, 5 Apr 2014 19:57:38 +0000 (19:57 +0000)]
Merge "Localisation updates from https://translatewiki.net."

10 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Sat, 5 Apr 2014 19:35:17 +0000 (19:35 +0000)]
Localisation updates from https://translatewiki.net.

Change-Id: I44b9547b386f7c169a7add27096e2708d5a3cce9

10 years agofix typo in comment in Preferences.php
umherirrender [Sat, 5 Apr 2014 19:13:38 +0000 (21:13 +0200)]
fix typo in comment in Preferences.php

The name of the preference was spelled wrong.

Change-Id: I443d0a8fc67c89da36b5c725dd3f3513d4170357

10 years agoMerge "Remove trailing line break check from MemcachedBagOStuff::debugLog()"
jenkins-bot [Sat, 5 Apr 2014 19:11:24 +0000 (19:11 +0000)]
Merge "Remove trailing line break check from MemcachedBagOStuff::debugLog()"

10 years agoCorrectly order AutoLoader class definitions
Alexandre Emsenhuber [Sat, 5 Apr 2014 09:06:37 +0000 (11:06 +0200)]
Correctly order AutoLoader class definitions

- Group per directory
- Sort by class name for each directory

Change-Id: If4771f2868c2183f60a6321533142a1ad5cdc7cd

10 years agoRemove trailing line break check from MemcachedBagOStuff::debugLog()
Alexandre Emsenhuber [Sat, 5 Apr 2014 18:28:06 +0000 (20:28 +0200)]
Remove trailing line break check from MemcachedBagOStuff::debugLog()

wfDebugLog() already does the same, so it's unnecessary here.

Change-Id: Ia7bbbd2806fcd638861d010835c33969322d262a

10 years agoFix path after file got moved
jeroendedauw [Sat, 5 Apr 2014 17:49:21 +0000 (19:49 +0200)]
Fix path after file got moved

Change-Id: Ic67f590fb53f2b96cfd8a0192968cb4953bb0d2b

10 years agoFix usage of $wgDebugDumpSql
Alexandre Emsenhuber [Sat, 5 Apr 2014 06:54:11 +0000 (08:54 +0200)]
Fix usage of $wgDebugDumpSql

- In DatabaseMssql, use $this->debug() instead of $wgDebugDumpSql
  so that it takes into account the DBO_DEBUG flag
- Use the same construction to set the DBO_DEBUG flag in
  LBFactorySimple::newMainLB() as for the other flags so that
  it is easier to read the code

Change-Id: Ie775cdb3677739a97e0d64dabbf80fc685149337

10 years agoFix documentation typo
Rob Moen [Sat, 5 Apr 2014 03:01:42 +0000 (20:01 -0700)]
Fix documentation typo

Change-Id: I535dd23eeccd6686c64a885f06e030b756e67fec

10 years agoRevert "Localisation updates from https://translatewiki.net."
Raimond Spekking [Fri, 4 Apr 2014 20:34:27 +0000 (20:34 +0000)]
Revert "Localisation updates from https://translatewiki.net."

wtf?

This reverts commit ff744475d7d37d4887ebaba3d69884317a736c34.

Change-Id: Ie7ea50de88f87aa527205a816837dbfa5950bb0b

10 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Fri, 4 Apr 2014 20:32:02 +0000 (20:32 +0000)]
Localisation updates from https://translatewiki.net.

Change-Id: Idfe1499c79cd459377b31ca022fc45a9e0b3e833

10 years agoresourceloader: Don't add superfluous line breaks and semicolons
Timo Tijhof [Fri, 4 Apr 2014 01:50:54 +0000 (18:50 -0700)]
resourceloader: Don't add superfluous line breaks and semicolons

The logic was there but didn't work in practice because, just
like this code does itself, code doesn't usually end in ';'.
Instead it ends in ";\n" (trailing line break at end of file),
or even two line breaks (in case of concatenated scripts where
ResourceLoaderFileModule adds another line break).

This saves off a few bytes that were uselessly added in the
load.php output, like:

...
}( jQuery ) );

;
/**
...

After this:

}( jQuery ) );

/**

The logic to add ;\n is still there, but the logic to not add it
when there already wasn't working (added in I3e8227ddb).

Change-Id: Ie055b37b3419ac6dca6349daf745bc48850fff3e

10 years agoMerge "mw.hook: Make hook.fire actually chainable"
jenkins-bot [Fri, 4 Apr 2014 19:43:07 +0000 (19:43 +0000)]
Merge "mw.hook: Make hook.fire actually chainable"

10 years agoMerge "Update jquery.fullscreen to newer version (fix IE11 support)"
jenkins-bot [Fri, 4 Apr 2014 19:43:05 +0000 (19:43 +0000)]
Merge "Update jquery.fullscreen to newer version (fix IE11 support)"

10 years agomw.hook: Make hook.fire actually chainable
Timo Tijhof [Fri, 4 Apr 2014 01:35:33 +0000 (18:35 -0700)]
mw.hook: Make hook.fire actually chainable

It was being called without being bound to the mw.hook instance,
as such the (detachable) callbackList.fireWith method (which
returns its given 'this') returned the callbackList instance
instead of the mw.hook object literal.

The tests weren't catching it because it was just checking one
can call .fire() without it crashing, but it was in fact calling
list.fire instead of hook.fire (which unlike #add and #remove are
not compatible, and we might add new methods later on).

Change-Id: If3d4dfbed494e7ff9f32514e539cfa089aea18ac

10 years agoMerge "Add a dot at the end of the deprecate messages"
jenkins-bot [Fri, 4 Apr 2014 08:11:44 +0000 (08:11 +0000)]
Merge "Add a dot at the end of the deprecate messages"

10 years agoAllow access to revision deleted wikitext on action=edit
umherirrender [Tue, 25 Mar 2014 19:19:55 +0000 (20:19 +0100)]
Allow access to revision deleted wikitext on action=edit

EditPage.php has a Revision::getContent() without specifiy the
visiblity, that will give a empty textbox for revision deleted revisions
of a page, when editing this with the unhide=1 param.
Adding Revision::FOR_THIS_USER to allow admins or oversighter to see the
wikitext of such a revision.

Change-Id: Ie010346b613d96eacee6e33be0ed141f7061b709

10 years agoresourceloader: Refactor module links output
Timo Tijhof [Thu, 14 Nov 2013 16:54:19 +0000 (17:54 +0100)]
resourceloader: Refactor module links output

Changes:

* Removed hardcoded logic in OutputPage regarding modules
  being "enabled".
  Previously we would always output state=loading and use
  $wgAllowUserJs (and others) to decide whether to output
  state=ready or makeResourceLoaderLink.

  Now, we no longer unconditionally output state=loading and
  simply always call makeResourceLoaderLink. That method takes
  care of checking whether modules are enabled and non-empty
  and returns state=ready when that is the case.

  This cleans up cases where the duplicated and incomplete logic
  in OutputPage thought the module was non-empty but turned out
  to be empty and thus would output both state=loading and later
  state=ready for the same module.

* Clean up documentation for makeResourceLoaderLink (inconsistent
  ordering of type hint and $var, and @return was missing the fact
  that the returned html can also contain <link>).

* makeResourceLoaderLink now returns an array of html and module
  states. This allows the consumer of this method to combine the
  states in 1 larger script tag on top of multiple
  makeResourceLoaderLink calls (e.g. one state script followed
  by multiple <script src=load.php>).
  This isn't to reduce html output, but to make sure we inform
  mw.loader about modules before the <script src=load.php>.
  If we were to mix/alternate the state script and load.php
  requests (which are blocking in html), it is possible for those
  scripts to request other modules. We need to prevent duplicate
  loading of modules we already know are going to be requested
  by the HTML output futher down.

* Removed spurious new line.

Example of change in HTML output:

* The output has been reduced from:
  - loader.state( site: loading, user: loading, user.groups: loading )
  - loader.load( .. )
  - <script src="load.php?modules=site ..">
  - loader.state( user: ready, user.groups: ready )

  to:
  - loader.state( site: loading, user: ready, user.groups: ready )
  - loader.load( .. )
  - <script src="load.php?modules=site ..">

Change-Id: I91754ce5fae3d05b4bfa7372372eba81ee2fc579

10 years agoMerge "Callers of ResourceLoader::getModule should check for null return"
jenkins-bot [Fri, 4 Apr 2014 00:54:54 +0000 (00:54 +0000)]
Merge "Callers of ResourceLoader::getModule should check for null return"

10 years agoCallers of ResourceLoader::getModule should check for null return
Ori Livneh [Thu, 3 Apr 2014 23:09:09 +0000 (16:09 -0700)]
Callers of ResourceLoader::getModule should check for null return

ResourceLoader::getModule returns null if cannot find a ResourceLoaderModule
instance or a module configuration array matching the requested name. Existing
callers of that method chain ResourceLoaderModule method calls to the return
value of ResourceLoader::getModule without bothering to check for a null
result. This patch makes the documentation for the method more explicit, and it
adds checks for the return value to existing calls of the method. In some
cases, it is possible to reason to that the call will succeed, on the
assumption that missing modules would have been filtered out by earlier
iterations through the modules array. But in the interest of robustness, it is
always good to check.

Bug: 63310
Change-Id: Ic32f1e61ffee0383f7a8761423099041e3b6b8cc

10 years agoUpdate OOjs UI to v0.1.0-pre (eaa1b7f06d)
James D. Forrester [Thu, 3 Apr 2014 23:56:26 +0000 (16:56 -0700)]
Update OOjs UI to v0.1.0-pre (eaa1b7f06d)

New changes:
468b1c8 Localisation updates from https://translatewiki.net.
3e2a5e1 Update OOjs to v1.0.9
eaa1b7f Add pressed state to option widgets and use instead of initializing items

Change-Id: I6e93d9ab0e4a926c09c5e08e3db045cff99d2098

10 years agoMerge "New API module, list=prefixsearch"
jenkins-bot [Thu, 3 Apr 2014 23:07:58 +0000 (23:07 +0000)]
Merge "New API module, list=prefixsearch"

10 years agoAdded per-wiki queue stats information
Aaron Schulz [Thu, 3 Apr 2014 00:25:14 +0000 (17:25 -0700)]
Added per-wiki queue stats information

Change-Id: I25f42408c9a7a368aa99f4ceb04214f188a74be6

10 years agomediawiki.action.edit.js: Remove WikiEditor iframe hack from 2010
Bartosz Dziewoński [Thu, 3 Apr 2014 20:34:08 +0000 (22:34 +0200)]
mediawiki.action.edit.js: Remove WikiEditor iframe hack from 2010

Introduced in aa69029e2 (r62242) by Roan.

The iframe this refers to is going away for good in I2d736911.

Change-Id: If2f225c51791b46e25468deb4081ecac67db409a

10 years agoUse rgba() for gallery caption background instead of opacity
Brian Wolff [Sat, 1 Mar 2014 07:18:45 +0000 (03:18 -0400)]
Use rgba() for gallery caption background instead of opacity

Opacity applies to child elements, and can't be unset.

Change-Id: Id4b58ccf82cf3b6d23f67408c5311da0eb92fbce

10 years agoshared.css: Move sup, sub styling from commonElements to shared styles
Bartosz Dziewoński [Thu, 3 Apr 2014 17:43:03 +0000 (19:43 +0200)]
shared.css: Move sup, sub styling from commonElements to shared styles

This really should be an even more basic style than I thought when
moving this CSS here from Vector-specific stylesheet.

Follow-up to Ie98f8b57 and Ic5ba8363.

Bug: 49965
Change-Id: I80f8279e10277d1a7389c821037d733ccfc4e166

10 years agoMerge "mediawiki.api: Refactor getToken and postWithToken methods"
jenkins-bot [Thu, 3 Apr 2014 17:41:19 +0000 (17:41 +0000)]
Merge "mediawiki.api: Refactor getToken and postWithToken methods"

10 years agoMerge "ApiFeedRecentChanges: Validate param target"
jenkins-bot [Thu, 3 Apr 2014 14:59:24 +0000 (14:59 +0000)]
Merge "ApiFeedRecentChanges: Validate param target"

10 years agoAdd a dot at the end of the deprecate messages
Fomafix [Thu, 3 Apr 2014 14:52:35 +0000 (14:52 +0000)]
Add a dot at the end of the deprecate messages

Change-Id: I73b4bc296051bf506683434de9bc7b56f3ff825f

10 years agoApiFeedRecentChanges: Validate param target
Niklas Laxström [Sat, 29 Mar 2014 16:00:18 +0000 (16:00 +0000)]
ApiFeedRecentChanges: Validate param target

Change-Id: I6933177d47c25d48b9b55d479afa4dedcc64299d

10 years agoMerge "mediawiki.html: Add missing @return documentation"
jenkins-bot [Thu, 3 Apr 2014 07:42:44 +0000 (07:42 +0000)]
Merge "mediawiki.html: Add missing @return documentation"

10 years agomediawiki.html: Add missing @return documentation
Timo Tijhof [Thu, 3 Apr 2014 01:05:13 +0000 (18:05 -0700)]
mediawiki.html: Add missing @return documentation

Change-Id: I63f12ee44aace6cf4f7762dd67244648b95d7301

10 years agoMerge "Update OOjs UI to v0.1.0-pre (8986c46d35)"
jenkins-bot [Thu, 3 Apr 2014 00:52:23 +0000 (00:52 +0000)]
Merge "Update OOjs UI to v0.1.0-pre (8986c46d35)"

10 years agoAdapt signup form numbers to new Vector typography
S Page [Wed, 2 Apr 2014 23:25:22 +0000 (16:25 -0700)]
Adapt signup form numbers to new Vector typography

The .mw-number-text CSS was less specific than Vector's typography
styling of 'div#content h3'.  Match Vector's serif font stack.

Bug: 63450
Change-Id: I23041c356ad4356dcf085479721cb950a89b33d0

10 years agoUpdate OOjs to v1.0.9
James D. Forrester [Wed, 2 Apr 2014 21:40:24 +0000 (14:40 -0700)]
Update OOjs to v1.0.9

Code:
 https://oojs.github.io/releases/oojs-1.0.9.js

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

Change-Id: Ic1fea7dd3a07af32a29511191c45da90bc306b17

10 years agoDelete UIDGenerator cache files after unit tests
Bryan Davis [Thu, 27 Mar 2014 22:13:47 +0000 (16:13 -0600)]
Delete UIDGenerator cache files after unit tests

Add a UIDGenerator::unitTestTearDown() method that can find an delete
cache files created by UIDGenerator. Call that cleanup method from the
tearDown() method of the UIDGenerator unit tests.

Bug: 44850
Change-Id: If342586d93bbc2a926af2dc388325dcb7c345e37