Page MenuHomePhabricator

Vector: SectionEditLinks javascript breaks Special:Preferences javascript
Closed, DeclinedPublic

Description

Author: s.vanslyck

Description:
Vector 0.3.0
MediaWiki 1.19.3
PHP 5.2.17 (cgi-fcgi)
MySQL 5.1.63-cll

If eether of these lines is enabled in LocalSettings.php:

$wgVectorFeatures['sectioneditlinks']['global'] = true;
$wgVectorFeatures['sectioneditlinks']['user'] = true;

The user's preferences page will be one long page instead of being tabbed with various sections, e.g. User profile, Appearance, Date and time, Editing, Recent changes, Watchlist, Search, Misc, Gadgets,


Version: 1.19.3
Severity: normal
URL: http://www.vanslyck.us

Details

Reference
bz43940

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 1:12 AM
bzimport set Reference to bz43940.
bzimport added a subscriber: Unknown Object (MLST).

s.vanslyck wrote:

I'm happy to create an account for someone if they'd like to confirm this.

Most likely due to a syntax error or other uncaught exception caused by a script you created or modified.

Did you modify any files in the Vector extension? Perhaps try re-downloading it.

Also, all requests made by the MediaWiki system on your wiki are being redirected.

You've configured your webserver to redirect all requests from vanslyck.us to www.vanslyck.us. Please configure MediaWiki to use the canonical target url instead.

s.vanslyck wrote:

I don't know what a canonical URL is but I do want the www if at all possible. Is that going to break something?

As to scripts, I did not change anything. I did create MediaWiki:Vector.css , copying the content from Wikipedia.

s.vanslyck wrote:

Downloaded and replaced everything in the Vector directory. No change.

(In reply to comment #4)

I don't know what a canonical URL is but I do want the www if at all
possible. Is that going to break something?

No, that should be fine. Check your LocalSettings.php file, specifically wgServer and wgScriptPath. Canonical URI in this case means the "preferred" url or the "official" version. That's what should be configured in LocalSettings.

As to scripts, I did not change anything. I did create MediaWiki:Vector.css,
copying the content from Wikipedia.

Is there something specific you intended to gain by doing this? Copying it out like that is usually not a good idea. It means you're likely to have imported all sorts of bits from templates you don't even have, and might get unexpected issues in the future as you won't know how to maintain it when you upgrade MediaWiki (whereas Wikipedia's version will have changed).

(In reply to comment #1)

I'm happy to create an account for someone if they'd like to confirm this.

Let's do that. That'll make it easier to figure out what the problem is. Send to my e-mail address?

s.vanslyck wrote:

I'm getting in my time machine now and will transport a few minutes into the future and do it then.

This component is no longer part of the Vector extension. Some of the ideas have been incorporated into MediaWiki core.