Last modified: 2007-04-26 12:45:33 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T11652, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 9652 - String "[cascading]" not shown in edit summary
String "[cascading]" not shown in edit summary
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
History/Diffs (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
http://en.wikipedia.org/w/index.php?t...
:
Depends on:
Blocks: 8575
  Show dependency treegraph
 
Reported: 2007-04-21 12:51 UTC by Paolo Liberatore
Modified: 2007-04-26 12:45 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Paolo Liberatore 2007-04-21 12:51:50 UTC
 
Comment 1 Paolo Liberatore 2007-04-21 12:54:19 UTC
The method updateRestrictions in Article.php creates a null edit when a page is
protected. However, the summary does not include the string "[cascading]" even
if the protection is cascading, while this string is included in the logs.

BTW, the summary of paramters lacks the two final params in the same methods.
Comment 2 Aaron Schulz 2007-04-24 02:08:01 UTC
(In reply to comment #1)
> BTW, the summary of paramters lacks the two final params in the same methods.

I am not sure what you mean.
Comment 3 Aaron Schulz 2007-04-24 02:20:38 UTC
Done in r21512.
Comment 4 Paolo Liberatore 2007-04-26 12:45:33 UTC
Thanks for fixing. As for the unclear part, the description of the method is:

/**
 * Update the article's restriction field, and leave a log entry.
 *
 * @param array $limit set of restriction keys
 * @param string $reason
 * @return bool true on success
 */

But the method prototype contains two more parameters (cascade and expiry):

function updateRestrictions( $limit = array(), $reason = '', $cascade = 0,
$expiry = null )

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links