Tyler Anthony Romeo [Mon, 6 Aug 2012 21:02:25 +0000 (17:02 -0400)]
Set form name for HTMLForms in FormAction subclasses.
Used FormAction::getName() to set the form name for
FormAction subclasses. Without a form name, HTMLForm
creates weird messages names for certain fields (e.g.,
in a form with sections, HTMLForm will use the message
"$prefix-$key" for the legend, but if no prefix exists,
it just becomes "-$key").
Change-Id: I1c19775e44163f4335e30f1d1f73a6e002cb57ec
Signed-off-by: Tyler Anthony Romeo <tylerromeo@gmail.com>
Aaron Schulz [Mon, 6 Aug 2012 20:51:16 +0000 (20:51 +0000)]
Merge "Fixes to Special:Mostlinkedcategories."
Aaron Schulz [Mon, 6 Aug 2012 20:44:24 +0000 (20:44 +0000)]
Merge "Use a better message when a revision is not found."
Translation updater bot [Mon, 6 Aug 2012 19:22:37 +0000 (19:22 +0000)]
Localisation updates from translatewiki.net.
Change-Id: If5dfc80fe392a76f111dcfe23cdd2432022bc0ee
Aaron [Mon, 6 Aug 2012 17:56:11 +0000 (17:56 +0000)]
Merge "[FileBackend] Fixed bogus sync-check status errors."
Aaron [Mon, 6 Aug 2012 17:53:44 +0000 (10:53 -0700)]
[FileBackend] Fixed bogus sync-check status errors.
Change-Id: Iefb3a9575e241cfdc3220301a89667d6ad96a307
jeroendedauw [Mon, 6 Aug 2012 17:32:52 +0000 (19:32 +0200)]
Add @deperecation stuff to message functions
Change-Id: I69168ed9d850baf02b3dd7c8bd0e820f3f00f43f
IAlex [Mon, 6 Aug 2012 17:09:02 +0000 (17:09 +0000)]
Merge "Move message importtext into the fieldset"
Aaron Schulz [Mon, 6 Aug 2012 16:58:26 +0000 (16:58 +0000)]
Merge "Followup
ac8b7d54f81f7b3879a7e21c96b0d182a00618d2 fix broken php detection"
umherirrender [Mon, 6 Aug 2012 16:03:19 +0000 (18:03 +0200)]
Move message importtext into the fieldset
Than it is the same place as message import-interwiki-text
Change-Id: I0eb800b05848cbea123f895180da02cc1b9af913
jeroendedauw [Mon, 6 Aug 2012 14:18:02 +0000 (16:18 +0200)]
Split CacheTime into its own file
Change-Id: Iaa546fc5a30dad4bc0a0dbd0dc18dd2e05bf9d7f
Alexandre Emsenhuber [Mon, 6 Aug 2012 11:02:34 +0000 (13:02 +0200)]
In WebRequest, don't use isset() to check that a variable is null
Change-Id: If4577b911e774e1e0c6a1d90c585bbb027d6b7cd
Alexandre Emsenhuber [Thu, 2 Aug 2012 09:20:40 +0000 (11:20 +0200)]
Use a better message when a revision is not found.
This comes from
https://translatewiki.net/wiki/Thread:Support/MediaWiki:Missing-article
that asks for a link to the deletion log in the
'missing-article' message.
Instead of simply changing that message I replaced
it with two news messages 'missing-revision' when trying
to view an old revision and 'difference-missing-revision'
when showing a difference. This removes the "lego"
construction of 'missing-article' with 'missingarticle-rev'
and 'missingarticle-diff' submessages.
I had to keep current messages since they are still
used in extensions.
Change-Id: Ibe60c84cfea922a78b3ad22cc48185a109cd617d
Daniel Friesen [Mon, 6 Aug 2012 05:56:16 +0000 (22:56 -0700)]
Followup
ac8b7d54f81f7b3879a7e21c96b0d182a00618d2 fix broken php detection
Change-Id: Id78f14c220bbaa21b78c0c669a324f6169b3109d
Aaron Schulz [Mon, 6 Aug 2012 05:40:44 +0000 (05:40 +0000)]
Merge "change some rc_new to rc_type == RC_NEW"
Siebrand Mazeland [Sun, 5 Aug 2012 23:51:22 +0000 (01:51 +0200)]
Tweak 'disambiguations-text'.
Change-Id: I51fc0b48f5af8f9d50f7c968d5ecdcf94406a623
Siebrand Mazeland [Sun, 5 Aug 2012 23:39:36 +0000 (01:39 +0200)]
Should be used from fallback.
Change-Id: I91ce057883d902d9dc55a781e200136971c94f02
umherirrender [Sun, 5 Aug 2012 22:08:35 +0000 (00:08 +0200)]
change some rc_new to rc_type == RC_NEW
The field rc_new is obsolete and should be removed, see bug 34320
Change-Id: I411ec2cb0fe3eb078094eded210d4aefee5f8e74
Translation updater bot [Sun, 5 Aug 2012 19:36:19 +0000 (19:36 +0000)]
Merge "Localisation updates from translatewiki.net."
Siebrand [Sun, 5 Aug 2012 19:17:21 +0000 (19:17 +0000)]
Merge "Rebuild MessagesEn.php"
Translation updater bot [Sun, 5 Aug 2012 19:01:18 +0000 (19:01 +0000)]
Localisation updates from translatewiki.net.
Change-Id: I9939a879f65f468d7d3392b5f41c7db2eeffcc0f
Siebrand Mazeland [Sun, 5 Aug 2012 17:46:05 +0000 (19:46 +0200)]
Fix grammar issue and add quotes around parameters.
Change-Id: Idd4ff6ac8bc9176a69ad46769e73dc070cd5f3ad
Alexandre Emsenhuber [Sun, 5 Aug 2012 17:10:24 +0000 (19:10 +0200)]
Rebuild MessagesEn.php
Change-Id: Ibaa94493225ee9f20674c3c30df18f3da8afe28a
Siebrand Mazeland [Sun, 5 Aug 2012 14:49:03 +0000 (16:49 +0200)]
Support GENDER in 'passwordreset-emailelement'.
Change-Id: I1b14dbb8d1fb06c688064af4a6a02e03293dc5f0
Alexandre Emsenhuber [Sat, 4 Aug 2012 18:31:42 +0000 (20:31 +0200)]
Improve documentation of maintenance scripts.
Change-Id: I557f85e8526a3e4b48107fbf299ff39f6af1ac12
Alexandre Emsenhuber [Sat, 4 Aug 2012 20:08:59 +0000 (22:08 +0200)]
Fixes to Special:Mostlinkedcategories.
- Don't execute the LinkBatch if there are no rows.
- Checks for invalid titles and output a message
if this is the case.
Change-Id: I934c151204ee26f2bbfe0dbc8068b96ae7465625
Aaron Schulz [Sat, 4 Aug 2012 18:13:09 +0000 (18:13 +0000)]
Merge "Fix possible error texts in action=options"
Aaron Schulz [Sat, 4 Aug 2012 18:10:54 +0000 (18:10 +0000)]
Merge "remove 'cantpurge' from possible errors in action=purge"
Aaron Schulz [Sat, 4 Aug 2012 18:10:30 +0000 (18:10 +0000)]
Merge "Rename 'file-session-key' in api message map"
Aaron Schulz [Sat, 4 Aug 2012 18:10:02 +0000 (18:10 +0000)]
Merge "unknown error 'filerevert-badversion'"
umherirrender [Sat, 4 Aug 2012 14:35:49 +0000 (16:35 +0200)]
fix list of possible errors for list=blocks
Change-Id: I4a091eeb788f465fe6cdbb7fe6d296606185ba3c
umherirrender [Sat, 4 Aug 2012 14:26:53 +0000 (16:26 +0200)]
remove 'cantpurge' from possible errors in action=purge
Was removed in r74944
Change-Id: Ib13be4a3a9956b5c48f2d435092affe518fd7cd3
umherirrender [Sat, 4 Aug 2012 14:18:18 +0000 (16:18 +0200)]
Fix possible error texts in action=options
Change-Id: I465b9cf109bd4f22542747ca72876caa3725a353
umherirrender [Sat, 4 Aug 2012 14:05:21 +0000 (16:05 +0200)]
Rename 'file-session-key' in api message map
Follow up r92009
Change-Id: I4752d47e54f4b13101400bed097eccc525e8506e
Nikerabbit [Sat, 4 Aug 2012 14:05:03 +0000 (14:05 +0000)]
Merge "* Bug 39032 - ApiQuery generates help in constructor."
umherirrender [Sat, 4 Aug 2012 13:40:36 +0000 (15:40 +0200)]
unknown error 'filerevert-badversion'
Adding 'filerevert-badversion' to message map
use some local vars in ApiFileRevert
Change-Id: I2341f3f212af484d446a7a84c1b5c7984597468d
Reedy [Sat, 4 Aug 2012 13:35:23 +0000 (14:35 +0100)]
* Bug 39032 - ApiQuery generates help in constructor.
Functions called unnecesserily, as their return values aren't used
or even cached.
Removing them to reduce the pointless overhead of calling them
Change-Id: I0d8ddab9492ea79d5de4118944e77ac774275506
Aaron Schulz [Sat, 4 Aug 2012 08:45:49 +0000 (08:45 +0000)]
Merge "Improve detection of php binary."
Platonides [Fri, 27 Jul 2012 17:00:40 +0000 (19:00 +0200)]
Improve detection of php binary.
- Add php binary and a program which might
be set as $PHP.
- Check for the correct php version.
The break shell builtin is not too commonly used,
but should beperfectly safe to use, since it's specified by POSIX
http://pubs.opengroup.org/onlinepubs/
9699919799/utilities/V3_chap02.html#break
Change-Id: Iefbe991426f0e9a7178363a30b613f57110e1953
Gabriel Wicke [Fri, 3 Aug 2012 23:33:13 +0000 (16:33 -0700)]
Add a test for paragraphs with extra newline spacing
This test simply documents the current PHP parser behavior, so that it remains
compatible while we are tweaking Parsoid.
Change-Id: I807efb93da6c69da124bcab5c7fbd531b4deaa2b
awjrichards [Fri, 3 Aug 2012 23:19:01 +0000 (23:19 +0000)]
Merge "Added line to rel notes about CacheHelper class"
awjrichards [Fri, 3 Aug 2012 23:14:27 +0000 (23:14 +0000)]
Merge "Bug 38676 - password-change-forbidden isn't properly localized"
Aaron Schulz [Fri, 3 Aug 2012 23:05:21 +0000 (23:05 +0000)]
Merge "use FileRepo api to delete and check for files"
IAlex [Fri, 3 Aug 2012 21:42:59 +0000 (21:42 +0000)]
Merge "Make rebuildLocalisationCache.php also obey --memory-limit if set."
Reedy [Fri, 3 Aug 2012 21:04:30 +0000 (21:04 +0000)]
Merge "Fixes to Special:Mostlinkedtemplates."
Reedy [Fri, 3 Aug 2012 20:59:04 +0000 (20:59 +0000)]
Merge "Use WebRequest instead of $_SERVER in ApiMain."
IAlex [Fri, 3 Aug 2012 20:27:26 +0000 (20:27 +0000)]
Merge "Change from wgMiserMode to isCached on Special:WithoutInterwikis"
Aaron Schulz [Fri, 3 Aug 2012 19:09:50 +0000 (19:09 +0000)]
Merge "Introduce default expiry time for special:block (bug 32178)"
Catrope [Fri, 3 Aug 2012 18:22:42 +0000 (18:22 +0000)]
Merge "(bug 38351) Image alignment should follow the page content language"
Translation updater bot [Fri, 3 Aug 2012 16:16:10 +0000 (16:16 +0000)]
Localisation updates from translatewiki.net.
Change-Id: Ieac1b68dd05ab55e1129fb94f32354fc86143aa2
umherirrender [Fri, 3 Aug 2012 11:03:08 +0000 (13:03 +0200)]
Change from wgMiserMode to isCached on Special:WithoutInterwikis
This makes it clearer why the input from is not needed.
It does not change anything, because isCached checks isExpensive and
wgMiserMode and isExpensive is true here.
Change-Id: Ib5f775d5ff20b53b91732ca544ec273543afe7d1
Antoine Musso [Thu, 2 Aug 2012 16:26:08 +0000 (18:26 +0200)]
link to HTMLForm doc on the wiki
URL provided by Clément Dietschy.
Change-Id: Ibea0266618c09b2dfbac5c356beba93dd8bebba2
Alexandre Emsenhuber [Thu, 2 Aug 2012 20:36:45 +0000 (22:36 +0200)]
Fixes to Special:Mostlinkedtemplates.
- Don't execute the LinkBatch if there are no rows.
- Checks for invalid titles and output a message
if this is the case.
Change-Id: Ibd3794fbe165b13f3b386a9dabe4b6fabb7ba1d8
Reedy [Thu, 2 Aug 2012 23:20:54 +0000 (23:20 +0000)]
Merge "Fix bug causing API to list anons as autoconfirmed in certain cases"
Krinkle [Thu, 2 Aug 2012 23:19:31 +0000 (23:19 +0000)]
Merge "Fix jquery.localize tests, change number of expected assertions"
robin [Wed, 1 Aug 2012 03:34:32 +0000 (05:34 +0200)]
(bug 38351) Image alignment should follow the page content language
The alignment of image thumbs should follow the page content language instead of the wiki content language.
For this it needs the parser context, and because it makes sense to have it as first parameter, I renamed makeImageLink2() to makeImageLink(), the 2 seemed to be redundant anyway.
The old function name keeps the old behaviour, but can be removed quite soon since almost no extension is using it.
Change-Id: I0c35b06a85528dcc43fdd0578dc9b327c495cf4a
Reedy [Thu, 2 Aug 2012 22:35:20 +0000 (23:35 +0100)]
Make rebuildLocalisationCache.php also obey --memory-limit if set.
Same as https://gerrit.wikimedia.org/r/17473 for runJobs.php
Change-Id: I352df6c2f46606fe575ef5f52a39175b4aad9f75
Reedy [Thu, 2 Aug 2012 22:17:50 +0000 (23:17 +0100)]
* (bug 38953) --memory-limit switch not working for runJobs.php.
In runJobs.php the memory limit was hardcoded to 150M, so passing
--memory-limit would have no difference. Changed to using what was
passed as --memory-limit if something was, else just use the 150M
as usual
Change-Id: I3e3bafc6a0fe4e88792a65f01b432c8f4f6677cf
Brad Jorsch [Wed, 1 Aug 2012 02:45:13 +0000 (22:45 -0400)]
(bug 38904) prop=revisions&rvstart=... should not blow up when continuing
A query using prop=revisions in enum mode will return a query-continue
using rvstartid. If the original query included rvstart, the client will
therefore send both the rvstart from the original query and the
rvstartid from the query-continue. And the API will then return an error
that rvstart and rvstartid may not both be used in the same query.
Since there is no way for the API to instruct the client to ''not'' send
the rvstart when continuing, we'll just use rvcontinue instead. Then the
module can ignore both rvstart and rvstartid to get the intended
continuation.
Change-Id: I145215996b8a7818196cdfb583a1fdacae973fee
Catrope [Thu, 2 Aug 2012 20:48:49 +0000 (13:48 -0700)]
Fix bug causing API to list anons as autoconfirmed in certain cases
On a stock install, the autoconfirmed requirements default to zero, so
anons qualify for autoconfirmed. They don't actually get it because
User::getEffectiveGroups() only checks for autopromote groups for
logged-in users. However, ApiQueryUsers::getAutoGroups() (which
duplicates this logic for some reason) didn't use the same rule and
applied autopromote groups to anons too, which caused discrepancies
betwen the API output and wgUserGroups.
Krinkle noticed this because a QUnit test for mw.user.getGroups() was
failing while logged out: the API response included autoconfirmed but
wgUserGroups didn't.
Change-Id: I0b781c11e06d3cc7176b2fb3ba06979d3637f970
Reedy [Thu, 2 Aug 2012 20:15:13 +0000 (21:15 +0100)]
Fix jquery.localize tests, change number of expected assertions
jquery.localize: Handle basic replacements (1, 4, 5)
Expected 3 assertions, but 4 were run
Change-Id: I95d89d8ff37befd54735edd565db8d0184a8e39a
Catrope [Thu, 2 Aug 2012 20:06:33 +0000 (20:06 +0000)]
Merge "(bug 35526) Make jquery.tablesorter use a stable sort"
Brad Jorsch [Fri, 13 Jul 2012 18:56:17 +0000 (14:56 -0400)]
(bug 35526) Make jquery.tablesorter use a stable sort
In r86337, jquery.tablesorter was changed from using the standard
Javascript Array.sort to a custom merge sort, with the justification
that it eliminates an eval and merge sort is stable. However, the
implementation used is not, in fact, stable, and making an in-place
merge sort stable reportedly kills performance.
Instead, let's just go back to using Array.sort, but with a closure
(basically the same comparison function used by the merge sort) rather
than an eval and using the already-calculated "position" as a tiebreaker
when two rows are otherwise equal to make it stable.
Change-Id: Idc50127d3bfec2b1727f397a9780b359fd56055e
Brad Jorsch [Mon, 18 Jun 2012 20:33:19 +0000 (16:33 -0400)]
Allow manipulation of wl_notificationtimestamp via the API
It should be possible to query the notificationtimestamp as a page info
property, rather than only by querying the recent changes for the
watchlist. It should also be possible to clear or adjust the
notificationtimestamp via the API.
This patch does just that.
Change-Id: I8e2c0769e93802a6a09936899a41c07f9c4c9f25
Reedy [Sat, 7 Jul 2012 15:07:29 +0000 (16:07 +0100)]
* (bug 38231) Add xml parse tree to action=parse.
Change-Id: I4db3950c937e6299c6f3adc9b90137ac642c607c
Catrope [Thu, 2 Aug 2012 19:45:57 +0000 (19:45 +0000)]
Merge "Add feature to disable rollback edit count"
Siebrand [Thu, 2 Aug 2012 19:39:28 +0000 (19:39 +0000)]
Merge "Don't manually quote stuff"
Reedy [Thu, 2 Aug 2012 19:36:21 +0000 (20:36 +0100)]
Don't manually quote stuff
Minor parameter documentation stuffs
Change-Id: Ie21cbfcf878de4efbf93f1d29900fe9d5f4c7ed2
Alexandre Emsenhuber [Thu, 2 Aug 2012 19:33:47 +0000 (21:33 +0200)]
Improve documentation of maintenance scripts.
Change-Id: I52ebe4d741109aef19cd8fa252243e2b6440565f
Nikerabbit [Thu, 2 Aug 2012 19:11:03 +0000 (19:11 +0000)]
Merge "Update languagesWithVariants"
Antoine Musso [Tue, 24 Jul 2012 09:45:22 +0000 (11:45 +0200)]
HTMLForm mutators can now be chained
This make HTMLForm mutator to return $this for easy method chaining such
as:
form = new HTMLForm( $someFields );
$form->setMethod( 'get' )
->setWrapperLegendMsg( 'message-key' )
->suppressReset()
->prepareForm()
->displayForm();
prepareForm()->displayForm(); should be at the very end apparently
though it is not enforced by the object.
Change-Id: Iebaa83a1da3c89e5ab729a889e54844535619d54
Reedy [Thu, 2 Aug 2012 16:26:37 +0000 (16:26 +0000)]
Merge "Fix ApiWatchTest"
Reedy [Thu, 2 Aug 2012 16:13:27 +0000 (16:13 +0000)]
Merge "debug log group for DNS blacklist lookup results"
Antoine Musso [Thu, 2 Aug 2012 14:19:27 +0000 (16:19 +0200)]
doxygen filter need to use a full path
When running mwdocgen.php outside of maintenance, the input filter was
not found. Giving the full path fix the issue.
Issue introduced by I4ead1bd1 /
ab59fad.
Change-Id: I5e28209eba1afd24d60b2dc940b9f5dfb1b4f34c
Demon [Thu, 2 Aug 2012 12:24:11 +0000 (12:24 +0000)]
Merge "Support deleting all rows"
Alexandre Emsenhuber [Thu, 2 Aug 2012 12:06:20 +0000 (14:06 +0200)]
Mark the history link on page deletion as known.
Two reasons:
- the page must exists to reach this part of the code
- it's useless to have special classes (redirect, stub)
since this a link to the history and not to the
content itself
Change-Id: I59af2f237e0539842cc7777ddd44ba5ac500b070
Demon [Thu, 2 Aug 2012 10:59:20 +0000 (10:59 +0000)]
Merge "(bug 25095) Special:Categories should also include the first relevant item when "from" is filled"
robin [Thu, 2 Aug 2012 10:17:58 +0000 (12:17 +0200)]
Update languagesWithVariants
Add Uzbek (uz) to LanguageConverter::languagesWithVariants
It has a converter since gerrit change 15690
Change-Id: Ie9511453a50eaed9ad6c03355badc4daa5b06e0a
Alexandre Emsenhuber [Tue, 31 Jul 2012 09:16:40 +0000 (11:16 +0200)]
@since to subclasses of MWException
Change-Id: I9f87ba2ab00e4a68313a19823a20b10d55073e84
Antoine Musso [Tue, 24 Jul 2012 08:47:19 +0000 (10:47 +0200)]
debug log group for DNS blacklist lookup results
The 'beta' project uses DNS blacklist lookup to automatically block open
proxy and active spammers. This patch simply creates the new
'dnsblacklist' debug group so we can easily log the lookup result.
Change-Id: Idfc9fb2d3db4a0bb5387c76fdef07bf9e74eeff4
Alexandre Emsenhuber [Wed, 9 May 2012 20:18:58 +0000 (22:18 +0200)]
(bug 25095) Special:Categories should also include the first relevant item when "from" is filled
Second attempt after that the first one was reverted in I119160d59c4fca0d069adef60151b30d53b582a1.
Change-Id: If301c7cac3fafbcdd6f3ff8e0e822b0db29f09a2
jan [Wed, 1 Aug 2012 16:52:30 +0000 (18:52 +0200)]
Add feature to disable rollback edit count
This change replaces I85f480726b41871cdf5349a19e3f650285d1dda6 (includes
the change of Catrope).
Add a feature to disable the rollback edit count (change
9bae2198c950040f9f9139893a23a1012d54d8d6) on special pages. Default it
will be disabled on Recentchanges and Watchlist.
Change-Id: Ifbbf802472ce678694b2b3ba4ef441344cc1d572
Tim Starling [Thu, 2 Aug 2012 04:48:06 +0000 (14:48 +1000)]
Revert "(bug 260) Wrap <pre> overflow properly."
Due to bug 38800. Just reverting to prevent accidental deployment in
1.20wmf9. I would set a fixme status instead if there was such a thing.
The problem with this is that it breaks formatting of thousands of
Wikipedia articles due to interaction with SyntaxHighlight_GeSHi. I'm
sure some satisfactory solution can be found which fixes both bugs, but
leaving this commit deployed is not a good interim solution.
This reverts commit
782b9f177404f02417c03abaf96b371e1462f160.
Change-Id: I1977f093563b5658def9ba57a6ea6cfa9796f795
Catrope [Wed, 1 Aug 2012 23:52:14 +0000 (23:52 +0000)]
Merge "[FileBackend] Skip over some illegal paths and output the error."
Aaron Schulz [Sat, 28 Jul 2012 17:38:25 +0000 (10:38 -0700)]
[FileBackend] Skip over some illegal paths and output the error.
Change-Id: Ib32aadc6398168e4a63279d7da61a0dd1e1a6483
Catrope [Wed, 1 Aug 2012 23:47:35 +0000 (23:47 +0000)]
Merge "Add localonly= to prop duplicatefiles and imageinfo"
Kaldari [Wed, 1 Aug 2012 23:03:35 +0000 (16:03 -0700)]
Better inline styling for badge.
Change-Id: Ie92a18478c0f9b62fceff39f54a9524432eec921
Catrope [Wed, 1 Aug 2012 21:54:27 +0000 (21:54 +0000)]
Merge "bug 36073 Use mw-imagepage-linkstoimage-ns as a class instead of an ID"
Aaron Schulz [Wed, 1 Aug 2012 19:39:10 +0000 (19:39 +0000)]
Merge "Change File::compare to use getName, not getTitle"
Derk-Jan Hartman [Mon, 16 Jul 2012 23:10:01 +0000 (01:10 +0200)]
bug 36073 Use mw-imagepage-linkstoimage-ns as a class instead of an ID
This avoids multiple defines of the same ID on a File page.
Change-Id: I0f8ae37d74f2ec519361b2af164e115f6efa4ac6
Aaron Schulz [Wed, 1 Aug 2012 19:06:53 +0000 (19:06 +0000)]
Merge "memcached: better error messaging"
Antoine Musso [Wed, 1 Aug 2012 16:23:56 +0000 (18:23 +0200)]
(bug 38492) let doxygen document variables
We are using '@var' to document our variables and class properties,
which is unfortunately not working since '@var' is really meant to
document a function or method.
The way to fix it is to use an input filter that will rewrite our PHP
source code to pretends variables are typed. Aka something like:
/**
* A title object
* @var Title
*/
var $title;
Will be made:
/**
* A title object
* @var Title
*/
Title $title;
That is incorrect PHP code but it is properly recognized by Doxygen.
This patch as a side effect, all variables and properties will end up
being documented in addition of type hinting.
Use a hack authored by Goran Rakic at:
http://stackoverflow.com/a/
8472180/276152
Change-Id: I4ead1bd1feace44496b45ed8c55f5e52c59e7694
umherirrender [Wed, 1 Aug 2012 17:51:23 +0000 (19:51 +0200)]
Add localonly= to prop duplicatefiles and imageinfo
When looking only for local files, the localonly param skipped the
mabye expensive look up inside the file repos.
Change-Id: Ib8f38d6abf9238a349bbfd617a36933bdfe74b5c
umherirrender [Wed, 1 Aug 2012 17:40:10 +0000 (19:40 +0200)]
Change File::compare to use getName, not getTitle
For files the file name with underscores is often used,
than the compare method should do that also.
This matches than the ORDER BY img_name done by some query.
Change-Id: Ia1b89577538bdfdf751c7b9584e7c008a8c2bb1e
Antoine Musso [Fri, 13 Jul 2012 16:20:00 +0000 (18:20 +0200)]
memcached: better error messaging
MemcachedClient output a generic error message: "Error parsing memcached
response\n" whenever it is not able to read from the socket. It is also
lacking the remote peer it is reading from.
This patch add a new message when fgets( <socket> ) return false, which
means we could not read from the file pointer. It also get the stream
remote name for debugging purposes.
Change-Id: I9b8a25a03af0d730aa3b4830a44b1ea739343274
Nikerabbit [Wed, 1 Aug 2012 11:15:08 +0000 (11:15 +0000)]
Merge "autoloader entry for UserNotLoggedIn class"
Reedy [Fri, 22 Jun 2012 16:29:48 +0000 (17:29 +0100)]
(bug 37830) new $wgRequirePasswordforEmailChange
$wgRequirePasswordforEmailChange to control whether password
confirmation is required for changing an email address or not.
Change-Id: Iaef440ef56d391bf9e68d15899fc81c6050722fb
Antoine Musso [Wed, 1 Aug 2012 10:46:54 +0000 (12:46 +0200)]
autoloader entry for UserNotLoggedIn class
I have forgot to add an autoloader entry for the new exception class
named UserNotLoggedIn (introduced by Id8127299 /
b1c1448d).
Change-Id: Ib7226c8532fd695edf78f0e4c33b91edbf8ed52e
Siebrand [Wed, 1 Aug 2012 08:30:49 +0000 (08:30 +0000)]
Merge "Namespace gender aliases for Lithuanian (lt)"
Niklas Laxström [Tue, 31 Jul 2012 22:03:54 +0000 (22:03 +0000)]
Namespace gender aliases for Lithuanian (lt)
http://translatewiki.net/wiki/Summary:Support/Gender_in_Lithuanian_namespace_names
Change-Id: If0a30180fb103ee1b56781a5fd1587b48e100da8