https://bugzilla.wikimedia.org/show_bug.cgi?id=69445

--- Comment #19 from MZMcBride <b...@mzmcbride.com> ---
(In reply to Stefan2 from comment #16)
> I think that the problem is that the MediaWiki namespace can be edited by
> any administrator. Many administrators do not understand what the code does,
> as demonstrated for example by the "~~~~" in
> [[szl:Special:PermanentLink/207947]], which Legoktm mentioned above. A
> simple solution would be to remove the right to edit pages in the MediaWiki
> namespace from administrators and instead assign it to a new group,
> "scripteditors", consisting of editors who understand how the code works.

Err, most of the MediaWiki namespace isn't JavaScript and CSS, it's interface
messages. The fact that JS and CSS pages are included in the MediaWiki
namespace has always been a design quirk that should probably be corrected as
their inclusion in the namespace is a(n) (ab|mis)use of the namespace's
purpose.

Broadly, administrators are trusted users and should be treated as such.

Whether the rest of the MediaWiki namespace is needed is also debatable
nowadays, but probably also outside the scope of this ticket.

> I think that some code should be removed from Common.js files and moved to
> MediaWiki core instead. For example, [[sv:MediaWiki:Common.js]] contains
> code fixing incorrect sorting of text in tables (search for
> "tableSorterCollation"). Every user of MediaWiki would want text to be
> sorted correctly, so I don't see why this couldn't be in MediaWiki core
> instead.

Yes, for sure. I made a similar comment above (comment 6). We should figure out
why these pages are still needed and work to address that by putting the
functionality in MediaWiki core or in an extension. I think this is a better
use of time than proposing trashing the functionality.

In other words, if you all want to deprecate the use of MediaWiki:Common.js and
similar pages, you should work toward that goal. If/when the day comes that
they're no longer needed, then we can consider getting rid of them. But this
bug seems to be a bit "cart before the horse."

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to