Page MenuHomePhabricator

Mediawiki categories User-Javascripts
Closed, InvalidPublic

Description

Author: michael.frey

Description:
As visible on http://de.wikiversity.org/wiki/Benutzer:Exxu/monobook.js and http://de.wikiversity.org/wiki/Kategorie:Benutzer:%22+wgUserName+%22 mediawiki categories user Javascripts that contain a string like [[Categorie:...]].
As it's not excluded that a user javascript interact with categories, so it's possible that a javascript contain can contain such an implicit categorie.


Version: unspecified
Severity: enhancement
URL: http://de.wikiversity.org/wiki/Kategorie:Benutzer:%22+wgUserName+%22

Details

Reference
bz14573

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:12 PM
bzimport set Reference to bz14573.
bzimport added a subscriber: Unknown Object (MLST).

You should just use <nowiki> around these things.

// <nowiki>

code

more code

code that looks like wikisyntax

// </nowiki>

michael.frey wrote:

Sorry, but this is a work a round and not a solution.

As Admin of that project I have the technical permission to change the page, but from the principals I'm not allowed to change user spefic javascripts without explicit and clear permission by the user.
Or would you like that an admin change something critical like your javascripts?

The next question is how to find such things and how to explain the spefic user or an admin how to fix it.

And anyway: When it's a function that javascripts can be catorizied, then I'd like to have the categorie box at the bottom of the page like on a normal page.

"[["+"Kategorie:Benutzer:"+wgUserName+"]]\n"

may work as well

btw: As an admin you are allowed to change stuff which causes issues, even on user's page or script/style subpage. That's actually why you are admin.

Closed as INVALID. This is a content/customisation issue, which is not convered by the goals of this bug tracker. See above advice for ways to fix.

Rather than being completely invalid, there is validity to one point in this bug.

We add categories to a JS/CSS page, however we do not display the list like we do. This itself is an inconsistent part of the UI that should be fixed. If a page is included in a category that is not a hidden category, then that category should show up in a category box, even if it's a JS/CSS page.