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

12 years agoBug 35601 — Watchlist doesn't show or count pages not in the main
Mark A. Hershberger [Mon, 9 Apr 2012 15:07:34 +0000 (11:07 -0400)]
Bug 35601 — Watchlist doesn't show or count pages not in the main
namespace when deleting them from the watchlist

Fix with array_merge.

Change-Id: I8055467a018f6eee6d55419576648e5a5fac0632

12 years agoMerge "GENDER should use the GenderCache"
Brion VIBBER [Mon, 9 Apr 2012 17:58:14 +0000 (17:58 +0000)]
Merge "GENDER should use the GenderCache"

12 years agoMerge "(bug 32498) Allow comparing pages using pageids"
Aaron Schulz [Mon, 9 Apr 2012 17:53:20 +0000 (17:53 +0000)]
Merge "(bug 32498) Allow comparing pages using pageids"

12 years agoMerge "parent::report() returns nothing, so don't attempt to return its value"
Aaron Schulz [Mon, 9 Apr 2012 17:38:27 +0000 (17:38 +0000)]
Merge "parent::report() returns nothing, so don't attempt to return its value"

12 years agoMerge "Export::dumpFrom() doesn't return any values, and hence neither do any of...
Aaron Schulz [Mon, 9 Apr 2012 17:37:05 +0000 (17:37 +0000)]
Merge "Export::dumpFrom() doesn't return any values, and hence neither do any of the methods calling it (return $this->dumpFrom)"

12 years agoMerge "(bug 35069) Keep history line from ending ' . . '"
Brion VIBBER [Mon, 9 Apr 2012 17:36:29 +0000 (17:36 +0000)]
Merge "(bug 35069) Keep history line from ending ' . . '"

12 years agoUse Linker::userToolLinks on Special:ListUsers to format the rows in
umherirrender [Sat, 7 Apr 2012 15:08:34 +0000 (17:08 +0200)]
Use Linker::userToolLinks on Special:ListUsers to format the rows in
the same way as Special:ActiveUsers.

Move the LinkBatch to method doBatchLookups and add NS_USER_TALK to load
the user talk state (talk link added in r111180 manually, now added with
Linker::userToolLinks).

Change-Id: I88f126cf4ef263a5ce13cd1fee256a43e44b148d

12 years agoMerge "Check that the result of Title::makeTitleSafe() is an object before calling...
Brion VIBBER [Mon, 9 Apr 2012 17:27:30 +0000 (17:27 +0000)]
Merge "Check that the result of Title::makeTitleSafe() is an object before calling a method on it."

12 years agoMerge "Fix for chunked uploading support in API."
Brion VIBBER [Mon, 9 Apr 2012 16:33:12 +0000 (16:33 +0000)]
Merge "Fix for chunked uploading support in API."

12 years agoMerge "Document $mDb"
Reedy [Mon, 9 Apr 2012 14:51:00 +0000 (14:51 +0000)]
Merge "Document $mDb"

12 years agoCheck that the result of Title::makeTitleSafe() is an object before calling a method...
Alexandre Emsenhuber [Mon, 9 Apr 2012 08:30:50 +0000 (10:30 +0200)]
Check that the result of Title::makeTitleSafe() is an object before calling a method on it.

Change-Id: If23fb3a5900cee6a5c4b3c24b44ce7f3da308bf3
Title::makeTitleSafe() does not always return a Title object, e.g. calling load.php?modules=user&user=| resulted in a fatal error.

12 years agoMerge "Fix documentation to match potential code"
Hashar [Mon, 9 Apr 2012 07:08:39 +0000 (07:08 +0000)]
Merge "Fix documentation to match potential code"

12 years agoFix for chunked uploading support in API.
Erik Moeller [Sun, 8 Apr 2012 11:27:32 +0000 (04:27 -0700)]
Fix for chunked uploading support in API.

Chunked uploading is currently only implemented by Upload Wizard,
but is supported in MediaWiki core. It's enabled in Upload Wizard
by setting $wgUploadWizardConfig['enableChunked'] to true.

When enabled, large files will be split into smaller chunks, by
default of 1 MB. This is done through a series of API POST
requests. The file is identified by means of a 'filekey' to
allow for continuation of uploads from previous offsets.

Previously broken behavior: Files were concatenated correctly,
but instead of the whole file, one of the chunks was uploaded
to the wiki. This was due to the API using the filekey of the
chunk, as opposed to the filekey of the whole file.

In addition, this change also cleans out the stash information
for both filekeys after the upload is complete.

[Patch set 2: Whitespace fix]
[Patch set 3: Move filekey result past status check]

Change-Id: Idac94e953676787f9516051e47c006525f198fd4

12 years ago(bug 35069) Keep history line from ending ' . . '
Kevin Israel [Sun, 8 Apr 2012 20:58:39 +0000 (16:58 -0400)]
(bug 35069) Keep history line from ending ' . . '

The portion of the history line after the character difference is now
added immediately before running PageHistoryLineEnding hooks, allowing
the omission of the ' . . ' separator if it would not actually separate
anything but rather remain at the line's end.

Patchset2: Added corresponding release note.

Change-Id: If6458bedb7492b15ece14f5eebbb697b93905a44

12 years agoMerge "setGroup doesn't return anything, so don't try and return its value"
Aaron Schulz [Sun, 8 Apr 2012 05:57:02 +0000 (05:57 +0000)]
Merge "setGroup doesn't return anything, so don't try and return its value"

12 years agoMerge "Action::checkCanExecute doesn't return anything on success, but WatchAction...
Aaron Schulz [Sat, 7 Apr 2012 23:58:27 +0000 (23:58 +0000)]
Merge "Action::checkCanExecute doesn't return anything on success, but WatchAction returns the result"

12 years agoMerge "Fix assignment in conditional"
Aaron Schulz [Sat, 7 Apr 2012 23:56:30 +0000 (23:56 +0000)]
Merge "Fix assignment in conditional"

12 years agoFix assignment in conditional
Reedy [Sat, 7 Apr 2012 19:19:28 +0000 (20:19 +0100)]
Fix assignment in conditional

Change-Id: I11e280daa4df6623a03892a59f9f7236dd4c98af

12 years agoMerge "A set method doesn't need to return anything (and besides, niether does $this...
Aaron Schulz [Sat, 7 Apr 2012 23:51:48 +0000 (23:51 +0000)]
Merge "A set method doesn't need to return anything (and besides, niether does $this->base->setSessionData())"

12 years agoMerge "Document StringUtils"
Aaron Schulz [Sat, 7 Apr 2012 23:48:59 +0000 (23:48 +0000)]
Merge "Document StringUtils"

12 years agoMerge "Document spawn* class variables"
Aaron Schulz [Sat, 7 Apr 2012 23:46:29 +0000 (23:46 +0000)]
Merge "Document spawn* class variables"

12 years agoMerge "$rootCode isn't used so no point creating it"
Aaron Schulz [Sat, 7 Apr 2012 23:45:47 +0000 (23:45 +0000)]
Merge "$rootCode isn't used so no point creating it"

12 years agoMerge "Fix convIPTC docs"
Aaron Schulz [Sat, 7 Apr 2012 23:45:01 +0000 (23:45 +0000)]
Merge "Fix convIPTC docs"

12 years agoMerge "wfLocalFile returns a LocalFile (or null) not a File"
Aaron Schulz [Sat, 7 Apr 2012 23:38:22 +0000 (23:38 +0000)]
Merge "wfLocalFile returns a LocalFile (or null) not a File"

12 years agoMerge "Fix variable collision"
Aaron Schulz [Sat, 7 Apr 2012 23:37:32 +0000 (23:37 +0000)]
Merge "Fix variable collision"

12 years agoMerge "Fix repo type of a LocalFile to be LocalRepo, which has a cleanupDeletedBatch...
Aaron Schulz [Sat, 7 Apr 2012 23:34:41 +0000 (23:34 +0000)]
Merge "Fix repo type of a LocalFile to be LocalRepo, which has a cleanupDeletedBatch which returns a value"

12 years agoMerge "Fix duplicate array key of fa_deleted in LocalFile"
Aaron Schulz [Sat, 7 Apr 2012 23:33:14 +0000 (23:33 +0000)]
Merge "Fix duplicate array key of fa_deleted in LocalFile"

12 years ago(bug 32498) Allow comparing pages using pageids
Alex Monk [Sat, 7 Apr 2012 23:30:54 +0000 (00:30 +0100)]
(bug 32498) Allow comparing pages using pageids

Change-Id: Ia2ab39e3b7b911f622aad96ca7b94ea7675c00ac

12 years agoMerge "(bug 32497) API now allows changing of protection level using pageid"
Reedy [Sat, 7 Apr 2012 21:30:24 +0000 (21:30 +0000)]
Merge "(bug 32497) API now allows changing of protection level using pageid"

12 years agoDocument $mDb
Reedy [Sat, 7 Apr 2012 21:07:32 +0000 (22:07 +0100)]
Document $mDb

Change-Id: I971820ba14d08f23c2eec570183ab851e48debfc

12 years agoDocument spawn* class variables
Reedy [Sat, 7 Apr 2012 21:02:09 +0000 (22:02 +0100)]
Document spawn* class variables

Change-Id: I9e80b5b41ca442c8671d65cce4e8d2f5c033435d

12 years agoMerge "Make $procOpenResource protected as it's used on line 1011 in the Dump7ZipOutp...
Nikerabbit [Sat, 7 Apr 2012 21:01:51 +0000 (21:01 +0000)]
Merge "Make $procOpenResource protected as it's used on line 1011 in the Dump7ZipOutput subclass"

12 years agowfLocalFile returns a LocalFile (or null) not a File
Reedy [Sat, 7 Apr 2012 20:51:53 +0000 (21:51 +0100)]
wfLocalFile returns a LocalFile (or null) not a File

Change-Id: Ib016f16c1b5528d9f6af4189ca8459cacb54cf10

12 years agoFix variable collision
Reedy [Sat, 7 Apr 2012 20:48:40 +0000 (21:48 +0100)]
Fix variable collision

Change-Id: I28b22bd8aad30ef0323cdc897dce1de9849b1b87

12 years agoGENDER should use the GenderCache
umherirrender [Sat, 7 Apr 2012 20:45:31 +0000 (22:45 +0200)]
GENDER should use the GenderCache

This reused the gender state of a user on a page. This is helpful for
special pages which shows the group name, because the each group name
used gender, which result in often use.

Change-Id: I8e816f54aaa100c3333e84e19299fd194323341d

12 years agoFix php4 constructor
Reedy [Sat, 7 Apr 2012 20:41:31 +0000 (21:41 +0100)]
Fix php4 constructor

Change-Id: Id5634dc8126fe570abb2bdf6ef1fc8052ac9e051

12 years ago$rootCode isn't used so no point creating it
Reedy [Sat, 7 Apr 2012 20:21:08 +0000 (21:21 +0100)]
$rootCode isn't used so no point creating it

Change-Id: I1c71e8bc1952bac2b5c9a81b4d3e6e4174979b38

12 years agoMerge "Minor whitespace fix"
Siebrand [Sat, 7 Apr 2012 20:19:25 +0000 (20:19 +0000)]
Merge "Minor whitespace fix"

12 years agoMinor whitespace fix
Reedy [Sat, 7 Apr 2012 20:16:21 +0000 (21:16 +0100)]
Minor whitespace fix

Change-Id: I0329dc06f9b809475197434dc7fbd715badec3f7

12 years ago'/Şçʹ/u' => 'Щь'
Reedy [Sat, 7 Apr 2012 20:12:09 +0000 (21:12 +0100)]
'/Şçʹ/u' => 'Щь'

^ Duplicate array key listed twice

Change-Id: Id24beb982662a5e6c9e1d2b1f1e1ff637e50f2dd

12 years agoMerge "Fix duplicate array key of namespace stuffs"
Siebrand [Sat, 7 Apr 2012 20:09:48 +0000 (20:09 +0000)]
Merge "Fix duplicate array key of namespace stuffs"

12 years agoRemove duplicate 'filereadonlyerror'
Reedy [Sat, 7 Apr 2012 20:04:52 +0000 (21:04 +0100)]
Remove duplicate 'filereadonlyerror'

Change-Id: If1eee1f9c9a58ad52eee52804f6cce9e9815c6e6

12 years agoFix duplicate array key of namespace stuffs
Reedy [Sat, 7 Apr 2012 20:03:44 +0000 (21:03 +0100)]
Fix duplicate array key of namespace stuffs

Change-Id: Id81ae0fe82e32fd233ac3b38e761b6b21285469d

12 years ago(bug 32497) API now allows changing of protection level using pageid
Alex Monk [Sat, 7 Apr 2012 19:31:27 +0000 (20:31 +0100)]
(bug 32497) API now allows changing of protection level using pageid

Change-Id: I01802dde2fba9510cbdf23522ddac59f36a93960

12 years agoFix convIPTC docs
Reedy [Sat, 7 Apr 2012 19:23:53 +0000 (20:23 +0100)]
Fix convIPTC docs

Change-Id: I3e20d7820d8880780dbda551416fc1cbc587db45

12 years agoFix documentation to match potential code
Reedy [Sat, 7 Apr 2012 19:21:29 +0000 (20:21 +0100)]
Fix documentation to match potential code

Change-Id: Ibaaa2e82777178d8b25a19c4bec7aaed0239a277

12 years agoFix repo type of a LocalFile to be LocalRepo, which has a cleanupDeletedBatch which...
Reedy [Sat, 7 Apr 2012 19:10:02 +0000 (20:10 +0100)]
Fix repo type of a LocalFile to be LocalRepo, which has a cleanupDeletedBatch which returns a value

Change-Id: Iaa4ba2da9aefbf0ca0eae4caa0eb75bf516a9369

12 years agoDocument StringUtils
Reedy [Sat, 7 Apr 2012 19:00:10 +0000 (20:00 +0100)]
Document StringUtils

Change-Id: I5a99ed602c6bf99473e2deb1c5f38faa98def30e

12 years agoparent::report() returns nothing, so don't attempt to return its value
Reedy [Sat, 7 Apr 2012 18:39:43 +0000 (19:39 +0100)]
parent::report() returns nothing, so don't attempt to return its value

Change-Id: Id506d51818bf101a68fe8b028df2062ed221cdf9

12 years agoRemove BOM and parser error in parent commit 77b72c24fc75fd8da5d304cf33172054031095fa
Platonides [Sat, 7 Apr 2012 17:55:49 +0000 (19:55 +0200)]
Remove BOM and parser error in parent commit 77b72c24fc75fd8da5d304cf33172054031095fa

Change-Id: Ic23362656f45f151b9d2cefac16f832af664e18b

12 years ago(bug 35658) make mw.Uri handle uris w/o protocol or host
lupo [Sat, 7 Apr 2012 16:52:02 +0000 (18:52 +0200)]
(bug 35658) make mw.Uri handle uris w/o protocol or host

Includes testcase.

mw.Uri already supplied the protocol if it was missing and
document.location was set. Newly it also supplies the host (and port)
from document.location if that is set. That enables handling of
root-relative URls like "/some/path".

Changeset 2/3: rename test file from mediaWiki.Uri.test.js to
mediawiki.Uri.test.js.

Changeset 4: fix jasmine tests. Test for 'http:/foo.com' is now expected
to succeed, not throw an exception. The second test for
'foo.com/bar/baz' in strict mode is correct; that's parsed in strict
mode as a truly relative path.

Change-Id: Ibc4386ba40cffea9d30417ec2720114f6819ae1c

12 years agosetGroup doesn't return anything, so don't try and return its value
Reedy [Sat, 7 Apr 2012 16:36:00 +0000 (17:36 +0100)]
setGroup doesn't return anything, so don't try and return its value

Fix docs on getGroup

Change-Id: Ia5f29013e01eee3b97dc755486175c21c5e24f4f

12 years agoExport::dumpFrom() doesn't return any values, and hence neither do any of the methods...
Reedy [Sat, 7 Apr 2012 16:33:50 +0000 (17:33 +0100)]
Export::dumpFrom() doesn't return any values, and hence neither do any of the methods calling it (return $this->dumpFrom)

Remove return statements and extra from upstream callers

Change-Id: Ibad983128ef601e9fab5538d9ec02963e024b0a6

12 years agoMake $procOpenResource protected as it's used on line 1011 in the Dump7ZipOutput...
Reedy [Sat, 7 Apr 2012 16:25:35 +0000 (17:25 +0100)]
Make $procOpenResource protected as it's used on line 1011 in the Dump7ZipOutput subclass

Change-Id: If6a3a52b44d8a8c57f850bda515bdb307ce596d8

12 years agoAction::checkCanExecute doesn't return anything on success, but WatchAction returns...
Reedy [Sat, 7 Apr 2012 16:23:16 +0000 (17:23 +0100)]
Action::checkCanExecute doesn't return anything on success, but WatchAction returns the result

Change-Id: Ib4169a8067f22f4a80295923e2aa77d151c4c47c

12 years agoA set method doesn't need to return anything (and besides, niether does $this->base...
Reedy [Sat, 7 Apr 2012 16:20:43 +0000 (17:20 +0100)]
A set method doesn't need to return anything (and besides, niether does $this->base->setSessionData())

Change-Id: I1315697ee2879898b033c1dd01fecb809c4fe0dd

12 years agoFix duplicate array key of fa_deleted in LocalFile
Reedy [Sat, 7 Apr 2012 16:11:02 +0000 (17:11 +0100)]
Fix duplicate array key of fa_deleted in LocalFile

Change-Id: I027f902d47616d896df8efba29d25457e4ac3e73

12 years agoMerge "(bug 32492) API now allows editing using pageid"
Reedy [Sat, 7 Apr 2012 15:48:39 +0000 (15:48 +0000)]
Merge "(bug 32492) API now allows editing using pageid"

12 years agoMerge "(bug 35723) Fix exception in API list=watchlist"
Reedy [Sat, 7 Apr 2012 15:42:23 +0000 (15:42 +0000)]
Merge "(bug 35723) Fix exception in API list=watchlist"

12 years agoMerge "adding note about new API method for retrieving tokens - see Change I58bc5847"
Reedy [Sat, 7 Apr 2012 15:40:36 +0000 (15:40 +0000)]
Merge "adding note about new API method for retrieving tokens - see Change I58bc5847"

12 years ago(bug 35723) Fix exception in API list=watchlist
grunny [Sat, 7 Apr 2012 09:01:41 +0000 (19:01 +1000)]
(bug 35723) Fix exception in API list=watchlist

Applying Tim's change to list=recentchanges from commit bf1e9d7
Updates it for the new log system

Change-Id: Ifed6baba628b30f3189e64c6b7e0b278ee0e8e9a

12 years agoadding note about new API method for retrieving tokens - see Change I58bc5847
Kaldari [Sat, 7 Apr 2012 02:34:59 +0000 (19:34 -0700)]
adding note about new API method for retrieving tokens - see Change I58bc5847

Change-Id: I0b5f225e51d0095480f61f15d6de26b29dd08508

12 years agoPostgres uses TIMESTAMPTZ not DATETIME.
Greg Sabino Mullane [Sat, 7 Apr 2012 00:22:19 +0000 (20:22 -0400)]
Postgres uses TIMESTAMPTZ not DATETIME.

Change-Id: I2cabf801b4e7f0e382fe96f889d95c38fc1e88e3