lhc/web/wiklou.git
10 years agoMerge "Clean up Parser::doQuotes()."
jenkins-bot [Tue, 20 Aug 2013 23:01:20 +0000 (23:01 +0000)]
Merge "Clean up Parser::doQuotes()."

10 years agoMerge "Fatal error: Using $this when not in object context in SpecialUpload.php on...
jenkins-bot [Tue, 20 Aug 2013 20:47:02 +0000 (20:47 +0000)]
Merge "Fatal error: Using $this when not in object context in SpecialUpload.php on line 686"

10 years agoPost-edit confirmation: ensure consistent font-size across skins
Ori Livneh [Tue, 20 Aug 2013 10:12:04 +0000 (03:12 -0700)]
Post-edit confirmation: ensure consistent font-size across skins

The post-edit confirmation display looks awful in MonoBook, because it
specifies an x-small font-size for the entire <body>. This patch ensures
a legible font size of 13px across skins.

Bug: 41404
Change-Id: I772840748adb90dca0b849f1e679d290cbd84413

10 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Tue, 20 Aug 2013 19:39:41 +0000 (19:39 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I332982e76aa7f846c42e81fbd30141d85326f8b8

10 years agoAdd new HTMLForm::addHiddenFields() methods
Alexandre Emsenhuber [Sun, 18 Aug 2013 10:25:36 +0000 (12:25 +0200)]
Add new HTMLForm::addHiddenFields() methods

Allows to set various hidden fields from a single method call;
can be used with:
$form->addHiddenFields( $context->getRequest()->getValues( /* field list */ ) );

Change-Id: I864584e5889297bb680808163f48795bab8f7afb

10 years agoFollow-up db51c53b8f. Fix already used variable name.
Brian Wolff [Tue, 20 Aug 2013 16:36:18 +0000 (09:36 -0700)]
Follow-up db51c53b8f. Fix already used variable name.

This caused the upload warnings to output undefined on
Special:Upload.

Bug: 40785
Change-Id: I733a5092eac21bfbfa100e0bd9aaed583ab044ab

10 years agoMerge "New hook, UserRequiresHTTPS"
jenkins-bot [Tue, 20 Aug 2013 16:25:04 +0000 (16:25 +0000)]
Merge "New hook, UserRequiresHTTPS"

10 years agoNew hook, UserRequiresHTTPS
Max Semenik [Tue, 20 Aug 2013 15:58:12 +0000 (19:58 +0400)]
New hook, UserRequiresHTTPS

Intended for situations where current user can't technically access the
site over a secure connection, e.g. due to a terribly obsolete browser or
WP Zero carrier that provides only insecure free access to the site.

Change-Id: I343985092c49a21fa347ca4dc0e5ec27774ad11d

10 years agoMerge "Update Chechen language namespace names from translatewiki"
jenkins-bot [Tue, 20 Aug 2013 09:54:22 +0000 (09:54 +0000)]
Merge "Update Chechen language namespace names from translatewiki"

10 years agoMerge "$wgHooks: add closure docs & admonition to register handlers early"
jenkins-bot [Tue, 20 Aug 2013 09:51:32 +0000 (09:51 +0000)]
Merge "$wgHooks: add closure docs & admonition to register handlers early"

10 years ago$wgHooks: add closure docs & admonition to register handlers early
Ori Livneh [Sun, 28 Jul 2013 08:22:51 +0000 (01:22 -0700)]
$wgHooks: add closure docs & admonition to register handlers early

This patch takes Tim's advice to amend the doc block for $wgHooks with an
admonition to register hook handlers early. (This was after it was determined
that late registration of a CanonicalNamespace handler was responsible for bug
45031). Since I was already here, I also documented the use of closures with
$wgHooks, fulfilling a @TODO.

Change-Id: Id16148dbfbcc89e0365860e078e089ae541ba08f

10 years agoUpdate Chechen language namespace names from translatewiki
This, that and the other [Tue, 20 Aug 2013 09:40:07 +0000 (19:40 +1000)]
Update Chechen language namespace names from translatewiki

Also adding old name back in as an alias.

Bug: 51783
Change-Id: I88790d1e6ccc63bbcd2aff9c26403a710b7e6ff8

10 years agoMerge "Eliminate confusing redundancy in accmailtext"
jenkins-bot [Tue, 20 Aug 2013 09:09:16 +0000 (09:09 +0000)]
Merge "Eliminate confusing redundancy in accmailtext"

10 years agoAdd diff-multi to classes with explicit direction
Amir E. Aharoni [Fri, 16 Aug 2013 11:10:57 +0000 (14:10 +0300)]
Add diff-multi to classes with explicit direction

This ensures that the direction of the notice about the intermediate
versions is in the user language's direction.

Bug: 52321
Change-Id: I1ef8b85dc7a2f6e4a7e6be055ed0f962d5532c7f

10 years agoFix super long line
Chad Horohoe [Tue, 20 Aug 2013 01:16:10 +0000 (18:16 -0700)]
Fix super long line

Change-Id: Ib76a2b6209137bcf18db9b756fa7406547611129

10 years agoAdd some logging for weird redirected POSTs
Chad Horohoe [Tue, 20 Aug 2013 00:29:43 +0000 (17:29 -0700)]
Add some logging for weird redirected POSTs

Change-Id: Ib19ebc2306e85fdb8c29b5850f2306bec7907938

10 years agoRemove padlock icon from login link
Chad Horohoe [Mon, 19 Aug 2013 17:31:38 +0000 (10:31 -0700)]
Remove padlock icon from login link

Change-Id: I021f7a92b84e73502328d8186dc7ca1e1946ca0d

10 years agoMerge "Change secure login to use a user preference"
jenkins-bot [Tue, 20 Aug 2013 00:08:25 +0000 (00:08 +0000)]
Merge "Change secure login to use a user preference"

10 years agoChange secure login to use a user preference
Tyler Anthony Romeo [Fri, 1 Feb 2013 17:25:53 +0000 (12:25 -0500)]
Change secure login to use a user preference

Removed the wpStickHTTPS checkbox from the login form, and instead
just use the user's preferences along with whether they came from
HTTPS or not to determine if they should stay in HTTPS.

Bug: 29898
Bug: 52283
Change-Id: I69e9cb23b8d700e821b8a961c672958e4e19e4f8

10 years agoRelease note update for bug 51064.
Bryan Davis [Mon, 19 Aug 2013 20:15:22 +0000 (13:15 -0700)]
Release note update for bug 51064.

Change-Id: I7b840ccfa010f3e8df09507bbe1c335cc69e5208

10 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Mon, 19 Aug 2013 19:31:50 +0000 (19:31 +0000)]
Localisation updates from translatewiki.net.

Change-Id: Id35bb6bf978ee1bbec6d4e786c589e8dcb18a0f8

10 years agoFatal error: Using $this when not in object context in SpecialUpload.php on line 686
Reedy [Mon, 19 Aug 2013 19:22:29 +0000 (20:22 +0100)]
Fatal error: Using $this when not in object context in SpecialUpload.php on line 686

Bug: 53065
Change-Id: I182e21e072974cb1478602bca70c8d9a31894cd6

10 years agoMerge "Purge upstream caches when deleting file assets."
jenkins-bot [Mon, 19 Aug 2013 18:45:29 +0000 (18:45 +0000)]
Merge "Purge upstream caches when deleting file assets."

10 years agoClean up Parser::doQuotes().
C. Scott Ananian [Fri, 16 Aug 2013 21:08:00 +0000 (17:08 -0400)]
Clean up Parser::doQuotes().

Yes, I'm a perfectionistic masochist.  But there are 1-2 extra levels of
indentation here that could go away.  Touch up some comments while
we're at it.

Change-Id: Iab2c2c8a565186eb7e7cf02ba6094f762a1b0a99

10 years agoPurge upstream caches when deleting file assets.
Bryan Davis [Mon, 19 Aug 2013 18:11:44 +0000 (18:11 +0000)]
Purge upstream caches when deleting file assets.

Inform upstream caches when a file asset is deleted by calling
SquidUpdate::purge(). This helps prevent unintentional information leakage in
the event that the asset is being deleted for reasons of license or content.

Bug: 51064
Change-Id: Ibf57e8f32d7dd04b8508a69706be5a40b49e5abd

10 years agoMerge "Fix comments for grep"
jenkins-bot [Mon, 19 Aug 2013 08:02:07 +0000 (08:02 +0000)]
Merge "Fix comments for grep"

10 years agoMerge "Followup Ifb005e7c: some cleanup in comments."
jenkins-bot [Mon, 19 Aug 2013 08:00:34 +0000 (08:00 +0000)]
Merge "Followup Ifb005e7c: some cleanup in comments."

10 years agoFix comments for grep
shirayuki [Fri, 16 Aug 2013 14:01:46 +0000 (23:01 +0900)]
Fix comments for grep

* category-*-count
* node-count-exceeded-*
* expansion-depth-exceeded-*

Change-Id: If5a58c4f128d15969c56955af43aff76954ca94b

10 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Sun, 18 Aug 2013 19:39:15 +0000 (19:39 +0000)]
Localisation updates from translatewiki.net.

Change-Id: Iad6b538be6d172d232b8e593ff98faf3d5707abe

10 years agoAdjust two new date formats for Polish (pl)
MatmaRex [Sun, 18 Aug 2013 15:07:37 +0000 (17:07 +0200)]
Adjust two new date formats for Polish (pl)

* monthonly - happens to be the same as in English, but nonetheless
  copied explictly to avoid confusion in the future, as it's the only
  one to use the nominative form of month name instead of genitive

* pretty - needs to use genitive month name instead of nominative;
  same for dmy, mdy and ymd variants, as any form with different order
  would be gramatically awkward

I am a native Polish speaker.

Change-Id: Ic253f590b0a60196cf3d98ce8785b151bb576946

10 years agoMerge "Accessibility: Add aria-labelledby to the navigation landmarks"
jenkins-bot [Sun, 18 Aug 2013 12:57:27 +0000 (12:57 +0000)]
Merge "Accessibility: Add aria-labelledby to the navigation landmarks"

10 years agoMerge "Set modes back to 0644 to ImagePage.php and Resources.php"
TheDJ [Sun, 18 Aug 2013 12:05:03 +0000 (12:05 +0000)]
Merge "Set modes back to 0644 to ImagePage.php and Resources.php"

10 years agoShow message when user successfully changed password.
jiabao [Wed, 1 May 2013 06:05:31 +0000 (16:05 +1000)]
Show message when user successfully changed password.

Return a message when password has been successfully changed.
Give a successbox to the message which is the same as it for
saving preference.

Bug: 47399
Change-Id: I255c53d82cf0a58ee9ff1c0c939854e7392872e5

10 years agoDo not parse param of newsectionsummary on new section preview
umherirrender [Fri, 12 Jul 2013 20:39:59 +0000 (22:39 +0200)]
Do not parse param of newsectionsummary on new section preview

Summary preview of section=new shows expand templates.
Using the summary text as raw param avoids this.
Other usages of 'newsectionsummary' do it the same way.

Bug: 40453
Change-Id: I1fd3adfc64c664dfd490c11bfe60924fa215875c

10 years agoCommenting and doc fixes around the spam regexes
Matthew Flaschen [Sat, 3 Aug 2013 20:52:00 +0000 (16:52 -0400)]
Commenting and doc fixes around the spam regexes

Follow-up to clarify 6e838747487661faf0f404911f062f75ccf950a4 , fix an
older inaccurate comment, and fix a docblock copy-and-paste error.

Change-Id: I14e4ff2a5c3e61d7a9a27428953f1579d9d8436b

10 years agoMake msg method of DerivativeContext work properly.
Brian Wolff [Mon, 12 Aug 2013 18:29:29 +0000 (15:29 -0300)]
Make msg method of DerivativeContext work properly.

Previously, the msg method was not taking into account any
changes to the context, and was just using the original context.

For example, if you had a DerivativeContext object, where the
original context had a language of en, and then you did
$derivContext->setLanguage( 'fr' );, $derivContext->msg( 'foo' )
was still outputting stuff in english instead of french.

Change-Id: I4a87e0e2664e77bf79a80c873db384e0c3f607e7

10 years agoSet modes back to 0644 to ImagePage.php and Resources.php
Alexandre Emsenhuber [Sun, 18 Aug 2013 09:16:36 +0000 (11:16 +0200)]
Set modes back to 0644 to ImagePage.php and Resources.php

Fix for Icd1cde7c62 (427b0e1).

Change-Id: I981a84c1b2f3997daa590acad422445e3640b5fb

10 years agoIn login-throttled, specify how long you have to wait before logging in
Nemo bis [Sun, 11 Aug 2013 09:48:59 +0000 (11:48 +0200)]
In login-throttled, specify how long you have to wait before logging in

Throttle time will be enough to give an idea of the time to wait.
The actual time seems to be the time since the first of the last n
attempts in time t as per $wgPasswordAttemptThrottle, but it does not
seem too bad if the user gets a new full pool of allowed attempts.

Bug: 46965
Change-Id: Id385be840f340476fbe7a818ff1d05154fe86d68

10 years agoMerge "Fix help for --only: override doesn't work with CamelCase"
jenkins-bot [Sun, 18 Aug 2013 08:00:46 +0000 (08:00 +0000)]
Merge "Fix help for --only: override doesn't work with CamelCase"

10 years agoMerge "action=edit API with section=new would fail if page didn't exist"
jenkins-bot [Sat, 17 Aug 2013 20:06:58 +0000 (20:06 +0000)]
Merge "action=edit API with section=new would fail if page didn't exist"

10 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Sat, 17 Aug 2013 19:29:56 +0000 (19:29 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I0fe28c8ad5d61304babf766db49f2c3e9f218a55

10 years agoFix help for --only: override doesn't work with CamelCase
Nemo bis [Thu, 15 Aug 2013 21:47:33 +0000 (23:47 +0200)]
Fix help for --only: override doesn't work with CamelCase

See I725d07397cfa6e61e0644a9a40635d608f6be98d

Change-Id: I51320f5b2ae4335271bda53ce523c79328ff8d83

10 years agoMerge "Sync up with Parsoid parserTests."
jenkins-bot [Fri, 16 Aug 2013 20:59:32 +0000 (20:59 +0000)]
Merge "Sync up with Parsoid parserTests."

10 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Fri, 16 Aug 2013 19:21:57 +0000 (19:21 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I345c7a9f6390d1f3d39d677d624e60bb4da4c17f

10 years agoSync up with Parsoid parserTests.
C. Scott Ananian [Fri, 16 Aug 2013 18:43:14 +0000 (14:43 -0400)]
Sync up with Parsoid parserTests.

This now aligns with Parsoid commit bf60ad87877b573c9db813fe56f38842e2c52a3d

Change-Id: I9647d5010e06263a31970d8c168667af56c75b77

10 years agoMerge "Add a parserTest documenting interaction of tabs and preformatted text."
jenkins-bot [Fri, 16 Aug 2013 18:08:02 +0000 (18:08 +0000)]
Merge "Add a parserTest documenting interaction of tabs and preformatted text."

10 years agoAdd parserTests for the interaction of italics and possessives.
C. Scott Ananian [Fri, 16 Aug 2013 16:42:55 +0000 (12:42 -0400)]
Add parserTests for the interaction of italics and possessives.

Bug: 49926
Change-Id: I9756a1fb0bd583e6a4495ef28c3c159492dad871

10 years agoAdd a parserTest documenting interaction of tabs and preformatted text.
C. Scott Ananian [Fri, 16 Aug 2013 16:16:15 +0000 (12:16 -0400)]
Add a parserTest documenting interaction of tabs and preformatted text.

Tabs are apparently used this way on the front page of plwiki.

Change-Id: I0a65d5a9783071e91696ed2b96887f44199a999d

10 years agoGive grep a chance to find the usages
shirayuki [Fri, 16 Aug 2013 12:58:07 +0000 (21:58 +0900)]
Give grep a chance to find the usages

Change-Id: I18846326539b814fa7fa93ca54117dac3572e4b0

10 years agoConvert underscores to spaces in {{SUBJECTSPACE}}
Pavel Selitskas [Thu, 2 May 2013 00:20:11 +0000 (03:20 +0300)]
Convert underscores to spaces in {{SUBJECTSPACE}}

Bug: 46742
Change-Id: I1af2432cb453efff209e5c384eb484cff5440ebb

10 years agoAllow more than one variant set in user preferences.
Liangent [Wed, 12 Jun 2013 12:13:04 +0000 (12:13 +0000)]
Allow more than one variant set in user preferences.

Now with the introduction of page language, a site can have pages
in all languages, and different languages have different variants.
This patch allows users to set preferred variants for every page
they may see on the site.

Change-Id: Ie7e82bee0b1f8f902b38bb4a464cf0ebc4df4d89

10 years agoRename 'backend' param to 'srbackend' to match API
Chad Horohoe [Thu, 15 Aug 2013 23:54:57 +0000 (16:54 -0700)]
Rename 'backend' param to 'srbackend' to match API

Change-Id: I1ac1502d60a23118746175f857f8f6d8d78f5e25

10 years agoReturn values from finalSetup() aren't evaluated
Reedy [Thu, 15 Aug 2013 22:51:26 +0000 (23:51 +0100)]
Return values from finalSetup() aren't evaluated

Not that parent::finalSetup() returns anything anyway...

Change-Id: I21cb5e13cc83297f24a30ef37859430b0fefb695

10 years agoMerge "Make image pagination not require a page load."
TheDJ [Thu, 15 Aug 2013 20:31:27 +0000 (20:31 +0000)]
Merge "Make image pagination not require a page load."

10 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Thu, 15 Aug 2013 19:40:02 +0000 (19:40 +0000)]
Localisation updates from translatewiki.net.

Change-Id: Ie77d7865cbbf6948ac5b598505d05e6407d17e05

10 years agoMerge "EditPage: Wrap the pipe between "Cancel" and "Editing help" links in a <span>"
TheDJ [Thu, 15 Aug 2013 18:31:43 +0000 (18:31 +0000)]
Merge "EditPage: Wrap the pipe between "Cancel" and "Editing help" links in a <span>"

10 years agoMerge "mediawiki.action.edit: Add styles for edit form's footer"
TheDJ [Thu, 15 Aug 2013 18:31:26 +0000 (18:31 +0000)]
Merge "mediawiki.action.edit: Add styles for edit form's footer"

10 years agoMerge "Avoid "Transaction already in progress" errors in SiteStatsUpdate::doUpdate"
jenkins-bot [Thu, 15 Aug 2013 17:56:35 +0000 (17:56 +0000)]
Merge "Avoid "Transaction already in progress" errors in SiteStatsUpdate::doUpdate"

10 years agoFollow-up I33462. Some stupid issues with gallery patch
Brian Wolff [Thu, 15 Aug 2013 17:21:56 +0000 (14:21 -0300)]
Follow-up I33462. Some stupid issues with gallery patch

Fix some embarrassing issues with my previous patch

Change-Id: I0a9a58ca854326ea594a9b8bd9499c89a0aca6c3

10 years agoMerge "Add a function that returns a list of categories the page is a member of"
jenkins-bot [Thu, 15 Aug 2013 16:04:42 +0000 (16:04 +0000)]
Merge "Add a function that returns a list of categories the page is a member of"

10 years agoAdd a function that returns a list of categories the page is a member of
Kunal Mehta [Fri, 9 Aug 2013 04:59:27 +0000 (12:59 +0800)]
Add a function that returns a list of categories the page is a member of

Main reason is so internal code does not have to recreate the database query
each time. This will also be useful for extensions.

Change-Id: Ia80c051ff0691087564710f2864ed617d5b9ee96

10 years agoNew more slick gallery display
Brian Wolff [Sat, 8 Jun 2013 04:47:07 +0000 (01:47 -0300)]
New more slick gallery display

This extension adds a "mode" parameter to the gallery
tag, allowing different formats for the gallery tag
(galleries in the ui can be controlled by a global)
The added modes are:
*traditional - The original gallery
*nolines - Like the original, no borders, less padding
*packed - All images aligned by having same height.
  JS also justifies the images.
  (I think this one is the one that will go over best
  with users.)
*packed-overlay - like packed, but caption goes over
  top the image in a transloucent box.
*packed-hover - like packed-overlay, but caption only
  visible on hover. Degrades gracefully on screen
  readers, and falls back to packed-overlay if
  you are using a touch screen. I kind of like
  this mode when the caption is not that important
  (ex a category where its just the file name).

This also adds a hook to allow people to make their
own gallery version. I believe there would be interest
in this, as different people have done different
experiments. For example:
* Wikia: http://community.wikia.com/wiki/Help:Galleries,_Slideshows,_and_Sliders/wikitext
* Wikinews: https://en.wikinews.org/wiki/Template:Picture_select

What I would like to see for this patch, is first it gets
enabled, with the default still "traditional". After
about a month or two we consult with users. If feedback
is positive, we change the default mode to one of the
others (probably "packed").

Adds a "mode" parameter to gallery for different
mode, including one 'height-constrained-overlay'
which looks much more like other modern websites.

Note: This makes one change to the old gallery format.
It makes Nonexistent files be rendered like thumbnails
(i.e. they are rendered with a little grey border).

One thing I'm slightly worried about with this patch,
is that I added an option to MediaTransformOutput::toHtml
to override the width attribute. I'm not sure if that
is the best approach, and would appreciate thoughts
on that.

This should be merged at the same time as Ie82c1548

Change-Id: I33462a8b52502ed76aeb163b66e3704c8618ba23

10 years agoSpaces in memcached keys are annoying
Chad Horohoe [Wed, 14 Aug 2013 22:23:30 +0000 (15:23 -0700)]
Spaces in memcached keys are annoying

Change-Id: I2fe2befb4c142cddbcfb73bd71b88d333e804428

10 years agoaction=edit API with section=new would fail if page didn't exist
Kunal Mehta [Wed, 14 Aug 2013 03:34:48 +0000 (20:34 -0700)]
action=edit API with section=new would fail if page didn't exist

If the page doesn't exist, $articleObject->replaceSectionContent will return null
Fixes a regression introduced in be97167ab61e7d59d86f6a9dca53b7016d615735.

Bug: 52830
Change-Id: Icdc0f130eeb40fff5c656c396b2a2af294015b98

10 years agoDon't display empty preference sections
Mark Holmquist [Tue, 16 Jul 2013 03:51:08 +0000 (20:51 -0700)]
Don't display empty preference sections

If a preference section has only hidden or API preferences, there are no
contents. So it would be silly to display a section heading for it,
since the user cannot see anything inside.

Change-Id: Ia1d89032c45a06c5103e50d90f3ef147213dd571

10 years agoMerge "Localisation updates from http://translatewiki.net."
Translation updater bot [Wed, 14 Aug 2013 19:31:16 +0000 (19:31 +0000)]
Merge "Localisation updates from translatewiki.net."

10 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Wed, 14 Aug 2013 19:24:04 +0000 (19:24 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I625810f874ab2286e08494c2b844df5e9b976b3d

10 years agoMerge "Allow individual search backends to control whether they SearchUpdate"
jenkins-bot [Wed, 14 Aug 2013 19:16:28 +0000 (19:16 +0000)]
Merge "Allow individual search backends to control whether they SearchUpdate"

10 years agoMerge "Don't use $wgVariantArticlePath for variants of non-content languages"
jenkins-bot [Wed, 14 Aug 2013 19:05:23 +0000 (19:05 +0000)]
Merge "Don't use $wgVariantArticlePath for variants of non-content languages"

10 years agoMerge "jquery.tablesorter: buildCollationTable() on first sort, not on load"
TheDJ [Wed, 14 Aug 2013 18:57:35 +0000 (18:57 +0000)]
Merge "jquery.tablesorter: buildCollationTable() on first sort, not on load"

10 years agoAllow individual search backends to control whether they SearchUpdate
Chad Horohoe [Tue, 13 Aug 2013 22:54:03 +0000 (15:54 -0700)]
Allow individual search backends to control whether they SearchUpdate

$wgDisableSearchUpdate is a sledgehammer for disabling all indexing
which is fine for most people, but sometimes you've got multiple
search backends and you want some to update but not others. This
allows each backend to tell core whether they support the feature.

This also removes the SearchUpdate hook which really doesn't make
sense and nobody uses but CirrusSearch and an abandoned extension
from 7 years ago.

Will require parallel change to MWSearch (Ibd002347) and Cirrus (I87a5b8cc)

Change-Id: I2063fe05000044225fa6bec2171ed0071b84a5cf

10 years agoDon't use $wgVariantArticlePath for variants of non-content languages
Liangent [Wed, 14 Aug 2013 16:04:26 +0000 (16:04 +0000)]
Don't use $wgVariantArticlePath for variants of non-content languages

Currently PathRouter understands variants of $wgContLang only, and it
wouldn't be easy to extend it to variants of the given title because at
the time of preparing PathRouter for parsing, the title is unknown yet.

Bug: 52852
Bug: 52850
Change-Id: I7dcf7dc73e36945e420a66d99329c09c75b17882

10 years agoFollowup Ifb005e7c: some cleanup in comments.
Liangent [Wed, 14 Aug 2013 15:35:41 +0000 (15:35 +0000)]
Followup Ifb005e7c: some cleanup in comments.

There're still various "disable" left there in messages, which are
fixable on translatewiki.net:

MessagesIke_cans.php:'variantname-iu' => 'disable',
MessagesIke_latn.php:'variantname-iu' => 'disable',
MessagesKk.php:'variantname-kk-kz'   => 'disable',
MessagesKk.php:'variantname-kk-tr'   => 'disable',
MessagesKk.php:'variantname-kk-cn'   => 'disable',
MessagesKk.php:'variantname-kk'      => 'disable',
MessagesKu_latn.php:'variantname-ku' => 'disable',
MessagesShi.php:'variantname-shi' => 'disable',

Change-Id: Ic8f874660f3b6f266ab791422cc5ee1749546a00

10 years agoMerge "Allow lines empty but for tabs and comments to be ignored."
jenkins-bot [Tue, 13 Aug 2013 22:29:40 +0000 (22:29 +0000)]
Merge "Allow lines empty but for tabs and comments to be ignored."

10 years agoAllow lines empty but for tabs and comments to be ignored.
C. Scott Ananian [Thu, 8 Aug 2013 23:48:16 +0000 (19:48 -0400)]
Allow lines empty but for tabs and comments to be ignored.

We originally allowed only spaces around comments.  Now allow tabs as
well.  This ought to affect very few pages, but it helps predictability
and to maintain consistency between the PHP preprocessor and parsoid.

Change-Id: Icb3ff6eec08aaa83ae332d03c910c13995c9c9ee

10 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Tue, 13 Aug 2013 19:34:53 +0000 (19:34 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I9e0942f951e1d62d464f55a5dc313a7922c99ed8

10 years agoMerge "CologneBlue: Make editform's textareas 100% wide"
jenkins-bot [Tue, 13 Aug 2013 18:55:29 +0000 (18:55 +0000)]
Merge "CologneBlue: Make editform's textareas 100% wide"

10 years agoMerge "Select search backend by query parameter"
jenkins-bot [Tue, 13 Aug 2013 18:49:13 +0000 (18:49 +0000)]
Merge "Select search backend by query parameter"

10 years agoMerge "Made runJobs.php respect time limits better and try to bail before OOMs"
jenkins-bot [Tue, 13 Aug 2013 18:09:10 +0000 (18:09 +0000)]
Merge "Made runJobs.php respect time limits better and try to bail before OOMs"

10 years agoMerge "Revert "Make line breaks in <blockquote> behave like <div> (bug 6200)." See...
jenkins-bot [Tue, 13 Aug 2013 18:07:30 +0000 (18:07 +0000)]
Merge "Revert "Make line breaks in <blockquote> behave like <div> (bug 6200)."  See bug 52763"

10 years agoMerge "Break some long lines"
jenkins-bot [Tue, 13 Aug 2013 18:05:52 +0000 (18:05 +0000)]
Merge "Break some long lines"

10 years agoMerge "Added batchFetchFromURLs() for mwstore backend"
jenkins-bot [Tue, 13 Aug 2013 18:03:53 +0000 (18:03 +0000)]
Merge "Added batchFetchFromURLs() for mwstore backend"

10 years agoMerge "Removed unused $dbw variable and connection"
jenkins-bot [Tue, 13 Aug 2013 18:01:59 +0000 (18:01 +0000)]
Merge "Removed unused $dbw variable and connection"

10 years agoRevert "Make line breaks in <blockquote> behave like <div> (bug 6200)." See bug...
Subramanya Sastry [Tue, 13 Aug 2013 17:27:48 +0000 (17:27 +0000)]
Revert "Make line breaks in <blockquote> behave like <div> (bug 6200)."  See bug 52763

This reverts commit b9d0e5e4e763aa58647f88739ed0e5682685d064.

Change-Id: I9451f7d11fe01085e4289b21b2e905751bdbf800

10 years agoTweak login/account creation for logged in users
Alex Monk [Sat, 22 Dec 2012 20:12:09 +0000 (20:12 +0000)]
Tweak login/account creation for logged in users

* Don't show the "Don't have an account? [Join <sitename>]" box to
  logged-in users.
* Use different message for "Real name" (disabled on WMF wikis) when
  creating another's account.

Also document showCreateOrLoginLink() and set its visibility.

Bug: 43172
Change-Id: I1b0bb6b78cbc5d37ef9f380a4bdf0f65d021a57f

10 years agoEditPage: Wrap the pipe between "Cancel" and "Editing help" links in a <span>
MatmaRex [Fri, 26 Jul 2013 10:16:05 +0000 (12:16 +0200)]
EditPage: Wrap the pipe between "Cancel" and "Editing help" links in a <span>

This will make it possible to hide or style it without nasty hacks
like the one Vector extension's ext.vector.footerCleanup module uses.

Bug: 43689
Change-Id: Id9269876939d3453c53473f7e3650c375f6fdd22

10 years agoAccessibility: Add aria-labelledby to the navigation landmarks
Derk-Jan Hartman [Tue, 13 Aug 2013 12:15:11 +0000 (14:15 +0200)]
Accessibility: Add aria-labelledby to the navigation landmarks

This helps distinguish the various 'navigation' landmarks from eachother
when they are listed by the software

Change-Id: Ib948f60ab97cd2a60d6d607c9a7a2f7061282fe4

10 years agoRemoved unused $dbw variable and connection
Aaron Schulz [Tue, 13 Aug 2013 07:42:09 +0000 (00:42 -0700)]
Removed unused $dbw variable and connection

Change-Id: I47060139fe762257847f482d24bd284fe6123452

10 years agoAdded batchFetchFromURLs() for mwstore backend
Aaron Schulz [Tue, 13 Aug 2013 07:07:29 +0000 (00:07 -0700)]
Added batchFetchFromURLs() for mwstore backend

Change-Id: I71cfe206c8eef79acb6507bc841a4798747a5f84

10 years agoMake some messages optional
raymond [Tue, 13 Aug 2013 06:46:14 +0000 (08:46 +0200)]
Make some messages optional

Followup Ie065c7b5a17bbf1aa484d0ae1f3ee0f5d41f8495

Change-Id: I1f2f648de8c257dcc9a822f19cd32bc7408605ae

10 years agoAdd limit report data on preview pages
Brad Jorsch [Thu, 14 Mar 2013 12:43:06 +0000 (08:43 -0400)]
Add limit report data on preview pages

While we've long had the "NewPP limit report" hidden in an HTML comment,
it is hard for users to find this as they're not likely to look for
profiling information hidden in an HTML comment. Even for those aware of
it, it's not particularly convenient to find.

This changeset adds a table showing this information at the bottom of
the page preview. It also adds the ability for this information to be
added to the ParserOutput object in a structured manner, and various
messages so the report can be localized for the end user.

Note that, for backwards compatability, the default English messages are
used for the "NewPP limit report" comment rather than the localized
messages.

Change-Id: Ie065c7b5a17bbf1aa484d0ae1f3ee0f5d41f8495

10 years agoMake wfReadOnly() a wrapper around wfReadOnlyReason()
Kevin Israel [Fri, 10 May 2013 07:37:04 +0000 (03:37 -0400)]
Make wfReadOnly() a wrapper around wfReadOnlyReason()

This makes more sense than having wfReadOnlyReason() call
wfReadOnly() for its side effect of setting $wgReadOnly
to the contents of $wgReadOnlyFile if the file exists.

Change-Id: Ic723aed368915ac3757f3100ddbbeb3b5a4cdc15

10 years agojobqueue: cleaned up JobQueue exception handling
Aaron Schulz [Wed, 19 Jun 2013 03:09:10 +0000 (20:09 -0700)]
jobqueue: cleaned up JobQueue exception handling

* Added JobQueueError exceptions.
* Periodic tasks that fail are logged and skipped.
* JobQueueFederated properly fails over now.

Change-Id: I9d9f0dae548a9dde693a7cd25c255a8bfbf37899

10 years agoReplace remaining sajax use
Alex Monk [Sun, 26 May 2013 16:25:30 +0000 (17:25 +0100)]
Replace remaining sajax use

Bug: 40785
Change-Id: I4a0af8986f924cd127a73828e72da6998f28536c

10 years agogetConfiguration.php now supports regex
Antoine Musso [Wed, 17 Jul 2013 16:22:17 +0000 (18:22 +0200)]
getConfiguration.php now supports regex

Let us dump global settings based on regex.

* --regex and --iregex to filter globals in $GLOBALS
* validation of --format
* format is now case insensitive
* vardump format

Change-Id: I3a1ddc8ab3c9e41a47b55f412e7f2b018e99b647

10 years agoSelect search backend by query parameter
Chad Horohoe [Wed, 31 Jul 2013 18:33:57 +0000 (11:33 -0700)]
Select search backend by query parameter

This is useful when you're doing testing of multiple search
engines and you want to compare results.

Note that it doesn't do anything for the prefix search which is ok!

Change-Id: I96a08c64ac84e93b0bec2e8b08d8943b775e68d1

10 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Mon, 12 Aug 2013 19:22:57 +0000 (19:22 +0000)]
Localisation updates from translatewiki.net.

Change-Id: If79d597a6d152efde427145496770ce441306c02

10 years agoSync up with Parsoid parserTests.
C. Scott Ananian [Mon, 12 Aug 2013 16:50:37 +0000 (12:50 -0400)]
Sync up with Parsoid parserTests.

This now aligns with Parsoid commit 44d2188ce875a97441e7ffcc40c2824bc52092c8

Change-Id: I6e6e0755e3bd335ba9d34d4a053384cf04847137

10 years agoMerge "HistoryAction: There is no mediawiki.legacy.history module"
TheDJ [Mon, 12 Aug 2013 12:30:59 +0000 (12:30 +0000)]
Merge "HistoryAction: There is no mediawiki.legacy.history module"

10 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Sun, 11 Aug 2013 19:02:44 +0000 (19:02 +0000)]
Localisation updates from translatewiki.net.

Change-Id: Ibef6bc2f72261b59cc28c0e7aebf1c2bc575fa87