Kunal Mehta [Tue, 2 Dec 2014 17:19:18 +0000 (09:19 -0800)]
Set optimize-autoloader: true and prepend-autoloader: false in composer.json
Quoting Tim from
240fd31cfa6b in mediawiki/vendor (prepend-autoloader):
Composer's autoloader is slow, taking about 63µs per class, whereas
MediaWiki's is fast, taking about 7µs per class. This adds up to an
overhead of about 13% of CPU time on short requests such as API calls.
On those same short requests, MediaWiki's autoloader finds most of the
classes. So it makes sense to run it first, before the two Composer
autoloaders. So change the config so that composer passes
$prepend=false to spl_autoload_register().
optimize-autoloader is also just a good idea in general.
Change-Id: I383c72a85eda415da92e8a9253e83b4ed591768b
jenkins-bot [Tue, 2 Dec 2014 17:23:29 +0000 (17:23 +0000)]
Merge "InstallDocFormatter: Hyperlink Phabricator task numbers"
jenkins-bot [Tue, 2 Dec 2014 17:20:45 +0000 (17:20 +0000)]
Merge "Handle redirects during prefix search exact match"
Tim Starling [Mon, 1 Dec 2014 06:08:23 +0000 (17:08 +1100)]
resourceloader: Clear module storage if disabled by configuration
To free up space for other things that might want to use localStorage
for users where it was previously enabled.
Bug: T66721
Change-Id: Idd62a5eab72ef79c47cfe54fcd5c240d1cbb0e44
jenkins-bot [Tue, 2 Dec 2014 03:10:09 +0000 (03:10 +0000)]
Merge "Avoid FOUC on API help and pretty-printed output"
Timo Tijhof [Tue, 2 Dec 2014 00:38:01 +0000 (00:38 +0000)]
content: Minor clean up to make JsonContent match other classes
Compared to JavaScriptContentHandler:
* Add missing license header.
* Add @ingroup.
* Move class description to @class.
Change-Id: I88c6e231756ce9f6d0d3aa2cb2bb80848c8bc5b9
Timo Tijhof [Tue, 2 Dec 2014 00:35:47 +0000 (00:35 +0000)]
WikiPage: Remove premature Content::isValid check
Content classes that implement the isValid method are causing
an "Internal error" to appear when saving from EditPage because
WikiPage throws an exception that isn't handled anywhere.
Turns out that ContentHandler already has infrastructure for
this in place in Content::prepareSave (which returns a Status
object with a relevant message informing the user), and WikiPage
is actually calling this already right after this.
Content::prepareSave defaults to using Content::isValid, so this
code is simply obsolete and premature as it calls an internal
method directly without handling it accordingly.
Change-Id: I69f18d9e101c2261b0ff7bd1b0459ea7fdd7ae9f
jenkins-bot [Mon, 1 Dec 2014 23:30:22 +0000 (23:30 +0000)]
Merge "Fix group separator in installer's sidebar"
jenkins-bot [Mon, 1 Dec 2014 21:40:13 +0000 (21:40 +0000)]
Merge "Hide 'redirectedfrom' notice when printing articles"
Translation updater bot [Mon, 1 Dec 2014 21:00:09 +0000 (21:00 +0000)]
Merge "Localisation updates from https://translatewiki.net."
Translation updater bot [Mon, 1 Dec 2014 20:56:04 +0000 (21:56 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: I2039215565965839327236df77eccfd226fe08c8
Arlo Breault [Thu, 27 Nov 2014 22:43:12 +0000 (14:43 -0800)]
Populate revision data when expanding templates
* Add a $revid parameter to the expandtemplates api action so that,
when passed, the correct revision information is set for {{REVISIONID}}
and similar variables.
Bug: T73306
Change-Id: I93ef39fdabbaa5f394efce9b5c5e080666ff6119
m4tx [Mon, 1 Dec 2014 19:23:43 +0000 (20:23 +0100)]
Fix group separator in installer's sidebar
Uses explode() to split the sections and puts correct separators between them.
Bug: T39362
Change-Id: I9a287b6ac206debb9bd93dbfad0703a8fad0931f
jenkins-bot [Mon, 1 Dec 2014 19:00:14 +0000 (19:00 +0000)]
Merge "build: Upgrade grunt-jscs and remove legacy jshint camelcase/nomen"
Aaron Schulz [Mon, 1 Dec 2014 18:36:48 +0000 (10:36 -0800)]
Removed bogus argument in frame profiling method
* Caused "Warning: xhprof_frame_end() expects exactly 0 parameters, 1 given in includes/libs/ScopedCallback.php on line 70"
Change-Id: I1ab5a973a185738cae97de4cfdc3cca78598d35e
Brad Jorsch [Mon, 1 Dec 2014 17:33:25 +0000 (12:33 -0500)]
Avoid FOUC on API help and pretty-printed output
Bug: T76268
Change-Id: Ie1e087cad764cd7c8f84e2a7b3fb2dc5083cabaf
glaisher [Sat, 22 Nov 2014 09:35:58 +0000 (14:35 +0500)]
Hide 'redirectedfrom' notice when printing articles
Wrap the 'redirectedfrom' message in "mw-redirectedfrom" id
and then add it to commonPrint.css to hide it when printing.
Bug: 16296
Change-Id: I077bda9596c37b122a1f6964470d9d85108d834e
Translation updater bot [Sun, 30 Nov 2014 20:42:23 +0000 (21:42 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: Ib0e7163ff33af2d163b55db583b71195d07571c0
Timo Tijhof [Tue, 18 Nov 2014 20:44:44 +0000 (20:44 +0000)]
build: Upgrade grunt-jscs and remove legacy jshint camelcase/nomen
Follows-up
4ec6b0cce.
grunt-jscs v0.7.0 upgraded node-jscs to v0.6.0 which introduced
the ability to disable rules via inline comments.
This means we can finally remove the deprecated jshint rules for
coding style rules and restrict jshint to code quality only.
Unsuppress the equivalent rules from jscs.
Change-Id: Idacf7e552d656ee139863d927e5bfc1f86af8283
jenkins-bot [Sun, 30 Nov 2014 18:15:19 +0000 (18:15 +0000)]
Merge "Remove RELEASE-NOTES-1.24 and merge into HISTORY"
jenkins-bot [Sun, 30 Nov 2014 05:28:15 +0000 (05:28 +0000)]
Merge "Add missing visibility keywords to all LoadBalancer methods"
Kunal Mehta [Sat, 29 Nov 2014 21:28:45 +0000 (13:28 -0800)]
Remove RELEASE-NOTES-1.24 and merge into HISTORY
1.24 has been released, so any changes that need release notes
should be targeting 1.25
Change-Id: Ie55c554131d750e22e6da1bf137279623325e67d
Translation updater bot [Sat, 29 Nov 2014 10:39:07 +0000 (11:39 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: I2765755ba154f1666a75da5d3ad7a95ba73d2d1c
jenkins-bot [Fri, 28 Nov 2014 23:25:47 +0000 (23:25 +0000)]
Merge "Link to mediawiki.org's SkinDistributor from the fallback skin"
jenkins-bot [Fri, 28 Nov 2014 18:52:53 +0000 (18:52 +0000)]
Merge "Style visited links correctly"
Florianschmidtwelzow [Fri, 28 Nov 2014 17:04:40 +0000 (18:04 +0100)]
Style visited links correctly
If a link is styled as a neutral button, the text color will change
if the link is already visited. Style the text like a real button (same
color for visited and not visited links)
Bug: T76240
Change-Id: I18d985c1ada10becee15888b7f31d56976c7a2eb
Reedy [Tue, 11 Nov 2014 16:16:06 +0000 (16:16 +0000)]
Add IP::isInRanges()
cf https://github.com/wikimedia/operations-mediawiki-config/blob/master/wmf-config/throttle.php#L43-L58
Change-Id: I8ae145035de9d349710971f17551da637e4d2242
jenkins-bot [Fri, 28 Nov 2014 16:23:43 +0000 (16:23 +0000)]
Merge "Inject cache as constructor param of SiteSQLStore"
Alex Monk [Thu, 27 Nov 2014 20:29:06 +0000 (20:29 +0000)]
Include anchor in group page wiki link
We effectively did this when outputting an HTML link in the function above, but
not for the wiki text version.
Just use getFullText instead of getPrefixedText, which handles adding anchors
where necessary and nothing else.
Bug: T75959
Change-Id: I1a4aa46d26e738c2a97e41463231da632e4ca8e5
Brad Jorsch [Wed, 26 Nov 2014 18:11:38 +0000 (13:11 -0500)]
API: Rewrite ApiQueryTags to fix continuation
And while we're at it, may as well include an indicator of whether the
tag is defined.
Bug: T76051
Bug: T76052
Change-Id: If2569ba1414b5f38d49c5f3ce9b6ca9c1a58f1c2
jenkins-bot [Fri, 28 Nov 2014 08:25:30 +0000 (08:25 +0000)]
Merge "Use HHVM+EZC internal tidy"
jenkins-bot [Fri, 28 Nov 2014 02:44:47 +0000 (02:44 +0000)]
Merge "mediawiki.ui: Reorder styleguide sections"
Prtksxna [Fri, 28 Nov 2014 01:52:01 +0000 (01:52 +0000)]
Merge "mediawiki.ui: Synchronise checkbox and radio code"
Translation updater bot [Thu, 27 Nov 2014 23:54:16 +0000 (00:54 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: I8f4c4c866a8968e1b7f8d2dc94368a222d6aa3b4
Bartosz Dziewoński [Fri, 21 Nov 2014 20:38:20 +0000 (21:38 +0100)]
mediawiki.ui: Reorder styleguide sections
Mostly to have checkboxes and radio buttons in neighboring sections.
Before:
1. Inputs
2. Buttons
3. Forms
4. Icons
5. Checkbox
6. Text & anchors
7. Radio
After:
1. Text inputs
2. Buttons
3. Checkbox
4. Radio
5. Forms
6. Icons
7. Text & anchors
Change-Id: I6b067eb90f5f05d7773c4879b87317436554701e
Bartosz Dziewoński [Wed, 26 Nov 2014 23:30:19 +0000 (00:30 +0100)]
mediawiki.ui: Synchronise checkbox and radio code
Get rid of tiny meaningless differences.
Change-Id: I78b3bf378bae1fce11b6ef4f85f7449421211721
jenkins-bot [Thu, 27 Nov 2014 23:14:38 +0000 (23:14 +0000)]
Merge "Set wgMetaNamespace on TitleTest.php"
Tim Starling [Wed, 26 Nov 2014 03:01:13 +0000 (14:01 +1100)]
Use HHVM+EZC internal tidy
EZC doesn't currently support direct access to object properties via the
obj->std.properties hashtable, but tidy uses this extensively. But it
turns out that for production use cases, tidy_repair_string() should be
sufficient. $wgDebugTidy and $wgValidateAllHtml are not used, and
no deployed extension calls MWTidy::checkErrors().
The only difference I know of is that errors from tidy (status==2) lead
to the tidy output being used, rather than discarded. But
TY_(ReportFatal) has very few callers in tidylib -- probably none that
are reachable from stripped parser output.
So, throw an exception if MWTidy::checkErrors() is requested on an HHVM
instance with the tidy extension. For MWTidy::tidy(), use
tidy_repair_string(). Refactor some relevant code.
Bug: T758
Change-Id: I8d5b1c2c9f9ddce46d8ad099a671a2e297d256e0
aude [Fri, 21 Nov 2014 00:24:39 +0000 (19:24 -0500)]
Implement SiteListFileCache and rebuild script
Provides file-based cache of the SitesStore data,
using a static json file dump of the data from the
SiteSQLStore.
Includes a maintenance script to rebuild the sites cache.
Bug: 56602
Bug: 45532
Change-Id: Iaee4c1f9fb5d54efe01975f733ebd5c339ac106f
jenkins-bot [Thu, 27 Nov 2014 16:49:11 +0000 (16:49 +0000)]
Merge "PostgreSQL: Port update-keys.sql to PostgreSQL"
jenkins-bot [Thu, 27 Nov 2014 06:26:20 +0000 (06:26 +0000)]
Merge "SkinFallbackTemplate: Remove outdated @todo"
jenkins-bot [Thu, 27 Nov 2014 05:55:07 +0000 (05:55 +0000)]
Merge "Use Parser::SFH_NO_HASH/SFH_OBJECT_ARGS class const"
jenkins-bot [Thu, 27 Nov 2014 05:51:11 +0000 (05:51 +0000)]
Merge "Add hint to OT_* defines"
jenkins-bot [Thu, 27 Nov 2014 05:36:49 +0000 (05:36 +0000)]
Merge "Simplify Special:Undelete link from navigation"
jenkins-bot [Thu, 27 Nov 2014 05:35:20 +0000 (05:35 +0000)]
Merge "Use mergeMwGlobalArrayValue in GenderCacheTest"
jenkins-bot [Thu, 27 Nov 2014 05:20:18 +0000 (05:20 +0000)]
Merge "Add mediawiki.userSuggest to Special:Block/Unblock/BlockList"
jenkins-bot [Thu, 27 Nov 2014 05:20:14 +0000 (05:20 +0000)]
Merge "Always return a value on SpecialRandomInCategory::onSubmit"
jenkins-bot [Thu, 27 Nov 2014 05:17:09 +0000 (05:17 +0000)]
Merge "phpcs: The final declaration must precede the visibility declaration"
Brad Jorsch [Wed, 5 Nov 2014 22:16:43 +0000 (17:16 -0500)]
Merge OpenSearchXml extension into core
There's really no reason for the extension to exist separately from
core, and merging it reduces the risks of bitrot in both the extension
(lots of deprecated functions there) and core (missing integration with
PageImages and TextExtracts, for example).
Change-Id: Ie0ab90902ede9499879402290006466efba479e9
Kunal Mehta [Thu, 27 Nov 2014 04:56:44 +0000 (20:56 -0800)]
SkinFallbackTemplate: Remove outdated @todo
It was already implemented
Change-Id: I74d326b60c19bbee67e83980fa47ecbb26250359
Kunal Mehta [Thu, 27 Nov 2014 04:27:49 +0000 (20:27 -0800)]
Link to mediawiki.org's SkinDistributor from the fallback skin
Change-Id: I2502f804bef479c2009408db4e429bd0981a8bbc
Mglaser [Thu, 27 Nov 2014 01:26:10 +0000 (01:26 +0000)]
Merge "SECURITY: Do not show log action if revdeleted"
jenkins-bot [Thu, 27 Nov 2014 01:24:46 +0000 (01:24 +0000)]
Merge "mediawiki.ui: Optimize image files"
csteipp [Wed, 29 Oct 2014 15:41:20 +0000 (08:41 -0700)]
SECURITY: Do not show log action if revdeleted
Also do not include revdeleted entries in search results when
filtering by action if user cannot view that info.
Bug: 72222
Change-Id: I359ce3c67b1a7c24b76a8bade62ce0c77ff5efb0
Bartosz Dziewoński [Wed, 26 Nov 2014 23:58:58 +0000 (00:58 +0100)]
mediawiki.ui: Optimize image files
Ran svgo 0.5 on all SVG files, tweaked things by hand.
Ran pngcrush on all PNG files.
Change-Id: I1b80ed3a9f4112521f94e32986f24b4a29c2a5a7
James D. Forrester [Wed, 26 Nov 2014 23:41:43 +0000 (15:41 -0800)]
Update OOjs UI to v0.2.3
Release notes:
https://git.wikimedia.org/blob/oojs%2Fui.git/v0.2.3/History.md
Change-Id: Ia3d8a5a9df0efffd2b5cb1466e600cc0b77d7ef2
Mglaser [Wed, 26 Nov 2014 23:38:11 +0000 (23:38 +0000)]
Merge "SECURITY: Add edit token to Special:ExpandTemplates"
jenkins-bot [Wed, 26 Nov 2014 23:33:48 +0000 (23:33 +0000)]
Merge "mediawiki.ui: Add radio buttons"
Kevin Israel [Fri, 26 Sep 2014 04:38:07 +0000 (00:38 -0400)]
SECURITY: Add edit token to Special:ExpandTemplates
On wikis that allow raw HTML, it is not safe to preview wikitext coming from
an untrusted source such as a cross-site request. Thus add an edit token to
the form, and when raw HTML is allowed, ensure the token is provided before
showing the preview.
Unfortunately, MediaWiki does not currently provide logged-out users with
CSRF protection; in that case, do not show the preview unless anonymous
editing is allowed (such wikis have been, and are still, vulnerable).
Change-Id: I2f1caa57e8fc705ef52fc4b6f351a174b72b33cb
csteipp [Tue, 18 Nov 2014 23:37:14 +0000 (15:37 -0800)]
SECURITY: Require new right to change content model
Add the user right 'editcontentmodel', which is required to change the
content model while editing a Page.
Bug: 70901
Change-Id: I54f59539f1045092ec0de76c31cb47ca19c56874
Translation updater bot [Wed, 26 Nov 2014 20:55:30 +0000 (21:55 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: I36abeb0c43781a383f026eefc7b14aeae0544c08
jenkins-bot [Wed, 26 Nov 2014 20:15:38 +0000 (20:15 +0000)]
Merge "Add release notes entry for wgRelevantArticleId"
Brad Jorsch [Wed, 26 Nov 2014 19:43:58 +0000 (14:43 -0500)]
API: Check suppressredirect right in ApiMove
Change Ic5026384 accidentally lost the check when changing from
Title::moveTo (which does the check itself) to MovePage::move (which
doesn't).
Bug: T75985
Change-Id: Ia64a233936c639a6748488e4d25816e87658ffe1
Alex Monk [Wed, 26 Nov 2014 18:31:55 +0000 (18:31 +0000)]
Add release notes entry for wgRelevantArticleId
Added in I06cd0378
Change-Id: Ic1b73dfba31e4b0ac7c6d25cfab532d14a3f6e2e
jenkins-bot [Wed, 26 Nov 2014 18:17:18 +0000 (18:17 +0000)]
Merge "API: Allow generators to return data"
Mglaser [Wed, 26 Nov 2014 17:56:30 +0000 (17:56 +0000)]
Merge "Added updated version history from 1.19.2 to 1.22.13"
umherirrender [Thu, 13 Nov 2014 18:15:40 +0000 (19:15 +0100)]
Set wgMetaNamespace on TitleTest.php
Also added it to the MediaWikiTitleCodecTest.php (which seems not exists
at time of bug creation)
Bug: T67879
Change-Id: I8411d46320201b594ebaa56953dc355d863d0500
Brad Jorsch [Mon, 24 Nov 2014 21:21:49 +0000 (16:21 -0500)]
API: Allow generators to return data
It has long been requested that list=search and list=prefixsearch be
able to indicate the search result ordering when used as generators.
This change introduces a generic mechanism to allow for generators to
specify additional page data.
Bug: T16859
Bug: T75623
Change-Id: I115338d2bd890ccc109a79c65f92099c0d41fc2d
Amir E. Aharoni [Wed, 26 Nov 2014 10:36:57 +0000 (12:36 +0200)]
Update the autonym for aeb in Names.php
The new name was suggested by Wikimedia's Language committee,
and as far as I know Arabic, it looks correct to me as well.
A Latin script autonym is being discussed separately and will be
added if and when there will be a decision about it.
The Arabic script autonym should be changed already now
because the current one is definitely wrong.
See also https://github.com/wikimedia/jquery.uls/pull/167 .
Change-Id: Ib07d2b49a47fb7f349a2cd70b7acfd88f9bf66ca
jenkins-bot [Wed, 26 Nov 2014 08:26:28 +0000 (08:26 +0000)]
Merge "Remove '@section LICENSE'"
Timo Tijhof [Wed, 26 Nov 2014 06:15:30 +0000 (06:15 +0000)]
mediawiki.util: Remove test for jsMessage
jsMessage uses mw.notify, which involves an animation.
mw.notify yields an mw.Notification object which has a reference
to the relevant elements.
However the deprecated jsMessage wrapper only returns boolean, so
we have no link to the element and no way to wait for the
animation to finish.
We could set up a mock clock in the test to skip the animation.
However, in this case the test was already useless as method
isn't testable (hardcoded booolean return).
This test was causing the QUnit test suite to fail occasionally
as the mw.notify animation was unfinished and would leak into
other tests.
Change-Id: Iffa91a3969bf69264b585e27ca44f85883ae2892
Timo Tijhof [Thu, 20 Nov 2014 17:54:05 +0000 (17:54 +0000)]
qunit/testrunner: Log relevant node in unfinished animations and reset
Having unfinished animations affect other test can be a problem,
but when it does happen, having just a number isn't helpful in
trying to pinpoint the cause.
Logging a description of the element should make this relatively
straight forward.
Also reset the animations after the test so that the next test has a
clean start (instead of the current situation where every subsequent
test, until the animation finishes, also reports it as a failure).
Example:
Unfinished animation #0 in fx queue on <div class="mw-notification
mw-notification-tag-legacy" style="opacity: 0; "/>
Change-Id: I41058c4cba3383e3ad1456990ccf8dae4ca64951
jenkins-bot [Wed, 26 Nov 2014 05:13:37 +0000 (05:13 +0000)]
Merge "Add specialpages-group-developer i18n string"
jenkins-bot [Wed, 26 Nov 2014 05:13:28 +0000 (05:13 +0000)]
Merge "Special:EditWatchlist/clear: use destructive button"
Prateek Saxena [Wed, 5 Nov 2014 10:33:57 +0000 (16:03 +0530)]
mediawiki.ui: Add radio buttons
Design specification on Trello-
https://trello.com/c/df2N2KJx/8-radio-buttons
Change-Id: Idb3d5177b6b2e9374de02416447fee9286e10a65
wctaiwan [Wed, 26 Nov 2014 04:42:07 +0000 (23:42 -0500)]
Add specialpages-group-developer i18n string
Per discussion at I0db24fcbc7c
Change-Id: I56f92ac8f6918a196b0c146f314eaf9a0508aceb
Timo Tijhof [Wed, 26 Nov 2014 02:19:43 +0000 (02:19 +0000)]
Remove '@section LICENSE'
This was used in 2 special classes, the logger classes and spread
to a few other random classes.
Afaik this has no meaning. Is for something we don't use, and
goes against the meaning of '@section' in Doxygen, which we do
use.
In Doxygen output, all LICENSE references became links to
ProfilerXhprof (the one Doxygen encoutered first).
Bug: T72328
Change-Id: Icc7c443245c70bc0f549bee7d105eef5691c864d
jenkins-bot [Wed, 26 Nov 2014 02:02:17 +0000 (02:02 +0000)]
Merge "Add autocomplete for Special:Redirect subpages"
Aaron Schulz [Sat, 22 Nov 2014 01:13:27 +0000 (17:13 -0800)]
Added custom frame support to Profiler
* Made use of it in the DatabaseBase classes
* For the xhprof class, this only works in HHVM for now
Change-Id: I95d7cc128d4a770328fbdd2b546972d3fc2e2e8a
Translation updater bot [Tue, 25 Nov 2014 20:17:01 +0000 (21:17 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: Ifb2e3068a552a251e374b3d10a5063c95a6d850f
jenkins-bot [Tue, 25 Nov 2014 17:50:03 +0000 (17:50 +0000)]
Merge "Remove stash handling when other errors are the problem"
jenkins-bot [Tue, 25 Nov 2014 16:23:14 +0000 (16:23 +0000)]
Merge "Revert "mediawiki.api: Use action=query&meta=tokens instead of action=tokens""
Nemo bis [Tue, 25 Nov 2014 07:20:12 +0000 (07:20 +0000)]
Revert "mediawiki.api: Use action=query&meta=tokens instead of action=tokens"
This reverts commit
aacdb664a10d5eca2b55891e5a75ca8c0368a11b,
which unintentionally broke backwards-compatibility, affecting
at least four extensions of which two deployed in Wikimedia projects.
Change-Id: I2e7e761281dae6a22fc520c9153734b55403b120
Timo Tijhof [Tue, 25 Nov 2014 02:35:29 +0000 (02:35 +0000)]
Maintenance: Simplify reading of package.json by using require()
Change-Id: Ifdee4733527cca8353cb9b59d6079939fdd7309e
jenkins-bot [Tue, 25 Nov 2014 01:32:11 +0000 (01:32 +0000)]
Merge "Update OOjs UI to v0.2.2"
jenkins-bot [Tue, 25 Nov 2014 01:30:51 +0000 (01:30 +0000)]
Merge "Maintainance: Update OOjs UI pull-through script to use release versions"
Timo Tijhof [Tue, 25 Nov 2014 01:23:25 +0000 (01:23 +0000)]
Update OOjs UI to v0.2.2
Release notes:
https://git.wikimedia.org/blob/oojs%2Fui.git/v0.2.2/History.md
Change-Id: I889b41ca2cee87ab9aab373a11e64de9a536b095
James D. Forrester [Sat, 22 Nov 2014 02:17:31 +0000 (18:17 -0800)]
Maintainance: Update OOjs UI pull-through script to use release versions
Fetch from npm repository instead of from local git clone.
Matching the update-oojs.sh script.
Change-Id: I9e441064be2e28daaf55435e783a0318358bb565
Bryan Davis [Mon, 24 Nov 2014 23:41:10 +0000 (16:41 -0700)]
Decorate deprecated functions with wfDeprecated()
Change-Id: Iaa7d11a9fdd1c68dc7ff1b3138fe8c9ba229cc69
jenkins-bot [Mon, 24 Nov 2014 21:02:55 +0000 (21:02 +0000)]
Merge "API: Recognize an "Api-User-Agent" header"
Translation updater bot [Mon, 24 Nov 2014 20:44:29 +0000 (21:44 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: I9c56b2fe36d90181629e1c981a2ab6279c7ed072
umherirrender [Fri, 10 Oct 2014 14:36:33 +0000 (16:36 +0200)]
Add mediawiki.userSuggest to Special:Block/Unblock/BlockList
This gives a suggestion list when typing a username
Bug: T50240
Change-Id: Ic76a3e5af22f8764023d005d76dfa563d35e5e4d
Mark Holmquist [Mon, 24 Nov 2014 19:24:11 +0000 (13:24 -0600)]
Remove stash handling when other errors are the problem
This interferes with getting the correct error message, which makes it
nearly impossible to help debug problems...
Change-Id: Ib04b897bc912065aaa4900f7904fe724ffec5385
Kunal Mehta [Mon, 24 Nov 2014 18:48:16 +0000 (10:48 -0800)]
Load lessphp via composer
Adds leafo/lessphp 0.5.0 as a dependency, and removes the current
copy of lessphp.
Depends on
7b2af65827 in mediawiki/vendor.
Bug: T1337
Change-Id: Ib5ab4c872d5236258df97d49f4ba72a20758a2e9
Timo Tijhof [Sun, 16 Nov 2014 15:08:29 +0000 (16:08 +0100)]
exception: Prefix error type in front of error message
Follows-up
399ba2fecf which didn't include any translation of the error
type in the logged message (e.g. "PHP Notice" or "PHP Warning").
Before
Error from line 2130 of mediawiki/includes/OutputPage.php: Undefined variable: bar
Error from line 2130 of mediawiki/includes/OutputPage.php: strpos() expects at le..
After
Error from line 2130 of mediawiki/includes/OutputPage.php: PHP Notice: Undefined variable: bar
Error from line 2130 of mediawiki/includes/OutputPage.php: PHP Warning: strpos() expects at le..
Based on the log formatter in php
https://github.com/php/php-src/blob/
0f5858e3a328/main/main.c#L1086-L1119
Change-Id: I52f98e52caa64955050ed73e1acbc78b1116a9fd
jenkins-bot [Mon, 24 Nov 2014 17:46:56 +0000 (17:46 +0000)]
Merge "API: Fix namespace handling in list=alldeletedrevs with from/to/predix"
umherirrender [Fri, 31 Oct 2014 11:06:13 +0000 (12:06 +0100)]
Always return a value on SpecialRandomInCategory::onSubmit
false usually indicates no submission was attempted in HTMLForms
Change-Id: I11d1d3e627a9e9bc3ed77a70c1b4f7456011c772
Brad Jorsch [Mon, 24 Nov 2014 15:06:44 +0000 (10:06 -0500)]
API: Fix namespace handling in list=alldeletedrevs with from/to/predix
We don't have just one namespace like the code we copied this from. And
to avoid a repeat of bug 25702, we have to handle the case where the
title/prefix might be being transformed differently in all the requested
namespaces.
Bug: T75711
Change-Id: I5267847fe876c971aaf358d2c6fe4006e4645939
paladox [Wed, 19 Nov 2014 07:25:26 +0000 (07:25 +0000)]
Update lessphp to
011afcca8e
Source:
* https://github.com/leafo/lessphp/blob/
011afcca8e6f1000a6e789921ba805fa578271a3/lessc.inc.php
Changes:
* https://github.com/leafo/lessphp/compare/
2cc77e3c7b...
011afcca8e
Change-Id: Ic21b97e52ec99b8eef094a902ee346cf40a9f174
Florianschmidtwelzow [Mon, 24 Nov 2014 06:22:56 +0000 (07:22 +0100)]
SpecialNewpages: Load mediawiki.userSuggest only when needed
Follow up: I261ffb6eb651e1a76c960fb87367bb08444ddf78
Change-Id: Id09d242745ef5c4a23bfe25d549a4517ee53e44d