Commit graph

15014 commits

Author SHA1 Message Date
Translation updater bot
425c51e9b2 Localisation updates from https://translatewiki.net.
Change-Id: I95727cea51152a116d75a2843d837cedbff53566
2017-08-15 08:04:52 +02:00
Translation updater bot
79519fbf84 Localisation updates from https://translatewiki.net.
Change-Id: If08fcdfd7268397691d725d198d222f9fce9cfbb
2017-08-14 08:20:23 +02:00
Translation updater bot
19d97cd420 Localisation updates from https://translatewiki.net.
Change-Id: I324f599c4c46011cf7348ca75fc1d08e1beafe3f
2017-08-13 22:09:09 +02:00
Geoffrey Mon
700e49dddd Unwatch link for pages in Special:Watchlist
When the 'watchlistunwatchlinks' preference option is enabled, this
adds a '×' link to each entry of the watchlist that unwatches the page
of that entry. When clicked, it changes into a '+' which can be used to
re-watch the page (effectively undoing the earlier unwatch).
When a page is unwatched, its entries and the entries of its associated
talk page (or vice versa) become translucent and are struck through.

Without JS, '×'/'+' link to action=(un)watch for the relevant page.

In addition, ChangesList classes have been modified to allow a prefixer
that adds a prefix to each line (used in this case to put the unwatch
link) and to add HTML data attributes to reliably determine the target
page of each entry. Unit tests have been updated accordingly.

Bug: T2424
Change-Id: I450b2901413d7e75c11de2a446829fdbb22d31e1
2017-08-12 19:36:29 -04:00
Translation updater bot
8cff129de1 Localisation updates from https://translatewiki.net.
Change-Id: Ic427ce81276365b5e4ce288bd1b330850592ac81
2017-08-12 21:57:43 +02:00
jenkins-bot
84b6d5c2e5 Merge "Add missing type to @param documentation" 2017-08-11 21:31:51 +00:00
jenkins-bot
69fabec0f1 Merge "update mediawiki-codesniffer to 0.11.0 and fix issues" 2017-08-11 20:43:52 +00:00
WMDE-Fisch
6df9ed1ad6 update mediawiki-codesniffer to 0.11.0 and fix issues
- mostly auto fixes
- some too long lines fixed
- ignore amp space in one case  passing by reference

Change-Id: I6472f83bc3cbf4bd629d83050cc3319b19ec465c
2017-08-11 22:27:51 +02:00
Translation updater bot
507a26fd0a Localisation updates from https://translatewiki.net.
Change-Id: I4e8ad1e97a08441dad773c8435309df93ab347d9
2017-08-11 22:03:27 +02:00
Umherirrender
5544cef16b Add missing type to @param documentation
Change-Id: I6b2c9c7af9a281fe457099cc3a336a60a25e74aa
2017-08-11 20:37:35 +02:00
Translation updater bot
f23bed6315 Localisation updates from https://translatewiki.net.
Change-Id: Ib722424a58bbb3d15c56c70ba29732f2be2d6669
2017-08-10 22:26:18 +02:00
jenkins-bot
802e79a13f Merge "Add new static function LanguageCode::replaceDeprecatedCodes" 2017-08-10 20:04:34 +00:00
Fomafix
55ecf3e215 Add new static function LanguageCode::replaceDeprecatedCodes
Refactor the deprecatedLanguageCodeMapping to a private variable.

Change-Id: I5f8e601e53de183e6268c9ef601eef8390b725cd
2017-08-10 15:21:59 -04:00
jenkins-bot
d5a7166771 Merge "Rename autonym for 'no' from 'norsk bokmål' to 'norsk'" 2017-08-10 19:21:27 +00:00
PiRSquared17
3430278e37 Document Special:Diff and Special:PermanentLink
If no revision is given to Special:Diff or PermaLink show a form
(cf. Special:ComparePages)
List these on Special:SpecialPages under "redirects".

Bug: 45221
Change-Id: I77edd4a1bbd342d4d18c27d5bc10dac76b8ab6c9
2017-08-10 19:48:05 +02:00
Translation updater bot
fc2380c9d2 Localisation updates from https://translatewiki.net.
Change-Id: I3739aeab3e581196211409b1e155944ec52dc04d
2017-08-09 21:56:18 +02:00
Translation updater bot
585c33ab31 Localisation updates from https://translatewiki.net.
Change-Id: I967912e9c2d7fa6423e504531d655dc3057a86af
2017-08-08 21:54:22 +02:00
jenkins-bot
956c2430c7 Merge "Show protection log on creation-protected pages" 2017-08-07 22:12:44 +00:00
Étienne Beaulé
d22eeb8441 Show protection log on creation-protected pages
This change would add the message 'titleprotectedwarning'
to pages that have been protected against creation, just
like how deleted pages have their log visible beforere-creation.
It is visible to everyone, whether or not they are allowed to
recreate the page.

Bug: T171338
Change-Id: I5acf1bee9cea056b20b77fd386bc9df65033cded
2017-08-07 21:32:16 +00:00
Translation updater bot
456dff471f Localisation updates from https://translatewiki.net.
Change-Id: I67dc3e23a15b91c2eb6594570aacd6bb6755cbc6
2017-08-07 21:53:51 +02:00
Translation updater bot
68b6b5341b Localisation updates from https://translatewiki.net.
Change-Id: Id226baddee0b5f5737c1555995da1aa8527558b2
2017-08-06 21:57:21 +02:00
jenkins-bot
fb79f30319 Merge "Fix and make some types in PHPDoc and JSDoc tags more specific" 2017-08-05 22:08:00 +00:00
Translation updater bot
4a57391c75 Localisation updates from https://translatewiki.net.
Change-Id: Iaf71189ac54c3c2d01e67375f2430f22c643b8c9
2017-08-05 21:57:31 +02:00
Thiemo Mättig
c785efd25e Fix and make some types in PHPDoc and JSDoc tags more specific
Change-Id: I7c109067579f570ecccaabc75b0b4db7eac4e6c2
2017-08-05 18:46:44 +02:00
Bartosz Dziewoński
8785e4a5b3 Replace remaining uses of deprecated DB_SLAVE with DB_REPLICA
Change 950cf6016c took care of the most,
but a few remain, either outside of includes/ and maintenance/
directories (which that change was limited to), or in code introduced
afterwards.

Change-Id: I9c363d0219ea7e71cde520faba39406949a36d27
2017-08-05 10:10:26 +00:00
jenkins-bot
3829105ac7 Merge "SpecialWatchlist: Always apply a LIMIT" 2017-08-05 00:11:44 +00:00
Roan Kattouw
a67c0252e3 SpecialWatchlist: Always apply a LIMIT
In non-extended mode, the query that SpecialWatchlist ran
was unlimited, which is a very bad idea, since some users
have tens of thousands of pages on their watchlist.
There are broader performance issues with large watchlists,
but this doesn't help.

With this patch the wllimit preference is used to limit
the number of results both in expanded and in non-expanded mode.

Bug: T171027
Change-Id: Ifcefe6f77fa4adeca2e50714813004018819aee8
2017-08-04 16:45:21 -07:00
Translation updater bot
7de48169a6 Localisation updates from https://translatewiki.net.
Change-Id: I7db074c26fdb26d538c56e4eb21db39b281aa9b3
2017-08-04 22:45:42 +02:00
jenkins-bot
cd4130790a Merge "Fix not parsed message on Special:Import" 2017-08-04 00:40:34 +00:00
Translation updater bot
eb585c477e Localisation updates from https://translatewiki.net.
Change-Id: I6cf48725421e6667086e4e7ebdbaf4b7036d092e
2017-08-03 22:08:30 +02:00
Stephane Bisson
f8d2c2c7a3 RCFilters: Correct label for "View newest changes" button
Bug: T163426
Change-Id: I7cdc307e6276844305f3696356363fb77a4e2611
2017-08-03 13:39:57 -04:00
Moriel Schottlender
554440cd86 RCFilters: Adjust styling of 'other review tools' button
Bug: T172237
Bug: T166919
Change-Id: Id13414274d099c2f9bb151b0b793eff172209929
2017-08-02 16:26:16 -07:00
Translation updater bot
6321636c0a Localisation updates from https://translatewiki.net.
Change-Id: Ib48461504793301094af9ad70faeb7e6255b7567
2017-08-02 23:01:42 +02:00
Stephane Bisson
e3460a6666 RCFilters: set live update button title
Bug: T167743
Change-Id: Iefea4001371921753e0622c195810b080c459968
2017-08-02 15:15:03 -04:00
jenkins-bot
dbfae05d39 Merge "Rename the "live preview" preference to be clearer what it provides" 2017-08-02 16:02:51 +00:00
jenkins-bot
1f2c768a9d Merge "RCFilters: Add 'enhanced' view (Group by pages)" 2017-08-02 01:19:59 +00:00
Moriel Schottlender
eb767102f7 RCFilters: Add 'enhanced' view (Group by pages)
Bug: T168513
Change-Id: If099f8809342f68662f91824a2b023bf90833760
2017-08-01 18:09:07 -07:00
James D. Forrester
39e64a68d6 Rename the "live preview" preference to be clearer what it provides
Bug: T171176
Change-Id: I2a9f94fa36245593163197707ae13bcb86aa62b8
2017-08-01 17:58:53 -07:00
Moriel Schottlender
9d7f4ef9ac RCFilters: Add 'advanced filters' label to the view selection
Bug: T171894
Change-Id: I595d7d4a66eaedb76c9a4e4690be4ec4ef696a2d
2017-08-01 16:23:18 -07:00
jenkins-bot
71f6a71132 Merge "RCFilters: Pluralize 'show last X changes' message" 2017-08-01 21:13:31 +00:00
Florian Schmidt
c5d63ff572 Fix not parsed message on Special:Import
If session data is lost between the transactions (read: the csrf token
does not match), the error message contains some wiki markup as well as
HTML. However, unfortunately, SpecialImport uses $out->wrapWikiMsg() in
combination with an error message (with wiki markup and HTML) wrapped as
a parameter of another message. This results in an escaped paramater and
it is not parsed correctly, which leads in wiki markup send to the user.

This change fixes that issue by parsing the message directly.

Bug: T172114
Change-Id: If49a600173c44d098f25d6e2a9b87b7b7bf3ee2a
2017-08-01 22:43:51 +02:00
Translation updater bot
6762771185 Localisation updates from https://translatewiki.net.
Change-Id: I981b8966b91712c673793270e4bfe928e6d90e83
2017-08-01 22:07:32 +02:00
Moriel Schottlender
9f2467444d RCFilters: Pluralize 'show last X changes' message
Bug: T171047
Change-Id: I353140a2aeb8a383fe439baf887676857ae99321
2017-08-01 12:45:40 -07:00
jenkins-bot
c3666b91f3 Merge "RCFilters: show new changes" 2017-07-31 22:23:46 +00:00
Translation updater bot
bd50005e3f Localisation updates from https://translatewiki.net.
Change-Id: I5389c55f987527a1ba58e11cea0937e1d6888cb7
2017-07-31 22:04:15 +02:00
Stephane Bisson
e2bea6350c RCFilters: show new changes
When "live update" is off and new changes are detected,
show a link to load and prepend the changes to the list.

Also adding a line between old and new changes
when grouping by pages is off.

Bug: T163426
Change-Id: I6a111d23956bdc04caa4c71e9deede056779aafa
2017-07-31 08:50:09 -04:00
Translation updater bot
19cc066749 Localisation updates from https://translatewiki.net.
Change-Id: I96387423844fd658c38225a43cabdc06e258900f
2017-07-30 22:05:59 +02:00
Translation updater bot
b161fd7b30 Localisation updates from https://translatewiki.net.
Change-Id: I65223520fecf6d5ef2ae15427edf417422c15666
2017-07-29 22:02:39 +02:00
jenkins-bot
be656c67a2 Merge "RCFilters: Make 'related links' collapsible" 2017-07-29 01:16:05 +00:00
Moriel Schottlender
b71ad28776 RCFilters: Make 'related links' collapsible
Bug: T166919
Change-Id: I89d69c6614f641ac92143f0b1a718145e9cd61bd
2017-07-28 18:03:49 -07:00