Last modified: 2010-05-15 15:56:54 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 5651 - Section editing links can't be disabled
Section editing links can't be disabled
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Page editing (Other open bugs)
1.6.x
PC All
: Normal normal with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-04-19 17:34 UTC by Invalid Account
Modified: 2010-05-15 15:56 UTC (History)
0 users

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


Attachments

Description Invalid Account 2006-04-19 17:34:38 UTC
In Parser.php:
if( !$this->mTitle->userCanEdit() ) {
    $showEditLink = 0;
} else {
    $showEditLink = $this->mOptions->getEditSection();
}
_________________

The code above is not supposed to show edit section links if the user doesn't
have the edit permission but it does anyway.

In DefaultSettings.php the following suggestion appears in the comments:
 * For instance, to disable section editing links:
 *  $wgDefaultUserOptions ['editsection'] = 0;

But that doesn't work either.

Moreover, in Parser.php below:
$this->mEditSection = true;
_____________
This
Comment 1 Rob Church 2006-05-14 16:42:43 UTC
Fixed in SVN trunk, r14220.

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


Navigation
Links