Commit graph

1510 commits

Author SHA1 Message Date
Translation updater bot 0ff1ff3bd2 Localisation updates from https://translatewiki.net.
Change-Id: I076a9ccbaf65ad84a65a5c0774e919971880b94a
2015-08-14 22:13:36 +02:00
Schnark 522331ddda Wikieditor: Rework deferred building of toolbar
Currently sections of the toolbar can be built deferred. This
is done for the help section and the special characters. The
disadvantage is, that you can't modify such sections before
they are really loaded.

This patch modifies the behavior by doing the following:

* Toolbars are always built directly. After all, deferring isn't
  used there anyway in the standard configuration.
* When a booklet is requested to be built only when it's needed,
  the index and all pages will be built immediately, only the
  content of the pages is deferred and built only when it is
  needed.

Even on slow machines building all pages immediately doesn't cause
noticeable pauses, in fact, opening a page with special characters
seems even faster because only the page you need is built, not all
pages.

Since all pages exist from beginning, you can remove and add pages
from user scripts. It is still not possible to modify an existing
page (add or remove a row to a help page, add or remove a character,
unless it is the page that was opened last time), but this is something
that shouldn't be needed very often, so it should be acceptable that
it still doesn't work.

Bug: T25479
Bug: T70791
Change-Id: I0e61b1fd4f6139a251e53a1fac28b3821bc6b860
2015-08-14 13:11:39 +00:00
Schnark 6602d905ee WikiEditor: Move HTML for dialogs to separate files
Move the HTML for the dialogs to separate template files,
using the template mechanism from core.
It is still possible to specify the HTML directly as before,
to be used in gadgets etc.

Change-Id: Ia7ad5aaa9cac429d1c9d706bdf6760e3eda358bc
2015-08-14 13:07:27 +00:00
Translation updater bot 0172989787 Localisation updates from https://translatewiki.net.
Change-Id: Iea3c8da3972d235bd17f58667c44e975fbb9e77c
2015-08-13 20:58:57 +02:00
Translation updater bot 6c6d405360 Localisation updates from https://translatewiki.net.
Change-Id: I91a95a42e29eaa37f488a77ae875da149db4c5bc
2015-08-12 21:35:06 +02:00
Translation updater bot df8ce68715 Localisation updates from https://translatewiki.net.
Change-Id: I7462c6a6782f883f6167321890091c6c4e202670
2015-08-11 22:10:50 +02:00
Translation updater bot e5bcd3e7a2 Localisation updates from https://translatewiki.net.
Change-Id: I6a5a891542f0c34bcd45daba91dc5b44fa70f198
2015-08-10 22:00:51 +02:00
Translation updater bot 4b90d0249a Localisation updates from https://translatewiki.net.
Change-Id: I12ca288dae00a47d36dc135b7a98f0c81912acbf
2015-08-09 20:49:58 +02:00
Translation updater bot 98b95f9399 Localisation updates from https://translatewiki.net.
Change-Id: I147dc7135a68d261af4eeed05046fedf2086ada9
2015-08-08 21:16:15 +02:00
Translation updater bot c2b264cf2d Localisation updates from https://translatewiki.net.
Change-Id: I5821d2572e73f376508cf5a397021314b30b22e0
2015-08-07 21:54:48 +02:00
Translation updater bot 9bb76e4d0c Localisation updates from https://translatewiki.net.
Change-Id: I71bc7837157670a5b53e562d1c11b8a3f0647551
2015-08-06 21:39:46 +02:00
Translation updater bot 335301a487 Localisation updates from https://translatewiki.net.
Change-Id: I2435b82a5f08fc7715935987c0d58fb460457bb8
2015-08-05 22:37:57 +02:00
This, that and the other 52d3e279a1 Replace hidesig module with a more robust implementation
Per T42972, the current hidesig implementation is broken, and only
hides the signature button in namespace 0 regardless of the value of
$wgContentNamespaces.

Seeing as the old implementation of hidesig was broken, I don't really
think backward compatibility with old configurations is a useful
concern here. In particular, hiding of the signature button is no longer
able to be configured in Special:Preferences (why such a trivial pref was
ever able to be exposed to users, I don't know).

Bug: T59727
Change-Id: I596fd435bc9be8c37da43177c1bea90ebff0b2fe
2015-08-05 13:59:00 +10:00
Translation updater bot 3d01bf161b Localisation updates from https://translatewiki.net.
Change-Id: I683f2851539a7040f27ccf84c8ac3b3e61156d29
2015-08-03 22:06:46 +02:00
Translation updater bot df723a9830 Localisation updates from https://translatewiki.net.
Change-Id: I490d66c5f4d6272b93cefbbe9217f0b9b2e0c2b8
2015-08-01 21:49:51 +02:00
Translation updater bot dd7bd86429 Localisation updates from https://translatewiki.net.
Change-Id: Idd3ea847324cb4fc34c4458fd30853ce8b924908
2015-07-30 21:14:06 +02:00
Translation updater bot 8527899c21 Localisation updates from https://translatewiki.net.
Change-Id: I9df26773b02e6fc778b54221d5e86e701955c870
2015-07-29 21:52:51 +02:00
Translation updater bot 3796e35a72 Localisation updates from https://translatewiki.net.
Change-Id: Iba0e321f311f19032f098ce6e03e173b0ce18fd5
2015-07-27 21:37:05 +02:00
Translation updater bot a0252232bc Localisation updates from https://translatewiki.net.
Change-Id: I42a23ba98f932ce4ec4a4480a64e7c61d372a9a1
2015-07-26 21:42:47 +02:00
Translation updater bot 26098611ef Localisation updates from https://translatewiki.net.
Change-Id: If7e2d113275c091ee5014bded6f7ac58cb76e166
2015-07-25 21:58:53 +02:00
Translation updater bot 1bec65434b Localisation updates from https://translatewiki.net.
Change-Id: I4856fe57e49f489171b277a67127740f8abc5358
2015-07-24 21:10:56 +02:00
Kunal Mehta 592728483e Set license-name
Change-Id: I197ab648c3e1bdcac8b2dbc6f6ed985b7fd296c7
2015-07-22 22:06:55 -07:00
Translation updater bot a6d0b4e395 Localisation updates from https://translatewiki.net.
Change-Id: Ia9975e7879104610ec80c7118ce10cd626eaa394
2015-07-22 22:18:54 +02:00
Derk-Jan Hartman 1b02e98296 Toolbar: Remove Opera redraw hack
The versions of Opera that this was targeting aren't really supported
anymore anyways. So let's just remove this hack.

Bug: T106574
Change-Id: I1b11fc8ec30f3c33b681daff7f676fa965fb78cb
2015-07-22 21:06:28 +02:00
jenkins-bot 10ff6c36de Merge "WikiEditor shouldn't store wrong cookies for booklets" 2015-07-21 23:01:58 +00:00
jenkins-bot 75021184a9 Merge "Fix spaces" 2015-07-21 23:01:55 +00:00
Translation updater bot 7de69decb8 Localisation updates from https://translatewiki.net.
Change-Id: I200e63ba9377091d011bbf87cd59f8330691ceef
2015-07-21 21:49:29 +02:00
jenkins-bot 8173336157 Merge "WikiEditor: Improve help section" 2015-07-21 16:56:45 +00:00
Ebrahim Byagowi 2d188d18f9 Use "B" and "I" icon for Persian
Change-Id: I4e6f69debc489d34e611bc177975fba9c3874a54
2015-07-20 22:31:04 +00:00
Translation updater bot cc94467971 Localisation updates from https://translatewiki.net.
Change-Id: I36752adfef6d6f155fbcc63f160f8b9e70f71dcc
2015-07-20 21:59:54 +02:00
Schnark 27353c44b7 WikiEditor: Improve help section
* Internal links: Show simple example first
* References: Show use of unnamed references
* Discussion: Use --~~~~ for consistency with what the toolbar button inserts

Bug: T26128
Change-Id: I08de0ad416727447eccad914c2ade3a93e5a8ae2
2015-07-20 07:42:35 +00:00
Fomafix 7c932c06da Fix spaces
Change-Id: Icce6ba3de9e472472b8b9e98e78e4aece82e806d
2015-07-20 07:12:45 +00:00
Translation updater bot 584ea5ae19 Localisation updates from https://translatewiki.net.
Change-Id: Ie884d6f5f9cc80a3b97610a132262e98782c2a58
2015-07-19 21:40:24 +02:00
Translation updater bot 9707886528 Localisation updates from https://translatewiki.net.
Change-Id: Ic70ec52c60494605914ff1879d069729fe0cf341
2015-07-17 22:27:06 +02:00
Schnark 72d7413480 WikiEditor shouldn't store wrong cookies for booklets
When additional booklets are created, or existing removed, WikiEditor
currently stores one wrong cookie for each new booklet. This is because
twice a wrong id is passed as parameter, and because a cookie is set for
the default value. This patch fixes these issues.

Additionally I replaced in the function that needed to be edited a loose
comparison with a strict one ($.cookie will return null, never undefined),
and .size() by .length.

Bug: T27184
Change-Id: Iacc1c71a1e0fc2307a3a28d9c1bb00967ac9827a
2015-07-16 07:19:25 +00:00
Translation updater bot 375c6c0345 Localisation updates from https://translatewiki.net.
Change-Id: Iaeb03ee108b7ddf587b9e08db5062715860d7425
2015-07-15 21:43:54 +02:00
paladox d4b293587c Updated insert-signature image
* Some users have reported that they did not like the new colour for the wirting. New colour changed back to black.

Author is Roul P

Compressed using https://compressor.io/compress

Change-Id: Ieda03d57197bc6c2dd0361e942a819732876ac36
2015-07-14 08:31:17 +00:00
Translation updater bot c4cc03523c Localisation updates from https://translatewiki.net.
Change-Id: I876b39e850ad6928f36dfd2695d66332ace3840e
2015-07-12 21:52:44 +02:00
Translation updater bot 392c8dd5b2 Localisation updates from https://translatewiki.net.
Change-Id: Ic2f8aa3e051b3c4c9495a0912a222c13dfdc24b2
2015-07-11 22:08:41 +02:00
Translation updater bot 414f8f47ce Localisation updates from https://translatewiki.net.
Change-Id: I07e5c19305eb6eb2ec2fb6a1b736e80621993f48
2015-07-10 21:17:16 +02:00
Translation updater bot 24b18f1b06 Localisation updates from https://translatewiki.net.
Change-Id: I1f4fad8a1888af194119026a99088fdcfd6e6ae3
2015-07-08 21:58:20 +02:00
Translation updater bot 0b11ac186f Localisation updates from https://translatewiki.net.
Change-Id: Ibb8e9b8d5701f4dd0b7ee6d34bda554bcb7a6c7c
2015-07-07 22:12:34 +02:00
Derk-Jan Hartman e8d37102a5 Toolbar: Let's remove a speedup loop...
Change-Id: I3e965dda1c48195d7c11f1d7f23a09dd8447cfc7
2015-07-06 14:41:33 +02:00
Translation updater bot a64536de7d Localisation updates from https://translatewiki.net.
Change-Id: I2189eae9ee1eaedf72b9ed5f2f959be9ad00dca5
2015-07-04 20:40:36 +02:00
Translation updater bot b3df54291b Localisation updates from https://translatewiki.net.
Change-Id: Ia74a93005ce5c9c1370255e4cdb0958ca095337c
2015-06-28 22:19:52 +02:00
Fomafix b365425f76 Replace deprecated 'jquery.mwExtension' by 'mediawiki.RegExp'
Replace $.escapeRE from 'jquery.mwExtension' by
mw.RegExp.escape from 'mediawiki.RegExp'.

This change requires MediaWiki 1.26+

Bug: T103993
Change-Id: I5fc19e1313fc6a06726981e0365cea6d00abb5f3
2015-06-26 15:10:20 +00:00
Translation updater bot 7d94f6d4d8 Localisation updates from https://translatewiki.net.
Change-Id: I19746661b8a9556a80bd0157ed2d5525c7dcaf58
2015-06-25 20:50:05 +02:00
Derk-Jan Hartman e71796a9fd Remove reference to non-existing module
The ext.wikiEditor.init module was removed in 596a790d.

Change-Id: Iaed58f621bc02326630559a389cd1021408e418d
2015-06-24 23:16:32 +00:00
Translation updater bot 54b63d31c5 Localisation updates from https://translatewiki.net.
Change-Id: Iafc15d1fefdd1a973aa3dc6cbcd213a90c11e613
2015-06-24 22:08:53 +02:00
jenkins-bot e110a57562 Merge "Remove unused parameter lang from $.wikiEditor.auto* functions" 2015-06-23 20:51:34 +00:00