Commit graph

7793 commits

Author SHA1 Message Date
James D. Forrester df768be558 Run node-svgo to crush all SVGs whilst retaining readibility
svgo --pretty \
     --disable=removeXMLProcInst \
     --disable=cleanupIDs \
     --disable=collapseGroups \
     -f …

Change-Id: I45757c9667e4a7413bcef7b23808f20a60e592ca
2014-07-01 16:58:05 -07:00
Roan Kattouw da5eacbe2e Split mwtransclusion and mwreference into core and non-core modules
Mobile doesn't want the tool+dialog functionality for those yet,
so move them to a separate module and only load the bare bones
for mobile. We did the same with mwimage/mwimage.core.

Change-Id: I9185ce62f458b3de08cbd28f2a41370d2301de9d
2014-07-01 16:50:57 -07:00
Roan Kattouw 3b694967c8 Update VE core submodule to master (9ed40c3)
New changes:
0fc6027 Hide context tools when the model they match isn't "inspectable"
9ed40c3 Reenable mobile context and style it properly

Change-Id: Ifab2e6b937aedaae13fc883063eff36a99c56883
2014-07-01 14:55:02 -07:00
jenkins-bot 01348dc05f Merge "Update displaytitle on save (try #3)" 2014-07-01 21:18:54 +00:00
jenkins-bot 28fc207aeb Merge "Get rid of ve.init.mw.ViewPageTarget-vector-hd.css and use a media query instead" 2014-07-01 21:13:49 +00:00
Roan Kattouw 84b63310f4 Update VE core submodule to master (125632e)
New changes:
579a214 Re-label "Clear formatting" to "Clear styling"
494c1cb Prevent iOS Safari from following links
8ba3771 Never embed the context when an inspector is present
5553f56 Localisation updates from https://translatewiki.net.

Change-Id: I748336dc90285c376a8b8ad1ee6c48c94c4cb128
2014-07-01 14:06:23 -07:00
Translation updater bot 10282eb471 Localisation updates from https://translatewiki.net.
Change-Id: I31cd06fabe7e4484f097a181dca3e185e4433a57
2014-07-01 20:43:01 +00:00
Ed Sanders b197d0127b Fix jQuery selector to find ul.gallery in root
Now that we don't wrap generated content nodes
UL.gallery is likely to be the root, so use an
appropriate jQuery selector.

Change-Id: Ic9d9f4c0fc12daae6cf8252e4d6562366b3d2df2
2014-07-01 20:35:47 +01:00
jenkins-bot 5ed0dae7a9 Merge "After showing missing edit summary error, mark the dialog as not pending anymore" 2014-07-01 16:28:58 +00:00
jenkins-bot c1b7da7533 Merge "Move reference tool into Cite menu, and language into styling" 2014-07-01 16:17:39 +00:00
Alex Monk 84270db5e6 After showing missing edit summary error, mark the dialog as not pending anymore
Reenables edit, etc.

Bug: 67345
Change-Id: Ic7029209b2ed84a61e2312067c513a9b4a0e2877
2014-07-01 15:53:53 +01:00
James D. Forrester f9e74d3c62 Move reference tool into Cite menu, and language into styling
This puts reference insertion and editing tools into the same menu (yay) and
applying-annotations-to-text tools into the same menu, too.

As part of this, I'm re-labelling the generic reference tool to "Basic" (now
that it has some context for users).

Change-Id: I8b8196d3c2e40237d61c8491ab30e737b82597d6
2014-06-30 19:24:15 -07:00
Alex Monk 3dd1a99660 Don't offer to retain changes when switching to wikitext editor by tab if no changes have been made
Bug: 57462
Change-Id: Ifa978447a5b6215ebdafdfd4fa8056a1ee11aea5
2014-07-01 01:01:39 +00:00
jenkins-bot caa2298198 Merge "Compress HTML data with deflate before POSTing" 2014-06-30 23:43:16 +00:00
jenkins-bot 68b4cb395d Merge "Update VE core submodule to master (dc01df0)" 2014-06-30 23:42:34 +00:00
jenkins-bot 87663c99e0 Merge "Offer to retain changes when switching to the wikitext editor" 2014-06-30 23:40:30 +00:00
Ed Sanders 41672be584 Update VE core submodule to master (dc01df0)
New changes:
d02cf3d Fix simulation of .prepend() in ve.ce.BranchNode#onSplice
c19fa38 [BREAKING CHANGE] Remove generated content node wrappers

Local changes to remove classes attached to GC nodes

Change-Id: Ide82c96db4803ef59d398788b46fa5d7fb9a2476
2014-06-30 16:34:56 -07:00
Translation updater bot f53e077ca2 Localisation updates from https://translatewiki.net.
Change-Id: I7db3b268f360f2ac8480c1b3d43392f72bbc02b0
2014-06-30 20:39:34 +00:00
jenkins-bot 84650bf774 Merge "Handle transcluding templates outside of the template namespace properly" 2014-06-30 19:39:06 +00:00
James D. Forrester ceb8834ffc Update VE core submodule to master (480b813)
New changes:
8a64317 Set XML encoding to utf-8 in SVGs
6bdacc7 Select highlights on touchend event
19409c6 Localisation updates from https://translatewiki.net.
2dca505 Split out ve.{dm,ce}.TextStyleAnnotation into parts, add other annotations

Change-Id: I42f82440919973dd040e3cb18ae0acba7d4a0c8d
2014-06-30 12:15:52 -07:00
jenkins-bot aca685760a Merge "Update VE core submodule to master (7a128e5)" 2014-06-30 18:31:54 +00:00
Ed Sanders f81c4a6f8c Update VE core submodule to master (7a128e5)
Fix failing test in handleDelete. New functionality
moves cursor to content offset.

New changes:
fb595ea Also annotate metadata in TransactionProcessor
028e442 maintenance: Simpler OOjs UI pullthrough-script
fdd5e17 Follow-up I81663929: Use grunt git-build to ensure we get the hash
58db9a8 Update OOjs UI to v0.1.0-pre (a63f03882e)
c790488 Use more standard format for displaying keyboard shortcuts
c15a6f1 Add a ve direction class to all surfaces
5c3a914 Remove old ce-surface classes
2f565b6 Fix up selection after deletion if at non-content offset
7b39328 Correct various things in rangy-position to make it work in IE

Change-Id: Ia46f4c7ded52911574b6c1104682335aaaac08d5
2014-06-30 11:21:20 -07:00
jenkins-bot f5c71b4be6 Merge "Set tabindex for template dialog info/remove buttons on parent <div> rather than <a>" 2014-06-30 18:18:06 +00:00
Translation updater bot dc39090c64 Localisation updates from https://translatewiki.net.
Change-Id: I7d460baec3c9bd803e55a01fcd782c995d64afa4
2014-06-29 18:46:48 +00:00
jenkins-bot 4292428021 Merge "Fix colour of new cite icons" 2014-06-28 23:54:55 +00:00
jenkins-bot 3b8f8507f8 Merge "Set XML encoding to utf-8 in SVGs" 2014-06-28 23:53:59 +00:00
Ed Sanders f534ff6c08 Fix colour of new cite icons
Icons were set to 100% #575757 instead of 75% black.

Also tidy up XML, removing unused transparent shapes and
labelling used ones.

Change-Id: I74b775cbf02686e78004a7e254c1f23b10ae62ed
2014-06-29 00:49:09 +01:00
Ed Sanders 68ffa1a3bf Set XML encoding to utf-8 in SVGs
Change-Id: I77cb0b8ac10dccfbf7ea5db1ef4e9fd7516eea9e
2014-06-29 00:40:57 +01:00
jenkins-bot 17077adc44 Merge "Fix alignment of indicators in CategoryItemWidgets" 2014-06-28 22:38:53 +00:00
jenkins-bot cd1f05e59d Merge "Remove isMobileDevice property" 2014-06-28 22:21:48 +00:00
James D. Forrester e1b9f9c745 Get rid of ve.init.mw.ViewPageTarget-vector-hd.css and use a media query instead
This will mean it will be more obvious if making a change to the SD or HD version
that an equivalent adjustment may be needed.

Change-Id: I6129220839ef55017fe69d723524ecdf6cf0234f
2014-06-28 15:03:59 -07:00
Ed Sanders 4c8da39618 Remove isMobileDevice property
1. It's a bad check, it tells you if the device supports mobile
events, not if it's mobile (e.g. a touch screen laptop has such events)
2. It's no longer used

Change-Id: Ic46bc5b8fdc33b7c2b2bd67e75d65a5e564dbeca
2014-06-28 22:56:24 +01:00
jenkins-bot ca280efac6 Merge "Synchronise wgExtensionCredits with AUTHORS.txt, sort alphabetically" 2014-06-28 21:35:58 +00:00
Roan Kattouw 8b4ffb7a36 Fix alignment of indicators in CategoryItemWidgets
I don't know why they were top: 0.125em; before, but they were
too far down. Changing this to top: 0; fixes this.

Change-Id: I29645de31f9146e9687f556ec012cd65b517f991
2014-06-28 21:34:39 +00:00
James D. Forrester c4e4ab7861 Synchronise wgExtensionCredits with AUTHORS.txt, sort alphabetically
Added:
* Alex Monk,
* James Forrester, and
* Moriel Schottlender.

Removed:
* Brion Vibber,
* Gabriel Wicke,
* Neil Kandalgaonkar, and
* Subramanya Sastry.

The removed individuals work was mostly on Parsoid and other code now hosted
in other more appropriate repositories.

Change-Id: Icc843634f89491b00c203996bda6f6d02aefc52d
2014-06-28 11:37:59 -07:00
Alex Monk a103f4078d Handle transcluding templates outside of the template namespace properly
Stop prefixing all requested titles with 'Template:', and don't try to use
colon prefixes when transcluding except when deliberately transcluding from the
main namespace.
(A title prefixed with a colon on MediaWiki is used to create a link to
something that would normally be included as a File/Category)

Bug: 52609
Change-Id: Ia67f9054a56e71153339f961bbbcadb565115748
2014-06-28 18:07:45 +00:00
Ed Sanders 79a34aa844 Fix document margin trick for vector-sd
Existing styles were based on 1.5em padding which is
only true in vector-hd. vector-sd uses 1em.

Change-Id: I2d73aa55a01f4524ba1d9352b1882632e92ebaa3
2014-06-28 17:47:46 +01:00
Alex Monk 237d68f6db Offer to retain changes when switching to the wikitext editor
Bug: 57462
Change-Id: I4e57f9dff4479531e7c715966bdad2cabb97ca8c
2014-06-27 22:31:07 +01:00
James D. Forrester 4be59a00c1 Update VE core submodule to master (a014302)
New changes:
5f2dd5c Update OOjs to v1.0.10
49fae55 Always refocus the paste target when a node is selected

Change-Id: I7647ee189ce5df1e748f660bb2f43c160d7729f9
2014-06-27 14:28:44 -07:00
Alex Monk e3e116f0ae Set tabindex for template dialog info/remove buttons on parent <div> rather than <a>
Makes Firefox happy. Not sure why.

Bug: 66824
Change-Id: I6cf69c7ea36dc7870af59e7edc2f137143ba7ad5
2014-06-27 21:48:59 +01:00
Translation updater bot cc0bf26284 Localisation updates from https://translatewiki.net.
Change-Id: I899a9c41c94324ddff4ccf752dc5a8ff82a82ac7
2014-06-27 20:26:02 +00:00
James D. Forrester a70a4828c5 Update VE core submodule to master (aaa8547)
New changes:
04d9484 Update OOjs UI to v0.1.0-pre (9aad824bd6)
981d86f Correctly update full size in MediaSizeWidget
e935a9f Demo page styling
e7b0557 FocusableNode: Use getClientRects()[0] instead of getBoundingClientRect()
7e7d5c1 Only allow slugs where paragraphs are allowed
8653a84 Localisation updates from https://translatewiki.net.
aaa8547 Update OOjs UI to v0.1.0-pre (b9d403a678)

Change-Id: Iaff1cda5605a397b78590c4f9b66d1e4d4d2d564
2014-06-26 18:30:08 -07:00
jenkins-bot b7375cfdaa Merge "Don't remove 'extension' from template names" 2014-06-26 23:47:04 +00:00
jenkins-bot f3989cdc24 Merge "Unimplement wgSVGMaxSize" 2014-06-26 22:37:01 +00:00
Moriel Schottlender 01596205fb Unimplement wgSVGMaxSize
Because it doesn't work in MW.

Bug: 66865
Change-Id: Idad2352bee32cbf10c80a757c59e518abaa342de
2014-06-26 19:56:03 +00:00
Alex Monk 1dd64f80b6 Don't remove 'extension' from template names
Use getMainText instead of getNameText in a couple of places

Bug: 66939
Change-Id: Ie81ab98465909b65787ddf589353aaad6fb47dc2
2014-06-26 20:37:06 +01:00
Translation updater bot 47ebf562a4 Localisation updates from https://translatewiki.net.
Change-Id: Ie777b4c0c01d50121e548976ffada5f181a9e829
2014-06-26 19:35:08 +00:00
jenkins-bot aff4ed195e Merge "build: Implement "git-status" task and run it in CI environment" 2014-06-26 18:18:05 +00:00
Timo Tijhof 19afd65a08 build: Update jscs and use new "wikimedia" preset
Our coding style has been upstreamed and first released
in node-jscs v1.5.0 (grunt-jscs-checker v0.6.0).

Change-Id: Ifc0cfc7177946b9d11407f60e38b0177883724c5
2014-06-26 17:00:15 +00:00
jenkins-bot 67512b90cd Merge "[BrowserTest] Language Screenshot (browser test and their screenshots) for Headings and Formatting" 2014-06-26 14:06:50 +00:00