Ed Sanders
f4240f13f9
Use 'super' to call parent methods
...
Change-Id: Iba051a1e84b2ea805d0b3795933587c735ec0d88
2016-11-02 12:43:14 +00:00
Translation updater bot
d548b8fbda
Localisation updates from https://translatewiki.net .
...
Change-Id: Ib7eaa8d5219c9b498e6dd27e626d89508a495d6a
2016-10-20 23:45:45 +02:00
Translation updater bot
14ba2c05e2
Localisation updates from https://translatewiki.net .
...
Change-Id: Iafcd62f1cdd89c754274fa0f63f6c4e165f146c2
2016-10-19 23:23:52 +02:00
Translation updater bot
3ac0219e4d
Localisation updates from https://translatewiki.net .
...
Change-Id: Ic21b0e2c92a7fe54f9ef4eab93d1d092abdbff6d
2016-10-18 22:33:11 +02:00
Translation updater bot
dda2f7b145
Localisation updates from https://translatewiki.net .
...
Change-Id: I001657856abb9638b55f5848a11bf3df357a6d69
2016-10-16 22:39:20 +02:00
Translation updater bot
8cb1144177
Localisation updates from https://translatewiki.net .
...
Change-Id: Ifd1091cff7f4a6ad9bae32314536e21a009bdbc2
2016-10-15 22:58:41 +02:00
Translation updater bot
ced303370e
Localisation updates from https://translatewiki.net .
...
Change-Id: I7e246f5a17f71a1d054db9c91bf5e67b5e740f57
2016-10-10 22:25:51 +02:00
Translation updater bot
dbc98ab1f1
Localisation updates from https://translatewiki.net .
...
Change-Id: I1ef8d968104aaf3e6b70cd4698b60e4ff2cfcba1
2016-10-02 10:35:47 +02:00
Translation updater bot
c11d591f5d
Localisation updates from https://translatewiki.net .
...
Change-Id: I74cb5f446d8e164215912cef092e02f221b2e130
2016-09-27 22:34:49 +02:00
Translation updater bot
31d7324c5b
Localisation updates from https://translatewiki.net .
...
Change-Id: Ib5a1c4df6c5b509fbf06b8f26807fcc70820742c
2016-09-24 22:39:23 +02:00
Translation updater bot
593497b54c
Localisation updates from https://translatewiki.net .
...
Change-Id: Ie630ebc299812057c2ed160fc60e590fc71ed253
2016-09-23 22:32:05 +02:00
Translation updater bot
f16390b461
Localisation updates from https://translatewiki.net .
...
Change-Id: I22969a9d0d2d55efd72729f53458978390b06814
2016-09-13 22:48:20 +02:00
Translation updater bot
77a231d093
Localisation updates from https://translatewiki.net .
...
Change-Id: I0fe83045bce551e49deaf964b29c7db395734a08
2016-09-07 22:40:48 +02:00
Translation updater bot
60f15932b5
Localisation updates from https://translatewiki.net .
...
Change-Id: I01ffe8703feab6bd62b9a6df173865633cd8de5c
2016-09-01 23:22:55 +02:00
Translation updater bot
d7e953f33d
Localisation updates from https://translatewiki.net .
...
Change-Id: I530ca1d7d622d629c5f077a76f82600a0d97a7c4
2016-08-27 23:22:42 +02:00
Ed Sanders
fc4788d51b
Move originalDomElements to IV store and use new hash
...
Depends-On: I8a71c1a40ec35108d0a9a388da6f75632f8dc53c
Depends-On: I0fbb6324eede94558426178cbdad6b5daf0f8318
Change-Id: I32c9b5f984fcf96e3354841ecfcd444149e8f159
2016-08-24 18:14:47 +00:00
Translation updater bot
8944130bbe
Localisation updates from https://translatewiki.net .
...
Change-Id: I8435a8ab48459e22a649a12a266d2d4ba5f9b419
2016-08-16 22:40:38 +02:00
Translation updater bot
eadf04da50
Localisation updates from https://translatewiki.net .
...
Change-Id: Id79b07ebc475ee873f631adbb8c2f2f5ce8a9c68
2016-08-12 23:09:32 +02:00
Translation updater bot
e7c423750f
Localisation updates from https://translatewiki.net .
...
Change-Id: I11edddc5dd5a435a4507145cf4d2343175e51d7a
2016-08-11 23:51:17 +02:00
Translation updater bot
1e2ccae422
Localisation updates from https://translatewiki.net .
...
Change-Id: I1be4555f5b36aad1d22571be7004a71c7b158f95
2016-08-09 22:28:56 +02:00
David Chan
fc70622405
Hide text without confusing Chromium's cursoring
...
Bug: T123608
Change-Id: I8c16277d877111180fd0f1cd39175fc85e3e0579
2016-08-04 15:47:48 -07:00
Translation updater bot
bc80e8cd1a
Localisation updates from https://translatewiki.net .
...
Change-Id: I31fb70c0b978b29f345cdf8e1394ba8e6212c1e1
2016-07-31 22:21:42 +02:00
Translation updater bot
d7fac2c8fc
Localisation updates from https://translatewiki.net .
...
Change-Id: I4916181c910ed9ee444f496888c6be7e574d5b09
2016-07-30 22:23:16 +02:00
Translation updater bot
247f1c8aed
Localisation updates from https://translatewiki.net .
...
Change-Id: I37a084270866c9fb7297cb4d581026178cb785df
2016-07-21 22:53:45 +02:00
Translation updater bot
6ea51d1f5d
Localisation updates from https://translatewiki.net .
...
Change-Id: I679ed6b69045f7bf0b6893208e80c99f3b93d46b
2016-07-17 22:27:19 +02:00
Translation updater bot
568beaf64b
Localisation updates from https://translatewiki.net .
...
Change-Id: I06b574c44e60050b68f797e1984b1b489f7e02b5
2016-07-16 22:55:17 +02:00
Translation updater bot
1c48e08746
Merge "Localisation updates from https://translatewiki.net ."
2016-07-12 20:54:14 +00:00
jenkins-bot
11295fe6a9
Merge "Use 'demote' only to move cite tools to insert group"
2016-07-12 20:51:59 +00:00
Translation updater bot
aa42845677
Localisation updates from https://translatewiki.net .
...
Change-Id: I314f5a1bd95c1468215b1d399459d91494b21509
2016-07-12 22:47:00 +02:00
Ed Sanders
5f4b86a9be
Use 'demote' only to move cite tools to insert group
...
Leave include as '*' as changing it to an array currently breaks
the wildcard functionality.
Also rewrite the hack slightly so it only modifies the list,
rather than overwriting it.
Bug: T139727
Change-Id: I041bad6346a4f39e967dca8cc610100463be0ded
2016-07-11 18:32:00 +00:00
Translation updater bot
7b4527e697
Localisation updates from https://translatewiki.net .
...
Change-Id: I085f44f19e2ad96cc747ba07dd471f91088d5185
2016-07-10 22:18:39 +02:00
Translation updater bot
81e2b44237
Localisation updates from https://translatewiki.net .
...
Change-Id: Ia776dda01b67496ef1ef31c63e3574bea7776f30
2016-07-09 22:52:23 +02:00
Translation updater bot
85b34579cf
Localisation updates from https://translatewiki.net .
...
Change-Id: I2720f561d8fa97100a11f7d07ea820bf8d66c3e5
2016-07-08 23:07:34 +02:00
Translation updater bot
aff280552e
Localisation updates from https://translatewiki.net .
...
Change-Id: I032c82f5bb9468d9cfd07074a1f2bd121feeb3a1
2016-07-04 22:29:41 +02:00
Translation updater bot
9a4909b8ea
Localisation updates from https://translatewiki.net .
...
Change-Id: I112e2138ed46f5aa40e7ba353d5ff6f981634a02
2016-07-03 22:37:46 +02:00
Translation updater bot
70fbdb91b7
Localisation updates from https://translatewiki.net .
...
Change-Id: I44ae01373c956ef091d21ea85b4b2fb0381e5229
2016-07-02 22:50:32 +02:00
Translation updater bot
72f10b4149
Localisation updates from https://translatewiki.net .
...
Change-Id: I29befc53eb910fd306d93806f80f88e84260d0f2
2016-07-01 23:17:54 +02:00
Ed Sanders
1505000fe5
Use target widget factory method
...
Change-Id: I107afbb4f7e8ae97bdb27f3b5f7acd357dada414
2016-06-29 17:14:43 +01:00
Alex Monk
724d890541
Make it possible to send VE cite toolbar items to the 'insert' (other) group
...
To be merged with Ifd688ae6
Bug: T133727
Change-Id: Ic87f996f2a95ffe89999384c48f11745f251db0e
2016-06-29 13:36:14 +01:00
Alex Monk
e284811889
Follow-up I454380c3: Update/fix some things I missed
...
Per Krinkle's comment
Change-Id: I527a694116939d0303a06556eb479201852e227d
2016-06-28 23:01:20 +01:00
Translation updater bot
804899c53c
Localisation updates from https://translatewiki.net .
...
Change-Id: I32760ce0bf6a2b766baccf92d6612f219dc2361d
2016-06-27 23:02:27 +02:00
Translation updater bot
78afade8ec
Localisation updates from https://translatewiki.net .
...
Change-Id: I69e2265e4fdfd1a611ec8039cdaa79b5c5620984
2016-06-26 14:13:42 +02:00
Translation updater bot
81210678cf
Localisation updates from https://translatewiki.net .
...
Change-Id: I764d701484ce8202e1bead2a739e203f0a34e06e
2016-06-25 14:50:15 +02:00
Alex Monk
24f2d64edd
Make visualeditor-cite-tool-definition.json always exist, rename to cite-tool-definition.json
...
Bug: T138573
Change-Id: I454380c392feea55483d00d4b7eec45bce04ff53
2016-06-25 00:37:20 +01:00
Ed Sanders
58ecfc64b1
Trim search queries in VE's reference search widget
...
Bug: T138278
Change-Id: I044fa6b8b5049e5520f0e1b4993eebab8498bd55
2016-06-21 13:17:53 +01:00
Translation updater bot
6c0d29d928
Localisation updates from https://translatewiki.net .
...
Change-Id: I5fa8c2d223fb7f9b7bfa68ec1074848ba30dac45
2016-06-19 22:41:47 +02:00
Translation updater bot
2b6c4343d8
Localisation updates from https://translatewiki.net .
...
Change-Id: I655437410b4148a4d6e73813b2702bc3da12bbc8
2016-06-10 22:13:47 +02:00
Translation updater bot
e58e6a5b6c
Localisation updates from https://translatewiki.net .
...
Change-Id: I54d0f2137406c0d5fc40b5f1f3ae1fb7b4606e72
2016-05-31 22:41:08 +02:00
jenkins-bot
12854f5625
Merge "Use commandRegistry from current surface, not target"
2016-05-30 21:57:52 +00:00
Ed Sanders
96922a2aa0
Use commandRegistry from current surface, not target
...
This shouldn't make a difference for any current implementations
but in the future different surfaces my have different commands.
Change-Id: I383a4a76cda142107da2f8aa1c6a90c4307e3b97
2016-05-30 22:36:45 +01:00
Ed Sanders
7d9693d090
Use cloneWithData
...
Change-Id: Ibab88f333cd39aabc73a579e1b05fc9b830b6d86
2016-05-30 22:34:15 +01:00
Translation updater bot
bce71fd9ee
Localisation updates from https://translatewiki.net .
...
Change-Id: I90c5b178ed61e3974f4b8cc7af30044a6e298675
2016-05-29 22:26:26 +02:00
Translation updater bot
caa6e2ea3e
Localisation updates from https://translatewiki.net .
...
Change-Id: I075bc3bf362521439a7aa30121731d803f4544dd
2016-05-24 23:05:05 +02:00
jenkins-bot
c9a0e1a9fe
Merge "Fix documentation"
2016-05-24 14:38:45 +00:00
jenkins-bot
8a0eeef6c2
Merge "Update stylelint config version and make a pass"
2016-05-24 14:38:42 +00:00
Ed Sanders
1ceef164c5
Fix documentation
...
Change-Id: I56bb846bd91a0d39b21a9783df99b5f72c5e65f7
2016-05-24 13:49:22 +01:00
Ed Sanders
50b57f017a
Update stylelint config version and make a pass
...
Change-Id: Ice5bcec27ae98dcbcb246ae166ed8f04e07dc099
2016-05-24 13:48:46 +01:00
Translation updater bot
bb9b537f5d
Localisation updates from https://translatewiki.net .
...
Change-Id: I0482aa24aac0edfddf1f423b550889abb521417e
2016-05-23 22:22:48 +02:00
Translation updater bot
d2064977cc
Localisation updates from https://translatewiki.net .
...
Change-Id: I3e8a3573993a72d562cfd1d29dee4cabb754d4a2
2016-05-22 22:22:33 +02:00
Ed Sanders
bac8dd6be7
Add stylelint and make required style fixes
...
Change-Id: I8a9def8056a72c3da0c066413e94311a1d839f5b
2016-05-17 18:21:30 +01:00
jenkins-bot
a8465a7973
Merge "Explicitly insert transclusion as inline"
2016-05-16 08:19:19 +00:00
Ed Sanders
24939dd424
Explicitly insert transclusion as inline
...
This keeps the insertTransclusionNode method in synchronous mode.
Logically depends on Ibc2fc66e68 but should be merged before it.
Change-Id: Iec17ea65d38fec7ca7ffcf81032c7346635218d9
2016-05-15 12:16:51 +01:00
Translation updater bot
59b452e147
Localisation updates from https://translatewiki.net .
...
Change-Id: Id9d053df8ef9ba67b05afe4ee4e6f594e373edca
2016-05-10 22:26:10 +02:00
Translation updater bot
5003d3cac5
Localisation updates from https://translatewiki.net .
...
Change-Id: I853ca7c0217bda664e98861ade3e9850ae9605db
2016-05-08 22:41:47 +02:00
Ed Sanders
06376669d9
ve.dm.MWReferenceNode: Override static cloneElement instead of getter
...
The getter isn't always used, but the static method is.
Change-Id: I9b3df7f4e8056cdb554c3ed9a27c39148b2b3237
2016-05-04 13:39:38 +00:00
Translation updater bot
3d86dbeed3
Localisation updates from https://translatewiki.net .
...
Change-Id: I003e6f2afdc6cadb0aed5a668e99d74e4e3e767e
2016-05-03 22:23:53 +02:00
Amir E. Aharoni
52293b1749
Add lang and dir attributes to cite errors
...
This is needed when the error appears in an element with
a direction that is different from the UI language.
Change-Id: I583c9cc30f5bec24ab92e97ab938463ea0e45c15
2016-04-30 16:16:58 +03:00
David Lynch
b92a32e08c
Dialog: When reusing a reference, avoid popping up the group menu
...
The group picker menu will open momentarily when the input is changed, unless
it's disabled when the change happens. This was mostly visible when selecting
a reference from the "use an existing reference dialog", as a flash of the
menu in the top-left of the screen.
Bug: T125862
Change-Id: Ib6d3715f7d123545ba688bfbe850fe3c26ccb6e1
2016-04-26 11:08:14 -05:00
Translation updater bot
d97135f8a8
Localisation updates from https://translatewiki.net .
...
Change-Id: I9c17a5b1519401999e0398b442af2f0dddefdd42
2016-04-13 22:17:44 +02:00
Ed Sanders
14d8e12188
Fix wikitext conversion of pasted '<ref>'s
...
Regex error meant only ref tags with attributes were detected.
Bug: T128805
Change-Id: Ide1153f5f5cc3fe8b0a25309d5e2ddabd796cbe6
2016-04-12 12:16:21 +01:00
Translation updater bot
633ff0140b
Localisation updates from https://translatewiki.net .
...
Change-Id: I316d59b091b0c1758d8d86d6c7a8655ce5d2ac37
2016-04-07 22:59:04 +02:00
Ed Sanders
8a278dbb82
Remove icon properties from windows
...
Windows stopped supporting icons a while ago.
Change-Id: I2651a8e1e6b22515701d35a4684d1ed7bd858658
2016-03-29 12:33:13 +01:00
Translation updater bot
d4b435a27c
Localisation updates from https://translatewiki.net .
...
Change-Id: Ibdc895e80c8b3e10d14475fb38d3092958aefc84
2016-03-27 21:09:45 +02:00
jenkins-bot
86a9e634f2
Merge "Don't allow a reference that includes a group name to break in the end of the line"
2016-03-22 18:50:01 +00:00
Translation updater bot
f650afdda7
Localisation updates from https://translatewiki.net .
...
Change-Id: I9b24cc13259899c82a94b236f5f5d658bbccb891
2016-03-21 23:29:50 +01:00
Amire80
1b1350491f
Don't allow a reference that includes a group name to break in the end of the line
...
A reference that has a group name appears as "[group 1]".
Because of the added space in the middle, this can break in the end
of a line. white-space: nowrap prevents it.
Change-Id: Icfbc8b7e37b77b93b621e424d1f4e1759ac644cd
2016-03-19 13:55:04 +02:00
Translation updater bot
8115f4c885
Localisation updates from https://translatewiki.net .
...
Change-Id: I8fe2c9cc9c8a22d4e32a894ce0ba251e001d785f
2016-03-13 22:51:09 +01:00
Translation updater bot
b6c6da787a
Localisation updates from https://translatewiki.net .
...
Change-Id: I7c0b6b68ff695a2a1a37eaca4ae3505ac3d46927
2016-03-12 21:09:12 +01:00
jenkins-bot
04cc521550
Merge "Auto-convert pasted ref tags"
2016-03-07 16:32:16 +00:00
Translation updater bot
89801aa60a
Localisation updates from https://translatewiki.net .
...
Change-Id: Ie6a31f48a3fd25c472526d78e954293ffc5e077f
2016-03-06 22:12:00 +01:00
Ed Sanders
5d92de7b7a
Auto-convert pasted ref tags
...
Bug: T128805
Depends-On: I7a38db45d25e86ff3f3f6199aa04425ec98f7cc4
Change-Id: I44fb2b8913fb9bef7d984f86b3579e82b29d0cf0
2016-03-05 16:57:10 +00:00
jenkins-bot
8552cf24d2
Merge "VE: Lookup the correct command for the node"
2016-03-02 23:44:58 +00:00
Ed Sanders
666beded00
VE: Lookup the correct command for the node
...
Bug: T128198
Change-Id: I564b0b3e8cf6906d108ee876cff03196065bd164
2016-03-02 18:23:11 +00:00
Translation updater bot
88f4cdfbd6
Localisation updates from https://translatewiki.net .
...
Change-Id: I81e913c86af124c474041a43389195509d1949c3
2016-02-28 21:56:01 +01:00
Translation updater bot
19074bcf0d
Localisation updates from https://translatewiki.net .
...
Change-Id: I9e873009b41afaeddba937c3b739a465fc8da2c2
2016-02-27 21:54:29 +01:00
cenarium
469217073a
Use span with css instead of strong for cite errors
...
Change-Id: I9b8954b56646ca9c4632788824346e6116de3146
2016-02-24 18:57:37 +00:00
Translation updater bot
c3c10ab9c9
Localisation updates from https://translatewiki.net .
...
Change-Id: I05ceb4aa6217f3f9345b69eb4daa1ce14d6f7053
2016-02-22 21:38:12 +01:00
Translation updater bot
a729388d98
Localisation updates from https://translatewiki.net .
...
Change-Id: If038f276f7246339b4e85c108e677d74aac8f73b
2016-02-19 22:06:01 +01:00
Translation updater bot
e8775d456b
Localisation updates from https://translatewiki.net .
...
Change-Id: I276aa229677a7a11f87887005999696816b1bc17
2016-02-13 23:00:01 +01:00
Translation updater bot
3002dc168b
Localisation updates from https://translatewiki.net .
...
Change-Id: Ib1479d7480034b40f87bbf617effda82d01f2b5d
2016-02-12 22:07:27 +01:00
Translation updater bot
2832914298
Localisation updates from https://translatewiki.net .
...
Change-Id: I81d3303bc6edafa83d2f7f57058c3f93a3788be2
2016-02-10 21:08:46 +01:00
Ed Sanders
eb58f79f8d
VE: Fix i18n names broken during migration
...
Bug: T126373
Change-Id: I682bdaa71bc9a8675c79bae0b2f54955de207945
2016-02-10 00:44:54 +00:00
Translation updater bot
c859818a70
Localisation updates from https://translatewiki.net .
...
Change-Id: I73ebc11c27e1383d26cfa639c0af4a3b5ea78f3e
2016-02-08 22:11:25 +01:00
Translation updater bot
150f87b498
Localisation updates from https://translatewiki.net .
...
Change-Id: If0384d482faa450737c68bb7b368b36327703542
2016-02-07 22:14:02 +01:00
James D. Forrester
f7d5029426
i18n: Grab last few i18n updates from VE after the move
...
Change-Id: Ib71727e9c93b426dca8eb15e1bca9f745e3ef205
2016-02-05 14:04:29 -08:00
Ed Sanders
8b0e9c728c
VisualEditor: Bring in unit tests from VE
...
Change-Id: I7da5f25f61d0c7f2331ab927c35d8f6a975041b8
2016-02-05 13:41:43 -08:00
Ed Sanders
f641f44628
VE: Fix toolbar hack
...
Change-Id: I2cad81a89ae0c55d4209bfef3a1db239381996ca
2016-02-04 23:06:06 +00:00
Ed Sanders
18f616b9b8
VisualEditor: Move code for Cite into this repo
...
This code has been developed over three years now in the repo of MediaWiki's
integration of VisualEditor. It has grown and developed significantly during
that time, but now is pretty stable. A number of hacks inside the MediaWiki-
VisualEditor code base have been used to prevent this code from being loaded
on wikis where the Cite extension is not deployed, but this state of affairs
is and always was meant to be temporary.
This code is under the MIT licence which is a tad messy, but not impossible.
It's clearly labelled as such. The list of authors has been updated to take
into account the influx of new functionality.
Bug: T41621
Bug: T104928
Change-Id: I39936ed83d5a60471a0a75da753f498e80aef234
2016-02-04 08:41:54 -08:00
Paladox
6564ed9fb7
Update packages
...
Update grunt-banana-checker to 0.4.0
Update grunt-jsonlint to 1.0.6
Update grunt-jscs to 2.5.0
Also support looking into sub folders for jshint and jscs.
Also fix some js code so
Replace
} ) ( mw, jQuery );
with
}( mediaWiki, jQuery ) );
Also remove a blank message that should not be there in gu.json
Also remove two blank messages in tl.json.
Change-Id: Ib8390de6fd6adfc4a9ad22c48c7872aac332d4ae
2015-12-19 09:52:30 +00:00
James D. Forrester
549e95ee5f
build: Test JS code with jshint and jscs via npm
...
Change-Id: I4d20af87b900d10c20f1a2c3fff09dc3425d2e55
2015-11-18 16:54:55 -08:00
Bartosz Dziewoński
04ac55ed52
Revert "Use display: inline-block instead of unicode-bidi"
...
I think this change causes too many issues on non-LTR wikis
(see the associated tasks) to be acceptable in the current form.
Maybe it should be redone to apply to RTL text only if it's
worth it there (apologies, but I don't quite understand the issue).
This reverts commit e9c1521fca
and commit 59ef3c8678
(which was
the previous attempt to fix it and caused different issues).
Bug: T108493
Bug: T110057
Change-Id: I205400c59a342dcc4cdf89791bc1c761805cd2a8
2015-08-24 20:33:28 +00:00
Ebrahim Byagowi
e9c1521fca
Use display: inline-block instead of unicode-bidi
...
On I16a701f3b962b5e7f63554be2f28888a938548b0 we incorporated
unicode-bidi: embed; instead isolate but it caused regression on
* https://fa.wikipedia.org/?oldid=15565588
* https://fa.wikipedia.org/?oldid=15552160
where references ([۱]) comes before number with Persian digits.
Using unicode-bidi: isolate; is the clean solution for fixing this
however due to Firefox bug https://bugzilla.mozilla.org/1185987
it is not going to fix the regression on Firefox so using
display: inline-block; in hope to get same effect with Chrome
on unicode-bidi: isolate; but also support IE and older browsers.
Change-Id: I1d62c1fb282acc72ab20d71cc8cd21e3e1d71493
2015-08-02 14:02:26 +00:00
jenkins-bot
e8e88cec17
Merge "Remove WMF deployment hack ext.cite and ext.rtlcite modules"
2015-07-16 20:41:48 +00:00
jenkins-bot
5f2603bba7
Merge "Change unicode-bidi: isolate to embed"
2015-07-11 21:28:52 +00:00
Amir E. Aharoni
3fa0f7fb22
Prevent jumbling up of footnote numbers after LTR words in RTL wikis
...
This happens while editing in VisualEditor and ContentTranslation.
This is done by adding unicode-bidi: embed to .mw-ref.
Bug: T105605
Change-Id: I1d03063cad1fa0f2ae8cc792aaaefc715066f17e
2015-07-11 22:55:26 +03:00
Amir E. Aharoni
59ef3c8678
Change unicode-bidi: isolate to embed
...
"embed" works just as well in modern browsers.
Also fix the comment to be more correct.
Change-Id: I16a701f3b962b5e7f63554be2f28888a938548b0
2015-07-11 22:47:30 +03:00
Derk-Jan Hartman
d4baf5927e
Remove WMF deployment hack ext.cite and ext.rtlcite modules
...
It's been 30 days after deployment of I58adcfbcf9af2bb3.
Bug: T101559
Change-Id: I0217b8d15cdd495a163b3f1fc1af018f6d2fe271
2015-07-06 14:47:27 +00:00
Marc Ordinas i Llopis
aa8fed3a3d
Use CSS to style Parsoid's Cite HTML
...
* Add a new module ext.cite.style to load the new CSS.
* Add a ResourceLoaderFileModule that adds the correct CSS file
depending on the content language, so that the visual style of
citations can be changed per-language.
The main ext.cite.style.css file renders similarly to MediaWiki's
default Cite style. Also, an example CSS for Farsi numbering is
included.
Bug: T86782
Change-Id: I487095df8a7c4241a14f7b4480360f6774130bec
2015-06-08 21:58:15 +01:00
Derk-Jan Hartman
05cb5cc1a0
Cleanup style RL modules for Cite
...
Move the JS which is purely for accessibility purposes into a separate
JS RL module named ext.cite.a11y. Move all pure CSS, which is not dependant
on accompanying JS into a separate ext.cite.styles module
Bug: T101559
Change-Id: I58adcfbcf9af2bb3b6d5dabb6c38c42af78e0416
2015-06-06 15:43:27 +02:00
Bartosz Dziewoński
3ac0dedd1b
Move '@media print' rules to separate file
...
Not a fix for T93746 yet, but a prerequisite.
Bug: T93746
Change-Id: I3dc1fa9cf176540500b48f21d9f4f737b37010d1
2015-06-04 22:22:16 +00:00
Schnark
530ef0ab9c
Highlight target references
...
Highlight the target reference when the user clicks a reference link,
and also highlight the note in the text when he clicks the backlink.
This is done using the :target selector and a light blue background-color.
The color (and the rest of the code) are from English Wikipedia, from where
it has been copied to many other wikis, so the feature itself and especially
the color seem to be agreed on.
Browsers that don't support the :target selector (notably Internet Explorer 8
and below) will just ignore the new style and fall back to current behavior.
Wikis that have added this code to their common.css can remove it, but
of course nothing will break when they keep the duplicate code.
Bug: T10303
Change-Id: I5775daf6934516ce9c98841399e5a358195c1374
2015-03-16 08:29:20 +00:00
Ritsyy
572e1023f1
T28462 changed print CSS for backlink arrows edited CSS according to coding conventions
...
Change-Id: I54caf0437557494dbf270b10a8564bc8d98a5c6a
2015-03-03 00:27:34 +05:30
James D. Forrester
7f10ca97f1
Remove Special:Cite, now moved to its own repository
...
Change-Id: I6ae358b6855911016793c3227bfc1c04a8637428
2014-10-28 12:02:21 -07:00
James D. Forrester
672124cf26
Remove 'experimental' popups functionality that was never used
...
Bug: 67282
Change-Id: Ib0c8c0daae62c9398f15397917232447c6113069
2014-07-09 11:06:18 -07:00
Fomafix
f8ed124589
Exclude backlinks from selection
...
Steps to test the change:
* Open a random page in browser.
* Select all or a part of the page.
* Copy the selection to clipboard.
* Open a word processor like LibreOffice Writer.
* Paste the content of the clipboard.
Change-Id: Ibae4292b5dd8cc02a769e85adfea991d8d6ceb59
2014-01-30 07:59:44 +00:00
Marius Hoch
9cc8f438fe
Improve CSS for hiding the accessibility labels
...
This used to result in superfluous scroll bars
in WebKit/ Blink based browsers on enwiki:
https://en.wikipedia.org/wiki/Wikipedia:Village_pump_%28technical%29#Scrolling_past_the_bottom_of_the_page ...
Change-Id: I4e7518262b8fdc5d3de49fff46166f7e205be9fe
2013-09-14 16:21:11 +02:00
jenkins-bot
e6aa790f08
Merge "Use mw.hook( 'wikipage.content' ) for citation popup JS"
2013-09-01 17:26:55 +00:00
Marius Hoch
4954b2f4d2
Use mw.hook( 'wikipage.content' ) for citation popup JS
...
Factored out of https://gerrit.wikimedia.org/r/79472
Change-Id: I4d755ab57de3754b361174b33e53462f16e490da
2013-09-01 19:21:59 +02:00
Marius Hoch
f692c9f41d
Add extra accessibility labels to jump to citation (↑) links
...
Had to do that in JavaScript as doing it server-side would have
made refactoring large parts of the extension necessary.
Bug: 38141
Change-Id: I60ecd2fc0edf2aee89974d8069cc0b075cda3f93
2013-09-01 18:58:32 +02:00
Marius Hoch
847a09be11
Refactor Cite extension JavaScript and make it pass Jshint
...
Moved the scripts and the CSS into the modules folder directly
(like almost all other extensions do), added a .jshintrc to not have
jenkins shout at this change and minor stuff.
After this change Cite will no longer work with anything older than
PHP 5.3!
Change-Id: I1c87af794f2a9894fb0d82a5bd97bd2182f028e1
2013-08-25 22:23:15 +02:00
Moriel Schottlender
5895bd048f
Adding bidi-isolation to reference numbers
...
This is a quick-fix to support proper rendering of <sup>[1]</sup> elements
when the sentence contains a right-to-left word.
Amended: Changed from working through jQuery 'wrap' to CSS unicode-bidi.
Amended: Dos2Unix conversion to get rid of pesky hidden characters, also
corrected all of Amire80's comments.
Bug: 36032
Change-Id: If85efe5ff1e0a3c57ee2523656702db89df07145
2013-04-30 18:43:27 -04:00
raymond
bbfb7731ce
Make Special:Cite translatable
...
* Plain text files deleted, content moved to SpecialCite.i18n.php
* Code for c/b still in place
* CSS classes added and styling moved to a new CSS file for the RL
Shortly discussed with Siebrand on mediawiki-i18n-l
Change-Id: Ie8e35cda1492bf1cab8f45ce618bac8402678879
2012-05-17 03:04:21 +01:00
Max Semenik
53ae80785a
Follow-up r102160: removed arrows from tooltips
2012-01-04 15:00:01 +00:00
Max Semenik
cc44bb1ba8
Simplification + fmt
2011-11-06 08:09:56 +00:00
Max Semenik
7e1bad9bec
Merging ReferenceTooltips into Cite step 2: rename/register
2011-11-06 08:02:39 +00:00
Max Semenik
25ea6b9d60
Merging ReferenceTooltips into Cite step 1: copy modules
2011-11-06 07:53:55 +00:00