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

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 9652 - String "[cascading]" not shown in edit summary
String "[cascading]" not shown in edit summary
Product: MediaWiki
Classification: Unclassified
History/Diffs (Other open bugs)
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
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: ---


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.