lhc/web/wiklou.git
11 years agoMerge "(bug 31565) Option to use group members on Special:UserRights"
Nikerabbit [Mon, 29 Oct 2012 08:58:36 +0000 (08:58 +0000)]
Merge "(bug 31565) Option to use group members on Special:UserRights"

11 years agoPreemptively add image-set to our sanitizer.
Daniel Friesen [Fri, 19 Oct 2012 08:12:56 +0000 (01:12 -0700)]
Preemptively add image-set to our sanitizer.

WebKit's -webkit-image-set() requires a url() to work however css4-images'
version of image-set permits strings such that image-set( 'asdf.png' 1x ) would be permitted
and would bypass our filters.

Change-Id: I366d04807f66df449f791a5e8e2cb58768124a9a

11 years ago(bug 31565) Option to use group members on Special:UserRights
Amir E. Aharoni [Wed, 24 Oct 2012 10:24:37 +0000 (12:24 +0200)]
(bug 31565) Option to use group members on Special:UserRights

If a language community wants to show member names rather than
group names, it's possible to use the new optional message
userrights-groupsmember-type.

Change-Id: I1dc3efcb2c8a32a01b33158c9a14c079e42705d7

11 years ago(bug 40641) Implement Special:Version/Credits
Marius Hoch [Tue, 23 Oct 2012 00:21:47 +0000 (02:21 +0200)]
(bug 40641) Implement Special:Version/Credits

I've implemented Special:Version/Credits to have a nice list of contributors,
without having to download a file. The page takes it's data from the
CREDITS file and parses it as wiki text.

(As I was on it, I was so bold to add my name to the CREDITS)

Change-Id: Ic956c303d57fdccfd214c2fcb78d04c6bd30449a

11 years agoMerge "revert gerrit change 29597 for TextContent constructor"
Siebrand [Sun, 28 Oct 2012 22:30:53 +0000 (22:30 +0000)]
Merge "revert gerrit change 29597 for TextContent constructor"

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Sun, 28 Oct 2012 21:04:20 +0000 (21:04 +0000)]
Localisation updates from translatewiki.net.

Change-Id: Ie33d83a4d96477c2ed53bba8ee01bc760b980351

11 years agoMerge "(bug 41443) Link in password reset is broken"
IAlex [Sun, 28 Oct 2012 20:25:15 +0000 (20:25 +0000)]
Merge "(bug 41443) Link in password reset is broken"

11 years ago(bug 41443) Link in password reset is broken
Marius Hoch [Sat, 27 Oct 2012 00:10:02 +0000 (02:10 +0200)]
(bug 41443) Link in password reset is broken

The link in the password reset email was broken, because the
paramters for passwordreset-emailtext-user were over-escaped.
I've fixed this with passing the message unescaped, per suggestion.

Change-Id: If2665a419f5ee11602d4a69b60f7c4786f816ee2

11 years agoMerge "(bug 41457) PHP Fatal error: Cannot break/continue 2 levels in maintenance...
IAlex [Sun, 28 Oct 2012 19:19:00 +0000 (19:19 +0000)]
Merge "(bug 41457) PHP Fatal error: Cannot break/continue 2 levels in maintenance/runJobs.php on line 94"

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Sat, 27 Oct 2012 21:09:42 +0000 (21:09 +0000)]
Localisation updates from translatewiki.net.

Change-Id: Idec43da0b0f04b1579d3f250a81315377d69d337

11 years ago(bug 41457) PHP Fatal error: Cannot break/continue 2 levels in maintenance/runJobs...
Reedy [Sat, 27 Oct 2012 20:34:34 +0000 (21:34 +0100)]
(bug 41457) PHP Fatal error: Cannot break/continue 2 levels in maintenance/runJobs.php on line 94

Change-Id: Ic53227596a0acdc92bc9925a260b7f029e67da03

11 years agoFix unmatched profiling calls
Niklas Laxström [Sat, 27 Oct 2012 17:34:39 +0000 (17:34 +0000)]
Fix unmatched profiling calls

Change-Id: Iccddc819712b4f3c00e826a21fa131ed1298bb35

11 years agoMerge "(bug 1) document Skin::buildSidebar per own experience"
TheDJ [Sat, 27 Oct 2012 12:51:08 +0000 (12:51 +0000)]
Merge "(bug 1) document Skin::buildSidebar per own experience"

11 years agoMerge "A little cleanup in gender"
Siebrand [Sat, 27 Oct 2012 10:52:26 +0000 (10:52 +0000)]
Merge "A little cleanup in gender"

11 years agoMerge "(bug 41439) Set be as fallback language for be-tarask."
Siebrand [Sat, 27 Oct 2012 10:31:43 +0000 (10:31 +0000)]
Merge "(bug 41439) Set be as fallback language for be-tarask."

11 years agoMerge "rm unused $egWBRemoteTitleNormalization var from MediaWikiSite.php"
IAlex [Sat, 27 Oct 2012 06:17:28 +0000 (06:17 +0000)]
Merge "rm unused $egWBRemoteTitleNormalization var from MediaWikiSite.php"

11 years agoMerge "The class is named Revision, no need to shout its name :) Remove a couple...
IAlex [Sat, 27 Oct 2012 06:10:18 +0000 (06:10 +0000)]
Merge "The class is named Revision, no need to shout its name :) Remove a couple of unused globals."

11 years agorm unused $egWBRemoteTitleNormalization var from MediaWikiSite.php
aude [Fri, 26 Oct 2012 22:07:50 +0000 (22:07 +0000)]
rm unused $egWBRemoteTitleNormalization var from MediaWikiSite.php

Change-Id: I8151b79f97ac7fea547a974ad64d404ff881a2e2

11 years agoA little cleanup in gender
Amir E. Aharoni [Fri, 26 Oct 2012 21:26:12 +0000 (23:26 +0200)]
A little cleanup in gender

Documentation and whitespace.

Change-Id: Ia28ab9eee8d1fb6301532d820f7f8cfd2f8a5146

11 years agoAvoid duplicate "null" change journal entries.
Aaron Schulz [Fri, 26 Oct 2012 22:01:01 +0000 (15:01 -0700)]
Avoid duplicate "null" change journal entries.

Change-Id: Ie5625963d4755b7aa7b3ecf3aaca0eb9e9e22cf5

11 years agoThe class is named Revision, no need to shout its name :)
Platonides [Fri, 26 Oct 2012 21:41:24 +0000 (23:41 +0200)]
The class is named Revision, no need to shout its name :)
Remove a couple of unused globals.

Change-Id: I750536bc05ed7a5433840b916b17df93d30da5bf

11 years ago(bug 41439) Set be as fallback language for be-tarask.
Platonides [Wed, 24 Oct 2012 15:35:30 +0000 (17:35 +0200)]
(bug 41439) Set be as fallback language for be-tarask.

Per the thread at
 http://lists.wikimedia.org/pipermail/wikilovesmonuments/2012-October/005194.html

Change-Id: I2f4da7a478eae8996a1f77c819864d3e9457cf07

11 years ago(bug 1) document Skin::buildSidebar per own experience
MatmaRex [Mon, 22 Oct 2012 18:59:44 +0000 (20:59 +0200)]
(bug 1) document Skin::buildSidebar per own experience

Lessons learned from CologneBlue rewrite and bug 40857.

Change-Id: If56df0a7ce20bc8f7a73252d06baf97264793069

11 years agoMerge "fix sidebar HTML escaping in CologneBlue (again)"
Catrope [Fri, 26 Oct 2012 21:10:24 +0000 (21:10 +0000)]
Merge "fix sidebar HTML escaping in CologneBlue (again)"

11 years agofix sidebar HTML escaping in CologneBlue (again)
MatmaRex [Fri, 26 Oct 2012 21:04:01 +0000 (23:04 +0200)]
fix sidebar HTML escaping in CologneBlue (again)

Followup to I6df92c62.

Change-Id: If9394a6223da987dc363057e276c7f754acc06a8

11 years agoMinor documentation fix.
Aaron Schulz [Fri, 26 Oct 2012 21:02:32 +0000 (14:02 -0700)]
Minor documentation fix.

Change-Id: I4efc89b4b4149caba62663a7b56f0f57eb9c6b52

11 years agoMerge "fix sidebar HTML escaping in CologneBlue"
Ori.livneh [Fri, 26 Oct 2012 20:49:36 +0000 (20:49 +0000)]
Merge "fix sidebar HTML escaping in CologneBlue"

11 years agoRewritten $wgAdaptiveMessageCache
Niklas Laxström [Wed, 24 Oct 2012 14:59:37 +0000 (14:59 +0000)]
Rewritten $wgAdaptiveMessageCache

This was developed for translatewiki.net, which has but
millions of messages in MediaWiki namespace. To avoid
exploding the message cache, not all of them can be
loaded. Instead of logging what messages have been
requested, now it uses the fact that if the
message has not been customised in the
site language, there is most likely
no reason to load it in any other
language either.

Change-Id: I6dd81b3858acfd2b73332e46668d46015e99c748

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Fri, 26 Oct 2012 19:36:23 +0000 (19:36 +0000)]
Localisation updates from translatewiki.net.

Change-Id: Icb7d8fbc1c2bcca4c53b776b2abeb0e4928380cf

11 years agoMerge "Fix tabs inside/between statements/text"
Nikerabbit [Fri, 26 Oct 2012 18:57:25 +0000 (18:57 +0000)]
Merge "Fix tabs inside/between statements/text"

11 years agoMerge "Fix rc_logid in RecentChange::loadFromCurRow"
Nikerabbit [Fri, 26 Oct 2012 18:35:25 +0000 (18:35 +0000)]
Merge "Fix rc_logid in RecentChange::loadFromCurRow"

11 years agoMerge "Move cache purging out of doUpdates()"
MaxSem [Fri, 26 Oct 2012 16:41:04 +0000 (16:41 +0000)]
Merge "Move cache purging out of doUpdates()"

11 years agoFix tabs inside/between statements/text
umherirrender [Fri, 26 Oct 2012 16:18:59 +0000 (18:18 +0200)]
Fix tabs inside/between statements/text

This tabs are strange and a space there is better

Change-Id: I0885dff575ee2fcd0668d08fef3226e132c5b319

11 years agoFix indentation whitespace errors
umherirrender [Fri, 26 Oct 2012 15:42:13 +0000 (17:42 +0200)]
Fix indentation whitespace errors

Change-Id: Ie268bee2098c589c050e1b5b0e93fe1b3feca86f

11 years agoFix rc_logid in RecentChange::loadFromCurRow
umherirrender [Fri, 26 Oct 2012 15:22:14 +0000 (17:22 +0200)]
Fix rc_logid in RecentChange::loadFromCurRow

Blame r32046

Change-Id: Id50dfe0704d3bb6dd8ecac9ff0395761813d53e7

11 years ago(bug 41298) re-apply I9a56b7c6, Don't parse the section's name in the summary
aude [Fri, 26 Oct 2012 04:10:19 +0000 (04:10 +0000)]
(bug 41298) re-apply I9a56b7c6, Don't parse the section's name in the summary

Change-Id: I11492200ed8cd199dbbde737a28e8acb07403096

11 years agoraise timeout for UserTest::testEditCount
Antoine Musso [Fri, 26 Oct 2012 11:02:48 +0000 (13:02 +0200)]
raise timeout for UserTest::testEditCount

UserTest::testEditCount did eleven calls to doEdit which is slow when
used with the sqlite backend. I have made to do less edits and also
marked it as '@group medium' which means the timeout will be 10 seconds
instead of 2 seconds.

Change-Id: If2d055075470f837009568d56b1119a57b177ba3

11 years agoMerge "(bug 41409) Fix regression in diffs while editing old revisions"
Daniel Kinzler [Fri, 26 Oct 2012 08:05:48 +0000 (08:05 +0000)]
Merge "(bug 41409) Fix regression in diffs while editing old revisions"

11 years ago[FileBackend] More improvements to README file.
Aaron Schulz [Fri, 26 Oct 2012 04:15:49 +0000 (21:15 -0700)]
[FileBackend] More improvements to README file.

Change-Id: Ie2a7a457b2cdf6090f6f48824b3dd131d661880a

11 years ago(bug 41409) Fix regression in diffs while editing old revisions
Brad Jorsch [Fri, 26 Oct 2012 02:09:50 +0000 (22:09 -0400)]
(bug 41409) Fix regression in diffs while editing old revisions

Until the ContentHandler merge, when editing an old revision the "Show
changes" button would show the diff between the current version and the
text in the edit field. It appears that the ContentHandler merge somehow
unfixed bug 34849.

The same fix that was applied for that bug in r112819 translated into
ContentHandler terms seems to fix the bug again here.

Change-Id: I1eee25c530ef87ff2ecd61f0fd5c01de94eccb98

11 years agoMerge "Revert "Function for "pretty timestamps" that are human readable and understan...
Tychay [Thu, 25 Oct 2012 22:36:32 +0000 (22:36 +0000)]
Merge "Revert "Function for "pretty timestamps" that are human readable and understandable.""

11 years agoMerge "Seems we have error conditions where fa_storage_key == ''"
Aaron Schulz [Thu, 25 Oct 2012 21:23:10 +0000 (21:23 +0000)]
Merge "Seems we have error conditions where fa_storage_key == ''"

11 years agoMerge "[JobQueue] Added support for approximate FIFO job queues."
Brion VIBBER [Thu, 25 Oct 2012 21:07:07 +0000 (21:07 +0000)]
Merge "[JobQueue] Added support for approximate FIFO job queues."

11 years agoFix warnings and enforce conventions in ContentHandler tests.
Timo Tijhof [Sat, 20 Oct 2012 01:51:15 +0000 (03:51 +0200)]
Fix warnings and enforce conventions in ContentHandler tests.

Syntax:
* Call parent setUp from setUp.
* Set required globals for the test inside the test class instead
  of assuming the default settings.
* Data providers are called statically and outside setUp/tearDown
  ("public static function")
* Test function names should be prefixed with "test"
  ("testIsRedirect")
* Marked 2 functions as unused. JavascriptContentTest has 2 data
  providers for tests that don't exist in it (nor in TextContentText)
  but do exist in WikitextContentTest.

Style:
* Single quotes
* Remove odd comment "# =====" lines
* Consistent tree wrapping with arrays.
  array(
      array(
          .. ) );
  array(
      array(
          ..
      )
  );
  Some were closing on the previous line instead.
  Made it consistent now.
* Remove odd indentation to make nested arrays line up:
  array( 'foo' => array(  'bar' => true,
                          'baz' => array() ) )
  array( 'foo' => array(
      'bar' => true,
      'baz' => array()
  ) )

  We don't do this kind of indentation because it is fragile
  and becomes outdates when any of the earlier keys ("foo")
  change. Converted to a regular tree instead.

  Also triggered git warnings for mixing spaces with tabs, which
  is almost always an detector for this style.

* Not using @annotations in inline comments, reserved (and only
  parsed/meaningful) for block comments.

Follows-up 8b568be5e2dfb889e1eeedbdca50b304864174f7

Change-Id: Ic55d539b9a58f448b550bcd98894d389764e0694

11 years agoMerge "Localisation updates from http://translatewiki.net."
Translation updater bot [Thu, 25 Oct 2012 20:05:44 +0000 (20:05 +0000)]
Merge "Localisation updates from translatewiki.net."

11 years agoMerge "(bug 38377) Fix MediaWiki:Continue-editing"
Nikerabbit [Thu, 25 Oct 2012 20:02:42 +0000 (20:02 +0000)]
Merge "(bug 38377) Fix MediaWiki:Continue-editing"

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Thu, 25 Oct 2012 19:52:59 +0000 (19:52 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I015596c76b853ed572b9f4457fffd23970670b21

11 years agoMerge "(Bug 41370) protect aginst content-less revisions"
Aaron Schulz [Thu, 25 Oct 2012 19:14:28 +0000 (19:14 +0000)]
Merge "(Bug 41370) protect aginst content-less revisions"

11 years agoMerge "Add additional job columns to PostgreSQL as well."
Aaron Schulz [Thu, 25 Oct 2012 18:25:58 +0000 (18:25 +0000)]
Merge "Add additional job columns to PostgreSQL as well."

11 years agoMove cache purging out of doUpdates()
Chad Horohoe [Mon, 15 Oct 2012 15:16:37 +0000 (11:16 -0400)]
Move cache purging out of doUpdates()

It makes a whole lot more sense to run this at the end of the
update process after post update maintenance rather than just
at the end of schema updates.

Run update.php more than once so all the updatelog entries
are populated and you'll see why it makes sense.

Change-Id: Ice42a31dee1e6b41da4aa0a47e8786579382aff1

11 years ago[JobQueue] Added support for approximate FIFO job queues.
Aaron Schulz [Wed, 24 Oct 2012 17:14:54 +0000 (10:14 -0700)]
[JobQueue] Added support for approximate FIFO job queues.

Change-Id: Icd8c084174e26a2a69f370e7bf6f858eba76e520

11 years agoBug 11748: Handle optionally-closed HTML tags
Gabriel Wicke [Tue, 17 Apr 2012 16:58:52 +0000 (18:58 +0200)]
Bug 11748: Handle optionally-closed HTML tags

* Fixes bug 11748 (Parser issue for HTML definition list) and similar
  issues for nested unordered / ordered lists

* Stops wrapping HTML-syntax definition lists into paragraphs
  for consistency with their wikitext variants

* Enables one previously disabled test and adds another for nested
  definition lists with HTML syntax

Change-Id: If75ed54e11452dbcf5e6213cc20923064f811715

11 years agoadd some brackets in RecentChange.php
aude [Thu, 25 Oct 2012 12:58:46 +0000 (12:58 +0000)]
add some brackets in RecentChange.php

Change-Id: I36bb75bcb9bcd4a91263cb7d79352ab7442b19f8

11 years agoMerge "alter sql.php prompt on line continuation"
Demon [Thu, 25 Oct 2012 13:35:32 +0000 (13:35 +0000)]
Merge "alter sql.php prompt on line continuation"

11 years agoMerge "(bug 37020) sql.php with readline eats semicolon"
Demon [Thu, 25 Oct 2012 13:32:38 +0000 (13:32 +0000)]
Merge "(bug 37020) sql.php with readline eats semicolon"

11 years agoMerge "accessor for database delimiter"
Demon [Thu, 25 Oct 2012 13:32:24 +0000 (13:32 +0000)]
Merge "accessor for database delimiter"

11 years agoMerge "sql.php in interactive no more exit on DBerror"
Demon [Thu, 25 Oct 2012 13:31:39 +0000 (13:31 +0000)]
Merge "sql.php in interactive no more exit on DBerror"

11 years agoSeems we have error conditions where fa_storage_key == ''
Reedy [Thu, 25 Oct 2012 13:27:49 +0000 (14:27 +0100)]
Seems we have error conditions where fa_storage_key == ''

continue!

Change-Id: I28a06bf6a806fd4db44af6822ca3cd93747481fb

11 years agofix code style violations in RecentChange.php
aude [Thu, 25 Oct 2012 12:43:21 +0000 (12:43 +0000)]
fix code style violations in RecentChange.php

Change-Id: I39e74dd23812f1e22991b3c316b6a29339123b17

11 years agoMerge "(Bug 41298) partial fix: re-apply Id4d5504a"
TheDJ [Thu, 25 Oct 2012 12:17:50 +0000 (12:17 +0000)]
Merge "(Bug 41298) partial fix: re-apply Id4d5504a"

11 years agoMerge "(Bug 41298) partial fix: re-applying Id7b331e1b"
TheDJ [Thu, 25 Oct 2012 12:16:28 +0000 (12:16 +0000)]
Merge "(Bug 41298) partial fix: re-applying Id7b331e1b"

11 years agosql.php in interactive no more exit on DBerror
Antoine Musso [Thu, 25 Oct 2012 11:14:24 +0000 (13:14 +0200)]
sql.php in interactive no more exit on DBerror

This patch make it so that after a DBerror a new prompt is shown to the
user. Save us from having to relaunch sql.php.

Change-Id: Id3df3df87f6fe7b2aea31e0526c5ff697bc5832c

11 years agoalter sql.php prompt on line continuation
Antoine Musso [Thu, 25 Oct 2012 11:03:59 +0000 (13:03 +0200)]
alter sql.php prompt on line continuation

As long as a command is not ended with a database delimiter, sql.php
kept appending the line without noticing the users. That is a bit
confusing since you might not even know what you are going to run when
entering the delimiter.

This patch alter the prompt to '    ->' until the command is finished.
That is more in line with how MySQL cli handles it.

Example:
$ php sql.php
> SELECT
-> *
-> from
-> job;
Query OK, 0 row(s) affected
// repeal command:
> SELECT * from job

Change-Id: Ic18b39d75d4db48d37d485e66f36d691e95934fb

11 years ago(bug 37020) sql.php with readline eats semicolon
Antoine Musso [Thu, 25 Oct 2012 11:00:03 +0000 (13:00 +0200)]
(bug 37020) sql.php with readline eats semicolon

The database delimitor is now appended to the command before it is saved
in readline history.

Change-Id: Ie6bbac2d74e2e5df3910c5612adbd373a9c4695b

11 years agoaccessor for database delimiter
Antoine Musso [Thu, 25 Oct 2012 10:39:32 +0000 (12:39 +0200)]
accessor for database delimiter

The command delimiter is a protected propery which prevents us form
getting it outside of Database scope. This patch add a public accessor
getDelimiter() so we can access it.

Change-Id: I676d7ed9765444366fdf3dddb07c535807dabf52

11 years agoRevert "Function for "pretty timestamps" that are human readable and understandable."
Siebrand [Thu, 25 Oct 2012 10:22:16 +0000 (10:22 +0000)]
Revert "Function for "pretty timestamps" that are human readable and understandable."

This reverts commit b2180648656e9628ce7c156f87fc45e051072e25

Appears to have been merged prematurely. More comments were made after merge, there's an i18n technicality that I5840cc2f would address and there appear to be some design issues that have been discussed on wikitech-1 in thread http://lists.wikimedia.org/pipermail/wikitech-l/2012-October/064036.html

11 years agodeprecate make(Known?)LinkObj methods
umherirrender [Fri, 5 Oct 2012 18:20:19 +0000 (20:20 +0200)]
deprecate make(Known?)LinkObj methods

Restore deprecation warnings from 1.16. The methods Linker::makeLinkObj
and Linker::makeKnownLinkObj should be replaced by calls to link().

Change-Id: I658289ac2b52a193b76edd946368e228cfa389cb

11 years ago(Bug 41370) protect aginst content-less revisions
daniel [Thu, 25 Oct 2012 07:51:23 +0000 (09:51 +0200)]
(Bug 41370) protect aginst content-less revisions

getAutoDeletereason did not gracefully deal with revisions that would
return null as their content (e.g. for deleted revisions).

Change-Id: I4976f2d09b8666ca1bccebea346af37ee77b09f7

11 years agoMake action=query&list=users use User::getRights()
Hoo man [Tue, 11 Sep 2012 23:45:35 +0000 (01:45 +0200)]
Make action=query&list=users use User::getRights()

Made action=query&list=users use User::getRights() if
usprop rights given. This not only removes redundant
code, but makes it execute the UserGetRights hook, so
that this now includes rights given by Extensions (eg.
CentralAuth does that).

Patch Set 2: Modified the User class to be able to
inject further data into User::newFromRow() and using
that to inject the groups taken out of one SQL query
(for performance reasons). Furthermore I've split up
the query in ApiQueryUsers.php into one for user data
and one for the groups, to only have one row for each
user.
After all the perfomance of this should now be ok, not
extremly good, but bearable (though I couldn't test it
deeply, as I don't have much data in my CentralAuth
environment).

Change-Id: Ie5b2924abb82ac254c77e1d04cc4d5b308962dad

11 years agoMerge "Function for "pretty timestamps" that are human readable and understandable."
Reedy [Thu, 25 Oct 2012 00:58:19 +0000 (00:58 +0000)]
Merge "Function for "pretty timestamps" that are human readable and understandable."

11 years agoMerge "fix fatal error in HttpTest"
Aaron Schulz [Wed, 24 Oct 2012 21:57:02 +0000 (21:57 +0000)]
Merge "fix fatal error in HttpTest"

11 years agorevert gerrit change 29597 for TextContent constructor
aude [Wed, 24 Oct 2012 15:35:02 +0000 (15:35 +0000)]
revert gerrit change 29597 for TextContent constructor

https://gerrit.wikimedia.org/r/#/c/29597/

use cases that pass non-strings to TextContent need to be handled differently
and handle the exceptions

Change-Id: Id3f88b0fb867fff0d16abcf570178cbbe86e89a1

11 years agofollow up for edit conflicts
aude [Wed, 24 Oct 2012 21:03:14 +0000 (21:03 +0000)]
follow up for edit conflicts

Change-Id: I511b78664fd2c14d63a1d399cb5ddefa2d125a22

11 years agoMerge "Bug 37209: change exception into debug entry"
Demon [Wed, 24 Oct 2012 20:45:52 +0000 (20:45 +0000)]
Merge "Bug 37209: change exception into debug entry"

11 years agoBug 37209: change exception into debug entry
RobLa [Wed, 24 Oct 2012 20:30:56 +0000 (13:30 -0700)]
Bug 37209: change exception into debug entry

Change-Id: Ic2d3f0b8b0b15828a8acbc8868f26102bb33e75d

11 years ago(bug 41352) restore pre-ContentHandler version of mergeChangesInto()
aude [Wed, 24 Oct 2012 20:28:07 +0000 (20:28 +0000)]
(bug 41352) restore pre-ContentHandler version of mergeChangesInto()

New implementation using ContentHandler is buggy and needs repair

Change-Id: I4c2055bed3e660be255621e4d476d7c489f4c371

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Wed, 24 Oct 2012 19:59:46 +0000 (19:59 +0000)]
Localisation updates from translatewiki.net.

Change-Id: Iaa5f02bce9c0fdf1bc1745fee4628a64f622f816

11 years ago[JobQueue] README file for job queue classes.
Aaron Schulz [Tue, 23 Oct 2012 18:32:46 +0000 (11:32 -0700)]
[JobQueue] README file for job queue classes.

Change-Id: Ib3e3eb4905511ba4d5fdfdf4f32279a6b6c1ac51

11 years agoAdd additional job columns to PostgreSQL as well.
Tim Landscheidt [Mon, 22 Oct 2012 16:59:04 +0000 (16:59 +0000)]
Add additional job columns to PostgreSQL as well.

This ports I49824c7fa855fea4ddcac5c9901ece8c2c0101d0 and fixes
bug #41196.

Change-Id: I18e0ac3aee2c2627f89d28d4a34afd90c822af91

11 years agoMerge "(bug 41349) mediawiki.searchSuggest: Reorder code + fix selectors"
Krinkle [Wed, 24 Oct 2012 18:32:10 +0000 (18:32 +0000)]
Merge "(bug 41349) mediawiki.searchSuggest: Reorder code + fix selectors"

11 years ago(bug 41349) mediawiki.searchSuggest: Reorder code + fix selectors
MatmaRex [Wed, 24 Oct 2012 15:51:59 +0000 (17:51 +0200)]
(bug 41349) mediawiki.searchSuggest: Reorder code + fix selectors

The code for general suggestions wouldn't run at all if no primary
search box was found. I moved this check down, to where the box is
actually needed.

The selectors were hardcoded with no explanation. Added comments,
added selector .mw-searchInput (as a generic one to be used by
skins with multiple search boxes, currently only CologneBlue).

Change-Id: Ie22fb66926688b0fdb28a121cfa0fb61ead0246d

11 years agoSome minor fixes to README file.
Aaron Schulz [Wed, 24 Oct 2012 17:40:16 +0000 (10:40 -0700)]
Some minor fixes to README file.

Change-Id: I93a1f2ef728791016956a44864e9456d3de102a3

11 years agoMerge "Remove float from config-settings-block"
Demon [Wed, 24 Oct 2012 17:24:38 +0000 (17:24 +0000)]
Merge "Remove float from config-settings-block"

11 years agoMerge "[FileBackend] Created README file for the file backend classes."
Demon [Wed, 24 Oct 2012 17:22:33 +0000 (17:22 +0000)]
Merge "[FileBackend] Created README file for the file backend classes."

11 years agoMerge "Use ParserOptions::newFromUserAndLang in tests"
Hashar [Wed, 24 Oct 2012 16:35:49 +0000 (16:35 +0000)]
Merge "Use ParserOptions::newFromUserAndLang in tests"

11 years ago(Bug 41298) partial fix: re-apply Id4d5504a
daniel [Wed, 24 Oct 2012 14:31:42 +0000 (16:31 +0200)]
(Bug 41298) partial fix: re-apply Id4d5504a

The changes in EditPage were apparently lost during merge.

Change-Id: I2628d73a35eaab45336986959a585c7381b78471

11 years agoUse ParserOptions::newFromUserAndLang in tests
umherirrender [Sun, 14 Oct 2012 19:34:26 +0000 (21:34 +0200)]
Use ParserOptions::newFromUserAndLang in tests

This avoids using $wgUser and $wgLang for the ParserOption, which is not
needed in the tests

Change-Id: Iea07e9a0f0898ec5f8eb98a40000f5d33b279c9e

11 years ago(Bug 41298) partial fix: re-applying Id7b331e1b
daniel [Wed, 24 Oct 2012 13:40:17 +0000 (15:40 +0200)]
(Bug 41298) partial fix: re-applying Id7b331e1b

Changes to EditPage.php apparently got lost during merge.
Wonder how that happened, there are no conflicts.

Change-Id: I5449d0331f5d60ed0296b69888e10272f47f9d42

11 years ago(Bug 41298) partial fix: re-apply I9441a277
daniel [Wed, 24 Oct 2012 13:19:44 +0000 (15:19 +0200)]
(Bug 41298) partial fix: re-apply I9441a277

Apparently, this change got lost during merge. Oops.

Change-Id: I75ddf1d9f2abfa97fb76d47da6fadd63658c0d46

11 years agoMerge "Correct documentation for EditFilter hook parameter"
IAlex [Wed, 24 Oct 2012 11:36:59 +0000 (11:36 +0000)]
Merge "Correct documentation for EditFilter hook parameter"

11 years agoCorrect documentation for EditFilter hook parameter
Siebrand Mazeland [Wed, 24 Oct 2012 08:17:19 +0000 (10:17 +0200)]
Correct documentation for EditFilter hook parameter

Change-Id: I1f5dbc834c44c33fce495a8c4ca5fc0f2b61b4c7

11 years agoConsistency tweak: Monobook -> MonoBook
raymond [Wed, 24 Oct 2012 07:14:58 +0000 (09:14 +0200)]
Consistency tweak: Monobook -> MonoBook

Spotted by Shirayuki
https://translatewiki.net/wiki/Thread:Support/About_MediaWiki:Monobook.css/en

Change-Id: I408bcf361ef242c2cf522ce2288bafd053943ddb

11 years agoMerge "Swap isSpecialPage for canExist()"
Reedy [Tue, 23 Oct 2012 22:40:37 +0000 (22:40 +0000)]
Merge "Swap isSpecialPage for canExist()"

11 years agoSwap isSpecialPage for canExist()
Reedy [Tue, 23 Oct 2012 21:36:32 +0000 (22:36 +0100)]
Swap isSpecialPage for canExist()

Add another check in ApiBase::getTitleOrPageId

Change-Id: I2123e3a3034cb815cf35f66f2fbf2b94fb27069f

11 years agoMerge "(bug 26585) Detect CSV/array values in $_SERVER['REMOTE_ADDR']."
Aaron Schulz [Tue, 23 Oct 2012 21:18:21 +0000 (21:18 +0000)]
Merge "(bug 26585) Detect CSV/array values in $_SERVER['REMOTE_ADDR']."

11 years ago(bug 26585) Detect CSV/array values in $_SERVER['REMOTE_ADDR'].
Tyler Anthony Romeo [Wed, 22 Aug 2012 20:38:25 +0000 (16:38 -0400)]
(bug 26585) Detect CSV/array values in $_SERVER['REMOTE_ADDR'].

Changed WebRequest::getRawIP to check for values of
$_SERVER['REMOTE_ADDR'] that are either an array
or a comma separated list of IP addresses, and throw
an exception.

Original patch by Ilmari Karonen. Adapted from original
patch to work with newer MediaWiki version.

Change-Id: I4b3c56adf46b336c5032db3f2a1e621c873f0d83

11 years agoMerge "fix bug 41280, show correct content when displaying edit conflicts"
Reedy [Tue, 23 Oct 2012 20:31:33 +0000 (20:31 +0000)]
Merge "fix bug 41280, show correct content when displaying edit conflicts"

11 years agoMerge "per bug 41244 and 41303, handle null or false params in TextContent constructor"
Reedy [Tue, 23 Oct 2012 20:29:52 +0000 (20:29 +0000)]
Merge "per bug 41244 and 41303, handle null or false params in TextContent constructor"

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Tue, 23 Oct 2012 20:01:07 +0000 (20:01 +0000)]
Localisation updates from translatewiki.net.

Change-Id: Ie47548a4b18f0f73a9e8e691633882caa99282d7

11 years agoMerge "Removed reference to * from docs."
Reedy [Tue, 23 Oct 2012 19:30:41 +0000 (19:30 +0000)]
Merge "Removed reference to * from docs."