Last modified: 2014-01-03 15:47:11 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 T41653, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 39653 - CodeEditor extension should support CSS/JS pages
CodeEditor extension should support CSS/JS pages
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
CodeEditor (Other open bugs)
unspecified
All All
: High enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
: easy, shell
: 39654 42577 (view as bug list)
Depends on:
Blocks: 39654
  Show dependency treegraph
 
Reported: 2012-08-25 23:01 UTC by MZMcBride
Modified: 2014-01-03 15:47 UTC (History)
10 users (show)

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


Attachments

Description MZMcBride 2012-08-25 23:01:59 UTC
The CodeEditor extension should support activating the editor on JS and CSS pages on a MediaWiki wiki. I believe this is a matter of checking isJsorCssPage() or something similar. I also believe this is relatively straightforward to implement, so I'm marking this as easy.

I think there's a reasonable expectation that enabling this extension will affect JS and CSS pages on the wiki (plus the editor can easily be toggled off), but I guess you could put this particular feature behind a global configuration variable, if you wanted to.
Comment 1 Erik Moeller 2013-05-05 07:14:57 UTC
With CE now being available for Module: pages, it's especially frustrating that it can't be used for JS and CSS. Brad, if it's easy, maybe something you'll have time to take on? If not, I'll ask Rob to find an assignee.
Comment 2 Brad Jorsch 2013-05-05 12:59:59 UTC
It looks like it's just a matter of not setting $wgCodeEditorEnableCore = false in CommonSettings.php.

Are there any outstanding issues that we don't want to turn this on yet? Looking at the list of open bugs, possibly bug 47235 and bug 39557. I'll put it on the agenda for the MW Core team meeting tomorrow.
Comment 3 Brad Jorsch 2013-05-06 21:26:47 UTC
(In reply to comment #2)
> I'll put it on the agenda for the MW Core team meeting tomorrow.

Results from the meeting: I'll look at bug 47235 tomorrow, and bug 39557 doesn't seem like a blocker. Assuming that goes well, we'll look at deploying sometime next week.
Comment 4 MZMcBride 2013-05-07 03:55:32 UTC
(In reply to comment #3)
> Results from the meeting: I'll look at bug 47235 tomorrow, and bug 39557
> doesn't seem like a blocker. Assuming that goes well, we'll look at deploying
> sometime next week.

Cool. This sounds good.

This bug blocks bug 39654, which in turn has a few dependencies (bug 42577—which I still think is a duplicate of this bug—and bug 39616).

There are also the open CodeEditor bugs to consider: <https://bugzilla.wikimedia.org/buglist.cgi?component=CodeEditor&product=MediaWiki%20extensions>, though I imagine most of these bugs have a higher likelihood of being resolved if this bug is resolved first. I like your plan.
Comment 5 Gerrit Notification Bot 2013-05-08 14:21:40 UTC
Related URL: https://gerrit.wikimedia.org/r/62814 (Gerrit Change I39c626d066797d887769c3715df88838e709d527)
Comment 6 MZMcBride 2013-08-16 19:22:36 UTC
Brad: can you take another look at this bug? https://gerrit.wikimedia.org/r/62814 was successfully merged and deployed. The bug mentioned in its commit summary (bug 47235) has been marked resolved/fixed.

Copying Greg on this bug report to hopefully get this bug moving forward.
Comment 7 Brad Jorsch 2013-08-21 20:04:37 UTC
We discussed it in the MW Core team meeting on Monday, as far as I'm concerned it's waiting on announcements and deployment windows.
Comment 8 Greg Grossmeier 2013-08-21 22:35:24 UTC
Thanks Brad.

Let's get it setup as it would be on production in the beta cluster asap. Test it out there and we can hopefully enable it on test/test2/mediawiki.org tomorrow. Then announce tomorrow for people to bang on it. Then enable next Thursday.
Comment 9 Brad Jorsch 2013-08-21 23:36:51 UTC
(In reply to comment #8)
> Let's get it setup as it would be on production in the beta cluster asap.

Isn't it already, as of Gerrit change #64587? Or was there something we wanted to do differently and I just forgot?
Comment 10 Greg Grossmeier 2013-08-22 05:02:47 UTC
Oh, I didn't realize.... Testing.... Seems to work decently for me. :-)

Since we haven't communicated it yet:
* Let's turn it on in the test wiki group tomorrow (Thu).
** Brad, can you submit a quick config change for this and add myself and Reedy as reviewers?
* I'll announce it as a part of the weekly deploy highlights email for next week
* We'll turn it on for everywhere on next Thursday (29th)

I've updated the Deployments wikipage with the date (we'll just do it as a part of the MediaWiki rollout that day).

CC'ing Reedy for that reason now.
Comment 11 Gerrit Notification Bot 2013-08-22 13:07:22 UTC
Change 80366 had a related patch set uploaded by Anomie:
Enable CodeEditor for CSS/JS on testing wikis

https://gerrit.wikimedia.org/r/80366
Comment 12 Gerrit Notification Bot 2013-08-22 20:14:48 UTC
Change 80366 merged by jenkins-bot:
Enable CodeEditor for CSS/JS on testing wikis

https://gerrit.wikimedia.org/r/80366
Comment 13 MZMcBride 2013-08-27 05:18:47 UTC
(In reply to comment #10)
> * I'll announce it as a part of the weekly deploy highlights email for next
> week

http://lists.wikimedia.org/pipermail/wikitech-l/2013-August/071453.html
Comment 14 MZMcBride 2013-08-27 14:54:55 UTC
*** Bug 39654 has been marked as a duplicate of this bug. ***
Comment 15 MZMcBride 2013-08-27 14:58:28 UTC
*** Bug 42577 has been marked as a duplicate of this bug. ***
Comment 16 Derk-Jan Hartman 2013-09-03 08:36:06 UTC
I guess we can call this resolved now.

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


Navigation
Links