Commit graph

1675 commits

Author SHA1 Message Date
Translation updater bot df3fb3a06d Localisation updates from https://translatewiki.net.
Change-Id: Ie06eb2f4dea3893d4f6b4064bec57cc5fc69021a
2016-04-01 22:25:03 +02:00
jenkins-bot 979ab3dff8 Merge "Avoid nowiki tags in reference links" 2016-04-01 16:13:07 +00: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
cenarium 987f20e558 Avoid nowiki tags in reference links
In reference links, brackets are wrapped in nowiki tags to avoid
breaking the link. This uses instead [ and ] (ASCII for
[ and ]). This simplifies parsing and mitigates the issue of
strip markers in references data.

Bug: T127787
Change-Id: Ibacae55eb99233d89d5c68261e3259cb2b723451
2016-03-27 20:33:35 +00:00
Translation updater bot d4b435a27c Localisation updates from https://translatewiki.net.
Change-Id: Ibdc895e80c8b3e10d14475fb38d3092958aefc84
2016-03-27 21:09:45 +02:00
jenkins-bot 90999021b5 Merge "Improve handling of cite warnings" 2016-03-27 10:33:58 +00:00
cenarium 640e0919e9 Improve handling of cite warnings
This improves handling of cite warnings by creating a function
specifically for them instead of using the error function with an
optional downgrade.
This also adds span classes specific to each message so it can be
easily hidden / modified with css.

Change-Id: I872d79335c8dd2bd19bbe254c28b0d9025d256be
2016-03-25 22:27:08 +01:00
Translation updater bot 21a2a06376 Localisation updates from https://translatewiki.net.
Change-Id: I634cc5dbca71a7a03fe9c8da6d9a23928811ffd4
2016-03-24 22:33:37 +01:00
Translation updater bot a04344a1d8 Localisation updates from https://translatewiki.net.
Change-Id: If2bc75079c69f353b28c31a07467eab37de5a07b
2016-03-23 22:19:26 +01:00
Translation updater bot a72e09ebee Localisation updates from https://translatewiki.net.
Change-Id: I85a09a8e5af91d8bd333b987a0f2bf0979c0dd99
2016-03-22 22:28:50 +01: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
cenarium 3a71ac095c Preview of list-defined references
This allows to preview list-defined references in the section where they
are defined.

Bug: T128036
Change-Id: Ifeeef1129a64e73add8dfe0ee8519e8477712693
2016-03-22 18:57:26 +01:00
Translation updater bot f650afdda7 Localisation updates from https://translatewiki.net.
Change-Id: I9b24cc13259899c82a94b236f5f5d658bbccb891
2016-03-21 23:29:50 +01:00
Translation updater bot f9b2e34514 Localisation updates from https://translatewiki.net.
Change-Id: I2a217fbfd6ce1b6aa91456795a095a1ccd4750e0
2016-03-20 22:37:23 +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 816979ec42 Localisation updates from https://translatewiki.net.
Change-Id: Id0b762567905496597ef4f7998cabb4c5832ae9b
2016-03-17 23:15:08 +01:00
Translation updater bot ddac4225ba Localisation updates from https://translatewiki.net.
Change-Id: Ide2e4ac7cc92469ba66967e77680cfc3ae861aad
2016-03-15 22:58:00 +01:00
Translation updater bot 83c465ce84 Localisation updates from https://translatewiki.net.
Change-Id: I3705ad48c736579f700357c3f1a5c198e3675e08
2016-03-14 22:46:52 +01:00
jenkins-bot 9ea66e82e3 Merge "Drop backwards-compatibility ext.visualEditor.mwreference module" 2016-03-13 22:20:43 +00:00
Translation updater bot 8115f4c885 Localisation updates from https://translatewiki.net.
Change-Id: I8fe2c9cc9c8a22d4e32a894ce0ba251e001d785f
2016-03-13 22:51:09 +01:00
James D. Forrester 45a5b658ed Drop backwards-compatibility ext.visualEditor.mwreference module
Change-Id: I5051b650b9430107d683509aee12411fa1db551b
2016-03-13 10:49:26 +00:00
jenkins-bot bb94f9b71e Merge "Use ResourceLoaderContext::msg() in CiteDataModule" 2016-03-13 07:54:32 +00:00
Translation updater bot b6c6da787a Localisation updates from https://translatewiki.net.
Change-Id: I7c0b6b68ff695a2a1a37eaca4ae3505ac3d46927
2016-03-12 21:09:12 +01:00
jenkins-bot bde82b9864 Merge "Remove not actually "@comment" from ResourceModules definition" 2016-03-12 19:12:18 +00:00
Timo Tijhof 8b77c16667 Use ResourceLoaderContext::msg() in CiteDataModule
Change-Id: I7ed77a2b84711bfe52e07f97bfc3388441159635
2016-03-11 21:56:36 +00:00
jdlrobson 92ef12a433 Remove num parameter from referencesKey function
Change-Id: Ib215a09dc2d77988cb63a1b3c5fce4cd0cb886cb
2016-03-11 18:13:06 +00:00
Translation updater bot 319238f840 Localisation updates from https://translatewiki.net.
Change-Id: Idff7a7f8f3bbdb9ea9b10aa60099308e0b2caa94
2016-03-09 22:39:48 +01:00
Translation updater bot 60fc36c7e4 Localisation updates from https://translatewiki.net.
Change-Id: I354e7e901ae35faf48ae11f3f136068a724e5ef8
2016-03-07 22:23:27 +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
Translation updater bot b4770061a2 Localisation updates from https://translatewiki.net.
Change-Id: I35a4da917a6fb1194063cedc9daf1a891de73939
2016-03-05 22:56: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
Translation updater bot 3d4c9692f3 Localisation updates from https://translatewiki.net.
Change-Id: I39c713958ad87b2dcdbe685d8850538757f96af4
2016-03-04 22:50:07 +01:00
jenkins-bot 8552cf24d2 Merge "VE: Lookup the correct command for the node" 2016-03-02 23:44:58 +00:00
Translation updater bot 2719b4ea0b Localisation updates from https://translatewiki.net.
Change-Id: I6c05a2dbd30400f74cf67e5f688029ba313f8f9f
2016-03-02 23:35:37 +01: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 82590f9da4 Localisation updates from https://translatewiki.net.
Change-Id: Idec777ecc238e637e74edd238efe6997bbd7d6e8
2016-03-01 21:53:23 +01:00
Ed Sanders 55d33e13b0 Check VE is available before running unit tests
Bug: T127763
Change-Id: I2ad8814d39b16ce5918d9f53ba9bf4bf59a0cbe9
2016-03-01 12:21:00 +00:00
Translation updater bot 88f4cdfbd6 Localisation updates from https://translatewiki.net.
Change-Id: I81e913c86af124c474041a43389195509d1949c3
2016-02-28 21:56:01 +01:00
Kunal Mehta 92c858fd76 Remove not actually "@comment" from ResourceModules definition
extension.json only removes top level and "config" keys that start with
@, so this "comment" was actually being passed onto ResourceLoader and
eventually being ignored at that stage.

But since it's not a recognized value, it causes validation of the
extension.json file against the schema to fail.

Bug: T128311
Change-Id: Ibed94e1818c8fc9c3afdc3e09d0af5e84c49a342
2016-02-28 01:24:21 -08:00
Translation updater bot 19074bcf0d Localisation updates from https://translatewiki.net.
Change-Id: I9e873009b41afaeddba937c3b739a465fc8da2c2
2016-02-27 21:54:29 +01:00
jdlrobson 509741dc17 Surface references via api query property
* The query request prop=references will return a JSON blob of all
references in the page
* Conveniently references are returned with an array id key that corresponds
to an anchor tag in the HTML
* When references storage is disabled the API request will trigger an
error.

Bug: T123290
Change-Id: I81a965bcb47d17df18f1e415e3c25f88f6b48ffc
2016-02-26 19:02:12 +00:00
jdlrobson 342a3a0ec3 referencesKey is now a static function and renamed
There seems to be no reason for this to be a member function

Per suggestion of Ori, It should also be clearer
it is a getter so it is now prefixed with get
There are no consumers according to Github so a rename is safe

Change-Id: I414959d4cc107135ccbd0739f2fc7d62ca8d04c5
2016-02-26 19:01:41 +00:00
cenarium d63c51ebf2 Merge LinksUpdateConstructed hook into LinksUpdate
This merges the content of the LinksUpdateConstructed hook callback
into the LinksUpdate hook callback since it's fine to defer saving
to the cache.

Change-Id: Iad6008a31aaf659af3c560858df278335bc57c8f
2016-02-26 19:00:54 +00:00
Translation updater bot 17d30cc0a7 Localisation updates from https://translatewiki.net.
Change-Id: If943f6841bcf18f2fad6ee6025adfad82534ddcd
2016-02-25 22:17:31 +01:00
jenkins-bot 22668e53e2 Merge "Change a condition with == to something more precise" 2016-02-24 21:29:23 +00:00
jenkins-bot 3abaad1a27 Merge "Add array type hints and more specific documentation" 2016-02-24 21:29:20 +00:00
Translation updater bot 59dc0e9ba2 Localisation updates from https://translatewiki.net.
Change-Id: I1fac9242bc2827f7a828f2b332b81c95d5d48704
2016-02-24 22:00:45 +01:00
Thiemo Mättig 4eeb884e98 Add array type hints and more specific documentation
The two public functions ref() and references() are called from
Parser::extensionSubstitution(). Everything else is derived from that.

Change-Id: Ib9bb37ac0303f0e90149f5b1c4f4aa3bcf08b957
2016-02-24 20:57:10 +00:00
Amir E. Aharoni adf113af86 Change a condition with == to something more precise
It can be both NULL and an empty string here.
Tests for both cases are added in the following patches:
Ia6c10419a7a92dac642db6ea21908927a5830b69
Ibb3bb1ab3450a34889dcd66b34542f2dd25fdc2b

Change-Id: Ia2b2b6545bb889de59a363a2c1d7569cbc971361
2016-02-24 20:56:12 +00:00