Commit graph

2801 commits

Author SHA1 Message Date
Translation updater bot 231a320741 Localisation updates from https://translatewiki.net.
Change-Id: I539766aa43dcdbdbc0d54b840a5bf0e714c0afae
2015-04-23 23:37:54 +02:00
Translation updater bot 5869c20058 Localisation updates from https://translatewiki.net.
Change-Id: I3146bd21852be7b0c87bda102c08c83e121a853f
2015-04-22 21:52:09 +02:00
jenkins-bot 8e694d13b7 Merge "core: getTitle: Return undefined for non URI links" 2015-04-22 14:14:15 +00:00
jenkins-bot fd67e7b607 Merge "i18n: Change the "Last edited" message to be just "Edited"" 2015-04-22 08:06:38 +00:00
Translation updater bot 83d623f82f Localisation updates from https://translatewiki.net.
Change-Id: Id3a685e6f7e6c2842e85c8583e5d104c2168d9cb
2015-04-21 22:13:46 +02:00
Prateek Saxena 03f4fa63b2 core: getTitle: Return undefined for non URI links
mw.Uri throws an exception when dealing with -

    href="javascript:void(0);"
    href="mailto:abc@example.com"
    etc.

Using a try…catch to return undefined in this case.

Bug: T95215
Change-Id: I632e9dc0e70a5fddf9f2573572bfc8e7f6232923
2015-04-21 19:19:43 +05:30
Prateek Saxena b2ad617d72 i18n: Change the "Last edited" message to be just "Edited"
Bug: T96608
Change-Id: Ied2518717a3183cb884bb03ec10b459771934281
2015-04-21 14:33:19 +05:30
Translation updater bot 21f7c83ac7 Localisation updates from https://translatewiki.net.
Change-Id: I2d6a97c7c666320b128068610fd2974cccddf189
2015-04-20 22:17:09 +02:00
Prateek Saxena c05e16ffa2 Update the popups-send-feedback string to include the fact that its an external link
Change-Id: I46a10d38e8ada6f2f2eac04984505e31b3be2c2e
2015-04-20 13:38:18 +05:30
Translation updater bot 5b48d737c6 Localisation updates from https://translatewiki.net.
Change-Id: I1a3dd04cd15b5e8c743939df17fd796664fb05fe
2015-04-19 21:24:24 +02:00
Translation updater bot 4c195004b3 Localisation updates from https://translatewiki.net.
Change-Id: I9f1d6f1393cf4a772976fba84a75698536166f89
2015-04-19 00:21:02 +02:00
Translation updater bot 11fc679f00 Localisation updates from https://translatewiki.net.
Change-Id: I778ae59f1eaa7bd6d0fe1464ef63af38448420f2
2015-04-17 22:23:29 +02:00
jenkins-bot 4438a92585 Merge "Reduce font-size of timestamp text" 2015-04-17 08:11:43 +00:00
jenkins-bot f6b32a7963 Merge "Update font-size and line-height" 2015-04-17 08:11:35 +00:00
Prateek Saxena 503356d33c Reduce font-size of timestamp text
Bug: T96343
Change-Id: I653018e0a653ef8c25a336e73b5ff46eceed119a
2015-04-17 12:50:50 +05:30
Andrew Garrett c7e057946d Act as a beta feature if so configured
Add a configuration key, 'PopupsBetaFeature'. If true, Popups will act as a
beta-feature, and will depend on the BetaFeatures extension. Set to false by
default.

Bug: T88917
Bug: T88164
Change-Id: Ie4cc455fa6379dbc8ef700e4773bedfb49fcf813
2015-04-16 18:06:46 -07:00
Translation updater bot 01e512b9ad Localisation updates from https://translatewiki.net.
Change-Id: I4c6ee4fbad31b28cac48766ce30c4263bad92a25
2015-04-15 23:43:21 +02:00
Translation updater bot 30e22c3187 Localisation updates from https://translatewiki.net.
Change-Id: Ic8cd44c54745c73ec3f93037ad3e9c696eae3c12
2015-04-14 22:35:42 +02:00
Translation updater bot 3ebc248f50 Localisation updates from https://translatewiki.net.
Change-Id: I55bd9bdbb1b3f9fc8b71d8fa47af6f91dd537e28
2015-04-13 22:34:32 +02:00
Translation updater bot a65f8471e7 Localisation updates from https://translatewiki.net.
Change-Id: I3891ecbfd68ac6ba26200827769ad0d336cf27be
2015-04-12 21:55:54 +02:00
Prateek Saxena 4ba7ec87a1 Update font-size and line-height
Bug: T94957
Change-Id: I8f67a5e43bcd0f0de22c03323585414adfa12944
2015-04-11 19:23:57 +05:30
Translation updater bot 727369795d Localisation updates from https://translatewiki.net.
Change-Id: If99561347fb2a68bdd963cd1258055c41d588307
2015-04-10 21:50:23 +02:00
Translation updater bot fa11c87e23 Localisation updates from https://translatewiki.net.
Change-Id: Ie5f57d35274a70b7440719d57d47d689091e9cf9
2015-04-09 19:33:33 +02:00
Translation updater bot 088d239303 Localisation updates from https://translatewiki.net.
Change-Id: Ie188596de1b0deb92cc20c940b42bfc8ee9b1626
2015-04-08 21:32:55 +02:00
Translation updater bot 057c03aea4 Localisation updates from https://translatewiki.net.
Change-Id: I03e2c8958a90d27dfc2ea8b5932b28fe5c8ab91f
2015-04-07 22:19:07 +02:00
jenkins-bot a5d4bec8fd Merge "Use href attribute to calculate titles" 2015-04-07 10:04:55 +00:00
Translation updater bot 8b09f7f889 Localisation updates from https://translatewiki.net.
Change-Id: I56a9233cf4956cfcc698dfccb1e774cd65b7a128
2015-04-06 21:48:01 +02:00
wctaiwan 642bdf013e Use href attribute to calculate titles
This is needed for wikis that use LanguageConverter, since the title
attribute is converted to the user's variant, and the canonical title is
needed for the API unless converttitles is specified.

For filtering, instead of comparing linkHref and expectedHref, filter
out links that have other query parameters or aren't in content
namespaces.

Bug: T93605
Change-Id: I5534753307ed5e1d4b27c52c616fd143b2a397e1
2015-04-06 05:55:25 -04:00
jenkins-bot e6d43ccc16 Merge "logger: Add a sampling rate of 10" 2015-04-06 09:21:50 +00:00
jenkins-bot e21d08e0d0 Merge "Implement the new schema for when the popups are disabled" 2015-04-06 09:19:03 +00:00
jenkins-bot 0ff656a892 Merge "Implement the new schema for when the popups are enabled" 2015-04-06 09:18:16 +00:00
jenkins-bot 7fe8f5d45f Merge "Add icon and link to qualtric survey if $wgPopupsSurveyLink is defined" 2015-04-06 09:03:26 +00:00
Translation updater bot 56453bc7b1 Localisation updates from https://translatewiki.net.
Change-Id: Id618c62f67c1aed8f3ea512666877a4a7f88f33f
2015-04-03 21:26:22 +02:00
Translation updater bot 985f0073f6 Localisation updates from https://translatewiki.net.
Change-Id: Ie9751fe198c172e48476e41ce8c72e7797128cd2
2015-04-02 21:25:42 +02:00
Prateek Saxena 8fbacb9040 Add icon and link to qualtric survey if $wgPopupsSurveyLink is defined
The link to the survey is added in Ic445732197e6abeba459b40b1416d8a71bc23bd6

Bug: T1005
Change-Id: I24bfd5fd622d1afc4372dbd4bfca3879927b0c17
2015-04-02 15:29:15 +05:30
Translation updater bot 5d73e3eedd Localisation updates from https://translatewiki.net.
Change-Id: Ibc6dcc3ee0b2a9ec05c25c53a9199068f518714a
2015-04-01 22:38:02 +02:00
Translation updater bot b1c4b07b60 Localisation updates from https://translatewiki.net.
Change-Id: I6ab899a073dd49cdb1bfb351960ba8572936c066
2015-03-30 21:49:09 +02:00
Translation updater bot 5af03f73d2 Localisation updates from https://translatewiki.net.
Change-Id: I9a59089b91451d1fac5b5938152fdfc957282adf
2015-03-29 15:06:49 +02:00
jenkins-bot 37f1c00629 Merge "renderer.article.getProcessedElements: Stop escaping the title and the extract" 2015-03-27 18:45:54 +00:00
jenkins-bot d478a820a9 Merge "Rename popups.eventLogging to popups.logger" 2015-03-27 13:18:32 +00:00
Prateek Saxena f4dbd455c6 logger: Add a sampling rate of 10
This rate was decided in T88173

Bug: T88167
Change-Id: I22776582c271fa83ba5b98d38dd01775ebbfcef1
2015-03-27 04:35:12 +05:30
Prateek Saxena c39bbc8a68 Implement the new schema for when the popups are disabled
Bug: T88167
Change-Id: If8f1c97379bd37958ec6064242bdebf5fde14b47
2015-03-27 04:34:58 +05:30
se4598 946b4f4926 Do API queries after API_DELAY
Based on the comments this is what it supposed to be.
mw.popups.render.article does the API-queries on init, so do that after
the API_DELAY-timer fired.

Change-Id: Ia235cbe1eb86fc774edda84208d320843401624e
2015-03-26 15:03:38 +01:00
Prateek Saxena 20f2bef272 renderer.article.getProcessedElements: Stop escaping the title and the extract
Both the title and the extract were being html escaped thus producing
string like ' and " when used with .text(). So, we now use
document.createTextNode() for the normal text and .text() with the bolded
one.

Bug: T93720
Change-Id: I6bbc52e427dc636b7b0be1ad4f749d9273ff61b3
2015-03-26 19:28:20 +05:30
jenkins-bot 1572bcf150 Merge "settings: Use .text() instead of .html() for option's label" 2015-03-26 10:34:41 +00:00
jenkins-bot 7d21948d1a Merge "renderer.article: Ignore thumnail if the URL has suspicious characters" 2015-03-26 10:33:42 +00:00
Prateek Saxena 2971d90831 Implement the new schema for when the popups are enabled
Bug: T88167
Change-Id: I38c9e474e0ec7da45af8338a458430e5d7427463
2015-03-26 11:42:39 +05:30
Prateek Saxena d49cfb9b65 Rename popups.eventLogging to popups.logger
...and eventLogging.logEvent to logger.log

Change-Id: I9af697a56c2248069a32ac586f5b78b55095460e
2015-03-26 04:56:29 +05:30
Translation updater bot d7bba41956 Localisation updates from https://translatewiki.net.
Change-Id: Id0ba70f4f6126005b2449ca52e01ea13e0bd9de0
2015-03-25 22:20:00 +01:00
Translation updater bot 13d3df306d Localisation updates from https://translatewiki.net.
Change-Id: I14e13ccf9b050a7b52365229ddeebe6e58b98ef9
2015-03-24 22:28:29 +01:00