Talk:Monaco port

From Monaco help Wiki
Jump to: navigation, search
Do you miss the Monaco skin?
All ShoutWiki wikis can now have the Monaco skin, see this announcement. You can also add the Monaco skin to your wiki in 10 minutes (Detailed instructions) (Discussion and questions)
Main Page TALK COMMUNITY PORTAL COPYRIGHTS CURRENT EVENTS MONACO MONACO PORT MONACO SKIN WHY

All questions and new solutions to the Dantman Monaco port go here.

Club Penguin wiki has the Monaco Skin[edit source]

Moved from Talk:Monaco Skin

It says here that Club Penguin wiki successfully installed Monaco. I can't go there and ask how they did it right now since the sites blocked on this computer, but how did they do that? Does anyone know? P.png Jax-Kenobi P.png 15:53, 13 December 2010 (UTC)

I think they used https://github.com/dantman/monaco-port and then modified to make it look like they wanted. Look at this picture:
Monaco-port.jpg
This is what I got after I copied the files from the site above on my local MediaWiki installation.
It would be good if they will tell us what did they do to make it look like this. AWAMember 17:26, 13 December 2010 (UTC)
If I could get this successful installed, I can make a tutorial video for people. Anno1404 18:14, 13 December 2010 (UTC)
The installation itself is not very hard:

1) Put Monaco.php in the \skins\ directory of your wikia.
2) Create the "Monaco" folder in the \skins\ directory and put these files in "Monaco" folder.
3) To make this skin available for choosing, re-enter the your preferences.

Now comes the harder part - configuring the skin. AWAMember 08:12, 14 December 2010 (UTC)
Struck out obsolete instructions, see below for newer instructions. Anno1404 21:32, 14 December 2010 (UTC)
The installation instructions have actually changed. Install the whole monaco-port to skins/monaco/ and include require_once("$IP/skins/monaco/monaco.php"); in your LocalSettings.php. 96.48.209.185 19:25, 14 December 2010 (UTC)

Monaco pictures[edit source]

To make the monaco-port looks like the Monaco as closely as possibly I sugget we find pictures of Monaco skin.

I have found this:
Example page layout- labels.png

I also want to see how was the "recent activity" box made on Monaco. AWAMember 08:56, 14 December 2010 (UTC)

there is a Monaco skins page with several examples:
http://help.wikia.com/index.php?title=Help:Examples_of_customized_Monaco_skins&oldid=18457
This template I created may help:
http://help.wikia.com/wiki/Template:Custom
All the pages have been redirected, so to view them, you have to go into history.
I emailed the author of this port, Daniel Friesen (Dantman). He wrote:
I don't really have any plans for (making Mediawiki compatible with 1.15). MediaWiki 1.16 is the current stable, it's not going to be that long before 1.15 is no longer supported, and MediaWiki 1.17 is going to be released sometime soon... it's time to upgrade. Also, 1.15 compatibility would add a really big mess to the skin.
The monaco-port project is only 1/3 finished... it's not even usable as a skin yet anyways.
You can see there are still problems. I emailed the author, Dantman, letting him know about this posting. Anno1404 15:19, 14 December 2010 (UTC)
As for compatibility - we just need to wait until ShoutWiki will install MW 1.16
As per skin - what are the problems? maybe together we can fix them?
Thanks for the pictures. We need more of the clean (with no customization) pics to see how it should look like. AWAMember 17:03, 14 December 2010 (UTC)
here are all the pages that asshole wikia staff member redirected.[1]
These photos may help looking for footer pictures.
Here is one from sannse herself: http://nwn2.wikia.com/wiki/File:NWN2_Monaco.png
Anno1404 17:39, 14 December 2010 (UTC)


existing problems with Monaco port[edit source]

Thanks for the offer to help AWA!

Out of the box, on deadrisingwiki.com:

  1. the "more" button at the top does not work. (does not work on club penguin either)
  2. <footer_1> <footer_1.5> <footer_5> <footer_6> on the bottom of the page. I have been looking at seahorseruler's edits on how he fixed this at club penguin.[2]
Fixed with latest version. Anno1404 21:29, 14 December 2010 (UTC)

I will let you know anything else. Thank you. Anno1404 17:35, 14 December 2010 (UTC)

I've created an account at deadrisingwiki.com, contact me there if you need help with monaco setup. Power to the People! (MAKE a effort) 18:27, 14 December 2010 (UTC)
The more button doesn't work because none of the js has been ported. This also means that the sub-menus inside the sidebar don't work. Those also need some extra work because Wikia used some ajax junk. And then there is the pile of junk left lying around the skin, and overall bad programming job Wikia did in actually building the skin. That's basically why I said it's not ready to use as a skin. The footer stuff has already been fixed inside the skin itself. 96.48.209.185 19:29, 14 December 2010 (UTC)
thank you dantman. this is such an incredible gift to the mediawiki community!
@ power I also just emailed User_talk:Seahorseruler. I would love all the question answered here, if that is okay, so others can benefit. But I will respond to you on deadrisingwiki.com also. Anno1404 20:21, 14 December 2010 (UTC)

monaco-port => Monaco[edit source]

Note: Portions of this section is NO LONGER needed with the latest version of the monaco-port. See install instructions below. Anno1404 21:26, 14 December 2010 (UTC)

Here we can add the info about how to configure the wikia with the monaco-port skin (File:Monaco-port.jpg) to make it look like Monaco.

To replace "<dynamic-links-write-article>" with "Create a new article":
1) Install Extension:Uniwiki_CreatePage
2) Go to the MediaWiki:Dynamic-links-write-article page on your wiki and add the text for link article creation link.

To replace "<dynamic-links-add-image>" with "Upload a new image":
Go to the MediaWiki:Dynamic-links-add-image page on your wiki and add the text for image upload link, "Upload Image" Example
To create a toolbox replace the contents of wiki/MediaWiki:Monaco-toolbox with

recentchanges-url|recentchanges 
randompage-url|randompage 
specialpages-url|specialpages 
helppage|help

Trying to make this toolbox show. AWAMember 09:34, 14 December 2010 (UTC)

See also Help:Toolbox. Anno1404 23:27, 16 December 2010 (UTC)
The toolbox may take a while to show up. Try logging out and then logging back in. Power to the People! (MAKE a effort) 13:17, 14 December 2010 (UTC)
Yes it works. Thanks. AWAMember 17:03, 14 December 2010 (UTC)
The port now has those MW messages inside of it so you don't need to add them yourself. Though you might want to customize your monaco-sidebar and monaco-toolbox of course. Installing an extension to take the place of Special:CreatePage also isn't necessary, the skin has been tweaked to simply not show that button if there is no CreatePage special page. 96.48.209.185 19:26, 14 December 2010 (UTC)
thank you so much Dantman. shouldn't the folder be named monaco, not "style"?
This is not working for me now, only see monobook, I am running 1.16:
  1. I moved the folder "style" to my skins folder.
  2. moved the four other files to my skins folder.
Doesn't work. Anyone else try this newest version at https://github.com/dantman/monaco-port ? Does it work for you?
thanks again. Anno1404 20:27, 14 December 2010 (UTC)
No, you're supposed to check the port out to skins/monaco/ and add `require_once("$IP/monaco/monaco.php");` to your LocalSettings.php, it's in the README and explained a few sections above. 96.48.209.185 21:06, 14 December 2010 (UTC)
Thank you, I will rewrite instructions. Anno1404 21:24, 14 December 2010 (UTC)
Installed the new skin but I see no "Upload a new image" link: http://img30.imageshack.us/img30/4335/boxiy.jpg. AWAMember 07:59, 15 December 2010 (UTC)

Strange, did you add the name to MediaWiki:Dynamic-links-write-article?

http://deadrisingwiki.com/wiki/Dead_Rising_Wiki works. Anno1404 14:56, 15 December 2010 (UTC)

MediaWiki:Dynamic-links-write-article is responsible for "Create a new article". MediaWiki:Dynamic-links-add-image is responsible for uploading images and this page already had a "Upload a new image" text when I installed the skin. AWAMember 15:28, 15 December 2010 (UTC).

Monaco installation instructions[edit source]

Moved to Monaco skin Anno1404 15:10, 15 December 2010 (UTC)


removed unused "more" button on monaco[edit source]

The more button currently does not work.

In Monaco.skin.php:

Remove:

<span>
<button id="headerButtonUser" class="header-button color1"><?php echo trim(wfMsgHtml('moredotdotdot'), ' .') ?><img src="<?php $this->text('blankimg') ?>" /></button>
				</span>

To get rid of it. Anno1404 23:58, 16 December 2010 (UTC)

We need to the solution how to make it work. When working, this button gives access to Preferences/Blog and 1 more page I can`t remember the name. AWAMember 04:27, 17 December 2010 (UTC)
I don't have the skills to do this. I was just going to try and add it to the toolbar instead. But I am struggling with that too. Maybe you know a programmer who can help? Anno1404 19:00, 17 December 2010 (UTC)
Don`t know anyone. Maybe we will find the solution in the internet. AWAMember 20:12, 17 December 2010 (UTC)
I was thinking of contacting the World of warcraft wiki. they have some real skill editors. I have created a newsletter which I was hoping to send out to all of the wikis when done. Anno1404 21:29, 17 December 2010 (UTC)
Yes, we gonna need some help in skin configuring. AWAMember 11:17, 18 December 2010 (UTC)

Fixed Monaco p-personal (header)[edit source]

I always hated the "more" button on wikia monaco. I was able to not only delete the non-functional more button, but I was able tonight to replace restore the "my contribution" and "preferences" links at the top of the page by editing Monaco.skin.php. Picture: http://gyazo.com/e9eb193a22b1010d6892b12fd89de89d.png

here is the relevant deletions and additions for future reference:

Anno1404 10:03, 19 December 2010 (UTC)

Good work! Now we can easily access to those pages!
Just one question: After the file modification, I got this picture of the question mark in the black square: http://7340.iz.piccy.info.nyud.net/i5/40/73/857340/Question.jpg. Do you know how to remove it? AWAMember 11:38, 19 December 2010 (UTC)
I am not sure how. I would suggest looking through the old help items for information about the Help:Sidebar (which you were awesome enough to export).
I cannot find any relevant fix in the above monaco.skin.php file, but it could be in the other two.
strange, mine didn't do that: http://gyazo.com/6e31d311402399a5bed51114789fee27.png
but since the community button is now worthless too, because the .js (JavaScript) was never ported, it should be removed anyway.
Not having the .js ported actually turned out to be a blessing in disguise for me personally. The "more" header and the hidden toolbox where two feature I really hated.
All i did was a very slow and tedious experiment in reverse engineering.
try editing MediaWiki:Monaco-sidebar per instructions in Help:Sidebar. Anno1404 18:23, 19 December 2010 (UTC)
I found what is that. This picture appeared in the place where Monaco skin had the ">" button (See File:Default sidebar.png) - when you move your mouse over that element you see some new menu items (see the screenshot from http://premium.shoutwiki.com when using Monaco: http://9761.iz.piccy.info.nyud.net/i5/61/97/859761/premium.jpg). But for some reason instead of those ">" you can mouse over, I got this question mark. Maybe Monaco-port doesn`t supports those buttons? AWAMember 18:53, 19 December 2010 (UTC)
We may not need this fix anymore. I have downloaded the latest Monaco-port skin for my wikia and the More button is working. AWAMember 08:04, 25 December 2010 (UTC)

Monaco: Fixing internet explorer view[edit source]

If you may have noticed, with Dantman's monaco port internet explorer font is really small and is too close to the border.

I just spoke with dear Dantman, author of the monaco port, and he told me how to fix this, it takes less than a minute!

Go to: MediaWiki:Monaco.js (you may need to create this page)

Add:

/*@cc_on'abbr article aside audio canvas details figcaption figure footer header hgroup mark menu meter nav output progress section summary time video'.replace(/\w+/g,function(n){document.createElement(n)})@*/

Thats it! Refresh your page!

  —Anno1404 (talkcontribs) 50px 04:21, 22 December 2010 (UTC)

That WASN'T how to "fix" it, that was a test to see if what you reported was nothing but yet another item that was already on the todo list to fix... That skin is NOT ready for use, the js has NOT been ported, and that issue would have already disappeared by the time the skin was ready to use. Adding that does nothing but make a mess that will probably be left behind when you get around to updating to the finished skin when it's ready. 96.48.209.185 03:44, 24 December 2010 (UTC)

observations about the Monaco port[edit source]

unneeded items in the Monaco port

Looking over the coding and talking to Dantman, currently all of the js files are unused, so the monaco/style/js folder is worthless. That means if we want a dynamic navigation sidebar, our only hope is creating it on MediaWiki:Monaco.js

I also noticed that monaco.php has the following line:

$wgMonacoTheme = "sapphire"; // load a pre-made Monaco theme from the styles folder

This is where an editor could upload different skin folders, otherwise, I see no use for the monaco/style/ skin folders either.   —Anno1404 (talkcontribs) 50px 04:30, 22 December 2010 (UTC)

The js is not "worthless" it's not ported, your "only hope" is not custom site scripts, it's perfectly possible to fix that js to actually have a functionally dynamic navigation sidebar... it's just NOT READY. 96.48.209.185 03:46, 24 December 2010 (UTC)

should awa have monaco as default?[edit source]

It seems like the site which is against changing from monaco on wikia should have monaco. Would we want to make this the default skin? (anyone can change to Monaco right now) We can always unsubscribe after 6 months when it is paid. thoughts?

On the right is how AWA looks in Monaco. Anyone can edit in that skin by changing the defaults right now.

Go to preferences >> skin >> click Monaco and click save.   —Anno1404 (talkcontribs) 50px 16:51, 22 December 2010 (UTC)

Why do you say "against changing from monaco"? It offers Monaco for all wikias now. AWAMember (Talk page, Mail me). 18:12, 22 December 2010 (UTC)
I mean as the default skin here. sorry i was not clear.   —Anno1404 (talkcontribs) 50px 21:37, 22 December 2010 (UTC)
Then the answer is Yes. We have Monaco and we must show to everyone this our advantage. Let everyone know they can get Monaco if they move their wikia here. AWAMember (Talk page, Mail me). 04:35, 23 December 2010 (UTC)

changing background of Monaco on non-shoutwiki Monaco wikis[edit source]

At Mediawiki:Monaco.css add this:

#page {
   background-color: red;
}  

On shoutwiki and on wikia before, they used #article, but it does not work on Dantman's monaco port.

This will change the background on the articles.

Also:

http://deadrisingwiki.com/wiki/MediaWiki:Monaco.css

I added A LOT of notes on what line specifically does what.   —Anno1404 (talkcontribs) 50px 21:56, 22 December 2010 (UTC)

Monaco features[edit source]

Hello. I have small question about Monaco features.
http://img94.imageshack.us/img94/9760/screenwgb.jpg
After skin installation this features are disable or not exist. How I can install this components of Monaco skin on my wiki?
(Sorry, if my english is not very good, I am not native english speaker). --Migel 19:56, 23 December 2010 (UTC)

If you are talking about the Dantman Monaco then you have the same problem as I - this "hovering" feature seems not to work on this skin :(. AWAMember (Talk page, Mail me). 04:38, 24 December 2010 (UTC)
Yes, I am talking about Dantman Monaco. I want to use some Monaco's features, that using on Shotwiki Wiki Service:
  • Dynamic sidebar parts.
  • "Community" box.
  • Dynamic "MORE..." menu in user panel etc.
But I dont know how I can activate it. I think that it may be functions of special extension. --Migel 13:41, 24 December 2010 (UTC)
I really don't see why so much pain about Monaco, having Monobook as a powerful, accessible and customizable, with a sidebar like Monaco: [3] --Ciencia Al Poder 16:15, 24 December 2010 (UTC)
I would prefer monobook too, but some editors, that is all they have ever known.   —Anno1404 (talkcontribs) 50px 16:25, 24 December 2010 (UTC)
Monobook is Ok, but Monaco is better.
Migel, I think those features are unique for ShoutWiki Monaco skin may be availbale only for wikias here. "MORE" button used to work on wikia.com but is not currently supported by Dantman skin version. AWAMember (Talk page, Mail me). 17:03, 24 December 2010 (UTC)
it is a pity. If it is true, Dantman Monaco is not cool as Wikia Monaco :( --Migel 09:23, 25 December 2010 (UTC)
Try to download it again. I installed the last version on my local wikia and the MORE button and hovering features worked. AWAMember (Talk page, Mail me). 09:30, 25 December 2010 (UTC)
I download new version of the Dantman Monaco. In lastest version of skin dynamic munu amd dynamic "MORE..." button are workable! It is good news. --Migel 10:59, 25 December 2010 (UTC)


More Dantman monoaco skin background issues fixed[edit source]

I notice with the shoutwiki monaco, .color changes the top header, the left and right of the article background, and the bottom.

Not so yet with Dantman's monaco skin.

Add This to: MediaWiki:Monaco.css

.monaco_shrinkwrap { background-color: #4F4F4F; } /* Unique fix for space below the toolbar, right and left background of article */

  —Anno1404 (talkcontribs) 50px 16:32, 24 December 2010 (UTC)

Did you bother to apply the OutputPageBodyAttributes.patch to your wiki's code? Monaco requires an extra hook/skin feature to function that does not exist in MediaWiki 1.16, it exists in 1.17 but to use it in 1.16 you need to apply the patch... did you even bother to read through the "README" file github kindly outputs for you on the page people link to repeatedly? Dantman 06:16, 26 December 2010 (UTC)
Here is the text:
MediaWiki 1.17 includes the hook OutputPageBodyAttributes and the modifications to OutputPage.php and Skin.php necessary for this skin to add body classes into skins. If you are running an earlier verson you may apply the included OutputPageBodyAttributes.patch patch to your MediaWiki code to include the changes introduced into MediaWiki 1.17. This is a forward-compatible patch, you do not have to worry about re-applying it after you upgrade. Note that this patch was designed for MediaWiki 1.16, it has not been tested on earlier versions -- then again this skin probably won't even run on MediaWiki 1.15 since it uses MediaWiki 1.16 features.[4]
The patch file is in my Monaco folder. There were a lot of assumptions in the sparse and confusingly writing instructions, including the assumption that a person would know how to apply the patch.   —Anno1404 (talkcontribs) 50px 22:14, 26 December 2010 (UTC)


Add shoutbox to every page of your site[edit source]

Create a free shoutbox account. You will need the 5 digit number after you create the account. (Screenshot) -- The 5 digit number is the 3rd line at the top.

MAKE A BACK UP of your Monaco.skin.php file.

In Monaco.skin.php right above:

</div>
		<!-- /WIDGETS -->

Add:

<!-- BEGIN Shoutbox.us CODE --> 
<iframe src="http://SHOUTBOXNUMBER.shoutbox.us/?extcss=http://SITENAME.com" width="200" height="500" frameborder="0" allowTransparency="true"></iframe> 
<!-- END Shoutbox.us CODE-->

(Optional) Move up the logo and toolbar/sidebar in mediawiki:monaco.css:

/*** Height of logo ***/
#wikia_header {
 height: 0px !important; 
}

#widget_sidebar {
 top: 100px !important; 
}

The screenshot shown to the right is the result. I am now trying to figure out how to use css to change the look of the shoutbox.   —Anno1404 (talkcontribs) 50px 01:06, 27 December 2010 (UTC)

I added a MonacoSidebarEnd hook a long time ago for a reason! Code modifications are absolutely unnecessary to add new things to the sidebar. The only thing you do by modifying the code to add that instead of properly using the hook executed a few lines above the <!-- /WIDGETS --> line you point out is to make more trouble for you when you need to update the code.
$wgHooks['MonacoSidebarEnd'] = 'lfMonacoShoutbox'; and function lfMonacoShoutBox( $sk ) { ... return true; }.
Also, I suggest you wrap that in a <div class="widget"></div>.Dantman 04:30, 27 December 2010 (UTC)
thank you. :)   —Anno1404 (talkcontribs) 50px 16:03, 27 December 2010 (UTC)

Dantman Monaco Search Tips[edit source]

How can I activate search tips in Dantman Monaco skin? Standart methods is not applicable for Monaco. Search tips in Shoutwiki sites. It not work on usual MediaWiki with Monaco --Migel 17:45, 27 December 2010 (UTC)

I think this feature may not currently work on this skin, but we need to consult Dantman about it.
I have enabled this tips for Monobook (see Manual:$wgEnableMWSuggest) but this doesn`t helped for Monaco. As mentioned on Manual_talk:$wgEnableMWSuggest you should have Ajax enabled to make this work. AWAMember (Talk page, Mail me). 17:38, 28 December 2010 (UTC)
Advices on mediawiki.com is not help. I hope that Dantman will correct it in next versions of the skin. --Migel 20:43, 28 December 2010 (UTC)
In new version of the Dantman Monaco this problem is fixed --Migel 13:02, 29 December 2010 (UTC)

New problems with Monaco[edit source]

Collapsible tables and blocks (from Common.js) are not work in the Dantman Monaco. Also I have small problem with the Usability Initiative toolbar. Screenshot: http://img502.imageshack.us/img502/6649/83136939.jpg --Migel 20:13, 29 December 2010 (UTC)

Moved page and talk page[edit source]

Hello! I am Stranger195 and I am now moving the Monaco port and Talk:Monaco port pages from the Anti-Wikia Alliance to Monaco help Wiki. Thank you! Stranger195 (talk) (guestbook) 11:37, 20 August 2015 (UTC)