jenkins-bot [Wed, 22 Oct 2014 18:58:38 +0000 (18:58 +0000)]
Merge "Made JobRunner wait for all applicable slaves, not just the main cluster"
Aaron Schulz [Tue, 21 Oct 2014 21:41:34 +0000 (14:41 -0700)]
Made JobRunner wait for all applicable slaves, not just the main cluster
Change-Id: Ib610684fd3d9b76ea13fe585a290983c071b88f4
Aaron Schulz [Tue, 21 Oct 2014 22:07:39 +0000 (15:07 -0700)]
Expose job metadata in showJobs and the jobs log
* This means that redis job UUIDs now show up in these places
Change-Id: Icea168de7e1590bfe275646bc2ccbb7151f032ae
Aaron Schulz [Wed, 22 Oct 2014 17:56:36 +0000 (10:56 -0700)]
Optimized wfWaitForSlaves() to get the master positions for all LBs first
Change-Id: I4a4aa6a3f68ace85dcbfb73e982a16c62e21e6ed
jenkins-bot [Wed, 22 Oct 2014 17:44:59 +0000 (17:44 +0000)]
Merge "Move tests into separate ResourceLoaderFileModuleTest"
Aaron Schulz [Wed, 22 Oct 2014 17:32:48 +0000 (10:32 -0700)]
Fixed loop in wfWaitForSlaves()
* The "break" statements should obviously be "continue" here.
Change-Id: Ia4a9bad77a9f512153aee6b77443104e71f5cd56
jenkins-bot [Wed, 22 Oct 2014 17:20:35 +0000 (17:20 +0000)]
Merge "API: Fix ApiFormatFeedWrapper"
Kunal Mehta [Wed, 22 Oct 2014 05:32:13 +0000 (22:32 -0700)]
Move tests into separate ResourceLoaderFileModuleTest
Change-Id: I2504867850b7e6bda2afb8c4fedbe6b8819bc15b
Brad Jorsch [Wed, 22 Oct 2014 16:00:48 +0000 (12:00 -0400)]
API: Fix ApiFormatFeedWrapper
With recent changes to the API, directly outputting text from execute()
in ApiFormatBase subclasses doesn't work anymore. Adjust
ApiFormatFeedWrapper for this new situation, and also handle headers in
initPrinter() where that belongs.
Bug: 72359
Change-Id: I4e4a2386858da6d87169deabaca763eeeacefbe9
jenkins-bot [Wed, 22 Oct 2014 16:38:42 +0000 (16:38 +0000)]
Merge "Treat the "temp" repo zone as private"
jenkins-bot [Wed, 22 Oct 2014 16:16:25 +0000 (16:16 +0000)]
Merge "API: Warn when neither rawcontinue nor continue are given to action=query"
jenkins-bot [Wed, 22 Oct 2014 14:29:34 +0000 (14:29 +0000)]
Merge "Only link local titles on Special:Search"
jenkins-bot [Wed, 22 Oct 2014 13:13:19 +0000 (13:13 +0000)]
Merge "Allow for time-limited tokens"
Bryan Davis [Wed, 22 Oct 2014 03:53:03 +0000 (21:53 -0600)]
jsminplus: Fix string concatenation in error message
PHP concatenates strings with the `.` operator, not with `+`.
Change-Id: I628a55d714129a1345c37bfd31d8985bce177701
Bryan Davis [Wed, 22 Oct 2014 03:46:38 +0000 (21:46 -0600)]
Remove invalid CacheHelper entry from wgAutoloadLocalClasses
There were 2 CacheHelper keys in the array. Remove the one that pointed
to a non-existent file.
Change-Id: Ifb418fe8742b5515b500a6662b10efccd8273195
James D. Forrester [Tue, 21 Oct 2014 23:54:00 +0000 (16:54 -0700)]
Update OOjs UI to v0.1.0-pre (
531d497d3b)
New changes:
3cd90ee TextInputWidget: Allow changing 'type' attribute
8bf9c29 FormLayout: Accept HTML form attributes as config options
fadc51d OOUI PHP: Unbreak ButtonWidget
50b926c build: Introduce 'quick-build' task
8e71673 Make padding between popup and container configurable
e432f9f Fix anchor positioning on popups
16ae17a PopupWidget: Remove references to 'show' and 'hide' events
cfe286f Localisation updates from https://translatewiki.net.
272476b GridLayout: Set dimensions.visibility = '' again if we have a height and a width
Change-Id: Ia2a6125e0da7659b08252b4ea2c2ddd9f6baa88a
jenkins-bot [Tue, 21 Oct 2014 21:42:55 +0000 (21:42 +0000)]
Merge "Made wfWaitForSlaves() support waiting on all clusters as needed"
Aaron Schulz [Tue, 21 Oct 2014 20:37:54 +0000 (13:37 -0700)]
Made wfWaitForSlaves() support waiting on all clusters as needed
Change-Id: Icc45ae26fee655597ae1c437b5f774d7e84f643a
Translation updater bot [Tue, 21 Oct 2014 20:42:51 +0000 (20:42 +0000)]
Merge "Localisation updates from https://translatewiki.net."
Translation updater bot [Tue, 21 Oct 2014 20:40:59 +0000 (22:40 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: I1e89b22e01053ab8a1b87826d8702158b40fd59f
jenkins-bot [Tue, 21 Oct 2014 20:39:28 +0000 (20:39 +0000)]
Merge "Tweaked chooseBlock() comments"
jenkins-bot [Tue, 21 Oct 2014 20:34:27 +0000 (20:34 +0000)]
Merge "Move MergeLogFormatter to 1.25"
jenkins-bot [Tue, 21 Oct 2014 20:03:10 +0000 (20:03 +0000)]
Merge "Revert "Revert "Make enhanced recent changes and extended watchlist default"""
umherirrender [Tue, 21 Oct 2014 19:56:46 +0000 (21:56 +0200)]
Move MergeLogFormatter to 1.25
Follow-Up: I0557a0d2751540cf0d7967333ffd767b934011c6
Change-Id: Id18ba7d925062d795bd129af255cc902e48d30f6
Jforrester [Tue, 21 Oct 2014 19:55:26 +0000 (19:55 +0000)]
Revert "Revert "Make enhanced recent changes and extended watchlist default""
This reverts commit
820ec3930d694f06fc62e652daea7506f3027162.
Config bugs are fixed in the config repo. :-)
Change-Id: Ifc955aaf75395b61230750e47edbd5f623da2985
Aaron Schulz [Tue, 21 Oct 2014 19:39:17 +0000 (12:39 -0700)]
Tweaked chooseBlock() comments
Change-Id: Ia13af74efe2081038409a229202e50016e91f5b5
Brad Jorsch [Sat, 13 Sep 2014 18:02:37 +0000 (14:02 -0400)]
API: Warn when neither rawcontinue nor continue are given to action=query
The default behavior for continuation for action=query will be changing.
Warn clients that they will need to update.
Change-Id: I52d048040e898a0c9630e2aed071b339ec12de42
jenkins-bot [Tue, 21 Oct 2014 18:55:23 +0000 (18:55 +0000)]
Merge "Revert "Make enhanced recent changes and extended watchlist default""
Aaron Schulz [Fri, 17 Oct 2014 19:32:58 +0000 (12:32 -0700)]
Treat the "temp" repo zone as private
* The primary user is the upload stash. Both stashed originals and thumbnails can
be viewed through Special:UploadStash, which checks the appropriate permissions.
There is no need for direct web access.
* Note that the scaler URL has to point to something that does no authentication
checks since the HTTP GET has no cookie headers propagated. However the file
name is the URL is determined by us_path, which is not exposed to the author
but rather stored in the DB and linked by the file key. The author should only
know the key.
* Also changed getTempRepo() to set the thumb/transcoded zones to nest in
the base repo temp zone. This way, the temp and base repo do not conflict
as to whether a container might be private or not.
Change-Id: I403520053b2053094e5f90083b6375bc04c351f4
James D. Forrester [Tue, 21 Oct 2014 18:34:02 +0000 (11:34 -0700)]
Update OOjs UI to v0.1.0-pre (
44db8292bf)
New changes:
bcc2927 Display keyboard shortcuts in right gutter of toolbar menus
f73d2b6 Localisation updates from https://translatewiki.net.
42be2b7 Progress bar widget
9833d47 Fix consoles in widgets demo
83645c4 OoUiPHP: Improve theme singleton handling
b4f0bc7 Add composer.json, use it for autoloading
Change-Id: I8770f4359eb912e01371cd6843da6dd61d832c3a
jenkins-bot [Tue, 21 Oct 2014 17:53:48 +0000 (17:53 +0000)]
Merge "Sync up with Parsoid parserTests."
umherirrender [Mon, 4 Aug 2014 17:10:51 +0000 (19:10 +0200)]
Migrate merge log to new log system
This allows use of gender on Special:Log
Old message is kept for use in irc,
a test is added to ensure a unchanged irc message.
Change-Id: I0557a0d2751540cf0d7967333ffd767b934011c6
Chad Horohoe [Tue, 21 Oct 2014 15:56:36 +0000 (08:56 -0700)]
Make Special:Search's button pretty again
Buttons were changed to be gated by the use UI
everywhere flag. Don't want that here
Change-Id: Ief47de045b2197f1ff36372355136418b0772948
jenkins-bot [Tue, 21 Oct 2014 14:32:50 +0000 (14:32 +0000)]
Merge "Fix pagecount output"
jenkins-bot [Tue, 21 Oct 2014 12:56:03 +0000 (12:56 +0000)]
Merge "Remove negative caching from Revision::getContentInternal"
jenkins-bot [Tue, 21 Oct 2014 12:09:27 +0000 (12:09 +0000)]
Merge "Add language name for aeb"
jenkins-bot [Tue, 21 Oct 2014 11:37:02 +0000 (11:37 +0000)]
Merge "Extensions may add tests by directory"
jenkins-bot [Tue, 21 Oct 2014 10:35:25 +0000 (10:35 +0000)]
Merge "Add mw-ui-icon-after"
Niklas Laxström [Sat, 18 Oct 2014 13:32:03 +0000 (15:32 +0200)]
Add language name for aeb
Translations were added long time ago
Change-Id: Ie31f8ad1f5443b0ad052bd028583154e46a433ce
jenkins-bot [Tue, 21 Oct 2014 09:45:31 +0000 (09:45 +0000)]
Merge "Rewrite ORMTable::unprefixFieldNames"
Adam Roses Wight [Sun, 28 Sep 2014 21:32:55 +0000 (14:32 -0700)]
Extensions may add tests by directory
The UnitTestsList hook can now be used to add entire directories of
tests, à la phpunit.xml's <directory> tag. The test suite is built by
recursively scanning the directory for any files ending in "Test.php".
TODO:
* Update online hook documentation.
* Generate and autoload a classmap for scanned directories.
Bug: 70630
Change-Id: I3089372f9d7c645e16ff0984a959f982a3bc639f
jenkins-bot [Tue, 21 Oct 2014 03:22:47 +0000 (03:22 +0000)]
Merge "Remove unused variable in ProfilerMwprof"
Chad Horohoe [Tue, 21 Oct 2014 01:39:46 +0000 (18:39 -0700)]
Remove unused variable in ProfilerMwprof
Change-Id: I7643717c3c899999f8393a6af726397b28d441fc
robinhood701 [Tue, 21 Oct 2014 01:38:44 +0000 (21:38 -0400)]
Fix pagecount output
Change-Id: I9ff3b986a2e1fdedb2ec5e281dbcaf6e35d3c2d0
jenkins-bot [Tue, 21 Oct 2014 00:58:08 +0000 (00:58 +0000)]
Merge "SqlBagOStuff: fix percentage in deleteObjectsExpiringBefore()"
Aaron Schulz [Sun, 19 Oct 2014 01:41:21 +0000 (18:41 -0700)]
Always supported delayed jobs in JobQueueRedis for simplicity
* Previously, each job type had to be configured to allow delayed jobs
Change-Id: I5f3cf04deca76d6684aa6b14eea97a8673a7f5af
jenkins-bot [Tue, 21 Oct 2014 00:11:54 +0000 (00:11 +0000)]
Merge "Added another size limit check to Job::toString"
jenkins-bot [Mon, 20 Oct 2014 23:26:39 +0000 (23:26 +0000)]
Merge "Add Content-Length header for job queue requests"
Subramanya Sastry [Mon, 20 Oct 2014 23:06:41 +0000 (18:06 -0500)]
Sync up with Parsoid parserTests.
This now aligns with Parsoid commit
9c8b75a3950eb1e1085ff140e76f69d70e25a647
Change-Id: I34b7077262e006acb9d45dd734488292ce9d4912
jenkins-bot [Mon, 20 Oct 2014 22:41:25 +0000 (22:41 +0000)]
Merge "Fix exception while bubbling titles"
jenkins-bot [Mon, 20 Oct 2014 22:40:39 +0000 (22:40 +0000)]
Merge "Remove deprecated GlobalVarConfig::set()"
Aaron Schulz [Mon, 22 Sep 2014 18:31:57 +0000 (11:31 -0700)]
Removed deprecated Job methods
Change-Id: Ib7a06ab19b31472c99cdccd418011beb6f075ca4
Tim Starling [Mon, 20 Oct 2014 21:42:17 +0000 (21:42 +0000)]
Revert "Use a fixed regex for StripState"
Breaks extensions, doesn't entirely fix the problem it was meant to fix.
This reverts commit
6da3f169ac55ae87837a4ba3cf3e30f83fbf9d7d.
Change-Id: Ic193abcff8c72b0c8b434fcac514f88603a45beb
jenkins-bot [Mon, 20 Oct 2014 21:41:19 +0000 (21:41 +0000)]
Merge "API: Internationalize all remaining core API modules"
Patrick Westerhoff [Mon, 20 Oct 2014 21:40:20 +0000 (23:40 +0200)]
Add Content-Length header for job queue requests
Include the Content-Length header in job queue POST requests to meet the
requirement by certain servers, avoiding HTTP 411 responses.
Bug: 72274
Change-Id: Icf34bca58c792225d735d576213d6887015459ca
jenkins-bot [Mon, 20 Oct 2014 21:12:54 +0000 (21:12 +0000)]
Merge "Remove hitcounters and associated code"
Aaron Schulz [Tue, 14 Oct 2014 21:58:26 +0000 (14:58 -0700)]
Removed extra "tries" increment in the redis job queue
* This could result in jobs getting one less extra tries than they should
Change-Id: Ia2e82ca0965f6ce9e1354820eb03f40f047a949c
Brad Jorsch [Thu, 18 Sep 2014 17:38:23 +0000 (13:38 -0400)]
API: Internationalize all remaining core API modules
This also adds some new ApiBase::PARAM_* constants to generate more
helpful help, and a method to override the default description message
for the use of ApiDisabled and ApiQueryDisabled.
Bug: 71638
Change-Id: Ic0c3d232e0498d58a043037e2e0c6f0b1c3edad3
Aaron Schulz [Sun, 19 Oct 2014 01:11:53 +0000 (18:11 -0700)]
Avoid calling recyclePruneAndUndelayJobs() in daemonized mode
* This could cause problems if claimTTL is 0 in MW config but not
in the runner JSON config.
Change-Id: I86418fd4426b58be1c17c97e026d14239f5e36de
Chad Horohoe [Wed, 30 Jul 2014 20:56:20 +0000 (13:56 -0700)]
Remove hitcounters and associated code
The hitcounter implementation in MediaWiki is flawed
and needs removal. For proper metrics, it is suggested to use
something like Piwik or Google Analytics.
RFC: https://www.mediawiki.org/wiki/Requests_for_comment/Removing_hit_counters_from_MediaWiki_core
Change-Id: I0e5006a7e8a09c800f8fa4effa9399e8afdd7a57
Translation updater bot [Mon, 20 Oct 2014 19:58:21 +0000 (21:58 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: I071ca41395b65765a6506f7c89b63cfd613af93a
jenkins-bot [Mon, 20 Oct 2014 18:21:51 +0000 (18:21 +0000)]
Merge "Revert "Add maxlength of 6 for time correction in preferences""
Mattflaschen [Mon, 20 Oct 2014 18:01:21 +0000 (18:01 +0000)]
Revert "Add maxlength of 6 for time correction in preferences"
As noted by Bartosz, System|60 is also valid (apparently also
ZoneInfo|something, but not sure what can go after ZoneInfo), and the
maxlength interferes with this.
Maybe eventually we could revisit and use input#pattern
(http://www.w3.org/TR/html51/forms.html#the-pattern-attribute). That
allows specifying a regex, which could have different length limits
depending whether it started with a number (AFAICT, the 6 length is valid
if it starts with a digit).
But for now, that is not urgent, and we need to fix the regression.
This reverts commit
da470ce005652774049d346142b9509e89b31c6b.
Bug: 70405
Change-Id: Ib585c76688284dab78e85fb355785c06d0c3e353
jenkins-bot [Mon, 20 Oct 2014 17:52:24 +0000 (17:52 +0000)]
Merge "Update OOjs UI to v0.1.0-pre (
db065e5a9f)"
jenkins-bot [Mon, 20 Oct 2014 17:45:48 +0000 (17:45 +0000)]
Merge "Get the value of microtime() directly as float in updateSpecialPages.php"
Alexandre Emsenhuber [Mon, 20 Oct 2014 17:29:31 +0000 (19:29 +0200)]
Get the value of microtime() directly as float in updateSpecialPages.php
It has a first parameter to directly get the value as float, so use it
instead of doing string manipulation.
Change-Id: Id2dff4486ea4f308ce03fc3d5546660c4e3c26b6
jenkins-bot [Mon, 20 Oct 2014 17:08:51 +0000 (17:08 +0000)]
Merge "Mention translatewiki.net on edits only, when edit a default message"
Kunal Mehta [Fri, 3 Oct 2014 08:32:48 +0000 (01:32 -0700)]
Remove deprecated GlobalVarConfig::set()
Was deprecated in 1.24.
Change-Id: Iead2c8ba14c0524cba9585b5d4c29f2f806cfc15
Nik Everett [Mon, 20 Oct 2014 16:17:15 +0000 (12:17 -0400)]
Fix exception while bubbling titles
In prefix search if the search text is actually a title we make sure it is at
the top of the results. But if it isn't a valid title we shouldn't blow up
because blowing up is bad.
Bug: 72260
Change-Id: I5bd795df447a33bb003a38ec2068dc184379a813
Kevin Israel [Mon, 20 Oct 2014 06:52:02 +0000 (02:52 -0400)]
CoreParserFunctions::displaytitle(): Use Parser::killMarkers()
... instead of doing something similar to an old version of it.
Change-Id: I78db194291236208843a13b80d322d403774796c
jenkins-bot [Mon, 20 Oct 2014 15:22:09 +0000 (15:22 +0000)]
Merge "Add name for bto language"
jenkins-bot [Mon, 20 Oct 2014 15:02:21 +0000 (15:02 +0000)]
Merge "Add $tablesUsed for ApiTestCase"
James D. Forrester [Mon, 20 Oct 2014 14:47:58 +0000 (07:47 -0700)]
Update OOjs UI to v0.1.0-pre (
db065e5a9f)
New changes:
8e1a057 ListToolGroup: Implement collapsible/expandable tools
35b58b5 Introduce ButtonInputWidget
9ca3b79 FlaggedElement: Fix PHP notice
db065e5 Localisation updates from https://translatewiki.net.
Locally, add the two new messages to the Resources.php manifest.
Change-Id: I27a925d3f8799fe1f5635cb41de95f5d555d1f5a
umherirrender [Wed, 15 Oct 2014 16:31:29 +0000 (18:31 +0200)]
Make PrefixSearchTest use MediaWikiLangTestCase
It uses namespaces which depends on the content language
Change-Id: I0a1ef4adea1e1ddff32e37cbbd8cf51a3398905b
Matthias Mullie [Mon, 20 Oct 2014 11:57:11 +0000 (13:57 +0200)]
Add $tablesUsed for ApiTestCase
This test creates 2 TestUser objects on setUp. Due to recent
changes in TestUser, this isn't even possible anymore if
MediaWikiTestCase hasn't setupTestDB() properly.
Change-Id: Idadfb94bd48270ad085cfece2bf17024ed9d97cd
jenkins-bot [Mon, 20 Oct 2014 10:18:53 +0000 (10:18 +0000)]
Merge "Skip tests in PrefixSearchTest if not wikitext main namespace"
Alexandre Emsenhuber [Mon, 20 Oct 2014 08:26:49 +0000 (10:26 +0200)]
Fix incorrect replacement inside regular expression
Fix for Id3aa87cfa0 (
2537ca2).
The "$" is for the end of the string, not for a variable.
Change-Id: I2d262582644b903992dc621079ea5a6a04d7af70
Tim Starling [Sat, 18 Oct 2014 22:37:56 +0000 (15:37 -0700)]
Use prefixed globals in eval.php main loop
Use globals with less-common names so that variables created by the
command line are less likely to conflict with the ones used by the
eval.php loop.
Change-Id: Id3aa87cfa039eb7555f44e17134c7cdbb5f25cc1
Marius Hoch [Mon, 20 Oct 2014 00:58:45 +0000 (02:58 +0200)]
Only link local titles on Special:Search
Anything else is confusing, especially given the message text
we have there.
Example:
https://www.mediawiki.org/wiki/Special:Search?search=en%3Afoo&fulltext=1
Also fix the documentation of Title::isLocal as that was misleading
and fooled me (in PS1).
Change-Id: Iccb69de4c7243bf144a12deb8b86505e56a111dd
jenkins-bot [Mon, 20 Oct 2014 00:22:13 +0000 (00:22 +0000)]
Merge "Make TestUser way faster"
Marius Hoch [Sun, 19 Oct 2014 22:22:02 +0000 (00:22 +0200)]
Make TestUser way faster
By only updating the user row in the database, if needed
and by making use of md5 for passwords instead of slower
hashing.
This cut down run time of some Wikibase API tests to 20%
of the original value for me!
Also it reduces the run time of MediaWiki's test suite
by about 45s on jenkins.
Change-Id: I7024b287a71fe9b327dbcdc5427cd8edb5047606
jenkins-bot [Sun, 19 Oct 2014 22:52:44 +0000 (22:52 +0000)]
Merge "Use a fixed regex for StripState"
Tim Starling [Sat, 18 Oct 2014 22:31:27 +0000 (15:31 -0700)]
Use a fixed regex for StripState
The JIT compiler in newer versions of PCRE experiences lock contention
when multithreaded applications perform a high rate of concurrent
compilations. We are seeing some performance impact on HHVM under normal
production traffic.
The random part of the strip marker is just there to protect against
deliberate insertion of strip markers into the source text, which is
very rare. So use a generic regex to find strip markers, and check in
the callback whether the random state ID is correct.
StripState::killMarkers() will be slower when it has to remove many
strip markers, but most calls to it will not match any strip markers, so
overall performance should be improved due to reduced JIT compilation.
Bug: 72205
Change-Id: I8d37ae929a8c669c9e39adc8096b89e5732b68d0
Translation updater bot [Sun, 19 Oct 2014 19:41:15 +0000 (21:41 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: I289582368b87fb3f273d7fa1d65c95ca14b2942a
Brian Wolff [Sat, 18 Oct 2014 23:09:00 +0000 (20:09 -0300)]
Do not include ilshowall as a hidden form field on Special:ListFiles
It is already a checkbox, including it in the hidden form inputs
means that it cannot be unchecked.
Bug: 72224
Change-Id: I430c219ac7a445a34f51a268c11c43e907bf9c10
jenkins-bot [Sat, 18 Oct 2014 23:05:14 +0000 (23:05 +0000)]
Merge "Sanitize TestUser"
Amir E. Aharoni [Sat, 6 Sep 2014 12:12:33 +0000 (15:12 +0300)]
Set AdminEmail field in the installer to explicit ltr
Email addresses are usually left-to-right.
Change-Id: Iaf2320a17d62ad6c950cf83cc74b2cc020cbb9cb
jenkins-bot [Sat, 18 Oct 2014 18:32:48 +0000 (18:32 +0000)]
Merge "API: Clean up skin handling"
Translation updater bot [Sat, 18 Oct 2014 18:30:15 +0000 (20:30 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: I38583ba3417708c0f6992306785177cae82f552b
Marius Hoch [Sat, 18 Oct 2014 13:29:29 +0000 (15:29 +0200)]
Sanitize TestUser
This also, as a side effect, makes sure we no longer
use hash_ functions here, which will reduce the impact of
https://github.com/facebook/hhvm/issues/3740 on us.
Change-Id: I6e0c776ef9aafe490b24b6869037bb5cb05cd151
aude [Sat, 18 Oct 2014 12:56:19 +0000 (14:56 +0200)]
Skip tests in PrefixSearchTest if not wikitext main namespace
Otherwise, running core tests with non-wikitext in the main
namespace fail with fatal error.
Change-Id: I895e7ee61ba80c0c345b6c05f05d05c368e52d59
Reza [Sat, 18 Oct 2014 07:49:21 +0000 (07:49 +0000)]
commonPrint.css: Add @noflip to direction float classes to fix RTL
Same fix is already applied to oldshared.css
Change-Id: I170759de516da04a3ea3c5d57bea0b2f65faf45d
Niklas Laxström [Sat, 18 Oct 2014 12:25:04 +0000 (14:25 +0200)]
Add name for bto language
Translations added in I5e83ff26f39
Change-Id: I7ecdd557f56bc9f6027cfd16010f35eb722c2080
Brad Jorsch [Tue, 26 Aug 2014 18:12:32 +0000 (14:12 -0400)]
Allow for time-limited tokens
Tokens returned from User::getEditToken will now include an encoded
timestamp (and therefore will be up to 16 bytes longer).
User::matchEditToken and User::matchEditTokenNoSuffix are gaining a
"maxage" parameter: when specified, only tokens with an encoded timestamp
within $maxage seconds will be accepted.
Change-Id: Ic4cf148cc1fa9d0561aac0bd2d68a09c7851896d
James D. Forrester [Fri, 17 Oct 2014 23:47:08 +0000 (16:47 -0700)]
OOjs UI: Re-build pull-through from scratch to vet for unused files
Change-Id: Ic1625794af28f986c0f40d1289983f474602ec9e
jenkins-bot [Fri, 17 Oct 2014 23:26:40 +0000 (23:26 +0000)]
Merge "Revert "Add RL template module with HTML markup language""
Legoktm [Fri, 17 Oct 2014 23:19:21 +0000 (23:19 +0000)]
Revert "Add RL template module with HTML markup language"
Not ready for merging, and Roan says that the +2 was
most likely accidental and meant to be a -1.
This reverts commit
d146934f94ba7028fb0ad0a180786bc5856990d6.
Change-Id: I3926c9ae9e3c8026fceb3aeedd3b1f1d9b91667b
Aaron Schulz [Thu, 9 Oct 2014 00:40:23 +0000 (17:40 -0700)]
Avoid needing config to be in sync between MW and the jobrunner
* This unifies the retry and no-retry code paths so that its easier to use
the separate job runner service.
* All jobs will use the ack procedure. If no retries are enabled they will
just get deleted. As a side-effect, abandoned jobs can be seen for a few
days in the no-retry case, which used to not happen. This could actually
be useful to know about anyway.
Change-Id: I185092e3696fb336b9edcf19280dcd9a561161d9
Bartosz Dziewoński [Wed, 24 Sep 2014 10:44:16 +0000 (12:44 +0200)]
Implement page status indicators
Page status indicators are icons (or short text snippets) usually
displayed in the top-right corner of the page, outside of the main
content. Basically, <indicator name="foo">[[File:Foo.svg|20px]]</indicator>
may be used on a page to place the icon in the indicator area. They
are also known as top icons, page icons, heading icons or title icons.
I found the discussion on bug 23796 highly illuminating. I suggest
that everyone read it before suggesting different design choices.
I spent some time with a thesaurus pondering the name. "Emblems" and
"badges" were also considered, but the former has a much more limited
meaning and the latter is already taken by Wikidata, with a similar
but subtly different feature set. I am not aware of any naming
conflicts ;) besides new talk page message "indicator" (used by core
and Echo in some documents) and OOjs UI indicators (tiny icons like
the arrow on a dropdown form element), which shouldn't be confusing.
Potential use cases include:
* "Lock" indicators for page protection levels
* Featured/good article indicators
* Redirect shortcuts display ("WP:VPT")
* Links to help/manual for special pages
* Coordinates?… or globe icon for inline pop-up maps
Design features:
* Skin-customizable. Skins can fully control where and how indicators
are shown, or may just do <?php echo $this->getIndicators(); ?> to
output the default structure. By default they are not shown at all.
* Extension-customizable. Extensions can call ParserOutput::addIndicator()
to insert an indicator from one of the numerous parser hooks.
* Wiki-customizable. In addition to just using the parser functions,
on-wiki styles and scripts can use the provided classes and ids
(.mw-indicator, #mw-indicator-<name>) to customize their display.
Design limitations:
* Every indicator must have a unique identifier (name). It's not
possible to create arrays, or to have several indicators with the
same name. In case of duplicates, the latest occurrence of the
parser function wins.
* Indicators are displayed ordered by their names (and not occurrence
order). This ensures consistency across pages and provides a simple
means of ordering or grouping them.
* Indicators are not stored, tracked or accessible outside of
ParserOutput (in particular they're not in the page_props table).
They are intended to merely reflect the content or metadata that is
already present on the page, and not be data themselves. If you ever
think you need to list pages with a given status indicator, instead
figure out what it means and use the appropriate tracking category,
special page report, already existing page_prop, or other means.
Corresponding patch in Vector: I90a8ae15ac8275d084ea5f47b6b2684d5e6c7412.
I'll implement support in the other three skins included in the tarball
and document it on mediawiki.org after this is merged.
Bug: 23796
Change-Id: I2389ff9a5332a2b1d033eb75f0946e5241cfaaf4
jenkins-bot [Fri, 17 Oct 2014 22:46:32 +0000 (22:46 +0000)]
Merge "Add RL template module with HTML markup language"