lhc/web/wiklou.git
12 years agomerged from master
daniel [Wed, 25 Apr 2012 17:49:09 +0000 (19:49 +0200)]
merged from master

12 years agodocumentation cleanup; rm unreachable code
daniel [Wed, 25 Apr 2012 16:56:58 +0000 (18:56 +0200)]
documentation cleanup; rm unreachable code

12 years agospaces -> tabs
daniel [Wed, 25 Apr 2012 16:35:36 +0000 (18:35 +0200)]
spaces -> tabs

12 years agotype hinting
daniel [Wed, 25 Apr 2012 16:34:36 +0000 (18:34 +0200)]
type hinting

12 years agospaces -> tabs
daniel [Wed, 25 Apr 2012 16:24:33 +0000 (18:24 +0200)]
spaces -> tabs

12 years agouse application/x-wiki, not application/x-wikitext
daniel [Wed, 25 Apr 2012 16:12:11 +0000 (18:12 +0200)]
use application/x-wiki, not application/x-wikitext

12 years agodocumentation and minor bugs
daniel [Wed, 25 Apr 2012 16:10:25 +0000 (18:10 +0200)]
documentation and minor bugs

12 years agoMerge "(bug 34956) Parser should use mUrlProtocol instead of wfUrlProtocols()"
Demon [Wed, 25 Apr 2012 15:00:00 +0000 (15:00 +0000)]
Merge "(bug 34956) Parser should use mUrlProtocol instead of wfUrlProtocols()"

12 years agoMerge "[FileBackend] Reduced code duplication with new getPathsToLockForOpsInternal...
Demon [Wed, 25 Apr 2012 14:18:15 +0000 (14:18 +0000)]
Merge "[FileBackend] Reduced code duplication with new getPathsToLockForOpsInternal() function."

12 years agoMerge "Make API action=tokens extendable"
Demon [Wed, 25 Apr 2012 14:03:26 +0000 (14:03 +0000)]
Merge "Make API action=tokens extendable"

12 years agoMerge "Deprecate WebRequest::escapeAppendQuery()"
Demon [Wed, 25 Apr 2012 13:59:10 +0000 (13:59 +0000)]
Merge "Deprecate WebRequest::escapeAppendQuery()"

12 years agoMerge "Use $wgContLang and an anonymous user in refreshLinks.php to parse pages."
Demon [Wed, 25 Apr 2012 13:58:16 +0000 (13:58 +0000)]
Merge "Use $wgContLang and an anonymous user in refreshLinks.php to parse pages."

12 years agoMake API action=tokens extendable
Max Semenik [Wed, 25 Apr 2012 08:48:53 +0000 (12:48 +0400)]
Make API action=tokens extendable

LocalSettings snippet for testing:

$wgHooks['ApiTokensGetTokenTypes'][] = function( &$hookTypes ) {
$hookTypes['foo'] = function() { return 'bar'; };
return true;
};

Change-Id: Idf1f4379e677d21059c1b4e12f80e9d2bafb9897

12 years agoDeprecate WebRequest::escapeAppendQuery()
Max Semenik [Tue, 24 Apr 2012 20:05:10 +0000 (00:05 +0400)]
Deprecate WebRequest::escapeAppendQuery()

It is an ugly piece of UI-related code in an infrastructure class.
Its only user, MobileFrontend, is currently in process of getting rid of it.

Patchset 2: Fixed commit message

Change-Id: I62f9f707532a95be01c1ecdcb1fbfbd0c4117be6

12 years agoMerge "(bug 36047) Adds high definition (HD) CSS for the Vector skin"
Catrope [Wed, 25 Apr 2012 03:34:41 +0000 (03:34 +0000)]
Merge "(bug 36047) Adds high definition (HD) CSS for the Vector skin"

12 years agoMerge "Parameter documentation for PathRouter"
Aaron Schulz [Tue, 24 Apr 2012 23:33:37 +0000 (23:33 +0000)]
Merge "Parameter documentation for PathRouter"

12 years agoParameter documentation for PathRouter
Reedy [Tue, 24 Apr 2012 22:55:33 +0000 (23:55 +0100)]
Parameter documentation for PathRouter

Explicitly define member variable

Change-Id: Iae2cffbb299d587d9a48b3b3255a0b49501cabac

12 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Tue, 24 Apr 2012 19:26:02 +0000 (19:26 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I20d33dba24bbbdecae406f3427a1b6be652f7c17

12 years agoMerge "[FileBackend] Renamed getOperations() to reflect that it is "internal"."
Demon [Tue, 24 Apr 2012 18:54:34 +0000 (18:54 +0000)]
Merge "[FileBackend] Renamed getOperations() to reflect that it is "internal"."

12 years ago[FileBackend] Reduced code duplication with new getPathsToLockForOpsInternal() function.
Aaron [Tue, 24 Apr 2012 18:03:10 +0000 (11:03 -0700)]
[FileBackend] Reduced code duplication with new getPathsToLockForOpsInternal() function.

Change-Id: I0ca8a81f2e65acaf849e02af3d59fcc3d40026d8

12 years agoFixed undefined defines warnings introduced in change 5131
Max Semenik [Tue, 24 Apr 2012 17:54:08 +0000 (21:54 +0400)]
Fixed undefined defines warnings introduced in change 5131

https://gerrit.wikimedia.org/r/#change,5131

Change-Id: Ib338fd8cb5032b1468598ecedf537a75850acd62

12 years agointroducing WikiPageTest
daniel [Tue, 24 Apr 2012 16:00:21 +0000 (18:00 +0200)]
introducing WikiPageTest

12 years agominor bugs and docu
daniel [Tue, 24 Apr 2012 16:00:05 +0000 (18:00 +0200)]
minor bugs and docu

12 years agoreplaceSection() should replace entire content if the section id is the empty string.
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.

12 years agodocu fix: declare param type
daniel [Tue, 24 Apr 2012 14:17:51 +0000 (16:17 +0200)]
docu fix: declare param type

12 years agouse ContextSource in WikiPage::getParserOutput and PoolWorkArticleView
daniel [Tue, 24 Apr 2012 14:17:20 +0000 (16:17 +0200)]
use ContextSource in WikiPage::getParserOutput and PoolWorkArticleView

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 agoMerge "Refactoring previewnote."
Demon [Tue, 24 Apr 2012 12:19:06 +0000 (12:19 +0000)]
Merge "Refactoring previewnote."

12 years ago[FileBackend] Renamed getOperations() to reflect that it is "internal".
Aaron Schulz [Tue, 24 Apr 2012 10:55:11 +0000 (03:55 -0700)]
[FileBackend] Renamed getOperations() to reflect that it is "internal".

Change-Id: I11e1b1b3ad494280f753d517792dcd1dff400aa6

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 ago(bug 34041) Remove bogus 10000x10000 pixel option
Tim Starling [Mon, 23 Apr 2012 22:11:16 +0000 (08:11 +1000)]
(bug 34041) Remove bogus 10000x10000 pixel option

Change-Id: I7d6e1795a637badde5551950b599ad1da215ca72

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 agoMerge "Fix magic $ aliasing in ResourceLoader"
Aaron Schulz [Mon, 23 Apr 2012 19:21:22 +0000 (19:21 +0000)]
Merge "Fix magic $ aliasing in ResourceLoader"

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 agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Mon, 23 Apr 2012 19:17:29 +0000 (19:17 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I4f91b1d14bcb3f1e064a1758d51519949ace85a3

12 years agoFix magic $ aliasing in ResourceLoader
Catrope [Mon, 23 Apr 2012 19:07:03 +0000 (12:07 -0700)]
Fix magic $ aliasing in ResourceLoader

This was removed in 5bf04171dc34521f7ee7e33ba17a90c7a772ab31 , but broke
Twinkle on enwiki just now.

Change-Id: I1b131e26181b3b8b6cd68a1b965b9ab9ba1299af

12 years agoMerge "bug 36087: PostgresUpdater fails on 8.3.14"
Demon [Mon, 23 Apr 2012 17:18:57 +0000 (17:18 +0000)]
Merge "bug 36087: PostgresUpdater fails on 8.3.14"

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 agoUse $wgContLang and an anonymous user in refreshLinks.php to parse pages.
Alexandre Emsenhuber [Mon, 23 Apr 2012 06:12:12 +0000 (08:12 +0200)]
Use $wgContLang and an anonymous user in refreshLinks.php to parse pages.

Normally it should already be correct, but just in case it gets broken for some reason.

Change-Id: Ia38df1ba1f4a6224296bfd837a515ce0ccdf55cb

12 years agoMerge "Fix notices from r94259 due to undefined variables"
Aaron Schulz [Mon, 23 Apr 2012 04:15:08 +0000 (04:15 +0000)]
Merge "Fix notices from r94259 due to undefined variables"

12 years agoMerge "Destroy any lock manager connections when forking."
Brion VIBBER [Mon, 23 Apr 2012 01:37:50 +0000 (01:37 +0000)]
Merge "Destroy any lock manager connections when forking."

12 years agoFix notices from r94259 due to undefined variables
Tim Starling [Sun, 22 Apr 2012 23:56:09 +0000 (09:56 +1000)]
Fix notices from r94259 due to undefined variables

Fix notices from r94259 due to undefined variables
$previewtext and $class in the isWikitextPage()==true case.

Change-Id: I6ae2486d8860d2c28d656cdbd594ebc3a1263537

12 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Sun, 22 Apr 2012 18:43:04 +0000 (18:43 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I0a0e64a15aa4325e92aa1b53820c7cf9850a3929

12 years agofix typo
jeroendedauw [Sun, 22 Apr 2012 13:41:35 +0000 (15:41 +0200)]
fix typo

Change-Id: Ida1816a44af452c842e39cbee88ba53320b55cd8

12 years agoMerge "Revert "tests to compare En, Qqq and messages.inc" due to test failures caused...
Brion VIBBER [Sat, 21 Apr 2012 19:39:58 +0000 (19:39 +0000)]
Merge "Revert "tests to compare En, Qqq and messages.inc" due to test failures caused by extension dependencies."

12 years agoMerge "(bug 35884) width:auto unneeded on header element"
Brion VIBBER [Sat, 21 Apr 2012 19:36:38 +0000 (19:36 +0000)]
Merge "(bug 35884) width:auto unneeded on header element"

12 years agoMerge "Ensure MWHttpRequest::method gets set with strtoupper() since code examining...
Brion VIBBER [Sat, 21 Apr 2012 19:30:16 +0000 (19:30 +0000)]
Merge "Ensure MWHttpRequest::method gets set with strtoupper() since code examining MWHttpRequest::method always expects its value to be fully uppercased."

12 years agoMerge "Added getBatch() function to BagOStuff and optimized it for memcached."
Brion VIBBER [Sat, 21 Apr 2012 19:27:13 +0000 (19:27 +0000)]
Merge "Added getBatch() function to BagOStuff and optimized it for memcached."

12 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Sat, 21 Apr 2012 18:44:48 +0000 (18:44 +0000)]
Localisation updates from translatewiki.net.

Change-Id: Ifd1a6539ae8dbeaa6d9d3ac94de1f3dad061acc0

12 years agoAdded getBatch() function to BagOStuff and optimized it for memcached.
Aaron Schulz [Sat, 21 Apr 2012 18:07:18 +0000 (11:07 -0700)]
Added getBatch() function to BagOStuff and optimized it for memcached.

Change-Id: Id8a3ed1ac7b22db7f7bf58ffde4be3285e8e2df9

12 years ago(bug 31757) Add a word-separator between help-messages in HTMLForm
umherirrender [Sat, 21 Apr 2012 09:55:40 +0000 (11:55 +0200)]
(bug 31757) Add a word-separator between help-messages in HTMLForm

Change-Id: Ie4dbfb16e195dabd6abf0634b21c7867ed584920

12 years ago(bug 35870) Fix pre-upload preview on IE 10 for Special:Upload
Brion Vibber [Fri, 13 Apr 2012 21:54:01 +0000 (14:54 -0700)]
(bug 35870) Fix pre-upload preview on IE 10 for Special:Upload

When loading thumbnails, we fetch the actual file data so we can find EXIF data in JPEGs
and do suitable rotation fixes.

This currently uses binary strings via FileReader.readAsBinaryString, but that's not
implemented in IE 10.

Workaround uses FileReader.readAsArrayBuffer and converts to a binary string in case
FileReader.readAsBinaryString is missing but readAsArrayBuffer is there.

Patchset 2: fixed bug number, expanded details
Patchset 3: cleaned up
Patchset 4: summary fix
Patchset 5: whitespace clean-up

Change-Id: Ia0258f5f400a2a52a484f33fbffed7d848245d22

12 years agoDestroy any lock manager connections when forking.
Aaron [Fri, 20 Apr 2012 23:34:43 +0000 (16:34 -0700)]
Destroy any lock manager connections when forking.

Change-Id: I320ac659559eb82378da0b9afbbb1dd3e48ba41c

12 years agoBetter fix for bug 36049, now using isset() rather than !empty()
awjrichards [Fri, 20 Apr 2012 23:18:50 +0000 (16:18 -0700)]
Better fix for bug 36049, now using isset() rather than !empty()
for textarea placeholder attribute in case the attribute value
is '0'.

Change-Id: I139abff427d7342fc3283ed3428d0a538331d2b5

12 years agoEnsure MWHttpRequest::method gets set with strtoupper() since code
awjrichards [Fri, 20 Apr 2012 22:17:55 +0000 (15:17 -0700)]
Ensure MWHttpRequest::method gets set with strtoupper() since code
examining MWHttpRequest::method always expects its value to be
fully uppercased.

Yes, this should not be a problem if MWHttpRequest is accessed
via HTTP class, but that will not always be guaranteed.

Resolves bug 36137.

Change-Id: Ic20e1b99dcb56b8a11cea50293ba44022e564de9

12 years agoMerge "Removing button-float-right rule from jquery.ui/vector theme"
Kaldari [Fri, 20 Apr 2012 22:07:25 +0000 (22:07 +0000)]
Merge "Removing button-float-right rule from jquery.ui/vector theme"

12 years agoRevert "tests to compare En, Qqq and messages.inc" due to test failures caused by...
Aaron Schulz [Fri, 20 Apr 2012 21:12:08 +0000 (21:12 +0000)]
Revert "tests to compare En, Qqq and messages.inc" due to test failures caused by extension dependencies.

This reverts commit 9a2aae31075ee331ec5b2cb615d27b7c8a81772c

12 years agoMerge "Bug 34934: allow moving files with rows with bad oi_archive_name values."
Catrope [Fri, 20 Apr 2012 19:52:07 +0000 (19:52 +0000)]
Merge "Bug 34934: allow moving files with rows with bad oi_archive_name values."

12 years agoBug 34934: allow moving files with rows with bad oi_archive_name values.
Aaron [Fri, 20 Apr 2012 19:32:39 +0000 (12:32 -0700)]
Bug 34934: allow moving files with rows with bad oi_archive_name values.

Note that delete/restore already work in such cases.

Change-Id: I6b98b219b548203c4677f5be6f703585ac2cd027

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 agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Fri, 20 Apr 2012 18:47:51 +0000 (18:47 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I08d7ab88673f7a3c0f7c34d0ec5a69d8800f7325

12 years agoMerge "Increase permitted runtime for testParserTest"
Brion VIBBER [Fri, 20 Apr 2012 18:03:20 +0000 (18:03 +0000)]
Merge "Increase permitted runtime for testParserTest"

12 years agoIncrease permitted runtime for testParserTest
Christian Aistleitner [Fri, 20 Apr 2012 17:34:15 +0000 (19:34 +0200)]
Increase permitted runtime for testParserTest

Change-Id: Id8a73b2d5d32af38c6856c3120394a2d6150f835

12 years agoMerge "(bug 35769) Convert mediawiki.Uri test suite to QUnit"
Brion VIBBER [Fri, 20 Apr 2012 17:51:24 +0000 (17:51 +0000)]
Merge "(bug 35769) Convert mediawiki.Uri test suite to QUnit"

12 years agoMerge "tests to compare En, Qqq and messages.inc"
Brion VIBBER [Fri, 20 Apr 2012 17:38:25 +0000 (17:38 +0000)]
Merge "tests to compare En, Qqq and messages.inc"

12 years agoMerge "Fixes bug 4045 by adding dirmarks."
Brion VIBBER [Fri, 20 Apr 2012 16:20:05 +0000 (16:20 +0000)]
Merge "Fixes bug 4045 by adding dirmarks."

12 years agotests to compare En, Qqq and messages.inc
Antoine Musso [Fri, 20 Apr 2012 16:08:33 +0000 (18:08 +0200)]
tests to compare En, Qqq and messages.inc

Change-Id: I7ebeeea703e955c628b57548eb023fa3eb5a2f52

12 years ago(bug 35884) width:auto unneeded on header element
Antoine Musso [Fri, 20 Apr 2012 14:08:07 +0000 (16:08 +0200)]
(bug 35884) width:auto unneeded on header element

width:auto on HTML headers (h1, h2 ..) was introduced by the vector skin
with b74f7169675c3971db0.  Seeems unneeded since that is the default for
those tags.

Change-Id: I7313236b86524dcff46777f11852b01ee3e595fa

12 years agoMerge "update html DOCTYPE sent by HttpError exception"
Demon [Fri, 20 Apr 2012 13:52:54 +0000 (13:52 +0000)]
Merge "update html DOCTYPE sent by HttpError exception"

12 years agoupdate html DOCTYPE sent by HttpError exception
Antoine Musso [Fri, 20 Apr 2012 12:55:23 +0000 (14:55 +0200)]
update html DOCTYPE sent by HttpError exception

Follow up r110486, which updated doctype sent by wfHttpError()

Change-Id: I0e89420dd95edcf1ac76e3984b36f92df11cdb3f

12 years agoFix inconsistencies between change Ie7e7d592 and I8a937b57.
Siebrand Mazeland [Fri, 20 Apr 2012 12:53:44 +0000 (14:53 +0200)]
Fix inconsistencies between change Ie7e7d592 and I8a937b57.
Remove the messages that were marked ignored in optional.

Change-Id: I25f2846f3ce3ad019fb6b98604de040ef83612c0

12 years agoMerge "Mark some messages added in Commit:bbe822603984795ce70c7e45eb47980709c84aa2...
Siebrand Mazeland [Fri, 20 Apr 2012 12:45:09 +0000 (12:45 +0000)]
Merge "Mark some messages added in Commit:bbe822603984795ce70c7e45eb47980709c84aa2 as optional."

12 years agoMark some messages added in Commit:bbe822603984795ce70c7e45eb47980709c84aa2
Siebrand Mazeland [Fri, 20 Apr 2012 11:17:47 +0000 (13:17 +0200)]
Mark some messages added in Commit:bbe822603984795ce70c7e45eb47980709c84aa2
as optional.

Change-Id: I8a937b57348969ff5d64e4a4789da69cdf1154ae

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 agoIgnore messages with untranslatable content
raymond [Fri, 20 Apr 2012 10:19:48 +0000 (12:19 +0200)]
Ignore messages with untranslatable content
Referes to https://gerrit.wikimedia.org/r/#change,4797

Change-Id: Ie7e7d5928bc96defc1f70486a2fb64a062dffc88

12 years agoMerge "Added more description of Short URL"
Reedy [Fri, 20 Apr 2012 09:46:38 +0000 (09:46 +0000)]
Merge "Added more description of Short URL"

12 years agoMerge "(bug 35961) Hash comparison should always be strict."
Aaron Schulz [Fri, 20 Apr 2012 08:03:42 +0000 (08:03 +0000)]
Merge "(bug 35961) Hash comparison should always be strict."

12 years agoMerge "Added getRootStoragePath() convenience function to get the root path."
Aaron Schulz [Fri, 20 Apr 2012 07:21:15 +0000 (07:21 +0000)]
Merge "Added getRootStoragePath() convenience function to get the root path."

12 years agoAdded getRootStoragePath() convenience function to get the root path.
Aaron Schulz [Fri, 20 Apr 2012 02:57:58 +0000 (19:57 -0700)]
Added getRootStoragePath() convenience function to get the root path.

Also includes some whitespace cleanup.

Change-Id: I40b36bd5fc4da6ee948406a385dfa5c6d90de859

12 years agoMerge "Can't return values from functions that don't return anything"
Aaron Schulz [Fri, 20 Apr 2012 07:00:42 +0000 (07:00 +0000)]
Merge "Can't return values from functions that don't return anything"

12 years ago(bug 34938) <title> empty on Sanskrit Wikipedia
Antoine Musso [Thu, 19 Apr 2012 22:17:57 +0000 (00:17 +0200)]
(bug 34938) <title> empty on Sanskrit Wikipedia

Second time this issue happen. The symptom is that some pages on
sa.wikipedia.org have an empty HTML <title>.

Originally thought it was an issue with the l10n update script on WMF
cluster, running the updater apparently fixed the issue one time.

This time it seems the issue is caused by 'pagetitle' being empty in
MessagesSa.php. See commit a613ec85f81b703dd1058eaf1bdc512b81e3c1a3
made by translatewiki script on March 14th 2012.

Change-Id: Ibfd9b9e566431ca115d77c97c1359373e0c2fb5a

12 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Thu, 19 Apr 2012 21:11:42 +0000 (21:11 +0000)]
Localisation updates from translatewiki.net.

Change-Id: Ib698667b7b5a3b6d06483bc6660105dac28cbbc7

12 years agoMerge "wfAssembleUrl lacked '@since 1.19' comment"
Hashar [Thu, 19 Apr 2012 19:30:49 +0000 (19:30 +0000)]
Merge "wfAssembleUrl lacked '@since 1.19' comment"