Commit graph

4900 commits

Author SHA1 Message Date
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
Translation updater bot f88d5ab33a Localisation updates from https://translatewiki.net.
Change-Id: I6c968d661c41b2e630d16f340c8b7899c6eaeaad
2015-12-18 23:34:46 +01:00
Paladox 669d19c916 Add php code sniffer
Change-Id: Icd5e488f6d7009e1ed7a901298cd35c70c683f13
2015-12-16 13:11:00 +00:00
Translation updater bot 6823b51f2d Localisation updates from https://translatewiki.net.
Change-Id: I7c8f4cb1bac71ea27113ef526fca0fee6486f311
2015-12-15 22:21:57 +01:00
Translation updater bot b074551c9a Localisation updates from https://translatewiki.net.
Change-Id: Ifc7d79cfab720e83db54c631c3d2b07eed8f0a24
2015-12-13 22:15:41 +01:00
Translation updater bot 43173ffb9f Localisation updates from https://translatewiki.net.
Change-Id: I7ef7c68f8b35f4f0c14bc6190af207194eca49f8
2015-12-11 23:47:45 +01:00
Translation updater bot 9255f3e5f9 Localisation updates from https://translatewiki.net.
Change-Id: I64f61be0e0b785836d006fb8fa48fda294cff6f9
2015-12-08 22:21:49 +01:00
Translation updater bot cf7da6f25d Localisation updates from https://translatewiki.net.
Change-Id: I6780e284910b2223aa9d8bc3748d4138dfcbe6a7
2015-12-05 23:09:31 +01:00
Translation updater bot 371499e319 Localisation updates from https://translatewiki.net.
Change-Id: I6212044eaf5c4fde82655be3b457c561cd6e73fc
2015-12-03 23:13:28 +01:00
Translation updater bot d352c6dffa Localisation updates from https://translatewiki.net.
Change-Id: Iff6647eb929ba80e80f461726051adaa4bc177ae
2015-11-30 21:32:51 +01:00
Translation updater bot a7fdf6b674 Localisation updates from https://translatewiki.net.
Change-Id: I9379d3e46bba4170eb3304d2fddb70a1ea8d888d
2015-11-26 21:58:48 +01:00
Translation updater bot a6362e2974 Localisation updates from https://translatewiki.net.
Change-Id: Ic166e269574e2b9008a08c66b382ab7b1e2421fe
2015-11-24 23:06:56 +01:00
Antoine Musso 21d85fcf66 composer test entry point
Just run php lint for now.

Change-Id: I2bbe7543588c25669e4d4a3958b66f3f79240ea5
2015-11-23 22:15:36 +01:00
Bartosz Dziewoński 9aa7961c60 Detect duplicate <ref> definitions inside <references> too
For some reason there's an entirely separate function generating the
ref in this case.

This changes the behavior (in addition to adding the error message):
now the contents of the first <ref> with the same name inside
<references> are displayed, not the last. (This was already the case
for <ref>s outside <references>.)

Bug: T116377
Change-Id: I81b64ccd8a2e58f3b25938a63b8ad5967fe2a2c0
2015-11-21 11:25:29 +00:00
Translation updater bot 831d2d6367 Localisation updates from https://translatewiki.net.
Change-Id: I58c6d69af6c38015746caa1b40ad2899758303dc
2015-11-19 21:34:13 +01: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
Translation updater bot bd9f58c00b Localisation updates from https://translatewiki.net.
Change-Id: Ie1c68009703072a9d3d0c630a3e71267c033b3d5
2015-11-18 21:56:54 +01:00
Translation updater bot fc32dd14d2 Localisation updates from https://translatewiki.net.
Change-Id: Ideec6c64315a20af1f09c1e38694084402753361
2015-11-15 22:15:17 +01:00
Translation updater bot 3900b16d05 Localisation updates from https://translatewiki.net.
Change-Id: Ic74792ced7d4ede545ea1024be42b38984b01395
2015-11-14 22:15:36 +01:00
Translation updater bot b4dc6349eb Localisation updates from https://translatewiki.net.
Change-Id: Ib3fc6772602d51afa6d50864de11b45ae1bd519e
2015-11-13 21:32:16 +01:00
Translation updater bot 2ff7b6f56b Localisation updates from https://translatewiki.net.
Change-Id: If3d529691c0d9a882fe61eda6e3d907f839d77d9
2015-11-02 22:35:33 +01:00
Translation updater bot c57956e815 Localisation updates from https://translatewiki.net.
Change-Id: I37f9d4d31e6db28a85b4bc60a8075e827ff5e25e
2015-11-01 21:39:12 +01:00
Translation updater bot 2dcf8fe5a0 Localisation updates from https://translatewiki.net.
Change-Id: I1c7a8e5c540d41f0cfa6b4f678eb0d0eac4ef31c
2015-10-31 21:04:58 +01:00
jenkins-bot 02363beb7c Merge "Add isset() check before accessing $this->mRefs[$group]" 2015-10-31 12:02:13 +00:00
Translation updater bot 232d97aefc Localisation updates from https://translatewiki.net.
Change-Id: I85f45b1611a0cfc064647cfb3b4c093aee61b6f9
2015-10-30 21:47:19 +01:00
Timo Tijhof c12ca466f3 Add isset() check before accessing $this->mRefs[$group]
Follows-up c00cf4a which wrongly assumed the reason for empty()
to be about array count but the real reason was existence.

All other code in Cite extension already uses isset() so this
makes it match the rest.

Bug: T117084
Change-Id: Ic9b0d74ae6ceda5acba187c2fab18c8f5dc9526b
2015-10-29 21:57:40 +00:00
Arlo Breault 1c10f71b47 Move processRefs.js to ext/cite/
Change-Id: I10ab294900f090dcdb85b205d9eb0472fd3e9157
2015-10-28 15:31:53 -07:00
Translation updater bot b1996582ad Localisation updates from https://translatewiki.net.
Change-Id: I6a8f76ecabdcb4a05dfc790236c1122a37b8b1ef
2015-10-28 21:53:06 +01:00
Translation updater bot ccc6a0d47d Localisation updates from https://translatewiki.net.
Change-Id: I8fa2320f3de3281cdf9a6f3962a4bb462d2d7d69
2015-10-27 21:31:15 +01:00
Subramanya Sastry 05bf16d3eb T115665: Reorg parsoid repo
* First pass moving around files into different directories.

* Renamed files to remove unnecessary prefixes or align the name
  closer to what the file contains.

* Added temporary soft links to bin/parse.js and bin/roundtrip-test.js
  in the tests/ directory since jenkins jobs seems to have hardcoded
  refs to those paths.

* Deleted:
  - a couple of stale scripts in tests/ that are no longer relevant.
  - a couple of state scripts in api/ that didn't look relevant.
  - swagger spec since it was incomplete, stale, and unmaintained.

Change-Id: I97c30467b190b417eec9e750238704330ae91137
2015-10-27 12:50:47 -05:00
Translation updater bot c166aaf743 Localisation updates from https://translatewiki.net.
Change-Id: If97d83ac8c6a615eac1847e99463f085f4493d4c
2015-10-26 21:02:24 +01:00
Thiemo Mättig c00cf4a204 Avoid counting arrays if not needed
count() tends to be one of the slowest PHP functions and should be
avoided, especially if the actual number of elements is not needed.

Change-Id: Ia979c481f898d2fccedb0ed127417ef05ba7ff38
2015-10-26 17:30:19 +01:00
Translation updater bot a22434e195 Localisation updates from https://translatewiki.net.
Change-Id: I1c17af0ff6475b291727ec951f0a4cc5adb9558c
2015-10-25 22:03:15 +01:00
Translation updater bot e9c00d314d Localisation updates from https://translatewiki.net.
Change-Id: I356332235296f21617ed7f717a7c9a2f12a3bec8
2015-10-23 21:42:43 +02:00
Translation updater bot 5228ab649c Localisation updates from https://translatewiki.net.
Change-Id: I26b3bea1b3a90b4e60d426c61c7e42f5874f4916
2015-10-22 21:58:36 +02:00
Bartosz Dziewoński 2e588a7424 Do not double-parse 'cite_error_references_duplicate_key' error message
This value is supposed to be wikitext, which will be parsed later,
not HTML ready for outputting.

Follow-up to 6c59f47805.

Bug: T116149
Change-Id: I6d6f474db7c7a075499f94301978572179975749
2015-10-21 11:59:34 +00:00
Translation updater bot 15f83c8c3f Localisation updates from https://translatewiki.net.
Change-Id: I82d89f3a033d0c8514c360dd90318f4c9a672ea7
2015-10-20 22:45:55 +02:00
Translation updater bot a00d39d030 Localisation updates from https://translatewiki.net.
Change-Id: I8f49daa04f01c40aac7d4cb4dc42548b19d69f84
2015-10-19 22:14:45 +02:00
Translation updater bot d1b79ed97e Merge "Localisation updates from https://translatewiki.net." 2015-10-18 20:01:45 +00:00
Translation updater bot 96a1bbb551 Localisation updates from https://translatewiki.net.
Change-Id: Ic7feb6bfd2b3d07e33f20eb677ca9324d66aa39f
2015-10-18 21:53:43 +02:00
Bartosz Dziewoński 6c59f47805 Display 'cite_error_references_duplicate_key' next to the affected ref
Follow-up to 5d0fb0309b.

Bug: T114898
Change-Id: Id6d0b7f2c0b76b67a50fc981b9255dff99137bed
2015-10-18 19:44:04 +00:00
Translation updater bot 62327d20e1 Localisation updates from https://translatewiki.net.
Change-Id: I553aadd58f9c212d4d88dcd2e64959af7465b500
2015-10-16 22:03:19 +02:00
Translation updater bot 0d20a69069 Localisation updates from https://translatewiki.net.
Change-Id: I0e223ebbc69326ffd75a0b1b3b5b2c02ea9cf7d1
2015-10-15 09:39:11 +02:00
Translation updater bot 645f3abea8 Localisation updates from https://translatewiki.net.
Change-Id: Iee084051bfb06b73fc204b6e3f4899f281c41027
2015-10-14 21:50:44 +02:00
Translation updater bot a72047ca7d Localisation updates from https://translatewiki.net.
Change-Id: I56088d012d601d494bf2a968d6b2d208932f902a
2015-10-13 22:09:50 +02:00
Translation updater bot 13847ccede Localisation updates from https://translatewiki.net.
Change-Id: I4bb68eac7c2036eb88df3127b71b0f535d4c65c7
2015-10-12 21:03:39 +02:00
Translation updater bot a8fe5e5ebb Localisation updates from https://translatewiki.net.
Change-Id: I5e9bd2c86b682b5412b81899b3414dd4d3d9963f
2015-10-11 21:22:19 +02:00
Translation updater bot a3744539c0 Localisation updates from https://translatewiki.net.
Change-Id: I48cb8471a52ed5f5e08e8c3b5fc4d035a8712648
2015-10-09 22:31:14 +02:00
Translation updater bot 968398013f Localisation updates from https://translatewiki.net.
Change-Id: I1a2d49da0759172bc0081335e6aeadfcce599703
2015-10-08 23:05:45 +02:00
jenkins-bot f75e136ec7 Merge "Add pages with Cite errors to a tracking category" 2015-10-08 19:40:45 +00:00