Jump to content

User talk:Cacycle/editor

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Hi,

Just put the code in my monobook.js file, and nothing looks different when I'm editing a page... any ideas on what might be going wrong?

Thanks.

Hbackman 01:53, 27 March 2006 (UTC)[reply]

I'm nearly done with a cross-browser solution, currently it's modern Mozilla-only. You also have to flush your cache by pressing shift-Reload. Cacycle 09:08, 27 March 2006 (UTC)[reply]

Okay. Shift-reload didn't get it to work... I guess my Firefox is too old a version or something then? (If that's totally off-base and sounds stupid, well, you're talking to an English major here. ;) ) Thanks again. Hbackman 22:59, 27 March 2006 (UTC)[reply]

See my reply on User_talk:Hbackman#Cacycle_editor. Cacycle 18:25, 31 March 2006 (UTC)[reply]

Does this work on a local installation? I've tried on my linux machine but cannot get it to work. Thanks Softreviewer 19:34, 27 May 2006 (UTC)[reply]

What exactly do you mean with local installation. I see no reason why it shouldn't work. Please provide us with more details of your problem, e.g. if the script works for you on Wikipedia. Cacycle 20:52, 27 May 2006 (UTC)[reply]


Yes it did work correctly here on wikipedia. By "local installation" I mean I installed it on my computer, on my local, personal installation of mediawiki software. I refesh it, I reload, I reboot it. I installed it on admin and user accounts, I used simple and dev versions. Nothing worked.

Softreviewer 09:28, 28 May 2006 (UTC)[reply]

Here is my setup:
   *  MediaWiki: 1.6.5
   * PHP: 5.1.2-1ubuntu2 (apache2handler)
   * MySQL: 5.0.21-Debian_3-log
   * Extensions:
         o Parser hooks:
               + Semantic MediaWiki (version 0.4), Making your wiki more accessible – for machines and humans, by Klaus Lassleben, Markus Krötzsch, Kai Hüner, Denny Vrandecic, S Page 
         o Extension functions:
               + wfSearchTripleExtension, wfExportRDFExtension, wfSMWAdminExtension, wfOntologyImportExtension, wfSMWRelations, wfSMWUnusedRelations, wfSMWAttributes, wfSMWUnusedAttributes and wfTypesExtension 
   * Hooks:
         o ArticleDelete: SMWDeleteHook
         o ArticleSaveComplete: SMWSaveHook
         o ParserAfterStrip: SMWParserHook
         o ParserAfterTidy: SMWParserAfterTidyHook
         o ParserBeforeStrip: smwfRegisterInlineQueries
         o SkinTemplateTabs: smwfAddRefreshTab
         o TitleMoveComplete: SMWMoveHook

Are there any error messages in the JavaScript console of your browser and did you add the script to the correct UI-theme. Cacycle 22:45, 29 May 2006 (UTC)[reply]

Error: Selector expected. Ruleset ignored due to bad selector.
Source File: MediaWiki:Common.css&action=raw&ctype=text/css&smaxage=18000 Line: 1
Error: Unexpected end of file while searching for closing } of invalid rule set.
Source File: MediaWiki:Common.css&action=raw&ctype=text/css&smaxage=18000 Line: 1
Yes, i put it on monobook.js

Mhm, does any JavaScript in your monobook.js work? Cacycle 22:04, 31 May 2006 (UTC)[reply]

If it doesn't, what could be the problem? Softreviewer 15:08, 1 June 2006 (UTC)[reply]
Does it or not? Cacycle 22:17, 1 June 2006 (UTC)[reply]
Sorry. No, none works. I tried some more, but no luck. Softreviewer 16:13, 2 June 2006 (UTC)[reply]

Then I would check your configuration files to enable the JavaScript loading. I am pretty sure there should be such a switch. Cacycle 21:40, 2 June 2006 (UTC)[reply]

I added $wgAllowUserJs "true" to my LocalSettings.php file. Other scripts worked but not yours. And i tried all versions of your script from "small" to "dev". I refreshed, I purged and I even rebooted. Softreviewer 14:36, 3 June 2006 (UTC)[reply]

Uninstalling the editor?

[edit]

I am trying to clear my monobook for testing purposes, but I am unable to "uninstall" the editor. Are there any special instructions for reverting back to pre-editor capabilities? Thanks, ... discospinster talk 01:09, 11 July 2006 (UTC)[reply]

Try Shift-Reload to clear the browser's cache. Cacycle 03:00, 11 July 2006 (UTC)[reply]
Thanks, that worked. ... discospinster talk 01:08, 12 July 2006 (UTC)[reply]

"Fix blanks around bars"

[edit]

The fix blanks around bars function should definately not do what it does (i.e. adding extra space), I have mentioned this before but apparently was ignored.

  • It is contrary to the standard used 99.9 % of the time.
  • It is more difficult to read (because it is non standard)
  • It can break formatting, e.g. in this situation: ([[Netherlands | Dutch]]) => ( Dutch) it puts an extra space before the '('
  • It is not how the mediawiki software builds links (e.g. when it automatically expands links, like when you write [[Example|]]
  • It is contrary to Help:Editing

Please either remove or even reverse this function!

Also, I'm sure the WP:MOS says not to change dashes, but I'm not too bothered about that.

Otherwise a very impressive piece of work! Martin 16:35, 22 August 2006 (UTC)[reply]

Agreed. — Omegatron 17:21, 22 August 2006 (UTC)[reply]

I think that in long lists of links these blanks make it way easier to separate the link and the link text. Therefore I tend to keep that button, but I have relabeled the description text in the new version (see wikEd).