Commit graph

1710 commits

Author SHA1 Message Date
Ed Sanders 7d9693d090 Use cloneWithData
Change-Id: Ibab88f333cd39aabc73a579e1b05fc9b830b6d86
2016-05-30 22:34:15 +01:00
Translation updater bot cf7d0a3ad4 Localisation updates from https://translatewiki.net.
Change-Id: I16f5bca582adc397a786a2a693c78ccf7f7b517d
2016-05-30 22:22:19 +02:00
Translation updater bot bce71fd9ee Localisation updates from https://translatewiki.net.
Change-Id: I90c5b178ed61e3974f4b8cc7af30044a6e298675
2016-05-29 22:26:26 +02:00
Kunal Mehta 3663e0f88f build: Updating mediawiki/mediawiki-codesniffer to 0.7.2
Change-Id: I8d516bb890d1aa851dd3f2ec087902806586bbab
2016-05-27 18:18:03 -07:00
Translation updater bot caa6e2ea3e Localisation updates from https://translatewiki.net.
Change-Id: I075bc3bf362521439a7aa30121731d803f4544dd
2016-05-24 23:05:05 +02:00
jenkins-bot 4e22780984 Merge "Bump package versions" 2016-05-24 14:42:09 +00: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 c7b336f329 Bump package versions
Remove grunt-cli as this is now included by grunt.

Change-Id: I7031c27f22c2c6d98aa2c263425ca48bc1e80683
2016-05-24 14:19:17 +01: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
Translation updater bot cd9da1de2c Localisation updates from https://translatewiki.net.
Change-Id: I6a87cb15047a40b287a1f60103423b804ab13cef
2016-05-15 22:27:04 +02: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
Kunal Mehta 4bbd227702 build: Updating mediawiki/mediawiki-codesniffer to 0.7.1
Also added "composer fix" command.

Change-Id: I3cdaa7aac81fc3f9b3e284b049a2dd07b1abf0f3
2016-05-09 16:36:49 -07:00
Translation updater bot 5003d3cac5 Localisation updates from https://translatewiki.net.
Change-Id: I853ca7c0217bda664e98861ade3e9850ae9605db
2016-05-08 22:41:47 +02:00
Translation updater bot 277a15d138 Localisation updates from https://translatewiki.net.
Change-Id: I2ed88cb2e0dc7086e7ee6f8c318a6805e465080c
2016-05-07 10:51:20 +02:00
Chad Horohoe 893db13b5c Move check for non-existing reference count higher up
It doesn't make sense to check for negative numbers or 0 if the
value doesn't even exist. It ends up spamming the warning logs
prior to actually hitting the case we want.

Change-Id: I8f6cf17d4cd628fdcff13f2d29c7ae9661444de2
2016-05-05 12:10:32 -07: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 ea27cad0cf Localisation updates from https://translatewiki.net.
Change-Id: I49d669001db97a5d5c5cf169821fd371c36e27a6
2016-04-24 22:32:00 +02:00
Translation updater bot 6e1894a3a3 Localisation updates from https://translatewiki.net.
Change-Id: I5c1a1c03b4df94a807e181755123a14f9e5e882f
2016-04-19 22:19:06 +02:00
Translation updater bot 716d812aa3 Localisation updates from https://translatewiki.net.
Change-Id: I46762bc1ad470c6e105c6008d96634b4613d9d57
2016-04-17 22:13:56 +02:00
Translation updater bot d67b635881 Localisation updates from https://translatewiki.net.
Change-Id: If4c32eda9d0d9976ad57bf3444a093b698b47986
2016-04-14 22:33:49 +02: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 0dc157a6de Localisation updates from https://translatewiki.net.
Change-Id: I20f92a688a97c390b64a386924069aa655e18960
2016-04-11 22:33:49 +02:00
Translation updater bot 93e61634fd Localisation updates from https://translatewiki.net.
Change-Id: Ib7a51083f72269335d3541e67a5086c382682063
2016-04-10 19:58:10 +02:00
Translation updater bot 633ff0140b Localisation updates from https://translatewiki.net.
Change-Id: I316d59b091b0c1758d8d86d6c7a8655ce5d2ac37
2016-04-07 22:59:04 +02:00
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 &#91; and &#93; (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