Commit graph

1762 commits

Author SHA1 Message Date
Translation updater bot b879dbdc52 Localisation updates from https://translatewiki.net.
Change-Id: Ib3ea1151bc85d50a4f210128c83f404d8bad0363
2014-06-24 19:58:59 +00:00
Translation updater bot 49c5b9d1c6 Localisation updates from https://translatewiki.net.
Change-Id: Iea330d375046a4b61fe850329152aecf9dcfc9f6
2014-06-23 19:53:51 +00:00
Translation updater bot b6aa8f1ced Localisation updates from https://translatewiki.net.
Change-Id: If117c086b448faa04aa58351d0b750f7631c7cf3
2014-06-20 19:46:12 +00:00
Translation updater bot efeff4a760 Localisation updates from https://translatewiki.net.
Change-Id: Ib988927a247a124c3165817b3256d679bbd705ac
2014-06-18 19:51:38 +00:00
Translation updater bot 42a1223533 Localisation updates from https://translatewiki.net.
Change-Id: I87d8b9eb6e8a878bb89b7586163702d72f9740d6
2014-06-15 19:50:51 +00:00
Translation updater bot c15482acb9 Localisation updates from https://translatewiki.net.
Change-Id: I61374c5393cc28ddfce53c72cb510caa3415ada3
2014-06-06 21:45:29 +00:00
Timo Tijhof 8d7de84017 Register CategoryTreeMagic from global scope instead of setup
Follows-up I32357244c013a2370f14f.

I don't know how or why, but this late way of registering magic
words from within an extension setup function is sometimes
causing people's install to fatally crash on:

> Exception from line 318 of mw/includes/MagicWord.php:
>   Error: invalid magic word 'categorytree'

Just move it out of there into a plain and simple registration.

The parser function itself is still registered conditionally.

Change-Id: I07df5de5f39ce0ad029ef0152d126e620308ba25
2014-06-06 09:45:02 +00:00
Translation updater bot 25ac2b314e Localisation updates from https://translatewiki.net.
Change-Id: I61665cf2abd5f86d2f37230930035ec0e13b1ab7
2014-06-02 20:56:58 +00:00
Translation updater bot d3cb01002d Localisation updates from https://translatewiki.net.
Change-Id: I457a41d0bc6c1a49bab86762f001014da35b60e0
2014-05-29 19:35:59 +00:00
Translation updater bot 6d4669e18d Localisation updates from https://translatewiki.net.
Change-Id: Ie1a2ddd4cb622b3795c43aa3ff86f4ce24404fd0
2014-05-27 20:19:26 +00:00
Translation updater bot e4e1c20b41 Localisation updates from https://translatewiki.net.
Change-Id: Ib9fa67e15a0751f2b474a423f05e65ac012f9264
2014-05-19 19:43:35 +00:00
Translation updater bot 0315e6b252 Localisation updates from https://translatewiki.net.
Change-Id: I55f46f9779fd9efad8f52c7d79179a01e49638d0
2014-05-08 20:46:27 +00:00
Translation updater bot 26ef6df69c Localisation updates from https://translatewiki.net.
Change-Id: Id68f59356538cd47d084a6813f17fd47423e0efb
2014-05-07 19:57:43 +00:00
Translation updater bot 5da0481412 Localisation updates from https://translatewiki.net.
Change-Id: I91132cc73292db25c517d322941f262141fda254
2014-05-06 19:49:51 +00:00
Translation updater bot 6366e56cdf Localisation updates from https://translatewiki.net.
Change-Id: I749c42c44b908751454f17fbe18885d40da9fa19
2014-04-29 19:35:50 +00:00
Translation updater bot c8d41fc807 Update i18n shim
A performance issue was fixed in the shim(s) generated by
generateJsonI18n.php, so it needed to be updated.

Change-Id: I59e79348275562b5ea0383dea7a7b9923ddccbec
2014-04-22 13:12:51 +00:00
Translation updater bot e4ee0a60a5 Localisation updates from https://translatewiki.net.
Change-Id: Id76f8a9c079169a0e17db69a7ddf25bb73ee29f6
2014-04-20 20:03:08 +00:00
Translation updater bot 0f23467888 Localisation updates from https://translatewiki.net.
Change-Id: I882702372e7cb1ed8591fd081c030bea94d07d8c
2014-04-17 18:56:14 +00:00
Translation updater bot 962ad29ef2 Localisation updates from https://translatewiki.net.
Change-Id: I0407e674157833ce910fc609ac006355d7e0a66e
2014-04-16 15:29:07 +00:00
Siebrand Mazeland b7bfad2c07 Remove zh-[cn|tw] in favour of zh-han[s|t]
Change-Id: I0e3f13d9523f6466c321cffa7f37321ab29e9892
2014-04-10 12:45:01 +02:00
Siebrand Mazeland 267d4d94e9 Fix undefined variable $dir
* Follow-up to 7f440c3f72.
* Use __DIR__ everywhere.

Change-Id: If4ff55920207ba69dc4d981a68598e0a1eb029e4
2014-04-07 20:13:52 +02:00
jenkins-bot 66709b8766 Merge "Move $wgExtensionMessagesFiles['CategoryTreeMagic'] into $wgExtensionFunctions" 2014-04-07 17:26:09 +00:00
jenkins-bot a71d3ddfb9 Merge "Use hooks instead of $wgOut when $wgCategoryTreeForceHeaders is set" 2014-04-06 21:26:52 +00:00
Translation updater bot bb982819d0 Localisation updates from https://translatewiki.net.
Change-Id: I6b3dea976ceb27c6f8103f68ea6eff7744981b97
2014-04-06 19:38:01 +00:00
Leaves in Motion 8a210414db Use hooks instead of $wgOut when $wgCategoryTreeForceHeaders is set
Previously, $wgOut was used when $wgCategoryTreeForceHeaders was set and
a hook was used when it was not.
This change makes sure there is always a hook used with an OutputPage
instance. It fixes bug 57651.

Using $wgOut the rebuildFileCache.php maintenance script would generate
pages without JavaScript and CSS for CategoryTree when
$wgCategoryTreeForceHeaders was set (for example, when the sidebar was
in use).

Other uses of $wgOut in the CategoryTree extension seem to be less of an
issue because when there is a CategoryTree on a page, those pages seem
to be excluded from caching. (But fixing those would be nice
nonetheless: it may prevent other bugs in the future).

Bug: 57651
Change-Id: I0ee66d38755e255c5597db7a237a176039025fae
2014-04-05 19:03:41 +00:00
Translation updater bot 2cac7a0056 Localisation updates from https://translatewiki.net.
Change-Id: I50475d132571c60b092da03d8826ba9c845eb996
2014-04-04 20:20:29 +00:00
Translation updater bot bff84785e8 Localisation updates from https://translatewiki.net.
Change-Id: I2b499da2d6b2a3ffe5d01ee424205fc40e326f7e
2014-04-01 19:41:05 +00:00
Translation updater bot f328c964f1 Localisation updates from https://translatewiki.net.
Change-Id: I8e2b6ae034a6c7fa47361279d6fb334e5f78b370
2014-03-29 21:13:01 +00:00
Fomafix 69fa92ee11 Support for LivePreview
A solution for bug 24134 is still missing.

Change-Id: Ia4a19b363b49ca456efb205c082445da5e6efb47
2014-03-29 10:04:21 +00:00
jenkins-bot 55f53a90f6 Merge "Rework ext.categoryTree.js" 2014-03-29 00:20:43 +00:00
jenkins-bot 9d54d104ba Merge "Use current lang, debug and skin for AJAX call" 2014-03-29 00:05:30 +00:00
Translation updater bot 46bfa43d06 Localisation updates from https://translatewiki.net.
Change-Id: Icd420d21ed74349dbe55d09c1efd4c159bc46da6
2014-03-28 19:24:58 +00:00
Reedy 7f440c3f72 Move $wgExtensionMessagesFiles['CategoryTreeMagic'] into $wgExtensionFunctions
Extension config based on values of config values isn't going to work
in the global scope. The user won't have set it yet.

Though, is there any reason we don't just loads this always?

Change-Id: I32357244c013a2370f14ff5d36427aa3385be444
2014-03-28 03:07:01 +00:00
Translation updater bot 825bd06c4c Localisation updates from https://translatewiki.net.
Change-Id: I5820bd26e51207a760630a6fdb467748280e809f
2014-03-25 20:48:53 +00:00
Siebrand Mazeland 1f6df56a60 Migrate to JSON i18n
Procedure per https://www.mediawiki.org/wiki/Manual:GenerateJsonI18n.php
with shim.

Add a file to .jshintignore to not make Jenkins block on something that's
not related to this patch set.

Change-Id: I9331d328746281a2eb7ec1317d557e8fd7931d74
2014-03-25 14:55:24 +01:00
Translation updater bot 47bbcb1f74 Localisation updates from https://translatewiki.net.
Change-Id: Ibd4214756fb6efe525c79978601bafa325f84fcf
2014-03-22 20:46:57 +00:00
Translation updater bot 896df0e842 Localisation updates from https://translatewiki.net.
Change-Id: I9977db575c149ed6109c66d51dc1fba3a59251e3
2014-03-15 20:05:20 +00:00
Translation updater bot c56d0afd9a Localisation updates from https://translatewiki.net.
Change-Id: I0f8965faea6c8c983682d649b403ce6746dc294d
2014-03-13 15:42:28 +00:00
Translation updater bot a868e0d7f4 Localisation updates from https://translatewiki.net.
Change-Id: Ic9c3a70139d0d5e5b500582d68446b57af324a4b
2014-03-03 21:04:17 +00:00
Translation updater bot 97d7a8cac8 Localisation updates from https://translatewiki.net.
Change-Id: Ifeb2c65162ae3589f509cb69a424cf020e6753b6
2014-03-02 20:36:11 +00:00
Translation updater bot 57b9a3bde9 Localisation updates from https://translatewiki.net.
Change-Id: Ib1f284cbff41713c714be9f30fd7fdcab9447207
2014-02-24 21:01:19 +00:00
Fomafix ef8a9f0ba5 Use current lang, debug and skin for AJAX call
Load the subtree in the current user interface settings set by the
URL parameters debug, uselang and useskin.

Change-Id: I11c58e62b641c926a9965efb01d776851807e651
2014-02-23 09:39:34 +00:00
Fomafix 9409a256ef Rework ext.categoryTree.js
* Remove unnecessary variable categoryTree
* Escape messages
* Replace deprecated .success() and .error() by .done() and .fail()

Change-Id: I07649b820de096ad81fcaae3812dc41bbc942e8c
2014-02-21 22:33:04 +00:00
Translation updater bot 1854a2bde0 Localisation updates from https://translatewiki.net.
Change-Id: I2371569feb7722289ef824b0f69faffab835a3e0
2014-02-21 22:15:43 +00:00
Translation updater bot 810e791862 Localisation updates from https://translatewiki.net.
Change-Id: I5acf81d228978db71ebbb591ba985a9540af4fd1
2014-02-20 21:01:14 +00:00
Brian Wolff daf3e2d9f1 Unbreak this extension by killing $wgCategoryTreeDynamicTag
Somewhere along the line this extension's JS was refactored,
except for a part which was left as is, and was calling functions
since renamed, and still assuming top loaded...

Just kill $wgCategoryTreeDynamicTag, since it doesn't work, it
hasn't worked for a while, and it looks like a bit of work to
make it work properly. Also change the cache disabling defaults
of this extension to be 6 hours so it doesn't cause explosions.

If someone wants the feature represented by $wgCategoryTreeDynamicTag
they can of course re-introduce it in a subsequent commit. In the
mean time, let's not have broken code.

Bug: 59798
Change-Id: I01e0bd264e2a007cd9de017d10667bb2809d70a9
2014-02-19 22:15:55 -04:00
Translation updater bot b13e78b2a4 Localisation updates from https://translatewiki.net.
Change-Id: I7c0ce24061279b398cd85382ba2ed55711d08bd6
2014-02-13 21:15:56 +00:00
Translation updater bot e6db1f83c8 Localisation updates from https://translatewiki.net.
Change-Id: If48f1bdd60d8c64d88145ce336d7bd601029c61d
2014-02-09 20:14:34 +00:00
Translation updater bot 05bafcafdb Localisation updates from https://translatewiki.net.
Change-Id: I4d4ede08f8328fd99fd6d2278636b2c7c08e6428
2014-01-24 20:06:53 +00:00
Siebrand Mazeland 3aff44cc17 Correct Title::getInterwiki method name case on call
Change-Id: I9795d208106b5566b450c4a4ceafd9dbefd0ac0b
2014-01-23 20:00:27 +00:00