Nikerabbit [Thu, 1 Nov 2012 22:08:58 +0000 (22:08 +0000)]
Merge "Adding primary authors of Wikidata branch"
Demon [Thu, 1 Nov 2012 20:46:35 +0000 (20:46 +0000)]
Merge "Use $this->getTitle() instead of $out->getTitle()"
Aaron Schulz [Thu, 1 Nov 2012 20:39:43 +0000 (20:39 +0000)]
Merge "Link $wgVersion on Special:Version to Release Notes"
Reedy [Mon, 23 Jul 2012 18:48:23 +0000 (19:48 +0100)]
Link $wgVersion on Special:Version to Release Notes
Change-Id: I38cbde2f02477e4d5e61892cf7575ff1c122149d
Chad Horohoe [Thu, 1 Nov 2012 20:08:23 +0000 (16:08 -0400)]
Adding primary authors of Wikidata branch
Largest branch merge of new features -> you deserve credit
Change-Id: I20a0c781b3a7c652baf254003d8a91bb996afc26
Demon [Thu, 1 Nov 2012 19:56:07 +0000 (19:56 +0000)]
Merge "[FileBackend] Check if paths are writable for delete ops too."
Nikerabbit [Thu, 1 Nov 2012 18:51:09 +0000 (18:51 +0000)]
Merge "Use LogFormatter to format rights log."
GWicke [Thu, 1 Nov 2012 18:27:04 +0000 (18:27 +0000)]
Merge "Added Parsoid WT escaping tests (several disabled for PHP parser)."
jeroendedauw [Thu, 1 Nov 2012 17:38:14 +0000 (18:38 +0100)]
fixed type hints
Change-Id: If7739f094e770fadfb7b5d9e270c9553331115a0
Aaron Schulz [Thu, 1 Nov 2012 17:13:30 +0000 (10:13 -0700)]
Fixed MessageCache::parseText() and fixed docs for MessageCache::parse()
Change-Id: Ia297d9d0f893451a611051f9df7db3870b4c2333
MarkTraceur [Thu, 1 Nov 2012 17:24:11 +0000 (17:24 +0000)]
Merge "(bug 36276) add redlink styles to legacy shared.css"
MatmaRex [Thu, 1 Nov 2012 17:16:34 +0000 (18:16 +0100)]
(bug 36276) add redlink styles to legacy shared.css
This is mostly intended to fix the display in Myskin.
Change-Id: Ib519ad5b8091f7912cebba6b090d404f340f20bf
TheDJ [Thu, 1 Nov 2012 17:02:28 +0000 (17:02 +0000)]
Merge "CologneBlue rewrite: rewrite bottomLinks()"
Demon [Thu, 1 Nov 2012 16:48:48 +0000 (16:48 +0000)]
Merge "(Bug 41574) Supply Title object to Revision if possible."
Subramanya Sastry [Thu, 1 Nov 2012 16:21:10 +0000 (11:21 -0500)]
Added Parsoid WT escaping tests (several disabled for PHP parser).
* Parsoid has to convert HTML to Wikitext in order to support the
Visual Editor. As part of this, it has to insert nowiki escapes
in several places wherever the text might be interpreted as
valid wikitext markup. The new tests test Parsoid's wikitext
escaping capabilities when the result HTML is serialized back to
Wikitext.
Change-Id: I392a5cbc2eeca921fcd4c44cbc37615b583240a5
Reedy [Thu, 1 Nov 2012 15:40:58 +0000 (15:40 +0000)]
Merge "(Bug 41617) Fix undelete."
Alexandre Emsenhuber [Thu, 1 Nov 2012 13:51:12 +0000 (14:51 +0100)]
Use $this->getTitle() instead of $out->getTitle()
This is for consistency with other calls to the same method in the class.
Change-Id: I1ecd401cc5862ccb53211fc0a0754a2ac3debb7b
IAlex [Thu, 1 Nov 2012 13:40:53 +0000 (13:40 +0000)]
Merge "(bug 41582) Show "Page information" toolbox link to info action also in history etc."
Antoine Musso [Thu, 1 Nov 2012 13:03:29 +0000 (13:03 +0000)]
Merge "race condition in CdbTests"
daniel [Thu, 1 Nov 2012 12:48:18 +0000 (13:48 +0100)]
(Bug 41574) Supply Title object to Revision if possible.
The Revision object needs the Title to determine the default content model.
Providing the Title explicitely wherever possible avoids an extra database
lookup. Most importanlty, this fixes fatal errors that ocurr when the
database lookup fails due to slave lag or transaction state.
Change-Id: I516e82f7a893b274c513b128b8a46db491160b55
daniel [Thu, 1 Nov 2012 11:12:11 +0000 (12:12 +0100)]
(Bug 41617) Fix undelete.
Undeletion was broken twice:
1) originally, it failed silently, restoring revision entries with
the wrong number in rev_page.
2) I789e45bd restores an overly zealous sanity check, causing
undeletion to fail with a fatal error.
This change fixes both issues.
Change-Id: I796fe54e81773f7982ae9bc15ba30f2a2ee3f174
Antoine Musso [Thu, 1 Nov 2012 10:48:18 +0000 (11:48 +0100)]
race condition in CdbTests
The CDB tests were attemptying to write in harcoded filename
/tmp/php.cdb and /tmp/dba.cdb. Whenever two jobs were running the same
test, we would end up with a mysteriously failling test. The test now
use random temporary file names.
Change-Id: Ia1e58f0c02418e6d01d6730f97b2103ed87eb4f4
Federico Leva [Thu, 1 Nov 2012 08:47:02 +0000 (09:47 +0100)]
Clarify error message for oldid info action
According to qqq it's shown when info are requested for an oldid.
<https://translatewiki.net/wiki/Thread:Support/About_MediaWiki:Pageinfo-not-current/en>
Change-Id: I9c14867e216fb865d4a9109e10f3127c3c5c5a83
Aaron Schulz [Thu, 1 Nov 2012 06:36:49 +0000 (23:36 -0700)]
[FileBackend] Check if paths are writable for delete ops too.
* Also clarified the docs around isPathUsableInternal().
Change-Id: I3fc10fce43e040f45045d6da69f0211e9ab4155d
IAlex [Thu, 1 Nov 2012 05:46:31 +0000 (05:46 +0000)]
Merge "Update parts order in message files"
IAlex [Thu, 1 Nov 2012 05:42:46 +0000 (05:42 +0000)]
Merge "Localisation updates from translatewiki.net."
Aaron Schulz [Thu, 1 Nov 2012 05:04:24 +0000 (05:04 +0000)]
Merge "Revert "(Bug 41436) Tone down sanity check, just warn, don't die.""
RobLa [Thu, 1 Nov 2012 04:58:19 +0000 (04:58 +0000)]
Revert "(Bug 41436) Tone down sanity check, just warn, don't die."
This reverts commit
770b6519bedcfdae9fe6debb22b349a61b84ab28
This seems to have introduced bug 41606. By reverting, we get an exception rather than complete data loss.
Aaron Schulz [Wed, 31 Oct 2012 18:51:21 +0000 (11:51 -0700)]
[JobQueue] Use "flush" option with commit().
Change-Id: If612f8e282c1aa7014461f8878aa9721b30eeb42
Aaron Schulz [Wed, 31 Oct 2012 03:14:59 +0000 (20:14 -0700)]
[JobQueue] Make sure broken/duplicate job removal counts in stats.
Change-Id: I09b3faa770172ce7aae457ef0af3dd5bafe7319d
Aaron Schulz [Thu, 1 Nov 2012 03:49:58 +0000 (20:49 -0700)]
[JobQueue] Fixed while loop in claimOldest() function.
Change-Id: I326b767c08944bcfde83c5e7f4a8339cecbab6d4
Aaron Schulz [Wed, 31 Oct 2012 21:34:35 +0000 (14:34 -0700)]
[JobQueue] Reduced deadlocks in claim() function.
* Split claim() into claimRandom() and claimOldest().
* Added a new SELECT+UPDATE method that will automatically be used if there are slaves.
This is what claimRandom() uses, which is the claim function used for random queues.
This can handle torture testing with dozens of processes using NullJob without deadlocks.
* Made claimOldest() work using the same method as the old claim() method. Doing SELECT
first won't really work that well in this case. The useless "job_random > 0" is now gone
from the query, which actually alleviates deadlock problems too. This method is used for
"timestamp" ordered queues.
Change-Id: Iaea96ff8eba2c918376f9465b54e9bbc3124f473
Tychay [Wed, 31 Oct 2012 23:33:10 +0000 (23:33 +0000)]
Merge "Passing the undid revisionId from the API request to the WebRequest"
TheDJ [Wed, 31 Oct 2012 22:42:21 +0000 (22:42 +0000)]
Merge "CologneBlue rewrite: output the sidebar items as <ul> lists"
MatmaRex [Fri, 5 Oct 2012 21:58:54 +0000 (23:58 +0200)]
CologneBlue rewrite: rewrite bottomLinks()
* use links already present in toolbar and navigational menus
* remove all the checks that have been thus made redundant
* introduce processBottomLink()
* remove all the functions that became obsolete
* fix up CSS
* add action=info link
Change-Id: I9486649e7b34f1ee33f5d529f3af5799369b3a11
Aaron Schulz [Wed, 31 Oct 2012 22:24:52 +0000 (15:24 -0700)]
Fixed nextJobDB.php to handle recent job queue changes.
Change-Id: I98533ed599d27bbfc9043e906a758e3bc8903de0
MatmaRex [Sat, 27 Oct 2012 16:45:38 +0000 (18:45 +0200)]
CologneBlue rewrite: output the sidebar items as <ul> lists
This fixes the second part of bug 41456.
We also wrap each portlet in a <div> with class=portlet and an id like in
other skins (p-<heading-name>).
These changes should make CologneBlue more compatible with gadgets
and user-scripts that expect standard sidebar structure to add new links
to it.
Change-Id: I51c022bf22b881d4bd33c8d0e36c3e3226ac8b8f
Siebrand Mazeland [Wed, 31 Oct 2012 21:51:46 +0000 (22:51 +0100)]
Update parts order in message files
Update the order of parts in messages files. Not done for all files. Order set as:
fallback, encoding, namespace related, special pages, magic words, other (no fixed
ordering after magic words).
Change-Id: Ide5ec747ba62a8c2bca8040a14d0aeea8e6c79b9
TheDJ [Wed, 31 Oct 2012 21:28:15 +0000 (21:28 +0000)]
Merge "CologneBlue rewrite: rework quickbar() once again"
Siebrand Mazeland [Wed, 31 Oct 2012 21:14:03 +0000 (22:14 +0100)]
Localisation updates from translatewiki.net.
Updates for namespace translations.
Change-Id: I75564db4fd71b75d3579b82647384bb9b4ccdbba
Aaron Schulz [Wed, 31 Oct 2012 20:52:04 +0000 (20:52 +0000)]
Merge "[JobQueue] Added a test job that just replaces itself."
Siebrand Mazeland [Wed, 31 Oct 2012 20:49:47 +0000 (20:49 +0000)]
Merge "Localisation updates from translatewiki.net."
Siebrand Mazeland [Wed, 31 Oct 2012 20:48:24 +0000 (21:48 +0100)]
Localisation updates from translatewiki.net.
Updates for magic words.
Change-Id: Ib1ee9f9b3b1fcac2f2c80b131f2dc122be43d532
Translation updater bot [Wed, 31 Oct 2012 20:44:21 +0000 (20:44 +0000)]
Merge "Localisation updates from translatewiki.net."
Translation updater bot [Wed, 31 Oct 2012 20:31:53 +0000 (20:31 +0000)]
Localisation updates from translatewiki.net.
Change-Id: I2f44dd0bba99b33e2c11f770d30d448e58c99464
Siebrand Mazeland [Wed, 31 Oct 2012 19:41:40 +0000 (20:41 +0100)]
Localisation updates from translatewiki.net.
Updates for special pages aliases.
Change-Id: I18d500477d1de6df2b85b377c37076b9ac721557
Aaron Schulz [Wed, 31 Oct 2012 00:25:36 +0000 (17:25 -0700)]
[JobQueue] Added a test job that just replaces itself.
Change-Id: I257d68099660a9c95e68f7662ae8d5cf1ebefe27
daniel [Wed, 31 Oct 2012 19:16:36 +0000 (20:16 +0100)]
Fix handling of prot-rel URLs in SiteObject.
Previously, getProtocol() would return null for a protocol relative URL,
but the database field sites_protocol does not allow null as a value.
Changed getProtocol() to return an empty string instead.
Change-Id: I7e22cc3c3d8dca17a28fc4627083d5d2cb253887
Alex Monk [Wed, 31 Oct 2012 16:13:10 +0000 (16:13 +0000)]
(bug 41582) Show "Page information" toolbox link to info action also in history etc.
Change-Id: I831e3ba1c5ca0200e52a0e075e34c6de7c9103ef
Nikerabbit [Wed, 31 Oct 2012 07:27:01 +0000 (07:27 +0000)]
Merge "WikitextContentHandlerTest expects the messages to be in English."
Nikerabbit [Wed, 31 Oct 2012 06:56:22 +0000 (06:56 +0000)]
Merge "Proper directionality for entry points table"
Aaron Schulz [Tue, 30 Oct 2012 02:04:03 +0000 (19:04 -0700)]
[FileRepo] Changed "publishBatch" to handle failure better.
* Instead of moving the current file to the archive name,
and then storing the new one, copy the current file to the
archive name and overwrite the new one. When and object store
backend is used, this reduces the number of operations from
COPY, DELETE, PUT to just COPY and PUT. This reduces the RTTs,
chances for failures, and avoids the period of time where the
file has no current version.
* Also removed the "force" option to make file changes more likely
to be all or nothing.
Change-Id: I46fc5c5c1fda5b386958b57557942f500de9dc2c
Aaron Schulz [Mon, 29 Oct 2012 19:57:04 +0000 (12:57 -0700)]
[FileBackend] Support "ignoreMissingSource" for copy and move operations.
* This lets callers use "copy if exist" semantics more easily and avoids extra stat
queries to the backend (since the cache is cleared before doOperations()).
* Tweaked FileOp::fileSha1() to reduce backend stat requests as 404s are not cached.
Change-Id: Icb5ca14b3316f273d53593f48979d14e113990e1
Aaron Schulz [Wed, 31 Oct 2012 00:32:50 +0000 (17:32 -0700)]
[JobQueue] Make use of the isEmpty() function caching in pop().
Change-Id: I92f538f4eb1e912f3446423a0ca51d9a63bf4457
Platonides [Tue, 30 Oct 2012 22:48:17 +0000 (23:48 +0100)]
WikitextContentHandlerTest expects the messages to be in English.
The 4 testGetAutosummary were failing with the wiki configured
to a different language.
Change-Id: Ibb003a8d5758b25032e0e7df98dfc90d149409db
Demon [Tue, 30 Oct 2012 20:50:54 +0000 (20:50 +0000)]
Merge "[FileBackend] Made path normalization in FileOp more robust."
Translation updater bot [Tue, 30 Oct 2012 20:21:22 +0000 (20:21 +0000)]
Localisation updates from translatewiki.net.
Change-Id: I0bf66cb49b3111d95c4ae3a0d56935fe03065345
parent5446 [Mon, 29 Oct 2012 20:07:49 +0000 (16:07 -0400)]
(bug 37963) Fixed loading process for user options.
The bug has actually already been fixed, so this
patch just removes extraneous function calls and code in
User::getOption() and User::setOption(). It also adds
unit tests for user options (including a test for the
case provided in the bug report).
Change-Id: Idd8af9cf1a26a4adbde3ca71dde64539ecd0a207
Demon [Tue, 30 Oct 2012 18:30:24 +0000 (18:30 +0000)]
Merge "[FileBackend] Use the new CloudFiles metadata functions."
IAlex [Tue, 30 Oct 2012 18:29:31 +0000 (18:29 +0000)]
Merge "(bug 41494) Honor $wgLogExceptionBacktrace in APIMain"
umherirrender [Sat, 13 Oct 2012 18:01:38 +0000 (20:01 +0200)]
(bug 40574) hints for generatexml param in api modules
Change-Id: I782d64eed5faac6836a57463e195e64c4314199c
Aaron Schulz [Mon, 22 Oct 2012 18:58:08 +0000 (11:58 -0700)]
[FileBackend] Use the new CloudFiles metadata functions.
* This helps proof against annoying case sensitivity and case mangling issues.
Change-Id: I580f609847260ee8c5bd99926a615f88bb7395d6
Aaron Schulz [Tue, 30 Oct 2012 09:11:53 +0000 (02:11 -0700)]
[FileBackend] Made path normalization in FileOp more robust.
* This normalizes all the storage paths on object construction.
Change-Id: Ie50fc47a66e441992ea0b9659854d9f38c05925c
Aaron Schulz [Mon, 29 Oct 2012 23:56:43 +0000 (16:56 -0700)]
[FileBackend] Simplified code for handling "overwrite" parameter.
* Since doQuickOperations() implicitely sets "overwrite", and doOperations() handles it
via FileOp, there is no reason to also have each backend double checking this parameter
to handle it. The parameter is no implicit for all the *Internal() functions. This does
not affect callers. It does reduce the amount of HEAD requests since 404s are not cached.
Change-Id: I7d827e16bc55fe5c7b9aa51ec0c6b2f7c0bb629e
Brion VIBBER [Mon, 29 Oct 2012 23:02:56 +0000 (23:02 +0000)]
Merge "Don't fail on incomplete row info when exporting."
Aaron Schulz [Fri, 26 Oct 2012 23:15:27 +0000 (16:15 -0700)]
[FileBackend] Simplified FileOpBatch code to have just one "run" function.
Change-Id: Iae6c8e96e2558588f76f23c1ceb160a6fc372aa8
daniel [Mon, 29 Oct 2012 21:47:19 +0000 (22:47 +0100)]
Don't fail on incomplete row info when exporting.
This allows XmlDumpWriter to output rows that are missing some
information without triggering php warnings.
This fixes warnings caused by the OAI extension when using
XmlDumpWriter::writeRevision without setting the row's
rev_parent_id field.
Generally, it seems convenient to allow optional fields to be unset
instead of skipping them if they are empty, but requiering them to be
set.
Change-Id: I246ba3a899bd9e833232444a11ac63e1b0225ab6
Translation updater bot [Mon, 29 Oct 2012 21:44:55 +0000 (21:44 +0000)]
Localisation updates from translatewiki.net.
Change-Id: Ia34403425fd68e236a676f49faba0447df2bc0c5
Amir E. Aharoni [Mon, 29 Oct 2012 13:30:47 +0000 (15:30 +0200)]
Proper directionality for entry points table
The entry points table inherited the interface language's
dir and lang values. This caused weird display in RTL languages
and possible problems with webfonts, which work with the lang attribute.
This commit sets explicit lang="en" dir="ltr" for the whole entry points
table and explicit lang and dir of the current interface language for
the table headings.
Change-Id: I396ec98b4ea14d06bf91002b6bc4a293c09fdb33
Brad Jorsch [Mon, 29 Oct 2012 20:52:44 +0000 (16:52 -0400)]
(bug 41494) Honor $wgLogExceptionBacktrace in APIMain
When the API catches a non-API exception, it logs the message but does
not record the backtrace. It should honor $wgLogExceptionBacktrace
(added in 1.20) to decide whether to log the backtrace or just the
message.
Change-Id: I33fcbebd0e41dc2fda0cd00f8779e013300c0494
Siebrand [Mon, 29 Oct 2012 20:11:41 +0000 (20:11 +0000)]
Revert "Deglobalization in EditPage.php"
Reverts I2c600915. Regular UI edits seem to go through fine, but things go
horribly wrong for reasons unknown to me in for example LiquidThreads.
That's of course not acceptable, so reverting. Also see bug 41497.
Change-Id: Id95e279c0ec0fbcc162983a12434282f55e8489e
Catrope [Mon, 29 Oct 2012 20:03:16 +0000 (20:03 +0000)]
Merge "(bug 41042) Regression: API action=parse with nonexistent page"
Catrope [Mon, 29 Oct 2012 19:44:18 +0000 (19:44 +0000)]
Merge "list=allusers&aurights=[unusedright] returns all users of the wiki"
daniel [Mon, 29 Oct 2012 18:51:50 +0000 (19:51 +0100)]
(Bug 41436) Tone down sanity check, just warn, don't die.
This is a follow-up to I9db228c3 fixing an issue with undelete:
Page ID 47009 mismatches the ID 47010 provided by the Title object.
Backtrace:
0 /var/www/CephWiki/core/includes/Revision.php(188): Revision->__construct(Array)
1 /var/www/CephWiki/core/includes/specials/SpecialUndelete.php(548): Revision::newFromArchiveRow(Object(stdClass), Array)
2 /var/www/CephWiki/core/includes/specials/SpecialUndelete.php(381): PageArchive->undeleteRevisions(Array, false, '')
3 /var/www/CephWiki/core/includes/specials/SpecialUndelete.php(1510): PageArchive->undelete(Array, '', Array, false, Object(User))
4 /var/www/CephWiki/core/includes/specials/SpecialUndelete.php(778): SpecialUndelete->undelete()
5 /var/www/CephWiki/core/includes/SpecialPage.php(599): SpecialUndelete->execute(NULL)
Change-Id: I0517c5826bcba2a85fee596b0473a16da26c3b2f
Aaron Schulz [Mon, 29 Oct 2012 18:09:43 +0000 (11:09 -0700)]
[FileRepo] Fixed purging for "short style" thumbnail names.
Change-Id: If63b4c609b7bc43cda658cb87abe59562b335c69
Kaldari [Sun, 28 Oct 2012 23:05:40 +0000 (16:05 -0700)]
Passing the undid revisionId from the API request to the WebRequest
This is so that Echo can detect when a revision is undone via the
API. wpUndidRevision is the same param used by the 'undo' button in
in the History view.
Change-Id: I82440eb442759335800cee49fd53528fcfd92ed6
Brad Jorsch [Tue, 16 Oct 2012 15:42:54 +0000 (11:42 -0400)]
(bug 41042) Regression: API action=parse with nonexistent page
Changeset Iec98e472 changed the behavior of action=parse&page=... when
passed a page that does not exist: previously, it would return a
"missingtitle" error instead of assuming an empty page. As some people
had been depending on this old behavior, restore the error checking.
Change-Id: I4c76ce458ceb01e233c6074cd9251879013ec143
IAlex [Mon, 29 Oct 2012 17:11:17 +0000 (17:11 +0000)]
Merge "OutputPage::addWikiTextTitleTidy() requires variable as second para"
Reedy [Mon, 29 Oct 2012 16:45:30 +0000 (16:45 +0000)]
Merge "(Big 41436) Make sure Revision knows page Title."
Siebrand Mazeland [Mon, 29 Oct 2012 16:26:13 +0000 (17:26 +0100)]
OutputPage::addWikiTextTitleTidy() requires variable as second para
Was trowing PHP Strict Standards: Only variables should be passed by
reference.
Change-Id: I97ede1c61636c9758408b66b84694c2a5825a259
Siebrand Mazeland [Mon, 29 Oct 2012 16:03:27 +0000 (17:03 +0100)]
Fix typo in method
Change-Id: I023a5417e62a56125b9e59197ac33f6f48094e2b
Hashar [Mon, 29 Oct 2012 15:46:22 +0000 (15:46 +0000)]
Merge "Update some external conversion tables to latest versions"
Reedy [Mon, 29 Oct 2012 15:43:21 +0000 (15:43 +0000)]
Merge "Deglobalization in EditPage.php"
daniel [Mon, 29 Oct 2012 15:21:27 +0000 (16:21 +0100)]
(Big 41436) Make sure Revision knows page Title.
With $wgContentHandlerUseDB, Revision needs access to the page's Title
object to determin the page's default content model. This apparently
failed in production for newly created pages (supposedly because of
some complication with database transactions or master/client setup).
This change makes WikiPage::doEditContent pass the Title object
directly to the Revision to avoid any database issues. This also
gets rid of a pointless database read.
Change-Id: I9db228c3fcda0f8dfe52be1659014a6e4b4775af
daniel [Fri, 26 Oct 2012 10:43:02 +0000 (12:43 +0200)]
Warn when creating TextContent around false/null.
Instantiating a TextContent instance around a null or false value
instead of a string may indicate an error and should thus trigger
a warning and thereby make tests fail.
Change-Id: I0864bbf31040d0c5db96a90ff427dc9dd3ccbd67
Reedy [Mon, 22 Oct 2012 22:51:26 +0000 (23:51 +0100)]
Back out config table and related code
Change-Id: I4fa180d45984a4ec2b2c7b1149015c6dad14c5f0
Demon [Mon, 29 Oct 2012 14:21:42 +0000 (14:21 +0000)]
Merge "Cache the result of User::getDefaultOptions"
Alex Monk [Mon, 29 Oct 2012 03:12:31 +0000 (03:12 +0000)]
Symlink README.mediawiki to README so Github renders it as wikitext.
The README file is displayed at https://github.com/mediawiki/core but is not parsed as wikitext.
This change should fix that.
Unfortunately this doesn't work for viewing other files, where it just shows the name of the destination of the symlink.
Change-Id: I56b29da20a0ea45d3cb4ad6cc98091406886cb79
Nikerabbit [Mon, 29 Oct 2012 12:15:37 +0000 (12:15 +0000)]
Merge "Stash global only once per test case."
robin [Thu, 25 Oct 2012 23:07:42 +0000 (01:07 +0200)]
Add the page content language to the page information
Change-Id: Id2aa19c66b299e3462cf3bea4020827f9f2ee1ef
Siebrand [Mon, 29 Oct 2012 10:32:06 +0000 (10:32 +0000)]
Merge "(bug 32237) Add GENDER support to Special:EmailUser"
Siebrand Mazeland [Mon, 8 Oct 2012 11:56:48 +0000 (13:56 +0200)]
Deglobalization in EditPage.php
Some details:
* Using context as much as possible.
* Changed mTitle/mArticle to getTitle()/getArticle().
* Tweaked some comments.
* Broke some long lines.
Change-Id: I2c600915d8a4af98215de9bf9d2d60abdc675fab
Siebrand [Mon, 29 Oct 2012 10:18:10 +0000 (10:18 +0000)]
Merge "tests: rm duplicate code in language classes"
Amir E. Aharoni [Sun, 28 Oct 2012 20:19:23 +0000 (22:19 +0200)]
(bug 32237) Add GENDER support to Special:EmailUser
Change-Id: Ie72cc90518c6f5880632fe17d4c60f392e3ddec6
daniel [Thu, 25 Oct 2012 15:29:10 +0000 (17:29 +0200)]
Stash global only once per test case.
Make sure we only stash a given global only once per test case since we
do not want to override the original value.
This allows the same test to modify the same global multiple times,
while still preserving the original value to be restored after the
test case finished.
Change-Id: I9056d6d6879fb976a192960f661904287f9760a8
Nikerabbit [Mon, 29 Oct 2012 08:58:36 +0000 (08:58 +0000)]
Merge "(bug 31565) Option to use group members on Special:UserRights"
Antoine Musso [Tue, 23 Oct 2012 20:53:17 +0000 (22:53 +0200)]
tests: rm duplicate code in language classes
The language classes have been using the same setUp() tearDown() to
craft a new language object. I have abstracted that code in
LanguageClassesTestCase and made all the language test classes to extend
it. The language is interpolated directly from the class name and an
object for it can be retrieved with the getLang() method.
Change-Id: Ib931336ce219edabe2c72b7e9f04c976a500723e
Daniel Friesen [Fri, 19 Oct 2012 08:12:56 +0000 (01:12 -0700)]
Preemptively add image-set to our sanitizer.
WebKit's -webkit-image-set() requires a url() to work however css4-images'
version of image-set permits strings such that image-set( 'asdf.png' 1x ) would be permitted
and would bypass our filters.
Change-Id: I366d04807f66df449f791a5e8e2cb58768124a9a
Amir E. Aharoni [Wed, 24 Oct 2012 10:24:37 +0000 (12:24 +0200)]
(bug 31565) Option to use group members on Special:UserRights
If a language community wants to show member names rather than
group names, it's possible to use the new optional message
userrights-groupsmember-type.
Change-Id: I1dc3efcb2c8a32a01b33158c9a14c079e42705d7
Marius Hoch [Mon, 29 Oct 2012 00:21:20 +0000 (01:21 +0100)]
Cache the result of User::getDefaultOptions
Caching the result of User::getDefaultOptions as it always returns
the same data, despite for unit tests, which can't use the cached
values as they do evil things with variables being constant in normal
operation.
Change-Id: I02d557006d2f879e7ce510a5e47fa1543baab8a6