mjbmr [Thu, 20 Aug 2015 10:41:09 +0000 (10:41 +0000)]
Replace 'emailpage' with 'emailuser'
Bug: T109614
Change-Id: I345d0091b17ef61499dc7d8c170308fd8194dc00
Aaron Schulz [Sat, 15 Aug 2015 21:29:39 +0000 (14:29 -0700)]
Switched job run time profiling to context getStats()
* This replaces the scoped profiling calls
Change-Id: I73caffad0e0d31d9ffbd3c0decfe31e17ea85398
jenkins-bot [Wed, 19 Aug 2015 19:45:14 +0000 (19:45 +0000)]
Merge "API i18n: Split existing non-English prop messages for param-per-value"
Aaron Schulz [Wed, 19 Aug 2015 18:31:09 +0000 (11:31 -0700)]
Fixed BagOStuff getScopedLock() docs
Change-Id: I4d6d3211e93ee1c279728ff787acff558a47fbee
Brad Jorsch [Wed, 19 Aug 2015 19:24:40 +0000 (15:24 -0400)]
API i18n: Split existing non-English prop messages for param-per-value
A series of recent patches split many prop messages for param-per-value
mode. Per request, do the same for the existing non-English messages.
Bug: T109541
Change-Id: I80bcfc0e0680d71f59373c6bc12ed91168ced16a
jenkins-bot [Wed, 19 Aug 2015 17:31:48 +0000 (17:31 +0000)]
Merge "Escape return of {{int:}} if message not exists"
jenkins-bot [Wed, 19 Aug 2015 17:12:03 +0000 (17:12 +0000)]
Merge "Remove maintenance script fixSlaveDesync.php"
Kevin Israel [Wed, 19 Aug 2015 10:26:01 +0000 (06:26 -0400)]
Remove maintenance script fixSlaveDesync.php
Though this script was run on Wikimedia sites years ago (see T8399), there
are enough reasons to doubt it will be run again:
* There is a hardcoded maximum page_id value, which would have to be
changed or removed before reuse.
* It scans the entire page table in a single SELECT query and stores all
values of page_id and page_latest in a PHP array, which might not be
feasible on a large wiki.
* It writes directly to slaves. In contrast, the manual page for
pt-table-sync (from Percona Toolkit) says in general, "[...] it always
makes the changes on the replication master, never the replication slave
directly. This is in general the only safe way to bring a replica back
in sync [...]".
* It only works on the page/revision/text tables. In contrast, pt-table-sync
can work on any table having a primary key.
* It does try to detect whether revisions are missing on the master (instead
of on the slave). However, this won't work because of a bug introduced in
r91243 /
bb1df74f8715 (it actually queries the master twice and puts the
second result set in $slaveIDs).
Change-Id: I85c98821af308abf7dde8068d7cbca17d06b1362
jenkins-bot [Wed, 19 Aug 2015 10:26:22 +0000 (10:26 +0000)]
Merge "Set 'List-Help' header for watchlist emails"
jenkins-bot [Wed, 19 Aug 2015 09:46:42 +0000 (09:46 +0000)]
Merge "Avoid full RC table scans in ChangeTags::updateTags()"
Kunal Mehta [Tue, 7 Jul 2015 18:44:25 +0000 (11:44 -0700)]
Set 'List-Help' header for watchlist emails
Added an option to UserMailer::sendMail() to allow adding arbitrary
headers to emails.
Bug: T58315
Change-Id: I01a60430bf39f6bd104269b7246767f016eb9cd5
Aaron Schulz [Wed, 19 Aug 2015 09:25:18 +0000 (02:25 -0700)]
Avoid full RC table scans in ChangeTags::updateTags()
* Various hooks that add change tags hit this code path now
Change-Id: I0b1fe7bef1e691699b2f6462ba7ac22b23253807
jenkins-bot [Wed, 19 Aug 2015 08:55:14 +0000 (08:55 +0000)]
Merge "Fixed BufferingStatsdDataFactory::timing() callers to use ms"
jenkins-bot [Wed, 19 Aug 2015 03:24:44 +0000 (03:24 +0000)]
Merge "RC: Handle getLine returning null, which breaks Redis engine (at least HHVM)"
Matthew Flaschen [Wed, 19 Aug 2015 02:57:39 +0000 (22:57 -0400)]
RC: Handle getLine returning null, which breaks Redis engine (at least HHVM)
Bug: T109544
Change-Id: I02dcfc7a10a74571232a898f1ef348f8dbc48b45
James D. Forrester [Wed, 19 Aug 2015 02:12:16 +0000 (19:12 -0700)]
Update OOjs UI to v0.12.5
Release notes:
https://git.wikimedia.org/blob/oojs%2Fui.git/v0.12.5/History.md
Change-Id: Ica420fcc44f7dd91cb40d487d3f4301c9836c220
Aaron Schulz [Tue, 18 Aug 2015 20:20:39 +0000 (13:20 -0700)]
Fixed BufferingStatsdDataFactory::timing() callers to use ms
* The interface actually demands this
Change-Id: I1e334c2696a8a8eca73a6ae7f71428190cad3107
jenkins-bot [Wed, 19 Aug 2015 00:46:12 +0000 (00:46 +0000)]
Merge "Added a tombstone comment to WANObjectCache"
C. Scott Ananian [Tue, 18 Aug 2015 23:24:27 +0000 (19:24 -0400)]
Sync up with Parsoid parserTests.
This now aligns with Parsoid commit
e2aa4e4159b9c7b5350567f26f5f14780843a368
Change-Id: I64b4e901ece0e66011b5110312885fab9c8b9cb8
jenkins-bot [Tue, 18 Aug 2015 23:17:03 +0000 (23:17 +0000)]
Merge "Migrate move protect log to new log system"
C. Scott Ananian [Wed, 22 Jul 2015 20:07:27 +0000 (15:07 -0500)]
T106578: Update Sanitizer to match legal HTML5 character entities.
Invalid HTML5 character entities become instances of UTF8_REPLACEMENT,
so we also ensure that checkCSS notices this and emits the proper
human-friendly sanitization notice.
Change-Id: I76cef7c772b1e3eba0af8dab6403e9100beab03a
C. Scott Ananian [Thu, 8 Jan 2015 22:00:54 +0000 (17:00 -0500)]
Support IPv6 URLs in bracketed and auto links.
The corresponding patch for Parsoid is
Ibb33188cdfe2004e469c3f6ee6f30d34d1923283.
Task: T23261
Change-Id: Iff077bf31168b431febb243e2e62f2c6502616bc
umherirrender [Tue, 7 Jul 2015 20:36:41 +0000 (22:36 +0200)]
Migrate move protect log to new log system
Migrate the move protect log as first sub type of the protection log,
because it does not have complex log parameter, which needs some way of
handling/migration.
It also keeps the gerrit change smaller and hopefully makes review
easier.
The other sub types of the protection log will be migrated in a later
patch set.
This allows use of gender on Special:Log. Old message is kept for use
in IRC. A test was added to ensure an unchanged IRC message.
Bug: T47988
Change-Id: I57b3bd8a7dc823acdbb56520d2364f5542283373
Raimond Spekking [Tue, 18 Aug 2015 19:40:43 +0000 (19:40 +0000)]
Revert "Localisation updates from https://translatewiki.net."
Previous changes in includes/api/i18n/qqq.json are overwritten now
This reverts commit
70a8ddb78ce354b780828e2a6c70aa3dcee791bd.
Change-Id: I783d4333843d02359af623cd0f18362963f03d0c
Translation updater bot [Tue, 18 Aug 2015 18:58:57 +0000 (20:58 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: I1efd504c98c539d26753e01d501fb1d8a88a7a11
jenkins-bot [Tue, 18 Aug 2015 18:47:44 +0000 (18:47 +0000)]
Merge "Add American sign language (ase)"
jenkins-bot [Tue, 18 Aug 2015 18:42:03 +0000 (18:42 +0000)]
Merge "Prevent the jumbling up of autocomments in RTL"
Bartosz Dziewoński [Tue, 18 Aug 2015 16:11:50 +0000 (18:11 +0200)]
mediawiki.Upload, mediawiki.Upload.Dialog: Tweak documentation
Mostly whitespace changes, since my editor insists on highlighting
mixed tabs and spaces as errors.
Change-Id: I17ccff4ea80c15015fb156547abd0db87c1ab8a1
Amir E. Aharoni [Tue, 18 Aug 2015 09:41:03 +0000 (12:41 +0300)]
Prevent the jumbling up of autocomments in RTL
Change-Id: I75f66dcd839ead0759f4c6e90ab0ddbc905a07d9
jenkins-bot [Tue, 18 Aug 2015 07:00:00 +0000 (07:00 +0000)]
Merge "Revert "resourceloader: Add must-revalidate to Cache-Control""
jenkins-bot [Tue, 18 Aug 2015 05:25:59 +0000 (05:25 +0000)]
Merge "Avoid some possible deadlocks on account creation"
Aaron Schulz [Mon, 27 Jul 2015 19:28:59 +0000 (12:28 -0700)]
Avoid some possible deadlocks on account creation
* This uses a non-blocking $wgMemc lock to reserve the user
name in question. This should prevent two threads from
reaching LOCK IN SHARE MODE and getting stuck on INSERT.
The lock is global to better cover auth plugins.
* This adds a BagOStuff::getScopedLock() convenience method.
It uses less queries than LockManager by being EX only.
* Avoid extra lock attempt in lock() in non-blocking mode.
* Removed (un)lock() HashBagOStuff overrides that made it
behave differently than other caches (wrt to re-entrance).
Bug: T106850
Change-Id: Iecf95206d712367f5d202f76ab0eaa9d7bdabf2b
jenkins-bot [Tue, 18 Aug 2015 04:00:47 +0000 (04:00 +0000)]
Merge "API: Use message-per-value for apihelp-query+protectedtitles-param-prop"
jenkins-bot [Tue, 18 Aug 2015 00:09:28 +0000 (00:09 +0000)]
Merge "API: Use message-per-value for apihelp-query+usercontribs-param-prop"
jenkins-bot [Tue, 18 Aug 2015 00:05:03 +0000 (00:05 +0000)]
Merge "API: Use message-per-value for apihelp-query+recentchanges-param-prop"
jenkins-bot [Tue, 18 Aug 2015 00:04:45 +0000 (00:04 +0000)]
Merge "API: Use message-per-value for apihelp-query+alllinks-param-prop"
jenkins-bot [Tue, 18 Aug 2015 00:03:08 +0000 (00:03 +0000)]
Merge "API: Use message-per-value for apihelp-query+allusers-param-prop"
jenkins-bot [Tue, 18 Aug 2015 00:03:05 +0000 (00:03 +0000)]
Merge "API: Use message-per-value for apihelp-query+blocks-param-prop"
jenkins-bot [Tue, 18 Aug 2015 00:03:01 +0000 (00:03 +0000)]
Merge "API: Use message-per-value for apihelp-query+categorymembers-param-prop"
jenkins-bot [Tue, 18 Aug 2015 00:02:57 +0000 (00:02 +0000)]
Merge "API: Use message-per-value for apihelp-query+exturlusage-param-prop"
jenkins-bot [Mon, 17 Aug 2015 23:58:13 +0000 (23:58 +0000)]
Merge "API: Use message-per-value for apihelp-query+filearchive-param-prop"
jenkins-bot [Mon, 17 Aug 2015 23:57:22 +0000 (23:57 +0000)]
Merge "API: Use message-per-value for apihelp-query+iwbacklinks-param-prop"
jenkins-bot [Mon, 17 Aug 2015 23:56:55 +0000 (23:56 +0000)]
Merge "API: Use message-per-value for apihelp-query+iwlinks-param-prop"
jenkins-bot [Mon, 17 Aug 2015 23:55:30 +0000 (23:55 +0000)]
Merge "API: Use message-per-value for apihelp-query+langbacklinks-param-prop"
jenkins-bot [Mon, 17 Aug 2015 23:54:51 +0000 (23:54 +0000)]
Merge "API: Use message-per-value for apihelp-query+langlinks-param-prop"
jenkins-bot [Mon, 17 Aug 2015 23:53:42 +0000 (23:53 +0000)]
Merge "API: Use message-per-value for apihelp-query+linkshere-param-prop"
jenkins-bot [Mon, 17 Aug 2015 23:53:38 +0000 (23:53 +0000)]
Merge "API: Use message-per-value for apihelp-query+logevents-param-prop"
jenkins-bot [Mon, 17 Aug 2015 23:52:45 +0000 (23:52 +0000)]
Merge "API: Use message-per-value for apihelp-query+pageswithprop-param-prop"
jenkins-bot [Mon, 17 Aug 2015 23:46:22 +0000 (23:46 +0000)]
Merge "API: Use message-per-value for apihelp-query+search-param-prop"
jenkins-bot [Mon, 17 Aug 2015 23:46:10 +0000 (23:46 +0000)]
Merge "API: Use message-per-value for apihelp-query+siteinfo-param-prop"
jenkins-bot [Mon, 17 Aug 2015 23:45:37 +0000 (23:45 +0000)]
Merge "API: Use message-per-value for apihelp-query+tags-param-prop"
jenkins-bot [Mon, 17 Aug 2015 23:44:04 +0000 (23:44 +0000)]
Merge "API: Use message-per-value for apihelp-query+users-param-prop"
jenkins-bot [Mon, 17 Aug 2015 23:43:42 +0000 (23:43 +0000)]
Merge "API: Use message-per-value for apihelp-query+userinfo-param-prop"
jenkins-bot [Mon, 17 Aug 2015 23:39:03 +0000 (23:39 +0000)]
Merge "API: Use message-per-value for apihelp-query+watchlistraw-param-prop"
jenkins-bot [Mon, 17 Aug 2015 23:38:48 +0000 (23:38 +0000)]
Merge "API: Use message-per-value for apihelp-query+allcategories-param-prop"
jenkins-bot [Mon, 17 Aug 2015 23:38:01 +0000 (23:38 +0000)]
Merge "API: Use message-per-value for apihelp-query+categories-param-prop"
jenkins-bot [Mon, 17 Aug 2015 23:22:53 +0000 (23:22 +0000)]
Merge "Pass user to WikiPage::doEditContent from EditPage"
jenkins-bot [Mon, 17 Aug 2015 23:08:16 +0000 (23:08 +0000)]
Merge "Expose ICU version on Special:Version"
jenkins-bot [Mon, 17 Aug 2015 22:57:53 +0000 (22:57 +0000)]
Merge "Cleanup after extraction of utfnormal library"
jenkins-bot [Mon, 17 Aug 2015 22:57:14 +0000 (22:57 +0000)]
Merge "mediawiki.api: Small code quality and documentation tweaks"
jenkins-bot [Mon, 17 Aug 2015 22:55:07 +0000 (22:55 +0000)]
Merge "CSSMin: version URLs based on content, not mtime"
jenkins-bot [Mon, 17 Aug 2015 22:36:41 +0000 (22:36 +0000)]
Merge "Fixed IDE warning in doIsRootJobOldDuplicate()"
jenkins-bot [Mon, 17 Aug 2015 22:35:35 +0000 (22:35 +0000)]
Merge "Include job UUID in doAck() error message"
jenkins-bot [Mon, 17 Aug 2015 22:35:19 +0000 (22:35 +0000)]
Merge "Made WANObjectCache::get() comments more accurate"
Ori Livneh [Mon, 17 Aug 2015 02:15:40 +0000 (19:15 -0700)]
CSSMin: version URLs based on content, not mtime
The content of these files is more stable than their mtimes, which change
every time we roll out a new branch. Because MD5 avalanches well[0], using
the first five hexadecimal digits is sufficient to ensure that the chance
of two successive versions colliding is improbably small (roughly one in a
million).
[0]: https://en.wikipedia.org/wiki/Avalanche_effect
Change-Id: I1bdf94c58786d2545311b238476b48217a5a60af
Bartosz Dziewoński [Mon, 17 Aug 2015 20:49:30 +0000 (22:49 +0200)]
mediawiki.feedback: Use .parent instead of .super
'super' is a reserved keyword and using it like this causes a syntax
error on IE 8.
Change-Id: I1ec22a7d0d61b5731ecba7653c9189eb702f968c
Federico Leva [Mon, 17 Aug 2015 21:01:37 +0000 (23:01 +0200)]
Add American sign language (ase)
* Was added in
5fac9aa71974db71e161fb233bde42d0990167b4
* Quite a non-standard locale, but apparently there are clients
that can make sense out of it.
Change-Id: I0a7acc185d8c035fdb3dd649eb74f7e70bc2304e
C. Scott Ananian [Mon, 17 Aug 2015 20:52:33 +0000 (16:52 -0400)]
Sync up with Parsoid parserTests.
This now aligns with Parsoid commit
48617c40c2eb9c7a421bb9c5b3ba0907fdec9c21
Change-Id: I565886079e64985844fc0a7c67ab74340b42f84a
jenkins-bot [Mon, 17 Aug 2015 19:17:11 +0000 (19:17 +0000)]
Merge "Only convert boolean true/false to !0/!1"
Translation updater bot [Mon, 17 Aug 2015 18:53:28 +0000 (20:53 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: Idea3aef13a224782cf99204aad0426aefe29fde4
Bartosz Dziewoński [Fri, 14 Aug 2015 23:35:08 +0000 (01:35 +0200)]
mediawiki.api: Small code quality and documentation tweaks
Change-Id: I70380e8f821c66ad08bfe12e242b204ffed9071d
jenkins-bot [Mon, 17 Aug 2015 15:55:08 +0000 (15:55 +0000)]
Merge "Fix return value comment on wfMemoryLimit()"
Brad Jorsch [Mon, 17 Aug 2015 15:42:10 +0000 (11:42 -0400)]
Fix return value comment on wfMemoryLimit()
It was changed incorrectly in I893ddd77.
Change-Id: I1f1e3c53a2cefe69b42ef338aa2a6b126e3d5526
Brad Jorsch [Mon, 17 Aug 2015 15:01:49 +0000 (11:01 -0400)]
Rename variable to avoid collisions
The overwriting of $status in one switch case looks like a likely cause
of T109193, so let's rename one of the two.
Bug: T109193
Change-Id: I373f0e01d349883c7735c8e6acf9d258900c166e
jenkins-bot [Mon, 17 Aug 2015 12:23:28 +0000 (12:23 +0000)]
Merge "Remove unnecessary ZWNJ character [azb]"
Ebrahim [Sun, 2 Aug 2015 23:08:37 +0000 (23:08 +0000)]
i18n: Make noarticletext direction aware
Currently https://fa.wikipedia.org/wiki/MediaWiki:TEST.js?uselang=fa
is displaying "noarticletext" in LTR which is wrong.
Bug: T60685
Change-Id: I4dc76dc1c5134c0dbe0988d6d0a3286a0e52242f
Kevin Israel [Sat, 10 Jan 2015 11:44:19 +0000 (06:44 -0500)]
SpecialAllPages: Fix a few subtle "Previous page" link bugs
* When finding the start of the previous page, exclude redirects if
"Hide redirects" is checked. Otherwise, if some of the previous 345
wiki pages were redirects, an equal number of results would be
repeated when going back.
* Use the DB key form of the title (not the unprefixed text form)
when building the query.
* Don't select unnecessary rows beyond the start of the previous page.
At the same time, fix a bug that could cause results close to the
beginning to be skipped when going back.
* When finding the start of the first page, don't omit ORDER BY for
MySQL and SQLite.
* Don't suppress the link when the unprefixed title is "0" or similar
or is numerically equal to the "from" parameter value.
* Suppress the link when the title would come after the "from"
parameter value, not just when it would be equal to that value.
Change-Id: I2cc6958b894afa824a5345871b5a27b01f9fcc73
Kevin Israel [Mon, 17 Aug 2015 06:10:45 +0000 (02:10 -0400)]
Cleanup after extraction of utfnormal library
* Delete includes/compat/normal/.gitignore, which excluded files
now located in various directories within the utfnormal repo.
* Remove "For NFC see includes/compat/normal" comments from
maintenance/language, replacing them with a note that "This
data file is used after normalizing to NFC."
Change-Id: I0ac990ec1a547b4c454ed738ce1dfffce0f53ba4
Translation updater bot [Sun, 16 Aug 2015 19:39:27 +0000 (21:39 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: I8752df5f72fd7ba63aeb440cd8203c46a1318c80
Bartosz Dziewoński [Sun, 16 Aug 2015 14:06:46 +0000 (16:06 +0200)]
Rename mediawiki.legacy.feeds to mediawiki.feedlink
Follow-up to
d51317ccc24940b77f4f7226d9455c801c09b457. There's nothing
"legacy" about this newly added module.
Also updated comments and marked the copy in shared.css for removal
when cached page renders expire.
Change-Id: Iabaebe9bf1e11a06bb951769693b1be4404e5b00
jenkins-bot [Sat, 15 Aug 2015 21:46:10 +0000 (21:46 +0000)]
Merge "mediawiki.legacy.common: don't embed legacy images"
jenkins-bot [Sat, 15 Aug 2015 21:24:36 +0000 (21:24 +0000)]
Merge "Add mediawiki.legacy.feeds"
Ori Livneh [Sat, 15 Aug 2015 01:00:30 +0000 (18:00 -0700)]
Only convert boolean true/false to !0/!1
Fix-up for I5ab29b686b8. If we encounter stupid code like
`a.true = 1;` or `a = { true: 1 }`, we should not convert that to !0/!1.
Because JSMin barfs on such input, it is necessary to add another parameter to
the test method which specifies whether or not the minified JavaScript is
supposed to be valid JavaScript by the standards of JSMin.
Change-Id: Ib78c628147fdb95982d6e33e0ab298584fb63d0b
Aaron Schulz [Sat, 15 Aug 2015 19:50:09 +0000 (12:50 -0700)]
Always call setValidationHash() in MessageCache::saveToCaches()
* This avoids constant churn when $wgUseLocalMessageCache is set to false
* Follow up to
db464b8a847a
Bug: T109183
Change-Id: I8da324c53527da32d09964be6c3a92176af4ee7b
Aaron Schulz [Sat, 15 Aug 2015 19:33:58 +0000 (12:33 -0700)]
Made WANObjectCache::get() comments more accurate
Change-Id: I531c2dca6b552a6b3732d2506e7373c7d17b4b4c
Translation updater bot [Sat, 15 Aug 2015 19:19:45 +0000 (21:19 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: I4bb5aeb31faebf7981341ce5ba49df8401739a7e
Ori Livneh [Sat, 15 Aug 2015 03:53:23 +0000 (20:53 -0700)]
mediawiki.legacy.common: don't embed legacy images
This drops the /* @embed */ directive for the images referenced by the
mediawiki.legacy.common stylesheet. The images themselves and the styles which
apply them remain. They will simply not be pre-loaded as data URIs within the
stylesheet, which is fantastic because mediawiki.legacy.common is top-loaded on
all pages and embedded images make up nearly half of its weight. With this
change, the gzipped size of mediawiki.legacy.common drops from 27.6k to 15.6k.
Affected classes:
* `.mw-icon-question`: Used for tooltips generated by Preferences::getOptionFromUser.
* `.mw-help-field-hint`: Not in use since I8e092e9d.
* `.mw-small-spinner`: Not in use since I2a2556a0.
* `.mw-ajax-loader`: Not in use.
Change-Id: I6c7e592a502ae14b9f81165f10a1d4240e592649
Ori Livneh [Sat, 15 Aug 2015 19:01:58 +0000 (12:01 -0700)]
Add mediawiki.legacy.feeds
Instead of embedding feed icons in mediawiki.legacy.shared, which is loaded on
every page, embed them only in mediawiki.legacy.feeds, which is loaded only on
pages which have feedlinks.
Change-Id: Ife5d84fb95944cb24939936785f3d8c4d9c2c187
jenkins-bot [Sat, 15 Aug 2015 18:22:50 +0000 (18:22 +0000)]
Merge "mediawiki.legacy.config: use own help-field styling"
jenkins-bot [Sat, 15 Aug 2015 11:04:26 +0000 (11:04 +0000)]
Merge "Make PPFrame::RECOVER_COMMENTS actually work"
Ricordisamoa [Fri, 14 Aug 2015 21:17:01 +0000 (23:17 +0200)]
Fix some space-related phpcs warnings in includes/
Change-Id: I7cf7206696a5e77bc02e3630d1d88d4c176ea844
Ricordisamoa [Fri, 14 Aug 2015 21:46:12 +0000 (23:46 +0200)]
Remove unused globals
* $wgLogExceptionBacktrace from MWExceptionHandler
unused since
77a397125fd1b901c3141cbfe7084a7534ff881b
* $wgPasswordPolicy from WebInstallerName
unused since
6a69a4eb733bd6129533c93b7a1ca4564b16ac32
Change-Id: Ibaac1bad05f4326a2602958a93d4d46135bdca63
Kevin Israel [Wed, 13 May 2015 11:54:12 +0000 (07:54 -0400)]
Make PPFrame::RECOVER_COMMENTS actually work
Because of a missing condition, it generally only had an effect on
output type Parser::OT_WIKI, and thus {{msgnw:}} would strip comments
except when substituted during a pre-save transform.
Bug: T98841
Change-Id: I1e47696434fe87475f9902e6bfb8990566456e2f
Ori Livneh [Sat, 15 Aug 2015 04:24:26 +0000 (21:24 -0700)]
mediawiki.legacy.config: use own help-field styling
Instead of using .mw-help-field-container from mediawiki.legacy to style help
tooltips, use a class that is specific to the WebInstaller and which is styled
in its stylesheet. This allows us to stop embedding it in mediawiki.legacy
(which is loaded on every page).
The CSS is copied directly from the styles for mw-help-field-container et al.
in mediawiki.legacy.
Change-Id: I8e092e9d2c91b5f70499d93c1134f43f2e96348c
Ori Livneh [Sat, 15 Aug 2015 04:13:53 +0000 (21:13 -0700)]
mediawiki.special.upload: use spinner from jquery.spinner
mediawiki.special.upload already depends on jquery.spinner, which supplies its
own spinner CSS classes which utilize the same image (spinner.gif) that
.mw-small-spinner uses. Both are /* @embed */-ed, which causes unnecessary
bloat. By using the class from jquery.spinner, we can stop embedding the one in
mediawiki.legacy. (This will happen in a follow-up patch.)
Change-Id: I2a2556a0a46b134a3e83f63733d988bbd8890323
Aaron Schulz [Fri, 14 Aug 2015 23:47:55 +0000 (16:47 -0700)]
Include job UUID in doAck() error message
Change-Id: Ib84a55bd92802684b98cc1cf06e5414bd1bd9fd6
Aaron Schulz [Fri, 14 Aug 2015 23:32:04 +0000 (16:32 -0700)]
Fixed IDE warning in doIsRootJobOldDuplicate()
Change-Id: I95110dff0755336d9bb245503e4ae856171064fc
Reedy [Fri, 14 Aug 2015 18:58:04 +0000 (19:58 +0100)]
Add pear/mail_mime-decode to composer suggests
Change-Id: Ieb8f2c9d007a9d97956f42354180745e4698a8c4
jenkins-bot [Fri, 14 Aug 2015 22:47:48 +0000 (22:47 +0000)]
Merge "Adding release note for category changes in watchlists"
jdlrobson [Tue, 11 Aug 2015 18:16:21 +0000 (11:16 -0700)]
Add simplified storage API
Provide a standard mechanism for accessing localStorage.
It may seems simplistic right now, but to give an idea of the why:
* We already have jquery.jStorage.js which is a much more heavyweight
approach to storing non-essential values.
* We are repeating ourselves a lot in extensions by having
to do localStorage detection and then deal with full localStorage.
In MobileFrontend we have a settings module. This is one of the reasons Gather
depends on MobileFrontend and I'm keen to remove that dependency.
* We might want to move to indexdb in future. Having a single API makes moving
this easier - we don't have to update everywhere that uses localStorage
* Saving non-string support would be useful. The API could be adjusted to take a
mixed second parameter that stringifys JSON objects.
* Cookie fallbacks are a possible alternative when localStorage is not supported. This allows
us to be agnostic of the storage mechanism going forward.
Note:
This doesn't reuse the handling in mediawiki.js as at this point
I am not sure there is value. mw.loader.store.enabled is false when
$wgResourceLoaderStorageEnabled is not true and this should work even
without that case. We can review this at a latter point.
See:
Id5c32bb7a662dda8d153490f7c47e972cabc1efd
I3fd44b0ae6633a7053aee247bc3c4704ba987bc8
Bug: T96155
Change-Id: Idb37352acecd745beb53aa8d77ea050851448e0d