Commit graph

8722 commits

Author SHA1 Message Date
Alex Monk 94fadaec4a Insert last modified text as HTML
mw.msg can return things with <br />, which we want to be interpreted as HTML
rather than just escaped as text.

Bug: 73571
Change-Id: I7861432d9361e01f9def0578c342e60715c3d764
2014-11-18 23:42:18 +00:00
Cmcmahon d27edd8d5a [BrowserTest] stop rubocop complaints for now
I'll be addressing these one by one now that all the steps are
refactored

Change-Id: I9649c261e4c63be46a14dbe73f0226e50c7022c4
2014-11-18 16:18:35 -07:00
James D. Forrester 6b61addd06 ViewPageTarget#onSaveErrorSpamBlacklist: Use mw.language.listToText now it exists
Change-Id: I1289c43ea4be1cd9dc1addb7c765d7050b311d8d
2014-11-18 14:22:30 -08:00
Translation updater bot 384232ee64 Localisation updates from https://translatewiki.net.
Change-Id: I7e799602cb9d11c2e77be38b3707ebd0b82c7d9d
2014-11-18 21:35:49 +01:00
Cmcmahon 210169c55b [BrowserTest] forgot a bit of dead code
Change-Id: I249e229d449eb74ff341f511e84290a4ca731f92
2014-11-18 13:09:17 -07:00
Cmcmahon 6489767bc7 [BrowserTest] remove sleeps from shared tests
* remove dead code

Change-Id: Id95ff81746eb440124958bcc6dd9334b7ed299a4
2014-11-18 12:59:34 -07:00
James D. Forrester 12f183a20c build: Update grunt-jscs devDependency to latest
grunt-jscs: 0.7.1 -> 0.8.1

No-op; note that this switches us from jscs 1.6.0 to 1.7.2, which provides
some new options (unused in the Wikimedia preset).

Change-Id: I1d0db2568ff673ff8b8bba9549b06c005eb7186b
2014-11-17 19:50:46 -08:00
jenkins-bot 4807d4c847 Merge "Replaces spaces with tabs in en.json" 2014-11-17 23:47:39 +00:00
Cmcmahon 06aa53747c [BrowserTest] interim step, no functional change
Change-Id: I3a7787c4ab9206c70f0f64b6c0986ae93ddb3d84
2014-11-17 15:14:32 -07:00
Cmcmahon 94bab8f918 [BrowserTest] update transclusion test for Page Object vio and RS
Change-Id: Ie80dce2d117d4d2dc836681dcd9362ae565f2aa8
2014-11-17 14:59:14 -07:00
Cmcmahon 743d035fa1 [BrowserTest] update switch-edit-mode test for RSpec3
Change-Id: Ia040f8b6e76a42c2c80bda382bf6ad6f30988ba1
2014-11-17 14:42:59 -07:00
Timo Tijhof 173181f857 Replaces spaces with tabs in en.json
Bug: 72132
Change-Id: I1cc0379a824caec957c4e63963634e67973f1cf2
2014-11-17 22:37:43 +01:00
Translation updater bot 3386871003 Merge "Localisation updates from https://translatewiki.net." 2014-11-17 21:29:42 +00:00
Translation updater bot f8d851c50a Localisation updates from https://translatewiki.net.
Change-Id: Iee3bdfaa9ef9b032cba0a958eb06ebbbb2e505a5
2014-11-17 22:29:16 +01:00
Cmcmahon fa02c60586 [BrowserTest] fix minor Page Object design violation
Change-Id: I75d282a7e176347b0995f2c2ccda8ab051aca270
2014-11-17 14:18:13 -07:00
Cmcmahon 4383dedcfc [BrowserTest] minor violation of Page Object design pattern
and RSPec syntax also fixed

Change-Id: I2bbaf460f6ddae708ea243064dd9a596bdd006f1
2014-11-17 14:07:16 -07:00
jenkins-bot 83797c4925 Merge "[BrowserTest] more update to Cite test for RSpec3" 2014-11-17 20:59:12 +00:00
jenkins-bot c5ec9cb8d5 Merge "Methods for new "maps" property in TD Root" 2014-11-17 20:56:49 +00:00
Cmcmahon 3c5e695c5d [BrowserTest] more update to Cite test for RSpec3
Change-Id: Ia2fa25bffe9bbdffb0eafc19396c06be253216c3
2014-11-17 13:56:08 -07:00
James D. Forrester a9292ce649 Update VE core submodule to master (fa572a5)
New changes:
4d00221 Move hasSignificantWhitespace and handlesOwnChildren abstracts to ve.Node.
3889f14 Don't always use updateDimensionsDebounced
ea59d25 Safari copy-paste fix
537478d Make changes to comment node before apply staging stack
6dea745 Apply comment changes using fragment
20e928d Update OOjs to v1.1.3
98bbe75 Don't allow dropping inside a handlesOwnChildren node
9e87ccb Move mobile ContextItemWidget hacks into separate class
5d98528 Replace ve.getProp() and ve.setProp() with OO aliases

Change-Id: I7eb0d0eac311d9a220e7a0ce2f920788a3a2ec3c
2014-11-17 12:51:54 -08:00
Cmcmahon 94c30f01da [BrowserTest] update Cite test for RSpec3
Change-Id: I589a65e0fe1b21ca6476a5c31b97d7632da39b13
2014-11-17 13:31:30 -07:00
Cmcmahon 87ad037442 [BrowserTest] remove sleep() from template test
Change-Id: Ia564232e02db2e6be3070d98691097350e920a3b
2014-11-17 13:13:25 -07:00
jenkins-bot 51976d6237 Merge "[BrowserTest] interim step to sort G/W/T statements properly" 2014-11-17 19:29:12 +00:00
Cmcmahon ea0fac5e4f [BrowserTest] interim step to sort G/W/T statements properly
no change to function

Change-Id: I2c2e9ccb6535c875d37ef59ab873a2f3280cca60
2014-11-17 12:27:06 -07:00
James D. Forrester 14a0f93621 Update VE core submodule to master (d418c99)
New changes:
81e2135 Remove upstreamed ve.contains function
77166d7 Update RangeFix library 0.1.0 -> 0.1.1
6fe9405 Give table overlay width so row context positions correctly in RTL
a2001e2 Fix getDirectionFromSelection to work with table selections
ca75f05 Make table inserts directional
7ce4a63 Follow-up 2075a46: Fix RTL image build by embedding after flipping
5068bcd Restore original rowspan/colspan rather than normalizing or overwriting with NaN
e1bff77 Localisation updates from https://translatewiki.net.
a92012e Use strict comparison for insertionAnnotationsChange
39f7b91 Localisation updates from https://translatewiki.net.
b5e1130 Localisation updates from https://translatewiki.net.
c577aeb Initialize mobile context as visible

Change-Id: I113250f8caec07f9a7e59116417eb582ea0e7ae5
2014-11-17 09:54:39 -08:00
jenkins-bot 7efa601837 Merge "On save, if there was no 'last modified' text at the bottom of the page, add it" 2014-11-17 17:48:50 +00:00
jenkins-bot e85550c350 Merge "Don't try to get newtimestamp from edit if no change was made" 2014-11-17 17:48:44 +00:00
jenkins-bot 20e54e1c8f Merge "Stop warnings about calling FlaggablePageView::setPageContent with no parameters" 2014-11-17 17:47:37 +00:00
Cmcmahon 9a4d2eeef9 [BrowserTest] interim step to alphabetize
no change to function

Change-Id: Id655a9777e3b8bd3e3fbb974c73912f9f975bf7c
2014-11-17 09:09:06 -07:00
Alex Monk a7294b34c0 Stop warnings about calling FlaggablePageView::setPageContent with no parameters
We don't care.

Bug: 73469
Change-Id: I2ff0ec2fd1b0d34c1168f83d808c1cb498b17511
2014-11-17 01:28:30 +00:00
Alex Monk ac6f6caeac On save, if there was no 'last modified' text at the bottom of the page, add it
Just hope that wgMaxCredits is 0.

Change-Id: Idf4a7cceb0650eaec4442244066d875a3ff38e06
2014-11-17 01:18:46 +00:00
Alex Monk ff3d76f488 Don't try to get newtimestamp from edit if no change was made
ApiEditPage can give us 'nochange' instead of the
'oldrevid'/'newrevid'/'newtimestamp' keys if we gave it a null edit.

Bug: 73463
Change-Id: Ic22597dfed11de3823471673404090a9bce12928
2014-11-17 01:03:00 +00:00
Translation updater bot fce0ed5d6c Localisation updates from https://translatewiki.net.
Change-Id: I0a857cef14050c92c1236612006ad34b34bf49bc
2014-11-16 22:53:55 +01:00
Translation updater bot 9b3b81c234 Localisation updates from https://translatewiki.net.
Change-Id: I3e9b5d8b65d6b1a1b57762ae904554a7b4d47c73
2014-11-15 23:18:28 +01:00
Cmcmahon 17f6badf0a [BrowserTest] update references test for modern RSpec syntax
simple update to a nice test

Change-Id: Iad00e779295ccc610d20241693a87b76b817fbd6
2014-11-14 15:52:51 -07:00
jenkins-bot 02407138ad Merge "[BrowserTest] remove sleep from multiedit test" 2014-11-14 22:35:31 +00:00
Cmcmahon 6d22cebb62 [BrowserTest] remove sleep from multiedit test
* put the shared step in shared_steps.rb
* replace "onfocus" with simple "click"
* update RSpec while we're at it

Change-Id: I77754abdbeba1314758f5fe10601f6601e8783bd
2014-11-14 15:30:10 -07:00
Translation updater bot e670131ea5 Localisation updates from https://translatewiki.net.
Change-Id: I934ae1c25cf6d1396dc4517d438a76556d4c209d
2014-11-14 22:27:52 +01:00
Cmcmahon 36e07b247e [BrowserTest] simple upate to a nice test
Change-Id: Ib52582a677d8dc2f22552bf7c60f48de8f20d3c7
2014-11-14 13:43:31 -07:00
Cmcmahon ea9df60aa3 [BrowserTest] RSpec update
Change-Id: I03f89eda4292482dedaa335e3546af724ee55024
2014-11-14 13:32:59 -07:00
Cmcmahon 1aa5d8905b [BrowserTest] remove sleeps from links test
Change-Id: Ib0e09735331dadd5bb494fe87683f6f08b6aee31
2014-11-14 12:30:13 -07:00
Cmcmahon da42fe407c [BrowserTest] hygiene changes
* alphabetize headings steps
* move diff view check to shared_steps.rb

Change-Id: I68ac8de2f67a61bdd50f4892f58368e1bbd71271
2014-11-14 16:05:14 +00:00
James D. Forrester abaea95fec Update VE core submodule to master (0a42f21)
New changes:
0736e17 Localisation updates from https://translatewiki.net.
31eab5b tests: RuboCop checks .docs/CustomTags.rb
bf19679 Move FragmentInspector initialization to initialize
68f7798 Allow <meta> tags in GeneratedContentNodes
6c71f56 Localisation updates from https://translatewiki.net.
d77c436 Use .super in nodes, annotations, meta and lineardata implementations
1582bab Initialize context's $element as hidden
d3fc6d7 AUTHORS.txt: Credit libraries as well as direct contributors
091f781 [BREAKING CHANGE] Remove the ve.bind function
9b578f1 Localisation updates from https://translatewiki.net.
0a42f21 Update OOjs UI to v0.1.0-pre (fe4076af75)

Change-Id: Ie849ef2179989881356a245bc6431e7d9ad1a665
2014-11-13 22:28:15 +00:00
Translation updater bot 4387c52f93 Localisation updates from https://translatewiki.net.
Change-Id: I92a1563c843ad912a71f642caa9d7af2300f0f6c
2014-11-13 23:12:26 +01:00
jenkins-bot ed7cfa1207 Merge "When saving, return the full contentSub to the client" 2014-11-13 20:45:09 +00:00
jenkins-bot 297e864495 Merge "AUTHORS.txt: Credit libraries as well as direct contributors" 2014-11-13 17:36:58 +00:00
Cmcmahon e4eeb40c17 [BrowserTest] interim alphabetization only
Change-Id: I3a724d2cadbc40c63978058e4b2684ef86ceec03
2014-11-13 10:04:19 -07:00
James D. Forrester 2e3130b1d9 AUTHORS.txt: Credit libraries as well as direct contributors
Change-Id: I18dc6fb526c008c5da56c45e8509d2b8b5643cf1
2014-11-13 16:45:03 +00:00
Cmcmahon 3ed807277e [BrowserTest] minor updates for hygiene, no functional changes
Change-Id: I3d8ca33bd850caeb44b8e8e8017f2fa302676b1a
2014-11-13 09:08:15 -07:00
jenkins-bot 12bff6a622 Merge "[BrowserTest] make bullets test modern" 2014-11-13 15:33:47 +00:00