Commit Graph

1570 Commits

Author SHA1 Message Date
jenkins-bot
efbaa74126 Merge changes I799698e0,I7b1543f5
* changes:
  Removing font live preview test
  Refactor another live preview scenario
2013-12-11 09:22:59 +00:00
jenkins-bot
3ed7cb54f1 Merge "Refactor two live preview scenarios" 2013-12-11 09:22:13 +00:00
Translation updater bot
2e4fb7d028 Localisation updates from https://translatewiki.net.
Change-Id: Id4dc8dc85717b5648a4b26f9897f9fb018613b79
2013-12-09 21:26:20 +00:00
Translation updater bot
bf2c718994 Localisation updates from https://translatewiki.net.
Change-Id: I31684cebd5d8351751f2be02a5f69502abe5d84c
2013-12-07 01:54:30 +00:00
jenkins-bot
b86876bc8f Merge "Update Autonym font from upstream." 2013-12-05 13:53:48 +00:00
Kartik Mistry
e19309c1b9 Update Autonym font from upstream.
* Fixed autonym for Old Slavonic.
* Fixed Glagolitic glyphs for 'cu'.
* Removed RFN and documentation updates.

Change-Id: I51263f0b6ecfbd43234b115a2d143f6703f0e60a
Version: 20131205
URL: https://github.com/santhoshtr/AutonymFont
2013-12-05 19:15:37 +05:30
Antoine Musso
9fa4b32c08 browsertests: profile for default settings
Some scenarii are meant to be tested on specific wiki instances such as
commmons.beta.wmflabs.org or sandbox.translatewiki.net. For the Gerrit
integration, we are using a fresh wiki having the default ULS settings,
hence the specific tests will definitely fail.

This patch introduces a new cucumber tag `@needs-custom-setup`, it is
meant to flag tests which require further configuration tweaking, for
example tests explicitly targetting an already existing wiki such as
beta or translatewiki

I am introducing a new cucumber profile 'ciwmf' which exclude any test
tagged '@needs-custom-setup' or '@phantomjs-bug'.  That profile is going
to be used by the Jenkins/Gerrit install using something like:

  cucumber -p ciwmf

equivalent to:

  cucumber -t '~@phantomjs-bug' -t '~@needs-custom-setup'

Marked some tests as being bugged on phantomjs:
* autonym ones because of bug 57101 "browser tests must normalize
  font-family".
* accept_language since we dont have yet a way to pass the accept
  language header via phantomjs.
* Commented out an 'input method is visible' test with Vector + Hebrew
  since it does not pass.
* Malayalam link is looked by title which is translated by default.

This patch is passing on my local wiki, albeit skipping a lot of steps.

Change-Id: Ib055f5470886e1b818d4c53cb4c61a751d81e154
2013-12-05 11:35:35 +01:00
Niklas Laxström
63af9387b2 Removing font live preview test
* This feature is named live preview of language
* There are two scenarios in font selection feature that also
  test live preview
* This test is actually making changes as well

Change-Id: I799698e08fc3d922259692de7ae0bbf5cbfd0a33
2013-12-04 12:27:29 +02:00
Niklas Laxström
b0efed428c Refactor another live preview scenario
But left it disabled because of bug 57967

Bug: 57967
Change-Id: I7b1543f526eac93c9a0200731a722332a7410b06
2013-12-04 12:22:15 +02:00
Niklas Laxström
cdb21c9c49 Refactor two live preview scenarios
Change-Id: I8e0dc62e24f9f86232af6b68dc4809e858aa2367
2013-12-04 12:05:15 +02:00
Amir E. Aharoni
d7d43e1dbb Update from upstream
Includes the change of all i18n files to Unicode encoding.

Change-Id: I0529696fe541f40c9cdcf8589c9e6b717a921ff9
2013-12-03 20:13:31 +02:00
Amir E. Aharoni
25a72faae3 Apply autonym class only to autonyms
Change-Id: I6383b9f4ac1f38f47b06a83bf3b009d2ce584215
2013-12-03 18:36:34 +02:00
Amir E. Aharoni
1a086cce15 Fixes for the Autonym test
Change-Id: Ic8d8eca516cfefc523fca0257ae1f14ea9b64d1b
2013-12-03 17:55:30 +02:00
Kartik Mistry
4208d71163 Make Autonym default font in test.
Make sure that Autonym font is loaded default in test page.

Change-Id: Ia97aa508312cfb2ce82c9fe61bac731ef9c2fe30
2013-12-03 20:11:06 +05:30
jenkins-bot
5755bafbd7 Merge "Reset preferences to make the test pass" 2013-12-03 10:36:46 +00:00
Amir E. Aharoni
23a0461c2e Reset preferences to make the test pass
Failed test: http://goo.gl/Uv5icL

Change-Id: Iaf12c2794ba60c1ceeaf34432340cf90a09a2d16
2013-12-03 10:35:54 +00:00
jenkins-bot
f8f76eeedf Merge "Changing readme file to point to mediawiki-selenium" 2013-12-03 10:30:14 +00:00
jenkins-bot
9c3e2211f4 Merge "Refactoring live preview" 2013-12-03 10:04:59 +00:00
Niklas Laxström
b04c6f8de2 Refactoring live preview
Change-Id: I351094b8d746d991b1f1d92f3dd097f092e3f0f5
2013-12-03 10:02:22 +00:00
mayankmadan
0dd22325c0 Changing readme file to point to mediawiki-selenium
Bug: 56089
Change-Id: I7597bd5636f5d02904a9812f01dd6cd148e16e31
2013-12-03 15:11:09 +05:30
jenkins-bot
bcfd55af9b Merge "Initial support for webfonts in MobileFrontend" 2013-12-02 17:25:37 +00:00
jenkins-bot
b82c53d9cb Merge "Add Version in tests/autonym.html" 2013-12-02 12:41:26 +00:00
Kartik Mistry
945e4242cc Add Version in tests/autonym.html
This will help in debugging, comparison of tests etc.

Change-Id: I2879641f864226235dc58023943f9091cca2ef86
2013-12-02 18:08:22 +05:30
jenkins-bot
95ce36a5b1 Merge "Enable Amiri for ckbwiki" 2013-12-02 12:00:35 +00:00
jenkins-bot
aa1b7b8dc5 Merge "Fix "Autonym font should be used in the Interlanguage area of a page only with Interlanguage links"" 2013-12-02 11:13:05 +00:00
jenkins-bot
0d5651f622 Merge changes I47595f53,Idaa483cc
* changes:
  Remove @reset-preferences-after hook
  Cleanup of unused tags
2013-12-02 11:12:54 +00:00
Niklas Laxström
5749d92c4f Remove @reset-preferences-after hook
Change-Id: I47595f5334fcc7b8fe6d4a7ea69d2b8345f06597
2013-12-02 11:47:02 +02:00
Niklas Laxström
f497a5683d Cleanup of unused tags
Change-Id: Idaa483cc59baa795e6e63fcbfd471498a3e4edb8
2013-12-02 11:38:40 +02:00
Niklas Laxström
6021061fc9 Fix "Autonym font should be used in the Interlanguage area of a page only with Interlanguage links"
Change-Id: Id521b3a0cf7f0957f835bda40906483d400a2691
Followup: I12b96411
2013-12-02 11:30:14 +02:00
Amir E. Aharoni
d309b344ea Update uls core from upstream
Change-Id: I8e89431ce1f33da2b46826e9e6669cc214c92a4b
2013-12-01 19:28:19 +02:00
Translation updater bot
26adbd4894 Localisation updates from https://translatewiki.net.
Change-Id: I918c3f7d626a1078f89ffc9db3af2d00d078cb7e
2013-11-30 19:55:16 +00:00
Ebrahim Byagowi
e4736e8cd6 Enable Amiri for ckbwiki
Bug: 57767
Change-Id: Ia176d107061047a921cd29a45ec24b330daddf19
2013-11-30 12:28:50 +00:00
Amir E. Aharoni
fd885d9881 Initial support for webfonts in MobileFrontend
Written in pair-programming with Ryan Kaldari.

This adds a version of webfonts initialization that is stripped
of any smart features. It only loads the basic jquery.webfonts
library and the fonts repository in a way that is usable
with the MobileFronted extension.

It is completely disabled by default.

It can be enabled by setting
$wgULSMobileWebfontsEnabled = true;
and even then it will only be enabled for users
who opted in for the mobile beta mode.

Change-Id: I488e411232a1192bbf46ae5675c701366bda9a3e
2013-11-30 12:28:46 +02:00
mayankmadan
78152b95c0 Prefer double-quoted strings in Ruby code
Bug: 57597
Change-Id: I12b96411abe255130e156e20fa41eef558460196
2013-11-28 14:25:55 +00:00
jenkins-bot
bbeb82f809 Merge "Remove unneeded () after visit" 2013-11-27 12:09:30 +00:00
jenkins-bot
56e05ad2b9 Merge "Update version date." 2013-11-27 11:51:58 +00:00
Niklas Laxström
11fd508324 Remove unneeded () after visit
Change-Id: I34cccf69812be6e060d3f1dea1199da668e2ca31
2013-11-27 10:03:02 +00:00
Zeljko Filipin
0f331b5b03 Check that elements that do not need it do not use Autonym font
Change-Id: I2a865d61403b5556a8f6d69aa1fe3e10727e87ae
2013-11-27 11:33:44 +02:00
Zeljko Filipin
7a9e890e06 Autonym font is applied only to language links
Broken test in cloudbees: http://goo.gl/G3EG3z

Bug: 56819

Change-Id: I734fe4835f6e7a44b446cd826e49086d6bd1bd5b
2013-11-27 09:19:05 +00:00
Kartik Mistry
b511fca15e Update version date.
Change-Id: I8533c30bec825a2ef6ebde4c33bb9d5fb09ffd59
2013-11-27 10:40:58 +05:30
jenkins-bot
14b05ef00e Merge "Fixes to failing tests" 2013-11-26 10:15:05 +00:00
Niklas Laxström
35c4837816 Fixes to failing tests
Ambiguous match of "the selected interface font must be "Systemschriftart"":

Element is no longer attached to the DOM (Selenium::WebDriver::Error::StaleElementReferenceError)

Change-Id: I74d6c8245d413dbf2819a113a19476d9b998d3c4
2013-11-26 10:27:25 +01:00
Santhosh Thottingal
ee71de833c Improve test page for autonym font
* Used table instead of list
* Font and size selection
* Display language codes

Change-Id: Ic3f7ef1bd1d1e5ff5b6fa7f6d8a8b9b7bf878068
2013-11-26 05:09:09 +00:00
jenkins-bot
7077d0458a Merge "Add request-url for Hanuman, Nokora and Suwannaphum fonts" 2013-11-25 16:02:39 +00:00
jenkins-bot
088db3c1bf Merge "Fix request-url field in Xerxes/font.ini" 2013-11-25 16:01:14 +00:00
jenkins-bot
da7d1cde05 Merge "Apply Autonym only to class interlanguage-link" 2013-11-25 15:52:23 +00:00
Amir E. Aharoni
27935fb034 Apply Autonym only to class interlanguage-link
This depends on Ia995f89504d19ac281d55e0c19c51c9dc6442d8e .

Change-Id: I2ea915f4e1d01649bf91a13288b73c731dd64f6c
2013-11-25 17:51:29 +02:00
Santhosh Thottingal
abae4e1780 Do not save isDirty field in preferences
Bug: 57349
Change-Id: Id5fe6bf61fcf79942f879bd1729e6b0a622aded8
2013-11-25 17:24:44 +05:30
Kartik Mistry
c9ee6e3ba3 Add request-url for Hanuman, Nokora and Suwannaphum fonts
Change-Id: Idc1def9414d05b58323806a742eb92235c034f83
2013-11-25 17:18:01 +05:30
Kartik Mistry
98570f6004 Fix request-url field in Xerxes/font.ini
Change-Id: I2b55b0edeae21d795875d933c6527096dbec5589
2013-11-25 17:06:01 +05:30