Commit graph

7178 commits

Author SHA1 Message Date
jenkins-bot e7efee143f Merge "Unbreak badtoken recovery on mobile" 2014-04-23 19:59:23 +00:00
Translation updater bot 181cf02085 Localisation updates from https://translatewiki.net.
Change-Id: If1c787db33cb364f912a554ff13a9117bd33c79b
2014-04-23 19:57:08 +00:00
Roan Kattouw 54d06b2a3d Unbreak badtoken recovery on mobile
When recovering from a badtoken error, mw.Target called saveDocument(),
but that method only exists in ViewPageTarget. Instead, call .save()
again.

Also pass the HTMLDocument and the save options around to the success
and error handlers, because we need them in order to be able to
call .save().

Bug: 64267
Change-Id: I4743f855dc77f4a9ac427d67d15fb96b7ad770f2
2014-04-23 12:30:48 -07:00
jenkins-bot 89faf824ad Merge "Update jquery.uls from 601a5256b8 To 1932de9e347d" 2014-04-23 18:34:44 +00:00
Ed Sanders 3da70b40b9 Update jquery.uls from 601a5256b8 To 1932de9e347d
f404bc9 Update to use jQuery 1.10.1
3571e77 Update jQuery version in examples to 1.10.1
5c6c24d RegionSelector: Scroll to appropriate area instead of rebuilding the list
6d92fa3 Update README.md
ab9b014 Update to latest grunt
078448a Update code formatting
adcc1ad Fix spelling mistakes
33ec928 Use events instead of callbacks for success or no results
e54d85a Use Autonym font for autonyms
d8fdcd4 Corrected the Unicode character in the Arab Kazakh autonym
7b8e43e Add lrc and ses
b1d01d9 Updated Autonym font
0e0cb89 Updated uls.data.js
658914a Update code formatting
9dddc41 Updated Autonym font
e83494c Formatting fixes
a48123e Update Autonym font
61f7bce Update Autonym font
ac8aa27 Remove non-existing "-ms-linear-gradient"
522b14f Use text() instead of html() to set language names
9ae403b Remove unnecessary object instance
a985d33 Use attr and prop consistently
5444e17 Avoid 'recalculate style' by conditionally change classes while scrolling
67cc85f Reduce data size a bit by using unescaped unicode
2247581 Move the autonym font to example instead of making part of jquery.uls
49497d7 Avoid overriding grid css for language list
a4276bb Optimize png images with optipng -o7
72c0bd2 Optimize language icon SVG
e43994d Optimize the search and worldmap svgs
623cdb6 Validate whether the language from API is known while trying to display
9d77cfb Fix typo
cfba32a Remove developer console logs when unknown language found
9b3d64e Remove stray character in example file
84d7636 Use a single var statement
520e1b1 Suppress JSHint double quote warnings in jquery.uls.data.js
09aeb8e Update the Autonym for 'cu'
902afa5 Add the missing closing paranthesis for Chinese Simplified Han
69f3256 Avoid title case
78e9b83 Make ULS language selector appear faster after clicking trigger
a93ad4b Remove comments from json
a1b5db4 Update README.md
50477e2 Update documentation about options
2d93a37 When clicking a region, scroll only the list and not the whole page
d8fc3d4 Remove double scrollTop call
02ebadf Apply /* @embed */ pragma to every image, not just the topmost in each block
d4ea222 Drop -moz-linear-gradient for images
99f1f86 Add rwr and ota to the languages supported by ULS
40e3a94 Updated jquery.uls.data.js file
83bd524 Add EU too for ota.
f00cf29 Optimize all SVGs
38b3780 added dxʷəlušucid [ISO:639-3:lut] to langdb.yaml and updated jquery.uls.data.js wuth ulsdata2json.php
6676222 Lojban to lower case
859bccd Test: Add lut to the list of languages in AM region
5b68627 Add rmf to langdb
61d0086 fixed autonym for Lushootseed
91f3906 updated jason file after modifications to langdb.yaml
0c11d38 Space before comment #
42733b5 Remove prefixed border-radius rules

Repo is https://github.com/wikimedia/jquery.uls.

Change-Id: Ibef36df5fa476725f3f3307888ed368381a70ea5
2014-04-23 18:32:39 +00:00
jenkins-bot f89254509a Merge "[Browser tests] Move "I can click the X on the save box" to shared_steps.rb" 2014-04-23 18:31:09 +00:00
jenkins-bot 61674b4631 Merge "Check cascade protection and show notice if relevant" 2014-04-23 18:24:10 +00:00
Ed Sanders 0c82889ac5 Update built html files
Change-Id: Iae32c35aca7cbdcce83b424763318a2609c3e9f1
2014-04-22 17:01:00 -07:00
jenkins-bot c034e31404 Merge "Show notice if user is globally blocked" 2014-04-22 23:02:26 +00:00
Translation updater bot 93884808bc Localisation updates from https://translatewiki.net.
Change-Id: Ie7a66b16de331d365e489065e87cb2e9749113d7
2014-04-22 19:21:57 +00:00
Krenair 820ff5e8a0 Check cascade protection and show notice if relevant
Bug: 53893
Change-Id: Ie34c193da5ae41db1908afae35e5ba4949630176
2014-04-22 19:36:57 +01:00
Roan Kattouw 9eb121134f [Browser tests] Move "I can click the X on the save box" to shared_steps.rb
Doesn't belong in headings_steps.rb because it's used in other
*.feature files like bullets.feature

Change-Id: I23d3772653140e6e4639785c3622fc9a2b446801
2014-04-21 18:08:23 -07:00
Alex Monk cb9022bfe3 Show notice if user is globally blocked
Bug: 53009
Change-Id: I5c8a31f40535e7495133738a03d83648d57fb526
2014-04-22 01:22:48 +01:00
jenkins-bot fe04b902fb Merge "Add checkboxes to set some metadata on page metadata panel" 2014-04-21 23:34:27 +00:00
Krenair 021152586b Add checkboxes to set some metadata on page metadata panel
Also fixes some errors in I752705f6
And while we're there, clean up some mostly duplicate functions

Bug: 57169
Bug: 57170
Bug: 57171
Bug: 57172
Change-Id: I1e3dca3868a267e91bccb0ae277012c26ca82174
2014-04-21 16:29:31 -07:00
jenkins-bot 5429c78eac Merge "Hide ULS button" 2014-04-21 22:54:17 +00:00
Roan Kattouw ba455643fc [BREAKING CHANGE] Update VE core to master (cb2e61b)
Update dialogs and inspectors for breaking change in VE core

New changes:
a553012 [BREAKING CHANGE] Merge dialog and inspector actions into window actions
f9a0419 Localisation updates from https://translatewiki.net.
cbe81a0 Fix path to spinner in ve.ui.SpecialCharacterInspector.css

Change-Id: Icf90ace6442364283b66b234e3c78fc65212f070
2014-04-21 15:32:59 -07:00
jenkins-bot a5b4c58c48 Merge "Update VE core submodule to master (d2a5cb5)" 2014-04-21 22:26:32 +00:00
Ed Sanders b74aa4160b Hide ULS button
Currently it steals focus it doesn't use an iFrame, so we can't use
it in this way.

Change-Id: I4df95f3b60bc63b0ce296a06da648e96d94bf20f
2014-04-21 14:24:49 -07:00
Translation updater bot 361c1d3928 Localisation updates from https://translatewiki.net.
Change-Id: Ica3582d2e80473251cc2890fea2e137883637962
2014-04-21 20:26:59 +00:00
James D. Forrester 37b476b226 Update VE core submodule to master (d2a5cb5)
New changes:
548655a Add focusing state flag to ce.Surface when programatically focusing
d7819ae Remove unnecessary overflow:hidden from block slug style
d2a5cb5 Update OOjs UI to v0.1.0-pre (d4baf57069)

Change-Id: If964c13b1f131d2450013c7a93060fc143bd50c9
2014-04-21 13:05:42 -07:00
jenkins-bot aba8d09f35 Merge "[Browser tests] Disable svwikt production test as it's NS_USER-only" 2014-04-21 19:31:23 +00:00
jenkins-bot f8b7b0d849 Merge "Add GENDER support to visualeditor-editconflict" 2014-04-21 19:29:59 +00:00
James D. Forrester dd81908a50 [Browser tests] Disable svwikt production test as it's NS_USER-only
Unlike all other wikis with VisualEditor enabled, svwiktionary is set to
only allow VisualEditor in the User: namespace, so causing the production
test (which blindly tries to make a dummy edit in the main namespace) to
fail. For now, will just remove this one from the test.

Change-Id: I6f1eb8bd6bd384e1c9ca77c0036e3914f0dbe070
2014-04-21 19:29:29 +00:00
jenkins-bot d2563c7e6f Merge "Use wgPageName instead of wgTitle when fetching language links" 2014-04-21 19:22:46 +00:00
jenkins-bot a1c4df7980 Merge "Update wgRevisionId when we change wgCurRevisionId" 2014-04-21 19:06:44 +00:00
Roan Kattouw 1313e70618 Use wgPageName instead of wgTitle when fetching language links
Bug: 49226
Change-Id: I4085457ba8601ee8a1f09bd1008a2bbf15209a25
2014-04-21 19:04:05 +00:00
James D. Forrester 902b23ea58 Update VE core submodule to master (5d94d8b)
New changes:
fc3be96 oojs-update.sh: Update to match version of script in mediawiki-core
1031079 update-oojs-ui.sh: Replace target dir instead of adding file copies
08fbae1 Add forgotten OOjs UI i18n files
5d94d8b Localisation updates from https://translatewiki.net.

Change-Id: I279d2f4b73134f7c95d8affe4191dc111b901809
2014-04-21 10:53:06 -07:00
James D. Forrester 7cc2190e68 Update .docs/eg-iframe.html to current
Change-Id: I323265e303258929eac5d85a96a412315c6780a5
2014-04-21 09:06:39 -07:00
Amir E. Aharoni 595524f7a6 Add GENDER support to visualeditor-editconflict
Change-Id: I3257d56107772c26a41e0b2bfcc71509cd1c9284
2014-04-21 16:47:23 +03:00
Translation updater bot 431d2bd400 Localisation updates from https://translatewiki.net.
Change-Id: I2f17e57914232c35269de6071016d04aea27f6f7
2014-04-20 20:11:59 +00:00
jenkins-bot df6915299f Merge "Clarify the message visualeditor-dialog-meta-categories-sortkey-label" 2014-04-19 19:55:09 +00:00
Amir E. Aharoni a04582dba3 Clarify the message visualeditor-dialog-meta-categories-sortkey-label
Explaining that the sorting is about the name of the page
should make this feature clearer for new editors.

Change-Id: I9f152e0d3dc5e9bf937d9222d95b7c3c15db87f9
2014-04-19 12:52:12 -07:00
Krenair 167a2f341e Update wgRevisionId when we change wgCurRevisionId
Bug: 56532
Change-Id: Ibb5a92d66a7a60ef516d3ef385b4473919a6ac63
2014-04-19 17:59:28 +01:00
Amir E. Aharoni 440fd82f3b Clarify the text of visualeditor-dialog-media-position-checkbox
Change "Wrap content with this item" to
"Wrap text around this item".

The content is usually text, so using "text" should be
clearer and easier.

And saying "wrap content with this item" may be understood
as if the text is wrapped inside the content, which
is not the case.

Change-Id: I6b9e8767d38eb39ae4d671f452660db6b89fe3d9
2014-04-19 11:57:36 +03:00
jenkins-bot a24cffed00 Merge "Set context title when rendering edit notices and checkboxes" 2014-04-19 03:48:53 +00:00
Roan Kattouw ddb8d826e3 Set context title when rendering edit notices and checkboxes
Bug: 59608
Bug: 63600
Change-Id: Ia2fdb3b3d383415feaf122d235d0c9a9e0ba0900
2014-04-19 03:09:28 +01:00
jenkins-bot b657f37795 Merge "Use Parsoid API for action=parsefragment" 2014-04-19 00:13:43 +00:00
jenkins-bot f28f5e3996 Merge "Create requestParsoid method for all requests to Parsoid API" 2014-04-19 00:01:18 +00:00
James D. Forrester 6e02932c3a [Browser tests] Updated list of production wikis to check
Now with no wikis deliberately skipped – all passing:

Newly-working wikis:

* bpy.wikipedia.org
* cv.wikipedia.org
* mzn.wikipedia.org
* new.wikipedia.org

Previously-working wikis that weren't added here yet:

* bat-smg.wikipedia.org
* be-x-old.wikipedia.org
* cbk-zam.wikipedia.org
* fiu-vro.wikipedia.org
* map-bms.wikipedia.org
* my.wikipedia.org
* nds-nl.wikipedia.org
* roa-rup.wikipedia.org
* roa-tara.wikipedia.org
* zh-classical.wikipedia.org
* zh-min-nan.wikipedia.org
* zh-yue.wikipedia.org

Newly-added wikis that weren't added here yet:
* meta.wikimedia.org
* incubator.wikimedia.org
* fr.wiktionary.org
* sv.wiktionary.org
* fr.wikibooks.org
* fr.wikiversity.org
* fr.wikinews.org

The file has been sorted into the same order as visualeditor.dblist for
the convenience of future changes – broadly:

* Test and meta wikis (inc. MediaWiki.org and Wikimedia Incubator)
* Wikipedias
* Wiktionaries
* Wikiquotes (none done yet)
* Wikibooks
* Wikisource (none done yet)
* Commons (not done yet)
* Wikispecies (not done yet)
* Wikiversities
* Wikinewses
* Wikimanaias (none done yet)
* Wikivoyages (none done yet)
* Wikidata (not done yet)
* Wikimedia (chapter wikis)
* Private wikis (not tested here)

Bug: 60842
Change-Id: I2678a3c716487bfd8dadff68d003d0039d730f36
2014-04-18 21:56:58 +00:00
jenkins-bot fd0b1d34b9 Merge "Use new OOUI pending feature rather than loading bar thing on save dialog" 2014-04-18 21:20:51 +00:00
Amir E. Aharoni e21b4db424 Add GENDER to visualeditor-dialog-transclusion-no-template-description
Change-Id: I0ba67a8a705cd652a75bbf72892056813705e7d6
2014-04-19 00:04:39 +03:00
Krenair b6f1793bf8 Use new OOUI pending feature rather than loading bar thing on save dialog
See I5c45cc6 for the oojs-ui change and I2fa71a1d for a similar commit

Change-Id: I77e3274a196bc13ae19a9520197f4a8b624fd528
2014-04-18 21:57:14 +01:00
Roan Kattouw 654d641c5f Update VE core submodule to master (33ca43b)
Reorganize stylesheets in VE-MW to match JS directory structures,
and update VisualEditor.php for similar reorganization in VE core.

New changes:
c6ed962 Reorganize stylesheets

Change-Id: I4f1070643744fb2ee6726cb03e012e31a9a05c64
2014-04-18 13:28:31 -07:00
Ed Sanders 509b3db9ba Use Parsoid API for action=parsefragment
Bug: 48524
Change-Id: I8a61d2fab87d2a2e88ec2f3bbdef9ede1c7ad773
2014-04-18 13:19:54 -07:00
Ed Sanders 46988b2bd4 Create requestParsoid method for all requests to Parsoid API
Merges logic for GET & POST requests.

Change-Id: I17578177a6fc28b32f7d41c7ca6e6cf4ccaab9d9
2014-04-18 13:17:02 -07:00
Roan Kattouw fb523fb066 Update VE core submodule to master (a2ddd0c)
New changes:
aede196 Clear inspector fragment from teardown(), not close()
db3de1f Localisation updates from https://translatewiki.net.
3c97e56 Tests for ce.Surface#getNearestCorrectOffset
e1d9ab2 Localisation updates from https://translatewiki.net.
a2ddd0c Update OOjs UI to v0.1.0-pre (989950a4db)

Change-Id: Id0f163d56dd0a0f6dd27a3ec2a102b0a43b27319
2014-04-18 13:14:18 -07:00
jenkins-bot f002889376 Merge "Make transclusion dialog "pending" while loading" 2014-04-18 20:12:05 +00:00
Translation updater bot 1099f1117f Localisation updates from https://translatewiki.net.
Change-Id: Icf474ecf74335c6448f099df8176b67757593233
2014-04-18 19:37:56 +00:00
jenkins-bot 987b10da94 Merge "Check useeditwarning preference before showing warning when browsing away from editor" 2014-04-18 19:24:23 +00:00