Bartosz Dziewoński [Wed, 11 Jun 2014 10:41:40 +0000 (12:41 +0200)]
Separate MonoBook skin from core
This makes it behave exactly like a custom skin.
* Renamed directory to reflect skin name.
* Split skin classes to separate PHP files.
* Removed core autoloader entries for skin classes.
* Changed the hack in Setup.php to require_once the skin PHP file, as
the skin is now registered there.
* Extracted skin-specific localisation messages.
* Extracted skin-specific resources.
Change-Id: Ife9926d12b6baaa84cd2aa9a415f1183415863c8
Bartosz Dziewoński [Tue, 10 Jun 2014 22:25:48 +0000 (00:25 +0200)]
Separate Vector skin from core
This makes it behave exactly like a custom skin, with the caveat that
it is still hardcoded in several places :(, most notably lots of
skinStyles in Resources.php, the installer and some tests.
* Renamed directory to reflect skin name.
* Split skin classes to separate PHP files.
* Removed core autoloader entries for skin classes.
* Changed the hack in Setup.php to require_once the skin PHP file, as
the skin is now registered there.
* Extracted skin-specific localisation messages.
* Extracted skin-specific resources. Did not touch skinStyles yet.
* Hacked up the installer not to fall over entirely if Vector is
missing.
* Adjusted hardcoded paths in some more places...
Change-Id: Idfffc1430790b3a104cc9835a6367137bcbf0e4e
Chad Horohoe [Fri, 20 Jun 2014 20:43:36 +0000 (13:43 -0700)]
Database search fixes:
- Move filter() function and make it protected, nothing uses it
outside database-backed searching
- Use per-backend legal search characters rather than assuming the
static implementation is right
Change-Id: Ic2b830b56137b2dfe68b9b9c3de012151e716952
Chad [Fri, 20 Jun 2014 20:30:18 +0000 (20:30 +0000)]
Merge "PrefixSearch (ApiOpenSearch) now supports searching in multiple namespaces"
Niklas Laxström [Mon, 2 Jun 2014 18:34:52 +0000 (18:34 +0000)]
PrefixSearch (ApiOpenSearch) now supports searching in multiple namespaces
I thought there was just an issue with capitalization, but in fact the code
explicitly only searched one namespace anyway. Fixed that while taking
capitalization differences in namespaces into account.
Bug: 65752
Bug: 30323
Change-Id: I3487bb69eae1867832e0ec9ece497538eca32a2a
jenkins-bot [Fri, 20 Jun 2014 20:22:52 +0000 (20:22 +0000)]
Merge "Removed getLang() from IContextSource and subclasses"
jenkins-bot [Fri, 20 Jun 2014 20:15:02 +0000 (20:15 +0000)]
Merge "SearchResultSet: remove hasResults(), unused"
jenkins-bot [Fri, 20 Jun 2014 19:59:17 +0000 (19:59 +0000)]
Merge "Article: Add RL modules for the ParserOutput when showing CSS/JS page"
Translation updater bot [Fri, 20 Jun 2014 19:58:15 +0000 (19:58 +0000)]
Merge "Localisation updates from https://translatewiki.net."
Bartosz Dziewoński [Mon, 5 May 2014 16:58:34 +0000 (18:58 +0200)]
Article: Add RL modules for the ParserOutput when showing CSS/JS page
It previously added only the page HTML, which meant that ResourceLoader
modules associated with the page and other metadata was lost. This
affected the new way of doing things in SyntaxHighlight (Idf4ad439).
We still do not show categories, language links and other things
on the pages (although internally they behave just like in wikitext)
Also needs a fix in DifferenceEngine because our code sucks so much.
Bug: 64859
Change-Id: I5867985693b27ccc9195fddde8b922e67463e836
Translation updater bot [Fri, 20 Jun 2014 19:43:12 +0000 (19:43 +0000)]
Localisation updates from https://translatewiki.net.
Change-Id: Ie8652e0ef6486e4942929361e105f79554ed49a6
Bartosz Dziewoński [Thu, 8 May 2014 20:10:13 +0000 (22:10 +0200)]
OutputPage: Add addParserOutputContent() for more fine-grained control
We previously had addParserOutput(), which added everything and did
some other magic, and addParserOutputNoText() which, as the same says,
added everything but the text.
I renamed addParserOutputNoText() to addParserOutputMetadata() and
created two more functions:
* addParserOutputText(): This is almost identical to adding the raw
HTML, but calls the OutputPageBeforeHTML hook like other
addParserOutput*() methods.
* addParserOutputContent(): Like addParserOutputText(), but also adds
the ResourceLoader modules and variables associated with the parser
output. This is important especially for some extensions like
TemplateData or SyntaxHighlight which add styles to the page to
enhance the display.
Change-Id: Iead541886fd1ccdbdf1cb06af71b34cd04644985
Bartosz Dziewoński [Sat, 31 May 2014 12:49:24 +0000 (14:49 +0200)]
SkinTemplate: Move $stylename to Skin and soft-deprecate
It is *used* by Skin, so let's define and document it there as well.
Also, it was never necessary to set this to anything, but we were
pretending it was. This only served to increase the amount of magic
skin creators have to accept.
Change-Id: I61c6e952ede72bad37db38fefe1299da798914b8
withoutaname [Mon, 16 Jun 2014 06:52:12 +0000 (23:52 -0700)]
Removed getLang() from IContextSource and subclasses
Change-Id: I94c3df814c06c54c071f371101882dcc71c99417
jenkins-bot [Fri, 20 Jun 2014 18:21:15 +0000 (18:21 +0000)]
Merge "Some improvements to Special:MergeHistory"
withoutaname [Mon, 16 Jun 2014 19:33:50 +0000 (12:33 -0700)]
Check for $wgAllowUserCss and $wgAllowUserJs in EditPage.php
This change checks for the truth values of $wgAllowUserCss and
$wgAllowUserJs before displaying the system/preview messages
userjsyoucanpreview, usercssyoucanpreview, userjspreview and
usercsspreview; if false, it will simply display the standard
messages used by other wiki pages.
Change-Id: I6a5fa8b29010f26435125479e72c423b5e4290f8
Chad Horohoe [Fri, 20 Jun 2014 17:34:26 +0000 (10:34 -0700)]
Remove SearchResultTooMany
Only worked for Postgres, and only worked halfway at that. Result
sets could be false for many reasons. No results, bad query, database
went to Mars. We shouldn't assume they're always "too many results."
Leave it up to the normal query error logging and move on.
Change-Id: Ieddd163e440ae54b152541d727c1afdbc4ab4fbd
Aaron Schulz [Thu, 19 Jun 2014 20:20:26 +0000 (13:20 -0700)]
Set MYSQLI_OPT_CONNECT_TIMEOUT in mysqli
* There is no php.ini setting for this, and it is unclear how
high the default is. The retry behavior of MediaWiki also
makes little sense without knowing this value.
* Also removed the retry loop which will mostly result in
giving up the position in some FIFO queue only to come
back at the end of the line.
Change-Id: Id24f6635508ba87288a2e40f71d4e8016a1805b0
Jackmcbarn [Fri, 20 Jun 2014 15:36:08 +0000 (11:36 -0400)]
Add support for testing transparent tags
Allow transparent tag hooks to be loaded during parser tests the way that
regular and function tag hooks can be.
Change-Id: I28ac9cc239628c248f72898d247fa1f6e2c308bd
jenkins-bot [Fri, 20 Jun 2014 15:19:32 +0000 (15:19 +0000)]
Merge "Allow interlanguage link prefixes that are not language codes"
jenkins-bot [Fri, 20 Jun 2014 14:41:57 +0000 (14:41 +0000)]
Merge "Update documentation of what a "section" is"
Chad Horohoe [Fri, 20 Jun 2014 14:24:09 +0000 (07:24 -0700)]
SearchResultSet: remove hasResults(), unused
SolrStore, MWSearch and CirrusSearch all implement this and are
now free to drop their implementations.
Change-Id: Ia04bd3fc8526c35c3c9590c7fe4e2db2bc120283
jenkins-bot [Fri, 20 Jun 2014 06:42:26 +0000 (06:42 +0000)]
Merge "Put wfDeprecated() on obsolete use of $wgSpecialPages"
Kevin Israel [Fri, 20 Jun 2014 05:25:41 +0000 (01:25 -0400)]
Fix copy-paste error in wfIsConfiguredProxy()
It should call IP::isConfiguredProxy(), not IP::isTrustedProxy().
Follows-up
e323bc33934d.
Change-Id: I3caf8261f6058aa1a243c055b746b2fa61b1bf49
This, that and the other [Fri, 20 Jun 2014 01:29:05 +0000 (11:29 +1000)]
Allow interlanguage link prefixes that are not language codes
$wgExtraInterlanguageLinkPrefixes holds a list of interwiki prefixes to be
treated as language codes if $wgInterwikiMagic is true.
To set the display text for the interlanguage links generated by this
code, you need to create MediaWiki:Interlanguage-link-foo, where "foo" is
the interwiki prefix. To provide a friendly site name for the link title
text, use MediaWiki:Interlanguage-link-sitename-foo. On the WMF cluster,
these messages could be set using the WikimediaMessages extension.
Information about extra language links (in the site language only) is
provided via the API in meta=siteinfo&prop=interwikimap.
Bug: 32189
Change-Id: I3d04760e2d9fb3320bb71e3d5ad115eed54a899c
Brian Wolff [Fri, 20 Jun 2014 01:13:48 +0000 (22:13 -0300)]
Only use limit.sh if /bin/bash executable, instead of if linux.
gute on irc just mentioned how his BusyBox server identifies as
linux but doesn't have bash installed. Additionally I see no
reason to limit limit.sh to linux, if for example somebody has
installed bash on a different *nix.
Change-Id: I51677295ab6bbc58fc5152106cf2c4c32bd1b0ea
jenkins-bot [Fri, 20 Jun 2014 00:51:35 +0000 (00:51 +0000)]
Merge "Some doc fixes to MediaHandler. No code changes"
Brian Wolff [Fri, 20 Jun 2014 00:16:28 +0000 (21:16 -0300)]
Some doc fixes to MediaHandler. No code changes
Change-Id: I2d79fce7aa55b9a0f2988c09a55594db4e8849f1
jenkins-bot [Fri, 20 Jun 2014 00:20:10 +0000 (00:20 +0000)]
Merge "Travis CI: Drop 5.3 as a build target"
jenkins-bot [Fri, 20 Jun 2014 00:19:52 +0000 (00:19 +0000)]
Merge "Remove use of strencode() in buildLike()"
jenkins-bot [Fri, 20 Jun 2014 00:02:58 +0000 (00:02 +0000)]
Merge "ApiExpandTemplates: Start parse before creating frame"
Ori Livneh [Thu, 19 Jun 2014 23:29:56 +0000 (16:29 -0700)]
Travis CI: Drop 5.3 as a build target
On second thought, I'd really much rather only target hhvm-nightly for now. On
the one hand, this is monopolizing / hijacking .travis.yml to a specific
Wikimedia project (HHVM deployment), but on the other hand, it's a big enough
project, so I'd like to ask you (dear reviewer) to consider it, as a short-term
arrangement. There are things like IRC notifications, overall build status,
etc. that are scoped to all configured builds and having 5.3 in there adds
noise. It also sows confusion about where we run our tests. People should
really turn to Jenkins for 5.3 testing. I think we're in the final couple of
months of hardcore sprinting on HHVM. I wouldn't mind opening this up after.
Change-Id: I0131667135ef3ca75d01ac5645dbc89bda306d98
Ori Livneh [Thu, 19 Jun 2014 03:22:26 +0000 (20:22 -0700)]
Update Travis CI build configuration
* Target 'hhvm-nightly', not 'hhvm'.
* Don't target Zend PHP versions other than 5.3.
There is value in targetting different versions of the PHP interpreter, but
in the short term there is more benefit to be had from targetting just HHVM
and PHP 5.3 (results are produced more quickly and are easier to interpret).
* Don't update submodules manually; Travis does that by default if there is a
.gitmodules file in the repository root.
<http://docs.travis-ci.com/user/build-configuration/#Git-Submodules>
* Update Composer before installing PHPUnit.
* Make the wiki name and dbname agree.
* Allow Composer to install whatever is specified in composer.json, rather than
hard-coding an install of PHPUnit 3.7 (3.7 is incompatible with HHVM).
* Ping freenode#mediawiki-core with the test results, but only when the build
status changes. We can turn it off if it gets annoying.
* Don't hack include_path or date.timezone ini settings; those were kludges
needed to get HHVM to run at all at, but they're no longer needed.
* Invoke hhvm via 'php'; Travis ensures that it points to the target
interpreter.
Verified on my personal fork:
<https://travis-ci.org/atdt/mediawiki-core/builds/
27983653>
Change-Id: I442b40e0d3e31d3cbd963e1219578842f4564004
jenkins-bot [Thu, 19 Jun 2014 21:49:28 +0000 (21:49 +0000)]
Merge "Made pool counter better handled nested calls"
Translation updater bot [Thu, 19 Jun 2014 19:17:52 +0000 (19:17 +0000)]
Localisation updates from https://translatewiki.net.
Change-Id: I3ee8d9c83834b69ff919de0a9fcfc7d96375fc77
Jackmcbarn [Thu, 3 Apr 2014 03:52:52 +0000 (23:52 -0400)]
Make RECOVER_ORIG preserve extension tags
Add PPFrame::NO_TAGS, set by PPFrame::RECOVER_ORIG, to preserve extension
tags rather than expanding them.
Bug: 22683
Change-Id: I427333a20d32eb711a7b5d5ac8b780ef89c752a1
Max Semenik [Thu, 19 Jun 2014 17:59:21 +0000 (10:59 -0700)]
Put wfDeprecated() on obsolete use of $wgSpecialPages
Gotta remove it some day, this is another step in that direction.
Change-Id: Id8a559a671e1b9229b9d2235bf459f31d575c154
jenkins-bot [Thu, 19 Jun 2014 17:56:06 +0000 (17:56 +0000)]
Merge "filebackend: Avoid using popen() when "parallelize" is disabled"
jenkins-bot [Thu, 19 Jun 2014 14:21:51 +0000 (14:21 +0000)]
Merge "mediawiki.page.image.pagination: Clean up, optimise and fix various bugs"
Timo Tijhof [Tue, 17 Jun 2014 19:16:46 +0000 (21:16 +0200)]
mediawiki.page.image.pagination: Clean up, optimise and fix various bugs
Follows-up
427b0e1,
5e77f39.
* Remove comment stating the obvious (initialize variable).
* Unset 'xhr' variable in the success handler. This allows it to
be freed from memory, and prevents us from uselessly trying to
abort an already finished request.
* Rename 'xhr' to 'jqXhr' as it is not an xhr.
* Use the Promise of jQuery.ajax instead of the long-deprecated
callback option 'success'.
* Rephrase comment stating that jQuery.load is used (which is
not true).
* Don't re-query 'table.multipageimage' multiple times. Instead
query it from the document once and cache it.
* Remove useless 'window.history' check. This is not a new global
in HTML5. The 'history' global, infamous from history.go() and
history.back(), has been a part of the web for a very long time.
We can safely depend on them, just as we depend on 'location',
'navigator' and 'document'.
* Add an identifier to the history pop-state to prevent an
exception when dealing with the state object of another
application. Lots of gadgets use the History API these days
(as well as extensions like VisualEditor and MultimediaViewer).
* Don't store the location.href inside the pop state data. This
is not needed because it is already stored by the browser
natively. A history event contains a url, page title and
custom data stored as JSON. There is no need to store the url
again in the custom data.
* Despite the width/height transferring from the old content
to the spinner container, the scroll position still jumped
because it wasn't accounting for margin, padding and border.
Use outerHeight() instead of height().
* Avoid using the DOM to store and retrieve information. Use
application state instead of a DOM query to know whether we
have a spinner already. This increases performance but also
avoids false positives where (unlikely) other similar elements
and/or spinners from a different script are on the page.
* Properly replace the entire table contents() instead of just
dropping the <tr> straight into the emptied <table>. This way
the script makes no assumptions about whether there is a
caption/thead/tbody or multiple rows etc. Plus it saves another
recursive DOM query (the one for "tr"). And fixes a potential
bug if there are nested tables (since it was doing a recursive
query).
Change-Id: I8b64a0860b73a5dcd8051b5e7a1fcb65107228a6
jenkins-bot [Thu, 19 Jun 2014 13:55:17 +0000 (13:55 +0000)]
Merge "Delete sr.json, it blocks messages from sr-ec"
jenkins-bot [Thu, 19 Jun 2014 12:16:26 +0000 (12:16 +0000)]
Merge "Clarify fileexists-extension message"
jenkins-bot [Thu, 19 Jun 2014 12:15:07 +0000 (12:15 +0000)]
Merge "Add macronless namespace aliases for Old English"
jenkins-bot [Thu, 19 Jun 2014 10:39:21 +0000 (10:39 +0000)]
Merge "Actually define jMY date format for Arab"
Brian Wolff [Mon, 9 Jun 2014 05:05:17 +0000 (02:05 -0300)]
Allow using wildcards for minor type in Special:MIMESearch
e.g. Allow [[Special:MIMESearch/application/*]].
Change-Id: Ic098b10a64e3346d58c94f2dbfbb552dd809e93d
Brian Wolff [Thu, 22 May 2014 21:36:40 +0000 (18:36 -0300)]
Make CloneDatabase error out on shared tables.
Due to the way prefixes are handled, this doesn't work properly.
Make it quit early to prevent confusion. I don't think there's
many people who need shared table support, so I don't know if
its worth the effort to actually fix.
Bug: 65654
Change-Id: I6cd701998fc9066d8c7a4fc86d93a4282cc7f9bd
umherirrender [Thu, 17 Apr 2014 10:34:20 +0000 (12:34 +0200)]
Fixes to Special:TrackingCategories
- Message::isDisabled is using the unparsed message text, so this is
always true and not false when a #switch will return '-'.
Using a compare against '-', the same as in
Parser::addTrackingCategory.
- Title::makeTitleSafe can return null, check that
- Add 'trackingcategories-disabled' when array is empty,
this can happen when a '{{' is given, but no categories was found
Change-Id: I88322512db5c4baedc5c571ce9ccbcd0caebb61d
Brian Wolff [Wed, 9 Apr 2014 01:55:18 +0000 (22:55 -0300)]
Make Special:TrackingCategories fully detect namespace switching
Special:TrackingCategories has special logic to detect people
using {{NAMESPACE}} in their tracking category messages, and
handle it. Make it detect any '{{' to deal with localized
variants. This will make it work for
[[commons:MediaWiki:Broken-file-category]]
Change-Id: Ibac0decc5992d30ae536efc91138ad9b42a569e9
Adrian Lang [Fri, 28 Mar 2014 09:11:07 +0000 (10:11 +0100)]
qunit.completenessTest: Correct walkTheObject behaviour wrt breadcrumb
The function documentation states that currName is not included in
parentPathArray, although it actually is. This change makes the
implementation match the documentated behavior.
Change-Id: I6e44ad84de2e31320309438b8aa09ec929d15e8e
James D. Forrester [Wed, 18 Jun 2014 23:19:20 +0000 (16:19 -0700)]
Update OOjs UI to v0.1.0-pre (
7a0e222a75)
New changes:
ef2f66f Element: Add unit tests for focusin/focusout hack
54b09fd Element: Remove focusin/focusout hack in onDOMEvent
91ba7d3 Accessibility: Set role=dialog on dialogs
0447150 Accessibility: Restore element focus when a window closes
715f1ef Localisation updates from https://translatewiki.net.
9f343c0 Localisation updates from https://translatewiki.net.
6be64bc Tidy up SVG sources and fix pixel snapping
7a0e222 Fix scrollIntoView() in the case where the scrollable container is the <body>
Change-Id: I9d86a238546acc867f20aeb45b102c7499108c89
Reedy [Wed, 18 Jun 2014 21:53:07 +0000 (22:53 +0100)]
Update Language::userAdjust() $ts parameter hint to be string
Will technically still take an int (it's parsed around anyway), but
should be passed as a string
Mostly for HipHop stuffs
Change-Id: Id940028d581e34ca2e37a0730ca5766a08fc10e2
Translation updater bot [Wed, 18 Jun 2014 20:26:18 +0000 (20:26 +0000)]
Merge "Localisation updates from https://translatewiki.net."
Aaron Schulz [Wed, 18 Jun 2014 17:18:49 +0000 (10:18 -0700)]
filebackend: Avoid using popen() when "parallelize" is disabled
Bug: 66467
Change-Id: Iaf8eb2ecfad166e26e265a98933399dc4bc255a3
Reedy [Wed, 18 Jun 2014 19:48:38 +0000 (20:48 +0100)]
Fix $wgDjvuPostProcessor comment about default being pnmtopng
Change-Id: I643332fcfb2dfae40dc61e71f2e151d6510ebbcd
Translation updater bot [Wed, 18 Jun 2014 19:41:11 +0000 (19:41 +0000)]
Localisation updates from https://translatewiki.net.
Change-Id: Ia0ebbe849a5458406d8e7c7bee7d930bdba26cfc
Brian Wolff [Wed, 18 Jun 2014 19:05:41 +0000 (16:05 -0300)]
Fix DjVu test (Make sure to check for djvutxt binary)
Bug: 61070
Change-Id: Ib5e7c89a51d0872b32bbcd6b7e3db830c2e5e8a6
addshore [Tue, 6 May 2014 09:35:18 +0000 (10:35 +0100)]
Ignore days of random failing tests in wfTimestampTest
This switches 2 of the testcases to use a regex
instead of an exact match
Bug: 64946
Change-Id: I24b64b34787eb1b6bbf6e6b6178a2bbf5eb7c32c
Brad Jorsch [Wed, 18 Jun 2014 18:12:08 +0000 (14:12 -0400)]
ApiExpandTemplates: Start parse before creating frame
The code added in Id12cbe4a is creating a frame from the parser object
before actually starting a parse, meaning the frame ends up with no
title, which causes problems for other stuff that assumes the frame
*does* have a title.
While we could possibly change from calling ->preprocess() to
->recursivePreprocess() to avoid re-starting the parse, there are some
hooks called from ->preprocess() that it's probably best to continue
calling to not break BC.
Bug: 66798
Change-Id: If2ca8ab94ab81ee10f33ce1f4ee75655b7c1e680
Jackmcbarn [Wed, 18 Jun 2014 17:37:14 +0000 (13:37 -0400)]
Use quickUserCan instead of userCan for searches
When displaying search results, use quickUserCan instead of userCan when
checking whether the user can create the page they searched for. This will
result in things like the titleblacklist still letting users proceed to
the edit window, so that they can see the custom error message, rather
than having no idea why they can't create the page.
Change-Id: Idb428703bb69a83e04bb05df1e7106b6db7bda45
jenkins-bot [Wed, 18 Jun 2014 14:03:34 +0000 (14:03 +0000)]
Merge "The siteinfo API uses '' as an attribute value, not `true`."
jenkins-bot [Wed, 18 Jun 2014 00:27:39 +0000 (00:27 +0000)]
Merge "Removed useless "while" loop"
jenkins-bot [Wed, 18 Jun 2014 00:21:52 +0000 (00:21 +0000)]
Merge "Mime search: Trim leading and trailing whitespace from input"
Tomasz W. Kozlowski [Tue, 17 Jun 2014 21:19:00 +0000 (23:19 +0200)]
Add macronless namespace aliases for Old English
Requested on Bugzilla 'for the sake of convenience.'
Bug: 58712
Change-Id: I971717a3ff72f643e1912d7fe78416db7bc8ff44
Brian Wolff [Sat, 17 May 2014 22:41:54 +0000 (19:41 -0300)]
Clarify fileexists-extension message
The message is a warning, the user can chose to ignore it, and
there are valid cases for ignoring it. However the message read
like a hard error.
Change-Id: I47693d1c08784a44b9a1360a8c2d28433b104437
Sam Smith [Tue, 1 Apr 2014 14:28:46 +0000 (15:28 +0100)]
Make ResourceLoaderFileModule#getAllStyleFiles include all skin styles
* Add the ResourceLoaderFileModule#getAllSkinStyleFiles method,
which returns all of the skinStyles files for a given module
* The LessFileCompilationTest and checkLess.php script, which use
the #getAllStyleFile method, now validate all LESS style files
Bug: 63343
Change-Id: Ib2eb5761919c648aea4ae58f8d0531799fe7982b
jenkins-bot [Tue, 17 Jun 2014 19:34:22 +0000 (19:34 +0000)]
Merge "ResourceLoaderFileModule: Implement remoteSkinPath option"
jenkins-bot [Tue, 17 Jun 2014 19:23:16 +0000 (19:23 +0000)]
Merge "Fixed FSFileOpHandle comment"
jenkins-bot [Tue, 17 Jun 2014 19:22:57 +0000 (19:22 +0000)]
Merge "Some phpcs-strict changes on includes/revisiondelete/"
Chad Horohoe [Tue, 17 Jun 2014 17:58:39 +0000 (10:58 -0700)]
Mime search: Trim leading and trailing whitespace from input
Change-Id: I4f8142224d7585bff65ac3cbab4fce8b302c82bd
jenkins-bot [Tue, 17 Jun 2014 17:10:51 +0000 (17:10 +0000)]
Merge "Actually format search error Status objects nicely"
Chad Horohoe [Tue, 17 Jun 2014 16:51:03 +0000 (09:51 -0700)]
Actually format search error Status objects nicely
htmlspecialchars() on wikitext that's passed to addHtml()?
Change-Id: I6cff09ebc052841b923bbed8b9fa02a208e7d61c
C. Scott Ananian [Tue, 17 Jun 2014 14:51:26 +0000 (10:51 -0400)]
The siteinfo API uses '' as an attribute value, not `true`.
Bug: 66723
Change-Id: Ibef772a72bac6b700ba2a3725832f50b057bf503
jenkins-bot [Tue, 17 Jun 2014 14:18:23 +0000 (14:18 +0000)]
Merge "shell script fix using shellcheck lint"
Daniel Friesen [Sun, 1 Jun 2014 17:25:11 +0000 (10:25 -0700)]
ResourceLoaderFileModule: Implement remoteSkinPath option
remoteSkinPath works the same as remoteExtPath but is relative to skins/ instead of extensions/
This will allow skins to register modules using:
$wgResourceModules['skin.myskin'] = array(
// ...
'localBasePath' => __DIR__,
'remoteSkinPath' => 'myskin',
);
Instead of using:
'remoteBasePath' => $GLOBALS['wgStylePath'] . '/myskin', // or
'remoteBasePath' => &$GLOBALS['wgStylePath'],
Change-Id: I0e8c4a37a224e9528c9c5aa5417f0f56dbb89b97
Siebrand Mazeland [Tue, 17 Jun 2014 12:37:17 +0000 (14:37 +0200)]
Allow use of GENDER in "fileexists" message
Requested by Protnet in
https://translatewiki.net/wiki/Thread:Support/About_MediaWiki:Fileexists/el
Change-Id: I51fdc106938977a5c9abd78de4fd6f297e2ac880
jenkins-bot [Tue, 17 Jun 2014 08:55:00 +0000 (08:55 +0000)]
Merge "Reword typo in file header for EditPage.php"
jenkins-bot [Tue, 17 Jun 2014 08:54:46 +0000 (08:54 +0000)]
Merge "Capitalise Message in SpecialAllMessages files"
jenkins-bot [Tue, 17 Jun 2014 08:49:45 +0000 (08:49 +0000)]
Merge "Rename SpecialAllpages to SpecialAllPages"
jenkins-bot [Tue, 17 Jun 2014 02:58:28 +0000 (02:58 +0000)]
Merge "Revert "mediawiki.mixins: Add border-radius mixin""
Aaron Schulz [Mon, 16 Jun 2014 21:46:09 +0000 (14:46 -0700)]
Removed useless "while" loop
Change-Id: Idc8ebc3a90f10f2179fcea0872207fe17cc2b265
Translation updater bot [Mon, 16 Jun 2014 19:44:52 +0000 (19:44 +0000)]
Localisation updates from https://translatewiki.net.
Change-Id: If9f9760aecc14851052ac63f3cd9da15152f500e
Krinkle [Mon, 16 Jun 2014 19:17:03 +0000 (19:17 +0000)]
Revert "mediawiki.mixins: Add border-radius mixin"
Prefixes for border-radius haven't been needed in a long time. This
degrades gracefully and isn't worth the overhead.
In addition, only a few weeks ago did we merge commits that removed all
this prefixes (e.g. in Ie5ce3202b4). Adding this mixin would encourage
doing the reverse.
This reverts commit
591ba359f283c5ab4ba1b2a0359a98692a3b204b.
Change-Id: Ic25a001de3fe1516cc4939b3159e362e87cb790b
Roan Kattouw [Mon, 16 Jun 2014 18:30:47 +0000 (11:30 -0700)]
Followup
e48ecbc5: fix fatal error due to undefined variable
Bug: 66669
Change-Id: I195a5ff539f09addb92d2bb07d53bdb3aef0db1f
Gabriel Wicke [Mon, 16 Jun 2014 17:17:08 +0000 (10:17 -0700)]
Minor: more specific parsoid image styling with child selectors
Bug: 51245
Bug: 66616
Change-Id: Iff228e932bbb3d548e9a0430a561020cdccf1b4c
Reedy [Mon, 16 Jun 2014 17:36:04 +0000 (18:36 +0100)]
Rename SpecialAllpages to SpecialAllPages
Change-Id: Ic137bc7adbc4a9ed96448ba0fee4807b67b3112d
Reedy [Mon, 16 Jun 2014 17:25:53 +0000 (18:25 +0100)]
Capitalise Message in SpecialAllMessages files
No internal changes to Special:Allmessage etc made
Change-Id: I21a164af0b6ec123bf654cd1e4e7085b1192f067
jenkins-bot [Mon, 16 Jun 2014 10:06:35 +0000 (10:06 +0000)]
Merge "mediawiki.mixins: Add border-radius mixin"
Rob Moen [Thu, 22 May 2014 22:40:24 +0000 (15:40 -0700)]
mediawiki.mixins: Add border-radius mixin
Change-Id: Idb46dee0ac8a29d489ec7fb405f8a3149a729b3b
Bartosz Dziewoński [Fri, 9 May 2014 18:06:58 +0000 (20:06 +0200)]
Split messages for recent change legend and letter tooltips
This makes it possible to use formatting in the legend ones
(e.g. links to help pages) and to use different wording
(the one for tooltips is sometimes too verbose for the legend).
Documented the format of $wgRecentChangesFlags better.
The default text in not modified in this change.
Bug: 58715
Bug: 60235
Change-Id: Ie9872c8fb3e43620877300ee8536bb5ddee5ab46
withoutaname [Mon, 16 Jun 2014 05:58:34 +0000 (22:58 -0700)]
Reword typo in file header for EditPage.php
Change-Id: Iefad919e09632b11bb06abcab390a756455c2ddd
jenkins-bot [Mon, 16 Jun 2014 01:33:24 +0000 (01:33 +0000)]
Merge "Add tests for API's assert={user|bot}"
Bartosz Dziewoński [Tue, 10 Jun 2014 20:38:47 +0000 (20:38 +0000)]
Revert "Revert "Officially deprecate skin autodiscovery""
The CI issue that made the revert necessary is fixed now.
This reverts commit
d672aa3123a612583ef9ec67115992aafce5b2af.
Bug: 66429
Change-Id: Ib2b4a895c5d01e5ccc7e4edfdbfdcaf0a93c267c
jenkins-bot [Mon, 16 Jun 2014 00:43:04 +0000 (00:43 +0000)]
Merge "Fix some line mis-wrapping and typos in RELEASE-NOTES-1.24"
jenkins-bot [Mon, 16 Jun 2014 00:21:46 +0000 (00:21 +0000)]
Merge "Update jquery.jStorage.js"
jenkins-bot [Mon, 16 Jun 2014 00:07:17 +0000 (00:07 +0000)]
Merge "Collapse duplicate $existingExpiry == 'infinity' case into else"
Reedy [Sun, 15 Jun 2014 23:49:34 +0000 (00:49 +0100)]
Collapse duplicate $existingExpiry == 'infinity' case into else
Change-Id: I1cc612e9f646dd75f58cc6ae0ae073ebffa7d6d3
Kunal Mehta [Fri, 20 Dec 2013 09:06:51 +0000 (01:06 -0800)]
API: Allow 'infinity' as a valid protection expiry
Change-Id: If9eb1f3e835579f5c8b8be22297a1eb26beda4e7
Reedy [Fri, 24 Jan 2014 02:51:11 +0000 (02:51 +0000)]
Switch API to use Config classes
Only done where globals are config (so not $wgParser, $wgContLang etc)
Change-Id: Ic39cdd858cfb9096a2bc09618f97e64270d76f13
Translation updater bot [Sun, 15 Jun 2014 19:42:49 +0000 (19:42 +0000)]
Localisation updates from https://translatewiki.net.
Change-Id: Id7f62d5c54ac1d476f37d238759a28ef803347fb
Raimond Spekking [Sun, 15 Jun 2014 17:35:58 +0000 (19:35 +0200)]
Delete sr.json, it blocks messages from sr-ec
Spotted by Milićević
https://translatewiki.net/wiki/Thread:Support/Change_on_gerrit
Change-Id: I65f0ea2374012c4949e62668f8b4cc0eeab4e6af