lhc/web/wiklou.git
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 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 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 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 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."

11 years agoMerge "Remove duplicate files, no point in loading them twice"
Aaron Schulz [Tue, 23 Oct 2012 19:26:41 +0000 (19:26 +0000)]
Merge "Remove duplicate files, no point in loading them twice"

11 years agoMerge "Moved core Job classes under includes/job/jobs."
Reedy [Tue, 23 Oct 2012 18:45:41 +0000 (18:45 +0000)]
Merge "Moved core Job classes under includes/job/jobs."

11 years agoMerge "Stop php strict error warnings from MemcachedClient::_flush_read_buffer()"
Aaron Schulz [Tue, 23 Oct 2012 18:44:48 +0000 (18:44 +0000)]
Merge "Stop php strict error warnings from MemcachedClient::_flush_read_buffer()"

11 years agoMerge "tests: always call parent setUp"
Aaron Schulz [Tue, 23 Oct 2012 17:59:32 +0000 (17:59 +0000)]
Merge "tests: always call parent setUp"

11 years agotests: always call parent setUp
Antoine Musso [Tue, 23 Oct 2012 17:02:36 +0000 (19:02 +0200)]
tests: always call parent setUp

Some class extending MediaWikiTestCase did not call its setUp method. We
most probably always want to do it since MediaWikiTestCase::setUp() does
garbage collection and might do more in the future.

Change-Id: I68dde370a62c8f4a779836ca0c4ad06844fdc916

11 years agoMerge "Additional parser tests to spec parser behavior and test Parsoid."
GWicke [Tue, 23 Oct 2012 16:59:00 +0000 (16:59 +0000)]
Merge "Additional parser tests to spec parser behavior and test Parsoid."

11 years agoMerge "Localize parentheses in Linker::formatTemplates()"
IAlex [Tue, 23 Oct 2012 16:22:48 +0000 (16:22 +0000)]
Merge "Localize parentheses in Linker::formatTemplates()"

11 years agoAdditional parser tests to spec parser behavior and test Parsoid.
Subramanya Sastry [Tue, 23 Oct 2012 16:17:50 +0000 (11:17 -0500)]
Additional parser tests to spec parser behavior and test Parsoid.

Change-Id: Ife9750c5904cac1557b631f34a4ca8542f389226

11 years agoMerge "Don't try and run a special page through action=parsex"
IAlex [Tue, 23 Oct 2012 16:14:39 +0000 (16:14 +0000)]
Merge "Don't try and run a special page through action=parsex"

11 years agoMerge "More informative debugging messages"
Reedy [Tue, 23 Oct 2012 15:54:27 +0000 (15:54 +0000)]
Merge "More informative debugging messages"

11 years agoper bug 41244 and 41303, handle null or false params in TextContent constructor
aude [Tue, 23 Oct 2012 15:42:20 +0000 (15:42 +0000)]
per bug 41244 and 41303, handle null or false params in TextContent constructor

Instead of throwing exception in these cases (which there are use cases for),
create an empty TextContent object.

Change-Id: Ice30ea78428d95805aa56cd3a35405aa67ad10ab

11 years agoMore informative debugging messages
Niklas Laxström [Tue, 23 Oct 2012 15:23:22 +0000 (15:23 +0000)]
More informative debugging messages

Change-Id: Ib83dde07e8935e9ae3d864a12af7f93b68ee8f85

11 years agoDon't try and run a special page through action=parsex
Reedy [Tue, 23 Oct 2012 14:46:17 +0000 (15:46 +0100)]
Don't try and run a special page through action=parsex

Change-Id: I1b4ca09b1674dbbde91acc6cade4dc1ff810bee5

11 years agoLocalize parentheses in Linker::formatTemplates()
Liangent [Tue, 23 Oct 2012 11:50:05 +0000 (19:50 +0800)]
Localize parentheses in Linker::formatTemplates()

Change-Id: I27c4c26206ba1e9c27a5c120a95491eb30e55522

11 years agofix bug 41300, restore the continue-editing bit of the edit page preview note
aude [Tue, 23 Oct 2012 11:54:04 +0000 (13:54 +0200)]
fix bug 41300, restore the continue-editing bit of the edit page preview note

Change-Id: I39fa7a0951f8e2afe7e25cb61cd1716429228371

11 years agofix bug 41280, show correct content when displaying edit conflicts
aude [Tue, 23 Oct 2012 09:52:58 +0000 (09:52 +0000)]
fix bug 41280, show correct content when displaying edit conflicts

Change-Id: I52522c06d20ddab85799dc33a0d07c10603a20a7

11 years agoMerge "(bug 41292) Fix "containing..." search option"
Krinkle [Tue, 23 Oct 2012 06:24:21 +0000 (06:24 +0000)]
Merge "(bug 41292) Fix "containing..." search option"

11 years agoFix SpecialPage::isRestricted()
Tim Starling [Tue, 23 Oct 2012 05:00:37 +0000 (16:00 +1100)]
Fix SpecialPage::isRestricted()

Fix SpecialPage::isRestricted(), broken by I41edb091 (22dd67e) which
inverted the group permission check. Seems to only affect
Special:SpecialPages. Bug 41294.

Change-Id: I8685eaeb4a688cc8e205afdb1639c08e4a2bd3da

11 years ago(bug 41292) Fix "containing..." search option
Kevin Israel [Tue, 23 Oct 2012 03:30:24 +0000 (23:30 -0400)]
(bug 41292) Fix "containing..." search option

Line 132 of jquery.js checks '<input type="hidden"/>' against
rsingleTag. The 'type="hidden"' part causes the HTML to no longer match
the regex, so jQuery fails to add the braced attributes. The "val: '1'"
part was likely wrong anyway; the correct attribute name is "value".

The bug causes the absence of the fulltext=1 query string argument,
which leaves the title near-match logic enabled even when the user
tries to override it. This commit fixes the problem by just putting all
the attributes inside the HTML string.

Change-Id: Ibcc56f64967e55740c10fdca30c525d4afc8fb25

11 years agoMoved core Job classes under includes/job/jobs.
Aaron Schulz [Tue, 23 Oct 2012 00:23:48 +0000 (17:23 -0700)]
Moved core Job classes under includes/job/jobs.

Change-Id: I9257bb0fce9791190f731d72b2e882a1ae400f35

11 years agoRemoved reference to * from docs.
Aaron Schulz [Mon, 22 Oct 2012 23:39:07 +0000 (16:39 -0700)]
Removed reference to * from docs.

Change-Id: Iec55a1d009f8e89e5c165f282be4dfda0b2b28a7

11 years agoMerge "* (bug 41267) mediawiki.action.edit.preview is not loaded"
Krinkle [Mon, 22 Oct 2012 21:18:32 +0000 (21:18 +0000)]
Merge "* (bug 41267) mediawiki.action.edit.preview is not loaded"

11 years agoMerge "Add additional specs + Parsoid-centric tests to keep Parsoid in line."
GWicke [Mon, 22 Oct 2012 20:46:52 +0000 (20:46 +0000)]
Merge "Add additional specs + Parsoid-centric tests to keep Parsoid in line."

11 years agoMerge "check for null content in ApiParse.php"
Reedy [Mon, 22 Oct 2012 19:04:15 +0000 (19:04 +0000)]
Merge "check for null content in ApiParse.php"

11 years agocheck for null content in ApiParse.php
aude [Mon, 22 Oct 2012 18:48:09 +0000 (18:48 +0000)]
check for null content in ApiParse.php

Change-Id: I32b3c02163f2295f91b680e3a5636105960b971a

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Mon, 22 Oct 2012 18:44:59 +0000 (18:44 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I6cbab03f0e9af894789a03879afda65aec946f8f

11 years agoMerge "Use Html class instead of Xml where possible in Special:Contributions"
Siebrand [Mon, 22 Oct 2012 18:12:53 +0000 (18:12 +0000)]
Merge "Use Html class instead of Xml where possible in Special:Contributions"

11 years ago[FileBackend] Give warnings when metadata is missing from swift.
Aaron Schulz [Mon, 22 Oct 2012 17:41:43 +0000 (10:41 -0700)]
[FileBackend] Give warnings when metadata is missing from swift.

Change-Id: I2ec2429c5fca02fbd8b5130b3f0db31faf6e365e

11 years agoUse Html class instead of Xml where possible in Special:Contributions
Alexandre Emsenhuber [Wed, 10 Oct 2012 19:35:42 +0000 (21:35 +0200)]
Use Html class instead of Xml where possible in Special:Contributions

Also simplified the code by using Html::rawElement() instead of
openElement() and closeElement() and added some lines breaks to
the output for better readability.

Change-Id: Ie7ce5c65ba34b30799580acda0a9d82eb38d257f

11 years ago[FileBackend] Created README file for the file backend classes.
Aaron Schulz [Thu, 18 Oct 2012 21:03:15 +0000 (14:03 -0700)]
[FileBackend] Created README file for the file backend classes.

This patch adds some documentation for the MediaWiki FileBackend system.

Change-Id: I3bf8690f97be783c056c3daf39ff200766e7c8e0

11 years ago* (bug 41267) mediawiki.action.edit.preview is not loaded
Reedy [Mon, 22 Oct 2012 16:49:14 +0000 (17:49 +0100)]
* (bug 41267) mediawiki.action.edit.preview is not loaded

Change-Id: Icfea6f25416ba276ebca5e095e37155a945b8492

11 years agoMerge "Use Linker::link() instead of Linker::linkKnown() when having options"
Siebrand [Mon, 22 Oct 2012 12:06:57 +0000 (12:06 +0000)]
Merge "Use Linker::link() instead of Linker::linkKnown() when having options"

11 years agoMerge "Setting $wgContLang without changing $wgLanguageCode accordingly is a very...
Siebrand [Mon, 22 Oct 2012 12:06:10 +0000 (12:06 +0000)]
Merge "Setting $wgContLang without changing $wgLanguageCode accordingly is a very bad idea."

11 years agoMerge "doxygen now recognizes README and .txt files"
Siebrand [Mon, 22 Oct 2012 12:04:49 +0000 (12:04 +0000)]
Merge "doxygen now recognizes README and .txt files"

11 years agomiscellaneous doxygen warnings
Antoine Musso [Mon, 22 Oct 2012 10:29:52 +0000 (12:29 +0200)]
miscellaneous doxygen warnings

* @licence -> @license
* Protects inline HTML by using double quotes, our inline comments uses
  elements such as <h1> or <firstnameLastname@gmail.com>
* Commands in lowercase (@TODO -> @todo, @NOTE -> @note)
* removes @abstract and @static since doxygen detects them from PHP
  code.
* various undocumented function parameters
* typos in parameters declarations

Change-Id: I62ad6fc124c355bf31acc780b9614a59cf79a421

11 years agodoxygen now recognizes README and .txt files
Antoine Musso [Mon, 22 Oct 2012 09:57:49 +0000 (11:57 +0200)]
doxygen now recognizes README and .txt files

The default doxygen configuration file only accepts source files such
as php or python.  Some of our documentation is in flat files which we
might want to include in our Doxygen inline documentation. The culprit
is that those document files needs to respect Doxygen syntax, i.e. the
text content need to be enclosed in a comment block such as:

 /*!
 \page page_title My Page Title

 My awesome documentation
 */

Doyxgen 1.8 supports markdown syntax, we might want to switch to that
eventually.

Change-Id: I78a0ce36314b2a7b9f89395e3ae3902b17cf5038

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

Change-Id: I0455c85c4e5166a3520eee90cf4fa0aaa0e170cd

11 years agoRestore executable bit to bin/ulimit4.sh
Tim Starling [Sun, 21 Oct 2012 22:43:46 +0000 (09:43 +1100)]
Restore executable bit to bin/ulimit4.sh

Restore executable bit to bin/ulimit4.sh, accidentally wiped in the
Wikidata (ContentHandler) branch.

Change-Id: I49696bce45bbc3f362a6560ace38797c566930c1

11 years agoRemove duplicate files, no point in loading them twice
jeroendedauw [Sun, 21 Oct 2012 21:06:00 +0000 (23:06 +0200)]
Remove duplicate files, no point in loading them twice

Change-Id: I52df1ee1cfeda240e8546fa303b65116183d09e7

11 years agoMerge "When deleting old thumbnails, actually increment $i"
IAlex [Sun, 21 Oct 2012 18:04:36 +0000 (18:04 +0000)]
Merge "When deleting old thumbnails, actually increment $i"

11 years agoMerge "Cache performer of a LogEntry to load it only once from the database"
IAlex [Sun, 21 Oct 2012 17:58:59 +0000 (17:58 +0000)]
Merge "Cache performer of a LogEntry to load it only once from the database"

11 years agoMerge "RecentChangesLinked: 'tagfilter' option already set in parent"
IAlex [Sun, 21 Oct 2012 17:47:35 +0000 (17:47 +0000)]
Merge "RecentChangesLinked: 'tagfilter' option already set in parent"

11 years agoMerge "CologneBlue rewrite: fix talkLink() to use generic nav links"
IAlex [Sun, 21 Oct 2012 17:10:38 +0000 (17:10 +0000)]
Merge "CologneBlue rewrite: fix talkLink() to use generic nav links"

11 years agoCologneBlue rewrite: fix talkLink() to use generic nav links
MatmaRex [Fri, 5 Oct 2012 18:13:15 +0000 (20:13 +0200)]
CologneBlue rewrite: fix talkLink() to use generic nav links

* introduce processNavlinkForDocument() for repeated links
* remove wfFindFile() check for NS_FILE namespace: Linker::link() already
  checks this
* redo the way the message for the link is selected
* comment everything

Change-Id: Ibeb0a1bfa1f34b9fdd9f6e5f082d6973d1ba09b9

11 years agoCache performer of a LogEntry to load it only once from the database
umherirrender [Sun, 21 Oct 2012 15:57:54 +0000 (17:57 +0200)]
Cache performer of a LogEntry to load it only once from the database

Change-Id: If920ba0a29b8c9b04705a20db5d8f9528b251fe5

11 years agoMerge "Add wfSuppressWarnings(); to CologneBlue."
Reedy [Sun, 21 Oct 2012 15:51:34 +0000 (15:51 +0000)]
Merge "Add wfSuppressWarnings(); to CologneBlue."