Yuri Astrakhan [Thu, 12 Dec 2013 01:58:19 +0000 (20:58 -0500)]
Better warning for Message object
Trying to track down the source of the production warnings
Change-Id: Iba666af3e84651fde338764d0f9d47a38b6b54e9
jenkins-bot [Wed, 11 Dec 2013 22:23:51 +0000 (22:23 +0000)]
Merge "CSSMin: Correctly format 'url()' values with parentheses etc."
jenkins-bot [Wed, 11 Dec 2013 22:18:11 +0000 (22:18 +0000)]
Merge "CSSMin: Change behavior for missing files"
jenkins-bot [Wed, 11 Dec 2013 22:11:31 +0000 (22:11 +0000)]
Merge "CSSMin: Fix remapOne() for URLs that are proto-relative or have query part"
Bartosz Dziewoński [Wed, 11 Dec 2013 21:00:29 +0000 (22:00 +0100)]
CSSMin: Correctly format 'url()' values with parentheses etc.
Introduce new static function, CSSMin::buildUrlValue.
Actually using such values in CSS does not work well because the
URL_REGEX is nowhere near good enough. :(
Change-Id: I04a7078dd0087bcb461fa5e5168c870d37c255f4
Translation updater bot [Wed, 11 Dec 2013 20:32:41 +0000 (20:32 +0000)]
Merge "Localisation updates from https://translatewiki.net."
Bartosz Dziewoński [Wed, 11 Dec 2013 20:21:36 +0000 (21:21 +0100)]
CSSMin: Change behavior for missing files
We would previously return the path to the local file on the
filesystem, which is useless in all cases and possibly a security
issue in some. Now we return the URL at which the file would be
accessible had it existed.
Also reordered the code around that part to make the control flow
clearer and added a test.
Change-Id: I1d5befb2ea385ae4d316c5d8c5d1fc092b64c4ff
Translation updater bot [Wed, 11 Dec 2013 20:17:32 +0000 (20:17 +0000)]
Localisation updates from https://translatewiki.net.
Change-Id: I105dee236f2f05f91d0ffc4ae931c3012b48d938
Bartosz Dziewoński [Wed, 11 Dec 2013 19:11:44 +0000 (20:11 +0100)]
CSSMin: Fix remapOne() for URLs that are proto-relative or have query part
Bug: 58338
Change-Id: I836a2c054ae3edc07895b2388f4ec8663223347a
Aaron Schulz [Mon, 9 Dec 2013 20:24:32 +0000 (12:24 -0800)]
Changed TIME_ONLY to NAME_AND_TIME_ONLY in FileRepo
* This now returns a (final DB key, timestamp) map for each file.
This makes proper redirect handling easier for callers.
* Also fixed the case where ucfirst normalization is different in the
repo versus the local wiki.
* Also added $flags to RepoGroup::findFiles() as expected.
Change-Id: I978a1cc0a0589179c46e477cfd06c8bff4c08fa9
jenkins-bot [Wed, 11 Dec 2013 19:13:53 +0000 (19:13 +0000)]
Merge "Allow customizing classes inside of diffs"
Max Semenik [Tue, 10 Dec 2013 23:58:51 +0000 (03:58 +0400)]
Allow customizing classes inside of diffs
Not every implementation might want them
Change-Id: Id186b71760d59be7e61458bf1f62965a0f2f826c
raymond [Wed, 11 Dec 2013 16:57:02 +0000 (17:57 +0100)]
Add new message key to maintenace/messages.inc
Followup to Ica447a3b6f08422fd3c7452a5bd87d509dad9870
Change-Id: Ifed3c19dc1733c6454358f82ccd68dfd1f6c1e9a
Aaron Schulz [Fri, 6 Dec 2013 21:31:35 +0000 (13:31 -0800)]
Tweaked FileRepo::findFiles() behavoir to match LocalRepo
* This seems more intuitive and deals with an API bug
bug: 45930
Change-Id: I5e265bb9c6063306669cc4014eeb17cfda86436b
jenkins-bot [Wed, 11 Dec 2013 15:42:19 +0000 (15:42 +0000)]
Merge "Preferences: Improve accessibility of the JS tabs of Preferences"
jenkins-bot [Wed, 11 Dec 2013 01:30:53 +0000 (01:30 +0000)]
Merge "Send QueryPage recache queries to a separate query group"
Ori.livneh [Wed, 11 Dec 2013 00:59:19 +0000 (00:59 +0000)]
Revert "Module storage: randomly choose between Function and $.globalEval"
Did not get a chance to deploy this.
This reverts commit
a20333cc4da04775db04b33407c88b4ccb5e5e74.
Change-Id: I6937d54897477f1942a8a9c312324a39d2a3868d
Tim Starling [Wed, 11 Dec 2013 00:48:47 +0000 (11:48 +1100)]
Send QueryPage recache queries to a separate query group
This essential feature was broken 3 years ago, in r78786. The group
connection was being used only for a call to the archaic
Database::fetchObject().
Change-Id: Ia4c76c88ecc77eb663a535b0625a1509882a35c7
jenkins-bot [Wed, 11 Dec 2013 00:34:40 +0000 (00:34 +0000)]
Merge "Added --wikidb param to sql.php"
jenkins-bot [Wed, 11 Dec 2013 00:32:55 +0000 (00:32 +0000)]
Merge "Module storage: randomly choose between Function and $.globalEval"
Aaron Schulz [Tue, 10 Dec 2013 23:03:41 +0000 (15:03 -0800)]
Added --wikidb param to sql.php
* This is useful for updating DBs that are not actually a that of a wiki.
For example a global blocking or central auth DB may not correspond to
any single wiki. Trying to use --wiki will fail with het deploy
Change-Id: I232182b79c9ca6421789f19771ba427498fff713
jenkins-bot [Tue, 10 Dec 2013 22:55:14 +0000 (22:55 +0000)]
Merge "Add "nocreate" and "createonly" options to edit.php"
jenkins-bot [Tue, 10 Dec 2013 22:26:49 +0000 (22:26 +0000)]
Merge "tests: beginning of tests for DjVu files"
Kunal Mehta [Tue, 10 Dec 2013 22:13:53 +0000 (14:13 -0800)]
Add "nocreate" and "createonly" options to edit.php
Change-Id: I2101360a934b8b9a92094c44429e3e2314c7fba3
Tpt [Sat, 30 Nov 2013 09:41:26 +0000 (10:41 +0100)]
tests: beginning of tests for DjVu files
Change-Id: I453b2b1a1c4999150a570e22170a9c630c2ef265
jenkins-bot [Tue, 10 Dec 2013 22:09:21 +0000 (22:09 +0000)]
Merge "filebackend: cleaned up the FileBackend constructor"
jenkins-bot [Tue, 10 Dec 2013 21:08:30 +0000 (21:08 +0000)]
Merge "API: Add iiprop=canonicaltitle"
Translation updater bot [Tue, 10 Dec 2013 20:51:02 +0000 (20:51 +0000)]
Merge "Localisation updates from https://translatewiki.net."
jenkins-bot [Tue, 10 Dec 2013 20:50:37 +0000 (20:50 +0000)]
Merge "Deleting a page and then immediately create-protecting it caused a PHP Fatal error"
Translation updater bot [Tue, 10 Dec 2013 20:48:26 +0000 (20:48 +0000)]
Localisation updates from https://translatewiki.net.
Change-Id: I78257c1482d2a8a5a36693082c3228a63d0f4b8f
jenkins-bot [Tue, 10 Dec 2013 20:30:15 +0000 (20:30 +0000)]
Merge "Remove problem forced index"
jenkins-bot [Tue, 10 Dec 2013 20:14:04 +0000 (20:14 +0000)]
Merge "identify LogPager queries for load balancing"
Derk-Jan Hartman [Sun, 11 Aug 2013 07:11:40 +0000 (09:11 +0200)]
Preferences: Improve accessibility of the JS tabs of Preferences
This enables keyboard accessibility of the tabs, by only allowing
focus on one tab element using tabindex=0 and tabindex=-1 for the
other tabs. Navigation between tabs is then handled by using the left
and right arrow keys. This is the advised methodology.
We also add tab, tabpanel and tablist roles to improve accessibility
for assistive technology, while overriding the implicit tablist role
of the li element with 'presentation' to make sure we don't have mixed
semantics of lists and tabs.
We keep track of:
aria-selected: If this tab is currently selected
aria-controls: Which tabpanel is controlled by this tab
aria-labelledby: Which tab is the label for this tabpanel
aria-hidden: If this tabpanel is (not) visible
Tested using VoiceOver. Should also work with JAWS 14.
Change-Id: Ica447a3b6f08422fd3c7452a5bd87d509dad9870
Bartosz Dziewoński [Fri, 8 Nov 2013 20:17:27 +0000 (21:17 +0100)]
Canonicalize text and update docs of messages using 'loginreqlink'
Since 'loginreqlink' is being used as a part of patchwork messages we
should try to keep the grammar the same in all of its uses.
"You have to log in" / "You must log in" / "Please log in" were all
used with various frequencies; I changed (hopefully) all uses to
"Please log in".
Two messages receiving 'loginreqlink' as a parameter do not currently
use it: 'changeemail-no-info' and 'resetpass-no-info'. This is
intentional, as they are less "positive" than the rest and thus should
not link to the login form.
Updated and cross-referenced qqq of 'loginreqlink' and messages using it.
Change-Id: Ie245486051d6fbc72a596ba825bfd5d9e3a163bf
Ori Livneh [Tue, 10 Dec 2013 06:35:37 +0000 (22:35 -0800)]
Module storage: randomly choose between Function and $.globalEval
V8 disables certain optimizations for eval()'d code because scope resolution is
tricky. The same is not true for code compiled via Function(), which always
runs in global scope. Let's see if Function() is faster.
This patch makes ResourceLoader randomly use either Function() or $.globalEval.
The choice is recorded in a boolean `useFunction` property on mw.loader.store
so its value can be logged with load timing measurements. The logging will be
done in WikimediaEvents.
Bug: 58259
Change-Id: I7183778cb65c421ee19dcd61ee1dc0085f86bf10
Sean Pringle [Tue, 10 Dec 2013 06:20:33 +0000 (16:20 +1000)]
Remove problem forced index
bug: 58256
Change-Id: I48484b39f99d92f51e531324870236b00b481553
Sean Pringle [Tue, 10 Dec 2013 05:04:14 +0000 (15:04 +1000)]
Remove problem forced index. Bug 57175.
Change-Id: I94e0a743ccad0bad9a3a0d4d52b23abc0ef405b2
Sean Pringle [Tue, 10 Dec 2013 04:25:38 +0000 (14:25 +1000)]
identify LogPager queries for load balancing
Change-Id: Ie89cd56700c3d6cbe19457b5b64576a71b3a9876
jenkins-bot [Tue, 10 Dec 2013 03:34:52 +0000 (03:34 +0000)]
Merge "API: Add image sizes and default user prefs to meta=siteinfo"
jenkins-bot [Tue, 10 Dec 2013 03:06:39 +0000 (03:06 +0000)]
Merge "Removed 'Disable browser page caching" user preference"
jenkins-bot [Tue, 10 Dec 2013 01:21:27 +0000 (01:21 +0000)]
Merge "Status::getHTML should actually return HTML"
jenkins-bot [Mon, 9 Dec 2013 21:50:50 +0000 (21:50 +0000)]
Merge "Don't assume test user has ID 1 in SpecialPageTest"
Translation updater bot [Mon, 9 Dec 2013 21:23:09 +0000 (21:23 +0000)]
Localisation updates from https://translatewiki.net.
Change-Id: I8c000b7b635a9e3b964cdae08a3f5c87b14fa610
Brad Jorsch [Mon, 9 Dec 2013 18:08:39 +0000 (13:08 -0500)]
API: Add image sizes and default user prefs to meta=siteinfo
Bug: 58217
Change-Id: I33fc64681bc6924324d254b676686f3a6dee2769
jenkins-bot [Mon, 9 Dec 2013 17:49:24 +0000 (17:49 +0000)]
Merge "Restore compatibility with curl < 7.16.2"
jenkins-bot [Mon, 9 Dec 2013 17:15:04 +0000 (17:15 +0000)]
Merge "Split includes/SpecialPage.php"
Brad Jorsch [Fri, 6 Dec 2013 17:53:18 +0000 (12:53 -0500)]
Status::getHTML should actually return HTML
Currently it only returns wikitext with templates expanded (like
Message's text() method).
Bug: 45844
Change-Id: I24b5b098f15d0a4194817f31f63e37be1179aae6
Bartosz Dziewoński [Mon, 9 Dec 2013 16:52:16 +0000 (17:52 +0100)]
Split includes/SpecialPage.php
Separated base classes for special pages (most of them abstract) and
several actual special pages, which were previously both in the same
file.
Added license headings, @ingroup SpecialPage and updated class doc
comments; no other changes.
Most classes are now in separate files (the list of changes can be
seen by diffing AutoLoader.php), with three exceptions:
* SpecialListAdmins and SpecialListBots (redirects to
Special:ListUsers with a parameter) joined their friend in
includes/specials/SpecialListusers.php.
* SpecialMycontributions, SpecialMypage, SpecialMytalk,
SpecialMyuploads and SpecialAllMyUploads were moved into a new file
includes/specials/SpecialMyRedirectPages.php – each of them is
literally ten lines of code and any changes are likely to touch them
all, separate files seem impractical.
* RedirectSpecialArticle and SpecialRedirectToSpecial are in one file
with their parent class RedirectSpecialPage (on a side note, I filed
bug 58215 to rename them to something less silly).
Change-Id: Ida87238401b182924dbe169a6278588bc2fbecfd
Kevin Israel [Mon, 9 Dec 2013 16:29:28 +0000 (11:29 -0500)]
Restore compatibility with curl < 7.16.2
Follows-up
58f71c7e9eca, which assumed that the CURLOPT_CONNECTTIMEOUT_MS
constant was defined.
Bug: 58178
Change-Id: Id31a3ec56e4c7cac7d3edb2653c87be467d1a471
Aaron Schulz [Thu, 5 Dec 2013 21:40:14 +0000 (13:40 -0800)]
Added a TIME_ONLY option to FileRepo::findFiles to use less RAM
* Also renamed $possFile to just $file in method
Change-Id: Idb497901b9a7bd96c828267769a66efa282c5918
Brad Jorsch [Mon, 9 Dec 2013 16:22:27 +0000 (11:22 -0500)]
API: Add iiprop=canonicaltitle
With recent changes to the filerepo backends, prop=imageinfo will now
return information for the target file when file redirects are queried.
To make this more transparent to clients, add an iiprop to return the
canonical title for the imageinfo data.
Change-Id: I62e368ffe09512f1af6677994f1ccca776b97651
jenkins-bot [Mon, 9 Dec 2013 13:58:15 +0000 (13:58 +0000)]
Merge "Formatting fixes in includes/htmlform/*"
Siebrand Mazeland [Mon, 9 Dec 2013 13:47:13 +0000 (14:47 +0100)]
Prevent fatal when File::transform() returns false
Bug: 58128
Change-Id: I115affb472bba99268575834de8cbf2d0318a32e
addshore [Tue, 19 Nov 2013 13:08:16 +0000 (14:08 +0100)]
Formatting fixes in includes/htmlform/*
Change-Id: Iee9e4f3fcf8491022ffe97c74312871f97f8ce9c
jenkins-bot [Mon, 9 Dec 2013 12:28:51 +0000 (12:28 +0000)]
Merge "Begin exposing SiteConfiguration via site contexts"
jenkins-bot [Mon, 9 Dec 2013 12:14:27 +0000 (12:14 +0000)]
Merge "Remove ugly $wgTitle usage from edit.php maintenance script"
Kunal Mehta [Mon, 9 Dec 2013 05:59:16 +0000 (21:59 -0800)]
PersonalUrls hook provides a SkinTemplate, not a Skin
Follow-up to I1116fd64ea0beac148ee75ea4ec050741fc2c3b7
Change-Id: I84b00316f3e6564fb2b3c47a1e7c0c7a9af0c8ac
addshore [Tue, 19 Nov 2013 12:55:50 +0000 (13:55 +0100)]
Split includes/HTMLForm
Change-Id: I6eabfdb064c0e35b69efe9d6142e94df4128b632
jenkins-bot [Sun, 8 Dec 2013 21:00:26 +0000 (21:00 +0000)]
Merge "Wrap changes lists in <div class="mw-changeslist" />"
Translation updater bot [Sun, 8 Dec 2013 20:26:31 +0000 (20:26 +0000)]
Localisation updates from https://translatewiki.net.
Change-Id: Id4b89fcef61ccf1e329710f6beff9398669fdadb
umherirrender [Sun, 8 Dec 2013 19:31:47 +0000 (20:31 +0100)]
Fixed spacing
- Added space after foreach
- Added/Removed spaces inside arrays
Change-Id: Ia8775824fa33976b1a4dab43e07f1bff0c57479c
jenkins-bot [Sun, 8 Dec 2013 19:05:43 +0000 (19:05 +0000)]
Merge "Some more formatting fixes for media classes"
jenkins-bot [Sun, 8 Dec 2013 18:34:34 +0000 (18:34 +0000)]
Merge "Add search results found as parameter to showCreateLink"
Bartosz Dziewoński [Sun, 8 Dec 2013 16:16:44 +0000 (17:16 +0100)]
Release notes for Iabf4873f
Change-Id: Ia20d0b9eb7e671b9b93bf459ddb42033f8ab9a46
umherirrender [Sun, 8 Dec 2013 09:48:36 +0000 (10:48 +0100)]
Break long lines and remove some spaces in QueryPage.php
Change-Id: Ia4840580ada4b42bb70d38965f7955d175db9247
Siebrand Mazeland [Thu, 5 Dec 2013 20:55:30 +0000 (21:55 +0100)]
Some more formatting fixes for media classes
Based on Brian's review of https://gerrit.wikimedia.org/r/#/c/99344/
Change-Id: I35aea90da837d17bf8be5c29d22f5f0a3bcef145
Aaron Schulz [Sat, 23 Nov 2013 20:28:34 +0000 (12:28 -0800)]
filebackend: exception handling cleanups
* Split out FileBackendException class and reduced direct use of MWException
Change-Id: I325c1798b6d90972c12a5dccc37989af34d857f3
Aaron Schulz [Tue, 22 Oct 2013 22:51:25 +0000 (15:51 -0700)]
Made redis lock manager get EX/SH locks in one go
* Also made the TTLs properly per-lock as they should be
* Also properly extract type/session from the keys in LUA
Change-Id: I4608b7d551ac7aa4b3f7e2f5ce92b50662b1d4e4
Brian Wolff [Sat, 28 Sep 2013 21:35:41 +0000 (18:35 -0300)]
Include error code in error message when convert fails
This info is logged, but it makes it much easier to debug
things if the info is right there.
Change-Id: I3a331a19a13a932c6b7aefdd9885ad351f3f48e3
Bartosz Dziewoński [Sun, 8 Dec 2013 02:17:34 +0000 (03:17 +0100)]
Release notes for I0ef9674e
Change-Id: Id25fe69c8b48c9a681d165699876736be2e319c3
Alex Ivanov [Wed, 4 Dec 2013 23:01:27 +0000 (01:01 +0200)]
Add search results found as parameter to showCreateLink
Add search results found as $2 parameter to messages:
* searchmenu-new
* searchmenu-exists
* searchmenu-nocreate
to allow better message displaying.
Bug: 20976
Change-Id: I4cd9bcfa6b7a9f9155b639f9dc9ed1ff8be0d384
jenkins-bot [Sat, 7 Dec 2013 23:28:49 +0000 (23:28 +0000)]
Merge "Remove unused message 'confirmemail_error'"
Bartosz Dziewoński [Sun, 13 Oct 2013 20:51:55 +0000 (22:51 +0200)]
Set 'watchcreations' and 'watchdefault' options to true
Also modify unit tests to be more resilient to various
other tests automatically having their pages being
watched.
Co-authored-by: Bartosz Dziewoński <matma.rex@gmail.com>
Co-authored-by: Brian Wolff <bawolff+wn@gmail.com>
Bug: 45020
Change-Id: I458783f02813ff023b2d142b57b44e5ec3ba30b9
jenkins-bot [Sat, 7 Dec 2013 22:59:01 +0000 (22:59 +0000)]
Merge "Add PLURAL support to youhavenewmessages*"
Kevin Israel [Sat, 7 Dec 2013 07:51:28 +0000 (02:51 -0500)]
Remove unused message 'confirmemail_error'
Follows-up r33333 (
41d48826812b).
Change-Id: I1bbb828202ea26d0a031270ba78608d4fb238ae0
jenkins-bot [Sat, 7 Dec 2013 21:22:43 +0000 (21:22 +0000)]
Merge "Remove $dbw->close() call from convertLinks.php"
jenkins-bot [Sat, 7 Dec 2013 21:20:54 +0000 (21:20 +0000)]
Merge "Remove 5 unused block messages"
jenkins-bot [Sat, 7 Dec 2013 21:12:48 +0000 (21:12 +0000)]
Merge "Set up local date formats for Sorani Kurdish (ckb)"
jenkins-bot [Sat, 7 Dec 2013 21:07:42 +0000 (21:07 +0000)]
Merge "Break long lines and remove some spaces in Revision.php"
umherirrender [Sat, 7 Dec 2013 20:58:53 +0000 (21:58 +0100)]
Break long lines and remove some spaces in Revision.php
Change-Id: If62a01096319dddaa898daaabdd6e881316a0ad7
umherirrender [Sat, 7 Dec 2013 20:48:46 +0000 (21:48 +0100)]
Break long lines and remove some spaces in Defines.php
Change-Id: I3963cb55b8bac6abe02ef5ebc8327fe1c1793d0d
Kevin Israel [Sat, 7 Dec 2013 20:23:10 +0000 (15:23 -0500)]
Remove $dbw->close() call from convertLinks.php
This confuses LoadBalancer; after this script is run from the
updater, the closed DB connection is (unsuccessfully) reused.
Change-Id: Ie9b25b73873fcddb062037e34877afeb75c5d081
This, that and the other [Thu, 19 Sep 2013 10:53:19 +0000 (20:53 +1000)]
Set up local date formats for Sorani Kurdish (ckb)
Including Iranian (Persian) and Islamic (Hijri) calendars.
Please note that the inclusion of the anglophone "dmy" and "ymd"
formats was by specific request of a Sorani Kurdish speaker. ckb
is allied to fa, which is one of many other languages to include
the anglophone formats alongside native ones. Please read the
discussions at the bug for more information.
Bug: 52009
Change-Id: Ib20e9185842a15fab6bbebd6e6e881654f276a0a
jenkins-bot [Sat, 7 Dec 2013 11:16:52 +0000 (11:16 +0000)]
Merge "Remove unused message 'rcnote'"
jenkins-bot [Sat, 7 Dec 2013 11:14:01 +0000 (11:14 +0000)]
Merge "Remove unused message 'limitall'"
jenkins-bot [Sat, 7 Dec 2013 11:12:35 +0000 (11:12 +0000)]
Merge "Remove unused message 'undeletereset'"
jenkins-bot [Sat, 7 Dec 2013 11:10:55 +0000 (11:10 +0000)]
Merge "Remove unused message 'compare-selector'"
Translation updater bot [Sat, 7 Dec 2013 10:46:45 +0000 (10:46 +0000)]
Localisation updates from https://translatewiki.net.
Change-Id: Id32d5c87533081016e6a00312703f450782a1d6d
Kevin Israel [Sat, 7 Dec 2013 06:36:58 +0000 (01:36 -0500)]
Remove unused message 'undeletereset'
Follows-up r88885 (
36b95353bba3).
Change-Id: Ie5f8c6710b93309c54b34cf573d3f802b551ff07
Kevin Israel [Sat, 7 Dec 2013 06:50:54 +0000 (01:50 -0500)]
Remove unused message 'limitall'
Follows-up r64181 (
744342366b19).
Change-Id: I6411585f270bb1de8d3bd1a2e71bc01f8bc25695
Kevin Israel [Sat, 7 Dec 2013 07:31:34 +0000 (02:31 -0500)]
Remove unused message 'compare-selector'
Follows-up r79752 (
128f33aa5edc), which moved the text boxes
(from inside the fieldset to which this label applied) into two
separate fieldsets.
Change-Id: I6bad9167fe39cec28d14795ef0b87713e7ac2346
Kevin Israel [Sat, 7 Dec 2013 08:42:47 +0000 (03:42 -0500)]
Remove unused message 'rcnote'
Follows-up r102284 (
703dd35a7b2f).
Change-Id: If5795652e4276112dee7167add433deb30d31da0
Kevin Israel [Sat, 7 Dec 2013 10:11:51 +0000 (05:11 -0500)]
Remove 5 unused block messages
Follows-up r83786 (
78059976086f):
* blockip-title
* ipbreasonotherlist
* ipbotheroption
* ipbotherreason
* cant-block-while-blocked
Change-Id: Ic2bb1261dbc9a1fa46ed551159e8ce8ceff774bf
01tonythomas [Sat, 30 Nov 2013 13:58:09 +0000 (19:28 +0530)]
Removed 'Disable browser page caching" user preference
It is a very advanced user preference with little usage and is often misleading.
Updated Release Note.
Bug: 52809
Change-Id: I43f6205df53c7a38717c60a2d7d144307feb58a4
Bartosz Dziewoński [Sat, 7 Dec 2013 01:23:06 +0000 (01:23 +0000)]
Merge "mediawiki.page.ready: Fix whitespace in IIFE"
jenkins-bot [Sat, 7 Dec 2013 00:20:43 +0000 (00:20 +0000)]
Merge "Normalize newlines in DjVu text-layer metadata."
jenkins-bot [Fri, 6 Dec 2013 23:47:40 +0000 (23:47 +0000)]
Merge "Make a single colon an invalid title in php and js"
jenkins-bot [Fri, 6 Dec 2013 23:34:48 +0000 (23:34 +0000)]
Merge "Add UI to discover translated SVG files."
Brian Wolff [Sat, 16 Nov 2013 01:47:51 +0000 (21:47 -0400)]
Add UI to discover translated SVG files.
Currently we support rendering SVGs in multiple languages,
but there is no mechanism for users to discover what languages
a file is available in. Show this information on the image page.
At the moment, if unspecified we always default the language to
english (I believe to avoid mass cache splitting, especially
if most languages wouldn't have a translation of the file in
their language). This code was written in such a way so that
this assumption should be changable in the future if we so
desire.
Long term, Jarry has a super cool svg translation extension
which would take over some of this. However I still believe
we should have an interface for this in core, since we do
support the different language renderings in core.
Change-Id: I84506436514e09d71200aa2db3932aa001b55c71
Brian Wolff [Thu, 24 Oct 2013 22:11:59 +0000 (19:11 -0300)]
Extract list of languages svg is translated into.
SVG files support having different renderings based on language.
We support changing the rendering language, but we offer no
discoverability of what languages are available.
Long term Jarry's TranslateSVG will hopefully be used and have
all the associated awesomeness. In the mean time, we should
probably have some indication on the image page what languages
are available for the SVG. This is step 1 (extract the language).
I expect to follow this up with a commit adding some sort of
simple selector on the image page.
As an aside, it should be noted, this only detects languages
if its in the first $wgSVGMetadataCutoff (256 kb). This is a
compromise to avoid OOM on huge SVG files.
Change-Id: I2a462270fe63eb3e3023419eddc8b06f5a617ab5