lhc/web/wiklou.git
12 years agoin isCountable(), take model and format from edit info. (also some documentation...
daniel [Tue, 24 Apr 2012 13:47:59 +0000 (15:47 +0200)]
in isCountable(), take model and format from edit info. (also some documentation fixes)

12 years agointroducing ContentHandler::isParserCacheSupported()
daniel [Tue, 24 Apr 2012 10:06:23 +0000 (12:06 +0200)]
introducing ContentHandler::isParserCacheSupported()

12 years agofix doQuickEdit()
daniel [Tue, 24 Apr 2012 10:03:12 +0000 (12:03 +0200)]
fix doQuickEdit()

12 years agomerged incoming
daniel [Mon, 23 Apr 2012 19:24:09 +0000 (21:24 +0200)]
merged incoming

12 years agoadded tests for content model stuff to RevisionTest
daniel [Mon, 23 Apr 2012 19:22:06 +0000 (21:22 +0200)]
added tests for content model stuff to RevisionTest

12 years agophpunit tests for JavascriptContent and CssContent
daniel [Mon, 23 Apr 2012 17:13:54 +0000 (19:13 +0200)]
phpunit tests for JavascriptContent and CssContent

12 years agophpunit tests for JavascriptContent and CssContent
daniel [Mon, 23 Apr 2012 17:13:54 +0000 (19:13 +0200)]
phpunit tests for JavascriptContent and CssContent

12 years agofix replaceSection(): return null for content models that don't support sections
daniel [Mon, 23 Apr 2012 17:13:39 +0000 (19:13 +0200)]
fix replaceSection(): return null for content models that don't support sections

12 years agoadded unit tests for WikitextContent
daniel [Mon, 23 Apr 2012 16:16:36 +0000 (18:16 +0200)]
added unit tests for WikitextContent

12 years agofixing Content::equals(): removing debug code, etc
daniel [Mon, 23 Apr 2012 16:16:04 +0000 (18:16 +0200)]
fixing Content::equals(): removing debug code, etc

12 years agouse ContextSource with isCountable()
daniel [Mon, 23 Apr 2012 15:45:20 +0000 (17:45 +0200)]
use ContextSource with isCountable()

12 years agotest cases for WikitextContentHandler
daniel [Mon, 23 Apr 2012 12:28:57 +0000 (14:28 +0200)]
test cases for WikitextContentHandler

12 years agoadded todo
daniel [Mon, 23 Apr 2012 12:28:13 +0000 (14:28 +0200)]
added todo

12 years agofix redirect detection in getAutosummary
daniel [Mon, 23 Apr 2012 12:27:45 +0000 (14:27 +0200)]
fix redirect detection in getAutosummary

12 years agopreserve content model and format in xml dump, use in import
daniel [Mon, 23 Apr 2012 09:31:13 +0000 (11:31 +0200)]
preserve content model and format in xml dump, use in import

12 years agomake sure revisions are created consistently in case a content object is supplied
daniel [Mon, 23 Apr 2012 09:30:24 +0000 (11:30 +0200)]
make sure revisions are created consistently in case a content object is supplied

12 years agofix page creation for non-wikitext system messages
daniel [Mon, 23 Apr 2012 08:35:40 +0000 (10:35 +0200)]
fix page creation for non-wikitext system messages

12 years agoupdate page_content_model from revision
daniel [Mon, 23 Apr 2012 08:26:42 +0000 (10:26 +0200)]
update page_content_model from revision

12 years agofix handling of per-revision content model if different from title's default content...
daniel [Mon, 23 Apr 2012 08:08:59 +0000 (10:08 +0200)]
fix handling of per-revision content model if different from title's default content model

12 years agobugfix: provide context for getParserOutput()
daniel [Mon, 23 Apr 2012 08:08:11 +0000 (10:08 +0200)]
bugfix: provide context for getParserOutput()

12 years agotest ContentHandler::getForTitle()
daniel [Fri, 20 Apr 2012 19:44:21 +0000 (21:44 +0200)]
test ContentHandler::getForTitle()

12 years agocheck content model in ContentHandler::merge3()
daniel [Fri, 20 Apr 2012 19:36:42 +0000 (21:36 +0200)]
check content model in ContentHandler::merge3()

12 years agotest ContentHandler::makeContent()
daniel [Fri, 20 Apr 2012 19:33:13 +0000 (21:33 +0200)]
test ContentHandler::makeContent()

12 years agomore tests for ContentHandler::getContentText
daniel [Fri, 20 Apr 2012 10:42:59 +0000 (12:42 +0200)]
more tests for ContentHandler::getContentText

12 years agotests for ContentHandler::getContentText
daniel [Thu, 19 Apr 2012 12:57:10 +0000 (14:57 +0200)]
tests for ContentHandler::getContentText

12 years agomore tests for Title
daniel [Thu, 19 Apr 2012 10:55:46 +0000 (12:55 +0200)]
more tests for Title

12 years agosome todo comments
daniel [Wed, 18 Apr 2012 13:02:35 +0000 (15:02 +0200)]
some todo comments

12 years agofirst test cases. found and fixed a bug in Title::isCssJsSubpage
daniel [Wed, 18 Apr 2012 13:02:21 +0000 (15:02 +0200)]
first test cases. found and fixed a bug in Title::isCssJsSubpage

12 years agofix return value
jeroendedauw [Wed, 18 Apr 2012 10:51:40 +0000 (12:51 +0200)]
fix return value

Change-Id: Ic6b664b3bb90e98781e2e6e8a5f2db3280181ea3

12 years ago$context can't be null since we are later getting its title
Nikola Smolenski [Wed, 18 Apr 2012 09:54:54 +0000 (11:54 +0200)]
$context can't be null since we are later getting its title

Change-Id: Ib23a8b5a57aa6d90560bacf415f1f938df9e88ff

12 years agofixed size-checks on non-existing revisions
daniel [Tue, 17 Apr 2012 21:31:24 +0000 (23:31 +0200)]
fixed size-checks on non-existing revisions

12 years agofix incomplete rename of unserialize to unserializeContent
daniel [Tue, 17 Apr 2012 21:29:22 +0000 (23:29 +0200)]
fix incomplete rename of unserialize to unserializeContent

12 years agorenamed getDifferenceEngine to createDifferenceEngine
daniel [Tue, 17 Apr 2012 19:02:03 +0000 (21:02 +0200)]
renamed getDifferenceEngine to createDifferenceEngine

12 years agoadded Content::copy()
daniel [Tue, 17 Apr 2012 16:25:37 +0000 (18:25 +0200)]
added Content::copy()

12 years agoMerge branch 'Wikidata' of ssh://gerrit.wikimedia.org:29418/mediawiki/core into Wikidata
daniel [Tue, 17 Apr 2012 16:09:17 +0000 (18:09 +0200)]
Merge branch 'Wikidata' of ssh://gerrit.wikimedia.org:29418/mediawiki/core into Wikidata

12 years agorenamed emptyContent to makeEmptyContent
daniel [Tue, 17 Apr 2012 16:08:23 +0000 (18:08 +0200)]
renamed emptyContent to makeEmptyContent

12 years agorenamed serialize/unserialize to serializeContent/unserializeContent
daniel [Tue, 17 Apr 2012 16:04:27 +0000 (18:04 +0200)]
renamed serialize/unserialize to serializeContent/unserializeContent

12 years agopass context instead of title to getParserOutput
jeroendedauw [Tue, 17 Apr 2012 15:55:20 +0000 (17:55 +0200)]
pass context instead of title to getParserOutput

Change-Id: I5787b523a871b0a73f4ca174a761f22aa394c9fd

12 years agouse ParserOutput::getSecondaryDataUpdates() as the primary method of getting pending...
daniel [Tue, 17 Apr 2012 15:54:00 +0000 (17:54 +0200)]
use ParserOutput::getSecondaryDataUpdates() as the primary method of getting pending updates

12 years agocontextSource instead of Title
jeroendedauw [Tue, 17 Apr 2012 15:34:18 +0000 (17:34 +0200)]
contextSource instead of Title

Change-Id: Ia2eb56873ec65fc642df89d996ab3097fd20adf8

12 years agofix typo
jeroendedauw [Tue, 17 Apr 2012 15:11:26 +0000 (17:11 +0200)]
fix typo

Change-Id: I72b511b77f8067411bf234255ad0d54a96ed9cf3

12 years agoMerge branch 'Wikidata' of ssh://gerrit.wikimedia.org:29418/mediawiki/core into Wikidata
daniel [Mon, 16 Apr 2012 18:53:49 +0000 (20:53 +0200)]
Merge branch 'Wikidata' of ssh://gerrit.wikimedia.org:29418/mediawiki/core into Wikidata

12 years agoanother attempt to merge EditPage (untested)
daniel [Mon, 16 Apr 2012 18:52:30 +0000 (20:52 +0200)]
another attempt to merge EditPage (untested)

12 years agoMerge branch 'Wikidata' of ssh://gerrit.wikimedia.org:29418/mediawiki/core into Wikidata
Nikola Smolenski [Mon, 16 Apr 2012 15:47:29 +0000 (17:47 +0200)]
Merge branch 'Wikidata' of ssh://gerrit.wikimedia.org:29418/mediawiki/core into Wikidata

12 years agoNew API format 'none', used to minimize the response size when the output is not...
Nikola Smolenski [Mon, 16 Apr 2012 15:45:51 +0000 (17:45 +0200)]
New API format 'none', used to minimize the response size when the output is not needed.

Change-Id: I0308d16ea04735bc27ac4a3526baec44ccd426f1

12 years agoMerge branch 'Wikidata' of ssh://review/mediawiki/core into Wikidata
jeroendedauw [Mon, 16 Apr 2012 15:30:23 +0000 (17:30 +0200)]
Merge branch 'Wikidata' of ssh://review/mediawiki/core into Wikidata

12 years agomerging incoming
daniel [Mon, 16 Apr 2012 15:24:13 +0000 (17:24 +0200)]
merging incoming

12 years agoMerge branch 'Wikidata' of ssh://review/mediawiki/core into Wikidata
jeroendedauw [Mon, 16 Apr 2012 14:59:56 +0000 (16:59 +0200)]
Merge branch 'Wikidata' of ssh://review/mediawiki/core into Wikidata

12 years agoadd fixme
jeroendedauw [Mon, 16 Apr 2012 14:59:44 +0000 (16:59 +0200)]
add fixme

Change-Id: I0890c716baa9b9aa91a6c555ec3468db90db5f12

12 years agoallow CotentHandler to override actions
daniel [Mon, 16 Apr 2012 14:55:43 +0000 (16:55 +0200)]
allow CotentHandler to override actions

12 years agodocumenting Content class
daniel [Mon, 16 Apr 2012 12:13:03 +0000 (14:13 +0200)]
documenting Content class

Change-Id: Ic46783d6526002ce9006ffbe1385272782ee5221

12 years agomore documentation for ContentHandler
daniel [Mon, 16 Apr 2012 10:35:38 +0000 (12:35 +0200)]
more documentation for ContentHandler

Change-Id: I7188a575f254dea30a571f0b217c85427f4d97af

12 years agoMerge branch 'Wikidata' of ssh://gerrit.wikimedia.org:29418/mediawiki/core into Wikidata
daniel [Mon, 16 Apr 2012 09:52:37 +0000 (11:52 +0200)]
Merge branch 'Wikidata' of ssh://gerrit.wikimedia.org:29418/mediawiki/core into Wikidata

Getting synced after Jeroen and Jens essentially rebased the core branch.

Conflicts:
includes/ContentHandler.php

Change-Id: I82efd272694ec5761fedf52f85b153a140e268e5

12 years agosome documentation for ContentHandler
daniel [Mon, 16 Apr 2012 09:01:56 +0000 (11:01 +0200)]
some documentation for ContentHandler

Change-Id: Ie1929d8d0a0ef2396cfcf8720622aa103d1ba151

12 years agomake html generation optional in Content::getParserOutput
daniel [Mon, 16 Apr 2012 07:12:34 +0000 (09:12 +0200)]
make html generation optional in Content::getParserOutput

Change-Id: Ie1c6588057dbce1a5e6955ebcbd9905df53b2f5a

12 years agoEditPage::getOriginalContent should not use Article::getContent
daniel [Mon, 16 Apr 2012 07:08:35 +0000 (09:08 +0200)]
EditPage::getOriginalContent should not use Article::getContent

Change-Id: I7563b569e18e6b1a6068c54f3414baba14416d18

12 years agomake Article::getContentObject() protected. Not a good way to get revision content\!
daniel [Mon, 16 Apr 2012 06:49:38 +0000 (08:49 +0200)]
make Article::getContentObject() protected. Not a good way to get revision content\!

Change-Id: I20dbace60e8d5b95e858e00595809171dba4c555

12 years agominor cleanup
jeroendedauw [Thu, 12 Apr 2012 18:19:41 +0000 (20:19 +0200)]
minor cleanup

Change-Id: I0c1dfde7a4b17b3f5d42f0b717cc2ccef383833a

12 years agominor cleanup, added todos and attempted (but aborted) refactoring to make stuff...
jeroendedauw [Thu, 12 Apr 2012 14:01:33 +0000 (16:01 +0200)]
minor cleanup, added todos and attempted (but aborted) refactoring to make stuff more sane

Change-Id: I3f57ee2c28861462cf46fc3af13c4ab0cb6aa960

12 years agoattempt to fix issues due to incorrect merge conflict resolving, might have missed...
jeroendedauw [Wed, 11 Apr 2012 13:45:55 +0000 (15:45 +0200)]
attempt to fix issues due to incorrect merge conflict resolving, might have missed some, and solutions might introduce new issues on their own

Change-Id: I020803b6a7e8b427182ad4c3ddeff99537b99f90

12 years agoMerge branch 'Wikidata', remote-tracking branch 'origin/Wikidata' into Wikidata
jeroendedauw [Wed, 11 Apr 2012 12:50:54 +0000 (14:50 +0200)]
Merge branch 'Wikidata', remote-tracking branch 'origin/Wikidata' into Wikidata

12 years agoMerge branch 'master' into Wikidata
Jens Ohlig [Wed, 11 Apr 2012 12:26:41 +0000 (14:26 +0200)]
Merge branch 'master' into Wikidata

12 years agoMerge branch 'master' into Wikidata
Jens Ohlig [Wed, 11 Apr 2012 12:24:29 +0000 (14:24 +0200)]
Merge branch 'master' into Wikidata

Conflicts:
.gitreview
includes/Article.php
includes/AutoLoader.php
includes/EditPage.php
includes/LinksUpdate.php
includes/WikiPage.php
includes/installer/Ibm_db2Updater.php
includes/installer/MysqlUpdater.php
includes/installer/OracleUpdater.php
includes/installer/SqliteUpdater.php
maintenance/refreshLinks.php

12 years agoHtml::setSubmitTextMsg double escapes
Niklas Laxström [Wed, 11 Apr 2012 11:23:08 +0000 (11:23 +0000)]
Html::setSubmitTextMsg double escapes

On Dutch the button showed "Pagina's verwijderen"

Change-Id: I082e16e9320ba4aef1e2bf5f81cfe54fdf61b6c3

12 years agoMerge branch 'Wikidata' of ssh://review/mediawiki/core into Wikidata
jeroendedauw [Wed, 11 Apr 2012 10:52:25 +0000 (12:52 +0200)]
Merge branch 'Wikidata' of ssh://review/mediawiki/core into Wikidata

12 years agocleanup and conflict fix
jeroendedauw [Wed, 11 Apr 2012 10:49:43 +0000 (12:49 +0200)]
cleanup and conflict fix

Change-Id: If65cb2393f4765b4f2c3e04f451beba59dea6d97

12 years agoMerge "Follow-up I5b02aa914916f64492c85ce6dcc3272b6406551a (#4335), also put a link...
Brion VIBBER [Tue, 10 Apr 2012 21:10:47 +0000 (21:10 +0000)]
Merge "Follow-up I5b02aa914916f64492c85ce6dcc3272b6406551a (#4335), also put a link in the debug toolbar."

12 years agoMerge "Remove request_with_session/request_without_session"
Aaron Schulz [Tue, 10 Apr 2012 20:59:44 +0000 (20:59 +0000)]
Merge "Remove request_with_session/request_without_session"

12 years agoMerge "Employing MediaWikiTestCase's temporary file methods"
Brion VIBBER [Tue, 10 Apr 2012 20:54:36 +0000 (20:54 +0000)]
Merge "Employing MediaWikiTestCase's temporary file methods"

12 years agoFollow-up I5b02aa914916f64492c85ce6dcc3272b6406551a (#4335), also put a link in the...
Alexandre Emsenhuber [Tue, 10 Apr 2012 08:52:11 +0000 (10:52 +0200)]
Follow-up I5b02aa914916f64492c85ce6dcc3272b6406551a (#4335), also put a link in the debug toolbar.

Now that there is a link on the revision hash in Special:Version, do the same in the debug toolbar.

Change-Id: I953ac70e17e72be68251e3908e164dfa46c68bf5

12 years agoMerge "(bug 33658) support for {{GRAMMAR:}} in jqueryMsg"
Brion VIBBER [Tue, 10 Apr 2012 20:42:34 +0000 (20:42 +0000)]
Merge "(bug 33658) support for {{GRAMMAR:}} in jqueryMsg"

12 years agoMerge "makes gitweb URL points to full sha1"
Aaron Schulz [Tue, 10 Apr 2012 20:30:26 +0000 (20:30 +0000)]
Merge "makes gitweb URL points to full sha1"

12 years agoMerge "Normalise categorymembers to take ascending/descending for direction, also...
Demon [Tue, 10 Apr 2012 20:30:17 +0000 (20:30 +0000)]
Merge "Normalise categorymembers to take ascending/descending for direction, also adding newer/older to make it like other modules"

12 years agomakes gitweb URL points to full sha1
Antoine Musso [Tue, 10 Apr 2012 20:20:15 +0000 (22:20 +0200)]
makes gitweb URL points to full sha1

The URL we are crafting are using a short sha1 (7 chars long) which can
have some good chance of pointing to two different sha1. I have seen git
log to use 8 chars from time to time because of sha1 collisions, 62
occurences outu of 45315 commits as of now.

So to play it safe, this patch makes the URL points to the full sha1.

Follow https://gerrit.wikimedia.org/r/4335
5734eac351dcd72f493bfd7547a5f638f582b048 (commit)
9afc1eff1c396a4d0273d2226e316cba2fb44ab0 (merge)

Change-Id: Ic65d0ca89916fe43999b9e3f257d9f322198f9f8

12 years agobug35572 Blocks appear to succeed w/DB error
saper [Fri, 30 Mar 2012 03:06:43 +0000 (05:06 +0200)]
bug35572 Blocks appear to succeed w/DB error

Bug 35572 - Blocks appear to succeed even if query fails due to wrong DB
structure

When emulating INSERT IGNORE ignore only SQL Error Code 23505
- unique key violation

http://www.postgresql.org/docs/9.1/interactive/errcodes-appendix.html

All other error codes (missing column, syntex error, whatever)
should unconditionally abort the transaction and show internal
error to the user.

Patchset 2: Fixed whitespace.
Patchset 3: More whitespace. And ()'s.
Patchset 4: Yet more whitespace.
Patchset 5: rebase & fix conflict in release-notes

Change-Id: Ic32bff9fff46bce124273156d224fa01b8adc008

12 years agoMerge "Fix PostgreSQL updater to produce 1.19 schema"
Brion VIBBER [Tue, 10 Apr 2012 19:55:43 +0000 (19:55 +0000)]
Merge "Fix PostgreSQL updater to produce 1.19 schema"

12 years agoMerge "- Fix bug 35076 - More tests, test comments"
Brion VIBBER [Tue, 10 Apr 2012 19:54:11 +0000 (19:54 +0000)]
Merge "- Fix bug 35076 - More tests, test comments"

12 years agoMerge "Adding temp file/dir management to MediaWikiTestCase"
Brion VIBBER [Tue, 10 Apr 2012 19:50:53 +0000 (19:50 +0000)]
Merge "Adding temp file/dir management to MediaWikiTestCase"

12 years agoMerge "[FileRepo] Added support for temp file repos (to preserve our thumb.php hack)."
Catrope [Tue, 10 Apr 2012 18:12:03 +0000 (18:12 +0000)]
Merge "[FileRepo] Added support for temp file repos (to preserve our thumb.php hack)."

12 years agosome cleanup
jeroendedauw [Tue, 10 Apr 2012 17:47:46 +0000 (19:47 +0200)]
some cleanup

Change-Id: I896eabc88fa03cde23b097b6b7c7de4d49f53632

12 years ago- Fix bug 35076
Nikola Smolenski [Tue, 10 Apr 2012 16:36:51 +0000 (18:36 +0200)]
- Fix bug 35076
- More tests, test comments

(This is the same as r114049.)

Patch set 2: Squash in missed test file

Change-Id: Icaf7fdd11499c64c42b46e442c158f22309345a7

12 years agoFix PostgreSQL updater to produce 1.19 schema
saper [Thu, 22 Mar 2012 02:42:44 +0000 (03:42 +0100)]
Fix PostgreSQL updater to produce 1.19 schema

* PostgresField now reports column default value
* DatabasePostgres::indexAttributes reports index
  details
* Perform schema update in one transaction

With this change we can sucessfully update
MediaWiki 1.7.3 schema to trunk^Wmaster

Patch set 2: Rebased against master. PLEASE check carefully
to make sure I got those conflicted files right.

Conflicts:

includes/db/DatabasePostgres.php
includes/installer/PostgresUpdater.php

Change-Id: Iebb6855e8f6f44470bbb1dc5ab9ac1abb513adfe

12 years agoMerged r114672 from wmf1.19 plus tests; crosswiki block name/id fix.
Aaron Schulz [Tue, 10 Apr 2012 00:12:06 +0000 (17:12 -0700)]
Merged r114672 from wmf1.19 plus tests; crosswiki block name/id fix.

Change 1:
* Delete any pre-existing block for the tests
* Renamed test function and fixed comment typo

Change-Id: I4804ccae81dd0455e9d3ddf48960c4b5cd6e4f5f

12 years agoPartial revert of I80a47844 for (sr)
Niklas Laxström [Tue, 10 Apr 2012 16:36:41 +0000 (16:36 +0000)]
Partial revert of I80a47844 for (sr)

Opposed in
http://translatewiki.net/wiki/Thread:Support/GENDER_in_namespaces

Change-Id: Ied65e2fb7e2021eb8ac2b1f134647e69910722cf

12 years agoMerge "Avoid PHP Notices in Translate from messages.inc"
Reedy [Tue, 10 Apr 2012 15:31:14 +0000 (15:31 +0000)]
Merge "Avoid PHP Notices in Translate from messages.inc"

12 years agoTranslation updates from translatewiki.net
Translation updater bot [Tue, 10 Apr 2012 15:20:26 +0000 (15:20 +0000)]
Translation updates from translatewiki.net

Change-Id: I90e86283886a7e9fd0da3c31deda4140c7a35741

12 years agoAvoid PHP Notices in Translate from messages.inc
Niklas Laxström [Tue, 10 Apr 2012 15:17:01 +0000 (15:17 +0000)]
Avoid PHP Notices in Translate from messages.inc

Caused by missing block comment

Change-Id: I2951b56a290dac9b4f96ffa4ff19dfab81c8c3db

12 years agoEmploying MediaWikiTestCase's temporary file methods
Christian Aistleitner [Tue, 10 Apr 2012 14:57:15 +0000 (16:57 +0200)]
Employing MediaWikiTestCase's temporary file methods

Change-Id: Ide86541abf6642791c1466a2075436a9df6bdbed

12 years agoAdding temp file/dir management to MediaWikiTestCase
Christian Aistleitner [Tue, 10 Apr 2012 14:28:42 +0000 (16:28 +0200)]
Adding temp file/dir management to MediaWikiTestCase

Change-Id: I4ac8f44f1d681925af231377e9d1b984488d3198

12 years agoAdd some spacing
Reedy [Tue, 10 Apr 2012 13:08:11 +0000 (14:08 +0100)]
Add some spacing

Change-Id: Ideda1f4343cb57259fcce7ac396519e3c50a6c83

12 years agoNormalise categorymembers to take ascending/descending for direction, also adding...
Reedy [Tue, 10 Apr 2012 13:01:30 +0000 (14:01 +0100)]
Normalise categorymembers to take ascending/descending for direction, also adding newer/older to make it like other modules

Change-Id: I50c770b8d48548988a71bcf62b76a9c43fc1622f

12 years agoFix typo in 'filereadonlyerror'.
Siebrand Mazeland [Tue, 10 Apr 2012 12:00:39 +0000 (14:00 +0200)]
Fix typo in 'filereadonlyerror'.

We do pre-merge review, don't we?

Change-Id: I18516d7c9676bf02e58865c545252e718014e0b9

12 years agoUse local context to get messages
Alexandre Emsenhuber [Tue, 10 Apr 2012 07:17:55 +0000 (09:17 +0200)]
Use local context to get messages

Change-Id: I603cd41002a4fade09a940133d9fc9ce15a4431d

12 years ago(bug 33658) support for {{GRAMMAR:}} in jqueryMsg
Santhosh Thottingal [Mon, 2 Apr 2012 13:01:10 +0000 (18:31 +0530)]
(bug 33658) support for {{GRAMMAR:}} in jqueryMsg

This add GRAMMAR support to the mediawiki.jqueryMsg module:

1. make jqueryMsg understand GRAMMAR(case insensitive)
2. mw.language get convertGrammar, can be overridden per language as in
   php
3. Introduce resourceloader module ResourceLoaderLanguageDataModule
4. Language.php get a method to filter wgGrammerForms for the current
   contentLanguage.
5. Qunit tests
6. This code was originally written in jsgrammar branch of svn and had
   reviewed during the last slush time.

Change-Id: I90dd0b2f0cb30fd30539896c292829adc4fc7364

12 years agoRemove request_with_session/request_without_session
tstarling [Tue, 10 Apr 2012 00:36:30 +0000 (10:36 +1000)]
Remove request_with_session/request_without_session

Remove wfIncrStats() calls for request_with_session and
request_without_session. These cause a high load on the profiler and are
not currently needed for performance analysis.

Change-Id: I0ed1e87574c7c9eeaee4e503db86b862ff0995bb

12 years agoFix tabbing
Demon [Mon, 9 Apr 2012 23:05:10 +0000 (19:05 -0400)]
Fix tabbing

- As requested at <http://www.mediawiki.org/wiki/Special:Code/MediaWiki/114554>
- Also add some braces

Change-Id: I0c9cb7c50b9eb41f0a5cb6d2902e7b74cbe9d2bf

12 years agoMerge "[LanguageConverter] Added some cache code based on the problems in r97512."
Catrope [Mon, 9 Apr 2012 22:25:23 +0000 (22:25 +0000)]
Merge "[LanguageConverter] Added some cache code based on the problems in r97512."

12 years ago(bug 33564) transwiki import sometimes result in invalid title
umherirrender [Sat, 7 Apr 2012 12:40:01 +0000 (14:40 +0200)]
(bug 33564) transwiki import sometimes result in invalid title

This is a simple fix. A other solution is to check isExternal on the
original title, but than it is never possible to import pages, which
have a interwiki in the destination wiki. Now the interwiki is skipped,
when using a target namespace.

Change-Id: I148e124016cacac0e0c6c6eb8c7e8a2e85802565

12 years agoResolve bug #18704 ("Add an unique CSS class or ID to the tagfilter table row at...
jarry1250 [Mon, 9 Apr 2012 18:33:28 +0000 (19:33 +0100)]
Resolve bug #18704 ("Add an unique CSS class or ID to the tagfilter table row at RecentChanges")

Effectively followup previous attempts which suffered from incorrect
placement of brackets (SVN r111186, Git r3659)

Change-Id: Ie52be2c3c92e5e89896ac063acfc95b15f77533a

12 years agoMerge "(bug 35658) make mw.Uri handle uris w/o protocol or host"
Brion VIBBER [Mon, 9 Apr 2012 18:23:51 +0000 (18:23 +0000)]
Merge "(bug 35658) make mw.Uri handle uris w/o protocol or host"