User talk:Trevor Parscal (WMF)/Archive 1

Latest comment: 9 years ago by Rogol Domedonfors in topic Flow update

InputBox

Sorry for my stupidity for marking that bug as unresolved. I just couldn't see any evidence that it was fixed. I am new to this stuff, so could you tell me when MediaWiki and Wikipedia are likely to be updated with the latest versions of this extension? Thanks, Msgj 19:05, 28 October 2008 (UTC)Reply

No worries. I created Extension:SearchBox so in hopes that people will start using it instead of InputBox - as it's much more consistent with the more modern way of doing things, and is much less messy. Trevor Parscal 18:30, 29 October 2008 (UTC)Reply
Can you tell me who I can contact to ask when Wikipedia will be updated with your bug fix? Because it's causing problems. Thanks. Msgj 18:51, 31 October 2008 (UTC)Reply
If you need attention to your project's needs, you may have some success on our IRC channel (#mediawiki on irc.freenode.net) where many of our developers both staff and volunteers are present. Trevor Parscal

A smaller interface?

Hello Trevor, great extension! It fits my needs perfectly except for one minor detail. The wiki site that I am trying to add this extension to would require the 5 stars to be smaller, would this be possible as an extra option? What about even changing the stats from "2.3 / 5 (7 votes cast)" to "2.3 (7)" or even simply "(7)" since the 2.3 would be reflected in the amount of yellow shading in the stars?

Thanks :)

Glad to see you like the extension. It needs a serious overhaul I think, specifically porting it to jQuery and away from the sajax implementation in favor of a proper API call. Additionally it may be reasonable to disable it completely for browsers without JavaScript and make it an entirely dynamic widget, which loads it's data from the server at run-time (caching on the API call is difficult here). To your point, making it theme-able would be awesome, and ideally this could be done by adjusting CSS only... As I said, it needs some love. If you are interested in poking at it I would be glad to offer some support where possible. Trevor Parscal 03:33, 21 April 2010 (UTC)Reply

Extension:CommunityVoice

Any example wikis where this is being used? Just want to check it out in a real situation. Thanks. --Dr DBW | talk 05:15, 26 February 2009 (UTC)Reply

We designed it for and have now deployed it on usability.wikimedia.org where we are gathering information about existing extensions which provide usability improvements to MediaWiki. Take a look at the extension nomination page where the community has been helping to create a list of such extensions which will then be analyzed and reported on in hopes of capturing the successes and failures therein. Trevor Parscal 22:11, 26 February 2009 (UTC)Reply

Please note

ExtensionTalk:CommunityVoice

talk

Extension talk:ContributionStatistics

Minor Vector Skin Niggle

Hi Trevor, Good work with the Vector skin, I've changed to using it on en.wp (now its properly live!). I've just got one little niggle with it.

When on discussion pages, I think that having the "+" to add a new section on the arrow drop down menu isn't the most intuitive, and is quite out of the way...

Not sure what others think, but I think it'd be better having it next to edit or something (as a plus).

What do you think?


Cheers


Reedy 00:07, 5 July 2009 (UTC)Reply

We've moved the Add Topic tab to the top level tabs (if there's enough room on your screen). Trevor Parscal 07:09, 26 November 2009 (UTC)Reply

I need help!

Hi, Mr.Trevor Parscal, i am someone who signed up the "do you have an hour to help" activity which will have an interview on the 14th and the 15th in San Francisco. I still didn't receive any notice or respond from you guys(or whoever is taking care of this). I really want to get involved into this activity, so please let me know ASAP when is my interview date. Thanks so much for helping me :) The way to contact me is via email:tankaiming560@yahoo.com.cn ==

Thank you so much for your interest and offer! The Usability Team was so pleased there was such interest. Due to the large number of responses, we cannot bring everyone interested in to participate. If there are opportunities for you to be involved in future interviews and studies, we will certainly reach out to you. Thanks again --Parul Vora on behalf of the Usability Team

Contribution Tracking

Hi Trevor. My father visited this page and has some problems with it (it was linked in a mailing list post). From Special:Version's entry "Contribution Tracking" I guess this special page is provided by the extension Contribution Tracking and you're the right person to talk to. For a normal user, the page is pretty hard to understand, mainly because of two reason:

  • There is no legend. You can't see at a glance what red, green, blue is meant to visualize.
  • There's no hint that the graphic uses a on-mouse-over technique.

Both points should be super easy to fix by adding a short description text. --Avatar 10:11, 8 January 2010 (UTC)Reply

Beautiful graph but I agree with the person above. If this will be used again in the future, it would be nice to see a small legend added.   Untoldpromise 06:55, 11 November 2010 (UTC)Reply

Help with LogEntry

I'm running MW 1.16b3 on PHP 5.3 (MAMP on Mac OS), and just tried using LogEntry. I'm also using Vector.

I assumed it was necessary to activate in the usual way in LocalSettings, which I did.

Still, the <logentry /> tag seemed to do nothing. It remained visible after everything.

Got any ideas that could help me get it working?

CommunityVoice - Unknown extension tag "ratings:scale"

Something is causing the CommunityVoice extension to not properly register itself in my installation. I've tried the version that was part of 1.15.4 tag. Then I checked SVN and saw that there was a new revision, I grabbed that. I'm getting the same problem for that one, too. Either I'm doing something wrong, or maybe there is a conflict with something else I have loaded?

Here are the extensions I have loaded, in order. I use a file $IP/extensions/installed.php rather than modifying the global configuration file. Allows an extension directory to be shared between multiple parallel instances of MediaWiki, with the same extension configuration, even if they have different LocalSettings.php (which they would have to).

require_once('ExtensionFunctions.php');
require_once('AdvancedSearch/AdvancedSearch.setup.php');
require_once('AjaxQueryPages/Load.php');
require_once('AjaxShowEditors/Load.php');
require_once('BreadCrumbs/BreadCrumbs.php');
require_once('Call/Call.php');
require_once('CategoryTree/CategoryTree.php');
require_once('CategoryWatch/CategoryWatch.php');
require_once('Cite/Cite.php');
require_once('Collection/Collection.php');
require_once('ClientSide/ClientSide.php');  # required by CommunityVoice
require_once('CommunityVoice/CommunityVoice.php');

All the extensions before CommunityVoice work fine.

I went to Special:Version, and it shows that CommunityVoice is installed, but it does not show the tag under Parser extension tags.

Special pages
AdvancedSearch (Version 1.0) Allows for searching in categories Roan Kattouw
Call (Version 1.1) Create a hyperlink to a template (or to a normal wiki page) with parameter passing. Can be used at the browser’s command line or within wiki text. Algorithmix
CategoryTree (Version r48218) Dynamically navigate the category structure Daniel Kinzler
Collection (Version 1.1 [r48415]) Create books PediaPress GmbH
Parser hooks
BreadCrumbs Shows the users path through the wiki. Manuel Schneider
CategoryTree (Version r48218) Dynamically navigate the category structure Daniel Kinzler
Cite (Version r47190) Adds <ref[ name=id]> and tags, for citations Ævar Arnfjörð Bjarmason
Other
Ajax Query Pages Add some AJAX to query pages such as Short pages Ashar Voultoiz
Ajax Show Editors (Version r34306) Shows editing users who is editing the same page Ashar Voultoiz
CategoryWatch (Version 1.0.0, 2009-03-22) Extends watchlist functionality to include notification about membership changes of watched categories User:Nad
ClientSide (Version 0.1.0) Trevor Parscal
CommunityVoice (Version 0.1.0) Community participation tools Trevor Parscal
Extension functions
CommunityVoice::registerModules, efCategoryTree, fnBreadCrumbs and wfSetupCategoryWatch
Parser extension tags
<categorytree>, <pre>, <ref> and >references<
Parser function hooks
anchorencode, basepagename, basepagenamee, categorytree, defaultsort, displaytitle, filepath, formatdate, formatnum, fullpagename, fullpagenamee, fullurl, fullurle, gender, grammar, int, language, lc, lcfirst, localurl, localurle, namespace, namespacee, ns, numberingroup, numberofactiveusers, numberofadmins, numberofarticles, numberofedits, numberoffiles, numberofpages, numberofusers, numberofviews, padleft, padright, pagename, pagenamee, pagesincategory, pagesize, plural, protectionlevel, special, subjectpagename, subjectpagenamee, subjectspace, subjectspacee, subpagename, subpagenamee, tag, talkpagename, talkpagenamee, talkspace, talkspacee, uc, ucfirst and urlencode

I created the supporting DB table first as the default, and then I thought maybe it was honoring the $wgDBprefix, so I re-created it with the prefix. Neither made a difference. I'd really like to enable this feature, but I can't. Any ideas? If you do, a note to me at John at Irie dash Inc dot com would be greatly appreciated.

-- John

Update Version

Hey sorry but,you know, "How updated version 1.15.1 of MediaWiki ? Please Reply in my disscusion. KnuxD 21:00, 16 August 2010 (UTC)Reply

Usability Initiative toolbar in RTL languages

Hi, I would like to get the new toolbar to work on a Hebrew installation of MediaWiki, in an organization heavily using MSIE7. The new toolbar does not appear under these settings. I'd like to enable it, and join any work that's being done on shqashing whatever bugs are in it. Is anybody presently working on this? Can you please put me in touch with them?

Ethan1701 13:42, 7 September 2010 (UTC)Reply

There's a compatibility map in jquery.wikiEditor.js which can be tweaked if you want to try your luck. The bugs in IE6 and IE7 have to do with CSS layout issues, because their behavior of floating in right-to-left mode is broken. The only way I see to fix this is to not rely on floating, which causes other issues, such as the toolbar no longer being able to automatically wrap in narrow browsers. Thoughts are welcome - see us in #wikimedia-dev if you like. Trevor Parscal 19:00, 7 September 2010 (UTC)Reply

Help with ResourceLoader

I left a help request at Talk:ResourceLoader/Documentation/Using_with_extensions. I updated ResourceLoader from the trunk, up to 74692, the edit you made about an hour ago. Still having the same problem. If you can fix it, I'd be happy to help out writing the documentation for ResourceLoader. MrC 22:49, 12 October 2010 (UTC)Reply

Rename user accounts

Hi!

Could you rename my user accounts at usabilitywiki (where you are bureaucrat), as requested on en.wikipedia? Thanks Helder 11:59, 22 October 2010 (UTC)Reply

Extension:Drafts with Semantic Forms

I was searching for "Save and Continue", asked on #mediawiki, and was happy to be informed of Drafts. Great extension for our engineering organization. Is there a way to enable it while editing using Semantic Mediawiki Forms? I wasn't sure if was just a namespace issue or not, and I'm still too new to this stuff to tell whether I could modify any rights in Drafts.php that would let it show up in the Form namespace. Thanks. --Skew 06:07, 29 October 2010 (UTC)Reply

I did not design it to specifically work or not work in the way you are describing. It is a very simple piece of code, I'm sure it can be tweaked to suit your case. There has recently been an effort to get the JS up to date, and there's some more work needed to use the API rather than the deprecated ajax interface of MediaWiki - but generally the software is ready for production, and in some cases has already been used as such. Trevor Parscal 17:51, 1 November 2010 (UTC)Reply

ResourceLoader kills JS

Hi. A few days ago I upgraded a wiki to 1.17 trunk, and it seems all custom JavaScript had stopped running. Common.js and user javascript (with $wgAllowUserJs enabled) do not run at all, nor does the edit toolbar. It seems to load with ResourceLoader, but seems to not actually run for any user. I've kept updating to trunk with no change. Have I missed something which needs to be enabled or changed for the upgrade to 1.17 with ResourceLoader? Thanks - Gboyers 12:03, 5 November 2010 (UTC)Reply

Generalizing WikiEditor tricks?

Hi,

I'm fascinated by the potential I found used on the Semantic Mediawiki apparently using your WikiEditor extension which uses an iframe with contenteditable. I'm particularly interested in how you got it to allow events (at least click), given that in my own demoing, events do not seem to work inside the iframe when I tried execCommand (insertHTML).

I see enormous potential here (at least I hope there is) for things like IDEs with code folding, mini-widgets which one can add to one's HTML5-based sticky notes (e.g., calendars, icons pointing to files to upload, etc.).

Can you just summarize the general tricks used to get this to work and/or to generalize the code you are writing for this extension to be used in other environments? I would really appreciate it (the former alone would be just great).

Thanks! Brettz9 05:06, 26 November 2010 (UTC)Reply

The iframe implementation in WikiEditor is experimental - it's not very stable, and it because there simply aren't enough "tricks" available to overcome the issues of contentEditable. Google docs no longer uses this approach, and for good reason, it's very buggy, unstable and inconsistent in all browsers. That said, we were hooking into dom events within an iframe which had a contentEditable=true attribute on the body, nothing particularly special there - and in many browsers certain events were not possible to capture. You may want to look into alternatives if you want to take this technology very far (like code folding or IDEs). Mini-widgets could probably work, but doing anything really complicated quickly becomes a black hole. Trevor Parscal 19:34, 29 November 2010 (UTC)Reply

CollapsibleNav

Hi Trevor,

I installed UsabilityInitiative Extension, and have mwdiawiki 1.16.1 with vector skin. Everything is working fine but the EXPANDABLE/COLLAPSABLE side bar!!! Could you please help me with this?

Thanks, Feb 15, 2011

Sandy

You will need to make sure it's turned on for everyone by default probably. Take a look at the Vector/Vector.php file http://svn.wikimedia.org/viewvc/mediawiki/branches/wmf/1.16wmf4/extensions/UsabilityInitiative/Vector/Vector.php?view=markup - it has a config variable ($wgVectorModules) that should be initially set to on by default, users can turn it off - but your configuration may vary. Trevor Parscal 23:33, 15 February 2011 (UTC)Reply

Trevor, I have those too, they are all set to true, but still no lock. Any thing else I may need to change? Is there any seperate css or js that I need to add some where?

Thanks very much for your help,

Sandy Feb 18, 2011


Hi, anyone can help with this problem? mw 1.16.1 using vector skin and installed and configured usabilityinitiative, but the side bar has not changed at all! not collapsible...

Autosave on Draft extension

Trevor,

Thanks for providing this extension. Is there any way to configure the extension to autosave after a specified period, regardless of whether there has been activity? If I constantly type for 30 minutes (without any inactivity) it would appear the extension does not autosave. I am keen to configure the wiki to protect work every minute during typing. Thanks.
MattW 09:17, 14 April 2011 (UTC)Reply

No, but you can add that feature, it's open source after all! Trevor Parscal 18:59, 14 April 2011 (UTC)Reply

p-personal styling

Hi Trevor. We chatted on IRC and asked your opinion about using dividers between the Personal links (bug / screen). I'd like to expand a bit on that (as IRC isn't really suited). I really do think the dividers are an improvement over undiscernably-seperated links; it makes navigation a bit easier. The dividers are also so faint that you don't even notice them until you look at the menu. Having the same color as the dividers in the sidebar, it also makes the personal menu more part of Vector instead of looking like some 'added' links. I even got some positive responses on enwiki.

You can try it with my code (at the bottom). I really think you'll get used to it within the hour. In any case, do leave a comment at bugzilla so it won't stay in limbo forever. Thanks. Edokter (talk) — 01:31, 9 June 2011 (UTC)Reply

Hi Trevor. I'd love to hear your overall comments on the menu-tabs toggle script I wrote, which is basically an improvement on CollapsibleTabs, and may fit very well in the Vector extension. It is now a gadget on enwiki, or you can import it from en:User:Edokter/MenuTabsToggle.js. What is left on my wishlist is to find out if mw.addPortletLink has some callback functionality that I can hook into, as the only problem remaining is that portlet links added to empty portlets afterwards are not included. Edokter (talk) — 12:58, 4 September 2011 (UTC)Reply

Extension:ArticleEmblems

Hi Trevor, since ArticleEmblems has been deleted from SVN, I've moved the extension page into your user space at User:Trevor Parscal\Extension:ArticleEmblems. Thanks Johnduhart 02:20, 30 September 2011 (UTC)Reply

Skin-Synagonism

Hi, I modified skin-vector, which, in my opinion!, greatly improves readability of mediawiki-pages. You can find it at SourceForge. Your comments are welcome! -- Synagonism 09:25, 11 December 2011 (UTC)Reply

Software used for diagrams?

Hi Trevor,

Would you mind telling me what software you used to create the diagrams here? I see "Adobe ImageReady" in the metadata, but I assume that's just used to make it web-ready.

Thanks, --FreedomFighterSparrow (talk) 22:02, 13 March 2012 (UTC)Reply

I used Adobe Illustrator. The original source file is an SVG, but I used Adobe Illustrator's "save as for web" to export them. That feature was transplanted from ImageReady into Illustrator a while back. Trevor Parscal (talk) 22:48, 13 March 2012 (UTC)Reply
Thanks! I think this will come in handy. --FreedomFighterSparrow (talk) 23:02, 13 March 2012 (UTC)Reply

Visual Editor Help?

I was wondering if you buys still needed help with the visual editor. If so, I could probably help with ve.ui's JavaScript in making a find and replace module. Is that okay? I probably won't look here that often so could you please respond on my enwiki talk page? Thanks, --Kangaroopower (talk) 04:48, 10 April 2012 (UTC)Reply

WikiEditor adding buttons

Hello Trevor. We have been using the WikiEditor since we upgraded to MW-1.17.2 in the beginning of this year. We are writing our service documentation in a Wiki so the WikiEditor is a very welcome upgrade from the original. Lately we created a second Wiki for some other documentation and testing, first with MW-1.18.2 We tried upgrading to MW-1.18.3 some weeks ago but that did not work. Today I upgraded it to MW-1.19.0

All is working fine now but I noticed some strange behaviour when moving from MW-1.18.2 to MW-1.18.3 or MW-1.19.0 We use custom buttons in our WikiEditor and I found out there are two ways of getting the buttons to work. In all cases we use Mediawiki:Common.js to add the buttons. We are running the Vector skin as a default, the users can not change that.

With:

  • MW-1.17.2
  • MW-1.17.4
  • MW-1.18.3

You need to use:

// Check that the toolbar is available
if ( typeof $ != 'undefined' && typeof $.fn.wikiEditor != 'undefined' ) {
        // Execute on load
        $( function() {

/* Your code goes here */

 });
}

With:

  • MW-1.19.0

You need to use:

function customizeToolbar() {

/* Your code goes here */

}

/* Check if we are in edit mode and the required modules are available and then customize the toolbar */
if ($.inArray(mw.config.get('wgAction'), ['edit', 'submit']) != -1 ) {
        mw.loader.using( 'user.options', function () {
                if ( mw.user.options.get('usebetatoolbar') ) {
                        mw.loader.using( 'ext.wikiEditor.toolbar', function () {
                                $(customizeToolbar);
                        } );
                }
        } );
}

If you use the code for MW-1.19.0 in a previous version of MW it will not work and visa versa. I have tested all MW versions with a clean install in XAMPP on Windows XP. It uses:

  • PHP 5.3.8 (apache2handler)
  • MySQL 5.5.16

I thought this was clear and I document this on Extension:WikiEditor/Toolbar customization so everybody knows this but there is a catch. On our original Wiki that started of as MW-1.16.4 and is since then upgraded and running on MW-1.17.2 the code used is the one from MW-1.19.0 which will not work on a clean install on MW-1.17.2! This Wiki is running on Windows Server 2003 with:

  • MediaWiki 1.17.2
  • PHP 5.3.8 (apache2handler)
  • MySQL 5.5.19

I am more then happy to write any documentation on how to add buttons in the WikiEditor, the documentation and discussions on this are a little confusing at the moment, but I would like to have an explanation for the strange behaviour described above. Is there any difference the way the buttons are called between the MW versions, should there be? Or is this OS related? Thanks and Regards --Felipe de Jong (talk) 11:19, 3 May 2012 (UTC)Reply

Vector icons in SVG?

Hello! I'm working to add HiDPI support to MediaWiki, and I'd like to make Vector's icons look sharp on high-resolution pixel-doubled displays. Do you still have Vector's icons in SVG format by chance, so that I could render them as double the size and display them appropriately? Thanks, Cmelbye (talk) 11:21, 4 July 2012 (UTC).Reply

Drafts Extension

Hi! I've been looking at old bug reports and found that the Drafts extension comes up in quite a few of them. A number of the Drafts' bug reports have not been replied to in a while, and I wanted to see if there were any plans to update or respond to any of the reports. If not, no worries. I just didn't want to leave them there without knowing if there could be some sort of resolution. Thank you! Valerie (talk) 22:33, 3 January 2013 (UTC)Reply

Drafts needs someone to pay attention to it, but that's really not something I can do anymore, as I'm focused on the VisualEditor. If someone wants to take it up, I could give them some help and input, but that's about it. Trevor Parscal (talk) 20:10, 8 January 2013 (UTC)Reply
Ok, do you mind if I pull you off of assignee? I'm new to bug triage, but it seems to be the next logical step. Thank you for your response! Valerie (talk) 20:17, 8 January 2013 (UTC)Reply
Seems like a reasonable thing to do. Trevor Parscal (talk) 20:22, 8 January 2013 (UTC)Reply

Translating "Join the Wikimedia hackathon in Amsterdam on May 24–26, 2013"

Hi, I would like to translate Join the Wikimedia hackathon in Amsterdam on May 24–26, 2013, where should I publish/send the result? --Psychoslave (talk) 08:54, 10 April 2013 (UTC)Reply

WikiEditor, dialog module example

Hi, Trevor. I've been trying to use the WikiEditor to create a dialog. I've spent probably 12 hours over the last 3 or 4 days and I've completely failed. The documentation of WikiEditor doesn't really say how to do this. Would it be possible to add a basic working example to Extension:WikiEditor/Toolbar customization? The best example would be a button that brings up a simple form that has a single input. Cheers, Jason Quinn (talk) 02:42, 24 May 2013 (UTC)Reply

GSoC / OPW IRC AllHands this week

Hi, you are invited to the GSoC / OPW IRC AllHands meeting on Wednesday, June 26, 2013 at 15:00 UTC (8:30pm IST, 8am PDT) at #wikimedia-office. We have done our best finding a time that works decently in as many timezones as possibles. Please confirm at qgil wikimedia.org so I can add you to the calendar invitation and I have your preferred email for other occasions. If you can't make it's fine, but let me know as well. We have left a notice to all students, but your help is welcome making sure yours is aware about it. Thank you!--Qgil (talk) 20:35, 24 June 2013 (UTC)Reply

Adding a section to the help dropdown in wikieditor

Hi, I'm trying to add another section to help>>links>>intranet links. I've followed these steps (the files have different names now) but I'm only seeing a horizontal bar and no text in the menu..

How can I resolve this? I've added content to the three files, but no change showing.. I tried restarting the server, clearing my db object cache, and my browser cache.. Any thoughts? Thank you! Pher122s (talk)

Works now! I guess a cookie was lingering :)

Glad to hear you got it working, sorry for not noticing your message sooner. Trevor Parscal (WMF) (talk) 21:45, 22 September 2014 (UTC)Reply

Flow update

Hello. On 25 July, the ED said on her Meta talk page [1] that she would ask you to respond at that page on the status of Flow. I can only assume that you did not get her message? Please would you give the community that update. Thanks. Rogol Domedonfors (talk) 18:46, 7 August 2015 (UTC)Reply

Since you have logged in here twice since I left you this message, I assume that your failure to respond in any way is deliberate. I was surprised that you chose to flout a direct request from your ED, but that is between you and her. I suppose that recent announcements have made any response you might have given irrelevant, so I for one no longer consider this specific request worth pursuing. I thought I would let you know that I consider your failure even to acknowledge my reminder to be insulting. Please consider being more courteous to the volunteer community in future. Rogol Domedonfors (talk) 20:56, 6 September 2015 (UTC)Reply
I am sorry that I did not respond more promptly. As you have seen, there have been some recent changes in the way we are approaching making improvements to the experience of, efficiency of and engagement in curation and admin work. If you have any specific questions, I'm happy to answer them here. Trevor Parscal (WMF) (talk) 20:44, 8 September 2015 (UTC)Reply
Thank you for that. As I said, I am aware that the discussion has now moved on. Rogol Domedonfors (talk) 21:22, 8 September 2015 (UTC)Reply

OOjs UI documentation

Hello. I'm not sure how closely related you are to this, but I was hoping you might be able to help. It looks like the OOjs ui documentation at [2] recently had an update that broke 'live preview' instead providing 'Uncaught ReferenceError: OO is not defined'. Would you know where this should be reported? Another Article (talk) 16:13, 19 August 2015 (UTC)Reply

For silly reasons, live previews don't work when you view OOUI docs via the MediaWiki JS documentation, but they do work when you view the OOUI documentation directly. I'll file a bug about the MW one being broken, but in the meantime, this should work. --Roan Kattouw (WMF) (talk) 16:09, 2 September 2015 (UTC)Reply
Return to the user page of "Trevor Parscal (WMF)/Archive 1".