Localisation updates from http://translatewiki.net.

Change-Id: Ie9ba0b9c675e47a542276b516317271e4a11cc32
Localisation updates from http://translatewiki.net.

Change-Id: I514225965dc8873298190e2d35c52dcaddc19e99
Localisation updates from http://translatewiki.net.

Change-Id: Ia6305586080b03d7fc99a7a6d0741d65282d88a4
Localisation updates from http://translatewiki.net.

Change-Id: Iab77d68219caf22b6b09ddaca15ead18e2d77bfa
Localisation updates from http://translatewiki.net.

Change-Id: I85b7bae515a51ad56036269ad8be761fa46966be
Localisation updates from http://translatewiki.net.

Change-Id: I36742a7aa137dc254640debaf44cf5b084ab65bf
Localisation updates from http://translatewiki.net.

Change-Id: Ib2210a6f2e34db3aaf7e4b406283234dcb559ce9
Don't even mention $wgTitle in a comment

Change-Id: I0f9d10c1287687120cbaed6346de935d306019ca
Localisation updates from https://translatewiki.net.

Change-Id: I84ae400df5583f0b3522efc068353def2338b4ba
Localisation updates from https://translatewiki.net.

Change-Id: I88c78decc933bac77c9dd39500136f1b295aad7c
Localisation updates from https://translatewiki.net.

Change-Id: Ib0594ea7945f9758ad1f17673549ce08118a6364
Localisation updates from https://translatewiki.net.

Change-Id: Ib500d0964b0e19eaf3baf62038dd6250c6a51bc1
Fix bug with require by explicily using $dir

Under some more unconventional setups, I have found that this require_once
line can break. Explicitly adding the directory (with $dir) to the path
solves the problem.

Change-Id: Iff7a061be4c22d705d03d67cf8af9cc7805928ea
Localisation updates from https://translatewiki.net.

Change-Id: If484963cabae405759187db65871a711cecd5860
{{NUMBEROFCOMMENTSPAGE}} magic word/parser funct

Magic word to allow getting the number of comments on the current page,
and number of comments on any given page ({{NUMBEROFCOMMENTS:<page}}). To allow both situations, a magic word and parser function are needed. (This is what makes the code a bit messy). To organise things, I have moved the existing
{{NUMBEROFCOMMENTS}} magic word code into NumberOfComments.php, along with
the new magic word/parser function code, some of which has been integrated
into the existing {{NUMBEROFCOMMENTS}} hooks.

Extension version bumped up to 2.9

Change-Id: Ibc66c0d1e26653136f59b72be6fa17650ac740a8
Merge "{{NUMBEROFCOMMENTSPAGE}} magic word/parser funct"
Localisation updates from https://translatewiki.net.

Change-Id: I40594d0b1f82d9fde8ff967c33c6be26ee156722
Version 3.0: AJAX pager, better anti-spam measures, etc.

If a page has more than 100 comments, pager is used instead of trying to
load all comments at once, which could cause OOM issues when a page has
lots and lots of comments.

Using external links in comments now requires the new 'commentlinks' user
right, which is given to the autoconfirmed group by default. Without this
user right, the user cannot post content that contains *any* external
links.

Posting "spam" (content that matches $wgSpamRegex, $wgSummarySpamRegex or
other such filters which are hooked to the Comments::isSpam hook) requires
the commentadmin user right.

Patch by MediaWiki.org user SimonLitt with some very minor cleanup by me.

Change-Id: I4d1d67c745999d31d000b15893e7af93dbd6d41c
Localisation updates from https://translatewiki.net.

Change-Id: Ied88b277756df1bbeeb84ee11630adb36d1958c2
Localisation updates from https://translatewiki.net.

Change-Id: I06ef7869d3ea959b7abd7bcb546efd2690715b36