daniel [Wed, 25 Apr 2012 16:35:36 +0000 (18:35 +0200)]
spaces -> tabs
daniel [Wed, 25 Apr 2012 16:34:36 +0000 (18:34 +0200)]
type hinting
daniel [Wed, 25 Apr 2012 16:24:33 +0000 (18:24 +0200)]
spaces -> tabs
daniel [Wed, 25 Apr 2012 16:12:11 +0000 (18:12 +0200)]
use application/x-wiki, not application/x-wikitext
daniel [Wed, 25 Apr 2012 16:10:25 +0000 (18:10 +0200)]
documentation and minor bugs
daniel [Tue, 24 Apr 2012 16:00:21 +0000 (18:00 +0200)]
introducing WikiPageTest
daniel [Tue, 24 Apr 2012 16:00:05 +0000 (18:00 +0200)]
minor bugs and docu
daniel [Tue, 24 Apr 2012 14:23:55 +0000 (16:23 +0200)]
replaceSection() should replace entire content if the section id is the empty string.
daniel [Tue, 24 Apr 2012 14:17:51 +0000 (16:17 +0200)]
docu fix: declare param type
daniel [Tue, 24 Apr 2012 14:17:20 +0000 (16:17 +0200)]
use ContextSource in WikiPage::getParserOutput and PoolWorkArticleView
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)
daniel [Tue, 24 Apr 2012 10:06:23 +0000 (12:06 +0200)]
introducing ContentHandler::isParserCacheSupported()
daniel [Tue, 24 Apr 2012 10:03:12 +0000 (12:03 +0200)]
fix doQuickEdit()
daniel [Mon, 23 Apr 2012 19:24:09 +0000 (21:24 +0200)]
merged incoming
daniel [Mon, 23 Apr 2012 19:22:06 +0000 (21:22 +0200)]
added tests for content model stuff to RevisionTest
daniel [Mon, 23 Apr 2012 17:13:54 +0000 (19:13 +0200)]
phpunit tests for JavascriptContent and CssContent
daniel [Mon, 23 Apr 2012 17:13:54 +0000 (19:13 +0200)]
phpunit tests for JavascriptContent and CssContent
daniel [Mon, 23 Apr 2012 17:13:39 +0000 (19:13 +0200)]
fix replaceSection(): return null for content models that don't support sections
daniel [Mon, 23 Apr 2012 16:16:36 +0000 (18:16 +0200)]
added unit tests for WikitextContent
daniel [Mon, 23 Apr 2012 16:16:04 +0000 (18:16 +0200)]
fixing Content::equals(): removing debug code, etc
daniel [Mon, 23 Apr 2012 15:45:20 +0000 (17:45 +0200)]
use ContextSource with isCountable()
daniel [Mon, 23 Apr 2012 12:28:57 +0000 (14:28 +0200)]
test cases for WikitextContentHandler
daniel [Mon, 23 Apr 2012 12:28:13 +0000 (14:28 +0200)]
added todo
daniel [Mon, 23 Apr 2012 12:27:45 +0000 (14:27 +0200)]
fix redirect detection in getAutosummary
daniel [Mon, 23 Apr 2012 09:31:13 +0000 (11:31 +0200)]
preserve content model and format in xml dump, use in import
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
daniel [Mon, 23 Apr 2012 08:35:40 +0000 (10:35 +0200)]
fix page creation for non-wikitext system messages
daniel [Mon, 23 Apr 2012 08:26:42 +0000 (10:26 +0200)]
update page_content_model from revision
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
daniel [Mon, 23 Apr 2012 08:08:11 +0000 (10:08 +0200)]
bugfix: provide context for getParserOutput()
daniel [Fri, 20 Apr 2012 19:44:21 +0000 (21:44 +0200)]
test ContentHandler::getForTitle()
daniel [Fri, 20 Apr 2012 19:36:42 +0000 (21:36 +0200)]
check content model in ContentHandler::merge3()
daniel [Fri, 20 Apr 2012 19:33:13 +0000 (21:33 +0200)]
test ContentHandler::makeContent()
daniel [Fri, 20 Apr 2012 10:42:59 +0000 (12:42 +0200)]
more tests for ContentHandler::getContentText
daniel [Thu, 19 Apr 2012 12:57:10 +0000 (14:57 +0200)]
tests for ContentHandler::getContentText
daniel [Thu, 19 Apr 2012 10:55:46 +0000 (12:55 +0200)]
more tests for Title
daniel [Wed, 18 Apr 2012 13:02:35 +0000 (15:02 +0200)]
some todo comments
daniel [Wed, 18 Apr 2012 13:02:21 +0000 (15:02 +0200)]
first test cases. found and fixed a bug in Title::isCssJsSubpage
jeroendedauw [Wed, 18 Apr 2012 10:51:40 +0000 (12:51 +0200)]
fix return value
Change-Id: Ic6b664b3bb90e98781e2e6e8a5f2db3280181ea3
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
daniel [Tue, 17 Apr 2012 21:31:24 +0000 (23:31 +0200)]
fixed size-checks on non-existing revisions
daniel [Tue, 17 Apr 2012 21:29:22 +0000 (23:29 +0200)]
fix incomplete rename of unserialize to unserializeContent
daniel [Tue, 17 Apr 2012 19:02:03 +0000 (21:02 +0200)]
renamed getDifferenceEngine to createDifferenceEngine
daniel [Tue, 17 Apr 2012 16:25:37 +0000 (18:25 +0200)]
added Content::copy()
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
daniel [Tue, 17 Apr 2012 16:08:23 +0000 (18:08 +0200)]
renamed emptyContent to makeEmptyContent
daniel [Tue, 17 Apr 2012 16:04:27 +0000 (18:04 +0200)]
renamed serialize/unserialize to serializeContent/unserializeContent
jeroendedauw [Tue, 17 Apr 2012 15:55:20 +0000 (17:55 +0200)]
pass context instead of title to getParserOutput
Change-Id: I5787b523a871b0a73f4ca174a761f22aa394c9fd
daniel [Tue, 17 Apr 2012 15:54:00 +0000 (17:54 +0200)]
use ParserOutput::getSecondaryDataUpdates() as the primary method of getting pending updates
jeroendedauw [Tue, 17 Apr 2012 15:34:18 +0000 (17:34 +0200)]
contextSource instead of Title
Change-Id: Ia2eb56873ec65fc642df89d996ab3097fd20adf8
jeroendedauw [Tue, 17 Apr 2012 15:11:26 +0000 (17:11 +0200)]
fix typo
Change-Id: I72b511b77f8067411bf234255ad0d54a96ed9cf3
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
daniel [Mon, 16 Apr 2012 18:52:30 +0000 (20:52 +0200)]
another attempt to merge EditPage (untested)
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
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
jeroendedauw [Mon, 16 Apr 2012 15:30:23 +0000 (17:30 +0200)]
Merge branch 'Wikidata' of ssh://review/mediawiki/core into Wikidata
daniel [Mon, 16 Apr 2012 15:24:13 +0000 (17:24 +0200)]
merging incoming
jeroendedauw [Mon, 16 Apr 2012 14:59:56 +0000 (16:59 +0200)]
Merge branch 'Wikidata' of ssh://review/mediawiki/core into Wikidata
jeroendedauw [Mon, 16 Apr 2012 14:59:44 +0000 (16:59 +0200)]
add fixme
Change-Id: I0890c716baa9b9aa91a6c555ec3468db90db5f12
daniel [Mon, 16 Apr 2012 14:55:43 +0000 (16:55 +0200)]
allow CotentHandler to override actions
daniel [Mon, 16 Apr 2012 12:13:03 +0000 (14:13 +0200)]
documenting Content class
Change-Id: Ic46783d6526002ce9006ffbe1385272782ee5221
daniel [Mon, 16 Apr 2012 10:35:38 +0000 (12:35 +0200)]
more documentation for ContentHandler
Change-Id: I7188a575f254dea30a571f0b217c85427f4d97af
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
daniel [Mon, 16 Apr 2012 09:01:56 +0000 (11:01 +0200)]
some documentation for ContentHandler
Change-Id: Ie1929d8d0a0ef2396cfcf8720622aa103d1ba151
daniel [Mon, 16 Apr 2012 07:12:34 +0000 (09:12 +0200)]
make html generation optional in Content::getParserOutput
Change-Id: Ie1c6588057dbce1a5e6955ebcbd9905df53b2f5a
daniel [Mon, 16 Apr 2012 07:08:35 +0000 (09:08 +0200)]
EditPage::getOriginalContent should not use Article::getContent
Change-Id: I7563b569e18e6b1a6068c54f3414baba14416d18
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
jeroendedauw [Thu, 12 Apr 2012 18:19:41 +0000 (20:19 +0200)]
minor cleanup
Change-Id: I0c1dfde7a4b17b3f5d42f0b717cc2ccef383833a
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
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
jeroendedauw [Wed, 11 Apr 2012 12:50:54 +0000 (14:50 +0200)]
Merge branch 'Wikidata', remote-tracking branch 'origin/Wikidata' into Wikidata
Jens Ohlig [Wed, 11 Apr 2012 12:26:41 +0000 (14:26 +0200)]
Merge 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
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
jeroendedauw [Wed, 11 Apr 2012 10:52:25 +0000 (12:52 +0200)]
Merge branch 'Wikidata' of ssh://review/mediawiki/core into Wikidata
jeroendedauw [Wed, 11 Apr 2012 10:49:43 +0000 (12:49 +0200)]
cleanup and conflict fix
Change-Id: If65cb2393f4765b4f2c3e04f451beba59dea6d97
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."
Aaron Schulz [Tue, 10 Apr 2012 20:59:44 +0000 (20:59 +0000)]
Merge "Remove request_with_session/request_without_session"
Brion VIBBER [Tue, 10 Apr 2012 20:54:36 +0000 (20:54 +0000)]
Merge "Employing MediaWikiTestCase's temporary file methods"
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
Brion VIBBER [Tue, 10 Apr 2012 20:42:34 +0000 (20:42 +0000)]
Merge "(bug 33658) support for {{GRAMMAR:}} in jqueryMsg"
Aaron Schulz [Tue, 10 Apr 2012 20:30:26 +0000 (20:30 +0000)]
Merge "makes gitweb URL points to full sha1"
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"
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
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
Brion VIBBER [Tue, 10 Apr 2012 19:55:43 +0000 (19:55 +0000)]
Merge "Fix PostgreSQL updater to produce 1.19 schema"
Brion VIBBER [Tue, 10 Apr 2012 19:54:11 +0000 (19:54 +0000)]
Merge "- Fix bug 35076 - More tests, test comments"
Brion VIBBER [Tue, 10 Apr 2012 19:50:53 +0000 (19:50 +0000)]
Merge "Adding temp file/dir management to MediaWikiTestCase"
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)."
jeroendedauw [Tue, 10 Apr 2012 17:47:46 +0000 (19:47 +0200)]
some cleanup
Change-Id: I896eabc88fa03cde23b097b6b7c7de4d49f53632
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
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
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
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
Reedy [Tue, 10 Apr 2012 15:31:14 +0000 (15:31 +0000)]
Merge "Avoid PHP Notices in Translate from messages.inc"
Translation updater bot [Tue, 10 Apr 2012 15:20:26 +0000 (15:20 +0000)]
Translation updates from translatewiki.net
Change-Id: I90e86283886a7e9fd0da3c31deda4140c7a35741
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
Christian Aistleitner [Tue, 10 Apr 2012 14:57:15 +0000 (16:57 +0200)]
Employing MediaWikiTestCase's temporary file methods
Change-Id: Ide86541abf6642791c1466a2075436a9df6bdbed
Christian Aistleitner [Tue, 10 Apr 2012 14:28:42 +0000 (16:28 +0200)]
Adding temp file/dir management to MediaWikiTestCase
Change-Id: I4ac8f44f1d681925af231377e9d1b984488d3198
Reedy [Tue, 10 Apr 2012 13:08:11 +0000 (14:08 +0100)]
Add some spacing
Change-Id: Ideda1f4343cb57259fcce7ac396519e3c50a6c83