Commit graph

1087 commits

Author SHA1 Message Date
Translation updater bot 6f3d376f19 Localisation updates from http://translatewiki.net.
Change-Id: I43b392a04c446ded21f8f712d76bdba634794c8b
2013-08-30 19:23:11 +00:00
jenkins-bot 44b85917fd Merge "ext.echo.badge: Remove defunct CSS rule" 2013-08-30 04:05:36 +00:00
kaldari d1463ea6a7 Preventing empty payloads from being created when using summary
Also making sure that footer has some amount of separation from
the notification title even if there is no payload.

Change-Id: I85a1a7989539044a0b0b53e76e70ddee9bb7165c
2013-08-29 15:10:06 -07:00
MatmaRex b916c85353 ext.echo.badge: Remove defunct CSS rule
The space after colon on this line is actually a non-breaking space
( ), which is not allowed in this place according to CSS syntax.
Therefore all browsers ignored this rule (logging an error like
"Invalid CSS property value") and the shadow was never shown.

We could fix the rule instead, but I'm pretty sure users are used to
this by now, and in my opinion it looks better without shadow.

Bug: 53490
Change-Id: I1fd508d2059bec5cd79a6dcdce8dc9be6e6d4229
2013-08-29 19:40:34 +00:00
Translation updater bot cfccb113e4 Localisation updates from http://translatewiki.net.
Change-Id: I810213b55f86ed7b3b0150c27ecae477e892f41f
2013-08-29 19:17:15 +00:00
jenkins-bot e3fdbd16b5 Merge "Updating headers in Echo.php" 2013-08-29 17:50:51 +00:00
kaldari dc46848c5e Updating headers in Echo.php
Change-Id: I05b20f59cff94185a91c7f6e5f1f52dc034eafb4
2013-08-28 10:38:52 -07:00
bsitu bca96e30ed Attempt to fix 'welcome notification' exception
It throws very randomly in job queue for enwiki, about 15 exceptions in 4 hours

Bug: 53425 

Change-Id: I1d7e45e33ffb8df1a91183e263daf007b0affc7f
2013-08-27 23:16:46 +00:00
Translation updater bot 6eab83648c Localisation updates from http://translatewiki.net.
Change-Id: I3cc33930bd43d5066f46d7a0ef99717979b4fe10
2013-08-27 19:14:37 +00:00
jenkins-bot e2e01bdcc2 Merge "Date header should be converted to user local time for comparison" 2013-08-27 00:26:54 +00:00
Translation updater bot 42a6c60a34 Localisation updates from http://translatewiki.net.
Change-Id: Ice713b1578cbab9e4dd70d3e37eec4e31ce3217e
2013-08-26 19:39:20 +00:00
Translation updater bot 3164895e42 Localisation updates from http://translatewiki.net.
Change-Id: If9dab23f973c252f69f90307954f9f85a722f918
2013-08-25 20:02:05 +00:00
Translation updater bot f75a2abcde Localisation updates from http://translatewiki.net.
Change-Id: I0c7003d5a15be66ebb264f8e718305b1bd01ca0c
2013-08-24 18:46:41 +00:00
bsitu dcb669b8c1 Date header should be converted to user local time for comparison
bug: 53285
Change-Id: I62a87f9c5f03bf3473357d64f1266d93065262c0
2013-08-23 17:46:54 -07:00
nischayn22 e841a63c49 Improve footer separator
Bug: 47303
Change-Id: I5baed5e936dfaa9ef1fe11c900ee1ce94ccb748a
2013-08-23 16:25:33 -07:00
jenkins-bot afb8f619fc Merge "Long text content should wrap in overlay footer links" 2013-08-23 20:03:34 +00:00
bsitu 37812cd058 Long text content should wrap in overlay footer links
Bug: 53111
Change-Id: I15865a9808b342e52d2d03e9a3ec8bd2bc8312d0
2013-08-23 12:59:56 -07:00
Translation updater bot 5a159eb4c6 Localisation updates from http://translatewiki.net.
Change-Id: I23ed53119daefa682b569883fae75114f60439f1
2013-08-23 19:45:53 +00:00
bsitu 272b5bd50a Add replication delay handling to page-link formatter
If the job queue is not enabled to process web and email notifications,
there may be a replication delay in brand new link-from-page

Change-Id: I6e36e3fd015a582f4e85709282bdb70033fd1776
2013-08-22 15:21:52 -07:00
Translation updater bot 49b044fd35 Localisation updates from http://translatewiki.net.
Change-Id: I262b5340ca2f306a958e20ee5ee89b1e646b884f
2013-08-22 19:45:51 +00:00
Translation updater bot c93ab19d3b Localisation updates from http://translatewiki.net.
Change-Id: I5a183228c720087f79e7bd8ae506b633b60566d0
2013-08-21 20:58:02 +00:00
bsitu b85615da7e Tooltips in preference page get double-escaped
bug: 53112
Change-Id: Ic39c807506334c3c5d8251384314c09ae96b3c3a
2013-08-20 13:39:05 -07:00
Translation updater bot c4f29b9af9 Localisation updates from http://translatewiki.net.
Change-Id: I21f0332363439333c606633e8af23a58221a4294
2013-08-20 19:32:56 +00:00
jenkins-bot b01f6a7098 Merge "Do not offset the heading of Special:Notifications from the left" 2013-08-19 19:44:08 +00:00
Translation updater bot 5a8880346e Merge "Localisation updates from http://translatewiki.net." 2013-08-19 19:38:32 +00:00
jenkins-bot e673ea6763 Merge "ext.echo.special: Move #firstHeading styling from JS to CSS" 2013-08-19 19:33:56 +00:00
Translation updater bot 47cae1857e Localisation updates from http://translatewiki.net.
Change-Id: I116fee2157697f15d8187da9db9fd2ae4e667bf3
2013-08-19 19:31:35 +00:00
EBernhardson (WMF) 0f576d1598 Merge "Add/move full-stops" 2013-08-19 18:28:36 +00:00
Translation updater bot 5cab56c11a Localisation updates from http://translatewiki.net.
Change-Id: I476ff34ecb8721ebc7bcc14333176a9c03e41766
2013-08-18 19:33:49 +00:00
Translation updater bot 4f8125b03d Localisation updates from http://translatewiki.net.
Change-Id: Ie3148932e334c412c41743eb1acd348e4395dd50
2013-08-17 19:21:29 +00:00
Translation updater bot c0ec1edbf5 Localisation updates from http://translatewiki.net.
Change-Id: I343ed55c9fdcbcbfbf7f289925cc900251d54c71
2013-08-16 19:19:17 +00:00
bsitu 5f50f84bbd Invalid argument supplied for foreach() in BasicFormatter.php
bug: 52897
Change-Id: I28f447af75f699d4bd7d4d045f030e70cea437d6
2013-08-15 17:53:24 -07:00
Translation updater bot 7f0fc90865 Localisation updates from http://translatewiki.net.
Change-Id: I5623b6107426325bf0738f72587dc68a8cdfd3ca
2013-08-15 19:36:53 +00:00
Yuki Shira 7d8efc61ec Add/move full-stops
Change-Id: I5b66984f1ab5b3c549eb980d3e7c9ee49a171389
2013-08-15 03:18:36 +00:00
Translation updater bot d1f9e618ea Localisation updates from http://translatewiki.net.
Change-Id: Ieba555ac23df10c348e0234d4efb76dfaac48b68
2013-08-14 19:24:48 +00:00
Translation updater bot a1bd676488 Localisation updates from http://translatewiki.net.
Change-Id: Ie93a2d53b83b381781b39d896ba0d46e2e21df6b
2013-08-13 19:27:00 +00:00
Translation updater bot b73bc93cfd Localisation updates from http://translatewiki.net.
Change-Id: Icf255c5d480cfef23b3d0137126ee11ee2e3e58d
2013-08-12 19:19:53 +00:00
Translation updater bot be4daf80a8 Localisation updates from http://translatewiki.net.
Change-Id: I459bd2aa6abc927d9d568e0c2fedd120940fcc7a
2013-08-11 19:36:20 +00:00
Translation updater bot e9a1ca03e4 Localisation updates from http://translatewiki.net.
Change-Id: Ia4bd70c8657c9814cac731eddf08d3b21c2a66a4
2013-08-10 19:29:11 +00:00
Translation updater bot f29d4a23ea Localisation updates from http://translatewiki.net.
Change-Id: Ib55769500b06c99b9f81d15d12a7855c5a561409
2013-08-09 19:39:50 +00:00
jenkins-bot fed8efcac7 Merge "Message notification-page-linked needs full-stop" 2013-08-09 09:14:22 +00:00
bsitu c406e54e61 Message notification-page-linked needs full-stop
Change-Id: I1cf59dd0e242c5ebfcfcd87b786bc0ec34cf6a80
2013-08-09 01:46:04 -07:00
Translation updater bot 3e43404378 Localisation updates from http://translatewiki.net.
Change-Id: Ib9ba672aa9ea6e618574f783f4f5709119c8d18d
2013-08-08 19:59:35 +00:00
Translation updater bot b1a5da4d0b Localisation updates from http://translatewiki.net.
Change-Id: I6b25d6dd04b388ce67fb97a9d96fe5568ad1f7f4
2013-08-07 19:43:33 +00:00
jenkins-bot 7addcc4470 Merge "Split the code to generate a proper URL/link from setTitleLink()" 2013-08-07 07:12:56 +00:00
Translation updater bot f4e228d373 Localisation updates from http://translatewiki.net.
Change-Id: I4b1e3761a3b15e9d39ed28f14a627733d86b0476
2013-08-06 19:27:38 +00:00
MatmaRex 6cade7eba3 Make items on notifications flyout behave like links
We want the notifications in the flyout to behave just like links,
including standard middle-click and Ctrl-click behavior. The simplest
way to do that would be to actually make them links - but the area can
contain a few other links, so we can't do that and have to resort to
ugly hacks.

Or do we?

Turns out that while browsers won't accept HTML containing nested <a>
tags[1], such a structure is valid XHTML, and it's possible to create
such structure in HTML mode using DOM manipulation. It works like one
would expect: the entire thing is clickable, but inner <a> tags' hrefs
override outer ones.

Firefox even had a request to make that work[2] which was happily
fulfilled.

Tested the basic case [see below] on Firefox 22, Opera 12, Opera 15
(which uses the Blink engine like Chrome), IE 8 and IE 6 and it works
the same on all of them. Tested the XHTML variant [see below] on all
of the above except for the IEs which don't grok XHTML and it exhibits
the same behavior.

[1] Simple test: $('<div>1<a>2<a>3</a>4</a>5</div>').html() is
    "1<a>2</a><a>3</a>45", not actually "1<a>2<a>3</a>4</a>5" like one
    might expect.
[2] https://bugzilla.mozilla.org/show_bug.cgi?id=331959

----

The test cases used are below. When trying out the XHTML one make sure
that the browser uses application/xhtml+xml MIME type; saving the file
with .xhtml extension should be enough.

XHTML:
  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
  <body>
  <div>1<a href="http://google.com/">2<a href="http://example.com/">3</a>4</a>5</div>
  </body>
  </html>

HTML:
  <!DOCTYPE html>
  <html>
  <body>
  <script type="text/javascript">
  var div = document.createElement('div');
  var a1 = document.createElement('a');
  a1.href = "http://google.com/";
  var a2 = document.createElement('a');
  a2.href = "http://example.com/";

  div.appendChild( document.createTextNode('1') );
  div.appendChild( a1 );
  a1.appendChild( document.createTextNode('2') );
  a1.appendChild( a2 );
  a2.appendChild( document.createTextNode('3') );
  a1.appendChild( document.createTextNode('4') );
  div.appendChild( document.createTextNode('5') );

  document.body.appendChild(div);
  </script>
  </body>
  </html>

----

Bug: 52319
Change-Id: I311eca70f025ce92129c828cd88f96686b7cff72
2013-08-06 13:23:33 +00:00
Translation updater bot ca6271c898 Localisation updates from http://translatewiki.net.
Change-Id: Ic6a552b1fc1f7bdbc7352d66534c65d9773709b7
2013-08-05 19:35:54 +00:00
jenkins-bot cfe1fc06dc Merge "Making title-params no longer required." 2013-08-05 11:30:16 +00:00
jenkins-bot 5037b7733c Merge "Add colon to notification-edit-talk-page-email-batch-body2" 2013-08-05 08:18:24 +00:00