Last modified: 2014-09-01 15:55:48 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 T45940, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 43940 - Vector: SectionEditLinks javascript breaks Special:Preferences javascript
Vector: SectionEditLinks javascript breaks Special:Preferences javascript
Status: RESOLVED WORKSFORME
Product: MediaWiki
Classification: Unclassified
Interface (Other open bugs)
1.19.3
All All
: Low normal (vote)
: ---
Assigned To: Nobody - You can work on this!
http://www.vanslyck.us
: javascript
Depends on:
Blocks: 44881
  Show dependency treegraph
 
Reported: 2013-01-13 22:23 UTC by Steve
Modified: 2014-09-01 15:55 UTC (History)
4 users (show)

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


Attachments

Description Steve 2013-01-13 22:23:55 UTC
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,
Comment 1 Steve 2013-01-13 22:24:56 UTC
I'm happy to create an account for someone if they'd like to confirm this.
Comment 2 Krinkle 2013-01-13 22:38:44 UTC
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.
Comment 3 Krinkle 2013-01-13 22:42:51 UTC
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.
Comment 4 Steve 2013-01-13 22:48:42 UTC
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.
Comment 5 Steve 2013-01-13 22:55:52 UTC
Downloaded and replaced everything in the Vector directory. No change.
Comment 6 Krinkle 2013-01-14 18:03:04 UTC
(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?
Comment 7 Steve 2013-01-14 18:09:30 UTC
I'm getting in my time machine now and will transport a few minutes into the future and do it then.
Comment 9 Krinkle 2014-09-01 15:55:48 UTC
This component is no longer part of the Vector extension. Some of the ideas have been incorporated into MediaWiki core.

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


Navigation
Links