User talk:Dantman

Jump to: navigation, search

About this board

Edit description

A pie for you!

...testing WikiLove + LQT. Dantman 22:28, 25 September 2011 (UTC)

A barnstar for you!

The Civility Barnstar
test 晒太阳的冰 03:11, 14 November 2011 (UTC)

Cheers

Thanks for the NamespacePaths extension. Frug (talk) 01:42, 21 May 2012 (UTC)
By clicking "Add topic", you agree to our Terms of Use and agree to irrevocably release your text under the CC BY-SA 3.0 License and GFDL
Lieutenant S. Reznov (talkcontribs)

Do you know if it's possible to allow registered users to view particular special pages, but prevent users in the banned user group (made with $wgRevokePermissions) from viewing them? I'd like for all users to have access to RecentChanges, but not for the troll who has been stalking it. I don't think there's a need for anons who can't edit to read it.

This post was posted by Lieutenant S. Reznov, but signed as Inquisitor Ehrenstein.

Dantman (talkcontribs)

I don't use Lockdown at all. And I don't really see any reason to hide recent changes.

Lieutenant S. Reznov (talkcontribs)

Ok. I'll see if anyone else knows if there's a solution. I'm hiding it from a troll who has repeatedly spewed racist interpretations of our content, and from what we can tell, has been stalking the recent changes page literally every day for over a year.

This post was posted by Lieutenant S. Reznov, but signed as Inquisitor Ehrenstein.

165.50.15.85 (talkcontribs)

Imaj

Reply to "Working with Lockdown"
Qgil-WMF (talkcontribs)

Hi, Requests for comment/Allow styling in templates is being considered as one of the RFCs to be discussed at the RFC review on 2013-11-06 via IRC. You are receiving this notification because you edited or discussed this RFC. We hope to see you there.

This post was posted by Qgil-WMF, but signed as Qgil.

Reply to "Requests for comment/Allow styling in templates"
Siko (WMF) (talkcontribs)

Grants News
VOLUME 1 MARCH 2013 ISSUE 1

Eight projects have been awarded grants in this pilot round of the Individual Engagement Grants program. You can read more about them in our blog post. Many thanks to everyone who participated in this round! We look forward to seeing even more of your ideas and input in preparation for round 2, which begins on August 1st.

Grants News is brought to you by the Wikimedia Grantmaking Team. You can change your subscription to this update on the list.

This post was posted by Siko (WMF), but signed as Sbouterse (WMF).

Reply to "March Grants News"
Lieutenant S. Reznov (talkcontribs)

I used the directions here http://blog.redwerks.org/2012/02/28/mediawiki-subskin-tutorial/ to create a modified Vector skin here http://en.sturmkrieg.com but the CSS doesn't seem to work. I copied the Vector.css and some of the Common.css wiki pages into the screen.css file, and for some reason, only some of the CSS seems to work, as can be seen here http://en.sturmkrieg.com/index.php?title=Sturmkrieg_Wiki&useskin=sturmkrieg

This post was posted by Lieutenant S. Reznov, but signed as Inquisitor Ehrenstein.

Dantman (talkcontribs)

Try adding 'skin.vector' to the dependencies of your skins RL module. And use addModules instead of addModuleStyles.

Lieutenant S. Reznov (talkcontribs)

Where is the RL module? Is that in the skin files or one of the core files?

EDIT

I found this in sturmkrieg.php

$wgResourceModules['skins.sturmkrieg'] = array(
	'styles' => array(
		'sturmkrieg/screen.css' => array( 'media' => 'screen' ),
	),
	'remoteBasePath' => &$GLOBALS['wgStylePath'],
	'localBasePath' => &$GLOBALS['wgStyleDirectory'],
);

Where should I add it?

This post was posted by Lieutenant S. Reznov, but signed as Inquisitor Ehrenstein.

Dantman (talkcontribs)

Make that:

$wgResourceModules['skins.sturmkrieg'] = array(
	'styles' => array(
		'sturmkrieg/screen.css' => array( 'media' => 'screen' ),
	),
	'dependencies' => 'skin.vector',
	'remoteBasePath' => &$GLOBALS['wgStylePath'],
	'localBasePath' => &$GLOBALS['wgStyleDirectory'],
);

Btw, your url shouldn't have []'s in it.

And remember to update addModuleStyles to addModules.

Lieutenant S. Reznov (talkcontribs)

Thanks. I added the 'dependencies' => 'skin.vector', line. Are you say this line $wgResourceModules['skins.sturmkrieg'] = array( should not have the [] in it?

EDIT

I have this

$wgResourceModules['skins.sturmkrieg'] = array(
	'styles' => array(
		'sturmkrieg/screen.css' => array( 'media' => 'screen' ),
	),
	
	'remoteBasePath' => &$GLOBALS['wgStylePath'],
	'localBasePath' => &$GLOBALS['wgStyleDirectory'],
	'dependencies' => 'skin.vector'
);

It doesn't seem to work.

This post was posted by Lieutenant S. Reznov, but signed as Inquisitor Ehrenstein.

Dantman (talkcontribs)

You've done something strange. Your skin isn't even loading 'skins.sturmkrieg' anymore.

Lieutenant S. Reznov (talkcontribs)

I changed addModuleStyles to addModules. For some reason, it doesn't load any of the sturmkrieg/screen.css when I set that. I'm guessing maybe I should change it back to useModuleStyles? I'll set it back to that for now. When it does that, some of the CSS for the new skin loads, but most of it seems to be the Vector CSS.

I'll update this code here, that lists the code for the skin.

This post was posted by Lieutenant S. Reznov, but signed as Inquisitor Ehrenstein.

Lieutenant S. Reznov (talkcontribs)

Do you know what to do when only some of the CSS is loading? useModuleStyles seems to load some of the CSS from the new skin, while useModules doesn't use any of it.

This post was posted by Lieutenant S. Reznov, but signed as Inquisitor Ehrenstein.

Lieutenant S. Reznov (talkcontribs)

I'm using MW 1.17.5. Is there anything I need to do differently?

This post was posted by Lieutenant S. Reznov, but signed as Inquisitor Ehrenstein.

Dantman (talkcontribs)

Please upgrade, 1.17 is EOL. And lots of the skinning stuff is not available.

Lieutenant S. Reznov (talkcontribs)

Will the method work for MW 1.19? If so, I will upgrade to that.

This post was posted by Lieutenant S. Reznov, but signed as Inquisitor Ehrenstein.

Dantman (talkcontribs)

I was saying that the 'url' in $wgExtensionCredits['skin'][] shouldn't have '[]' around the url. It's a plain url, not wikisyntax expecting external link syntax.

Lieutenant S. Reznov (talkcontribs)

Ok, I see. Thanks.

This post was posted by Lieutenant S. Reznov, but signed as Inquisitor Ehrenstein.

Lieutenant S. Reznov (talkcontribs)

I have this for the files:

sturmkrieg.php
<?php
/**
 * Sturmkrieg skin
 *
 * @file
 * @ingroup Skins
 * @author Sasha Ehrenstein (http://www.sturmkrieg.de/User:Inquisitor_Ehrenstein)
 */

if( !defined( 'MEDIAWIKI' ) ) die( "This is an extension to the MediaWiki package and cannot be run standalone." );

$wgExtensionCredits['skin'][] = array (
	'path' => __FILE__,
	'name' => 'Sturmkrieg',
	'url' => "[http://www.sturmkrieg.com]",
	'author' => '[http://www.sturmkrieg.de/User:Inquisitor_Ehrenstein Inquisitor Ehrenstein]',
	'descriptionmsg' => 'mywiki-desc',
);

$wgValidSkinNames['sturmkrieg'] = 'Sturmkrieg';
$wgAutoloadClasses['SkinSturmkrieg'] = dirname(__FILE__).'/Sturmkrieg.skin.php';
$wgExtensionMessagesFiles['Sturmkrieg'] = dirname(__FILE__).'/Sturmkrieg.i18n.php';

$wgResourceModules['skins.sturmkrieg'] = array(
	'styles' => array(
		'sturmkrieg/screen.css' => array( 'media' => 'screen' ),
	),
	'remoteBasePath' => &$GLOBALS['wgStylePath'],
	'localBasePath' => &$GLOBALS['wgStyleDirectory'],
);
Sturmkrieg.i18n.php
<?php
/**
 * Internationalization file for skin Sturmkrieg.
 *
 * @file
 * @ingroup Skins
 */

$messages = array();

/** English
 * @author Inquisitor Ehrenstein
 */
$messages['en'] = array(
	'skinname-sturmkrieg' => "Sturmkrieg",
	'sturmkrieg-desc' => "The default skin of Sturmkrieg.",
);
Sturmkrieg.skin.php
<?php
/**
* Skin file for skin Sturmkrieg.
*
* @file
* @ingroup Skins
*/

require_once( dirname( __FILE__ ) . '/../Vector.php' );

/**
 * SkinTemplate class for Sturmkrieg skin
 * @ingroup Skins
 */
class SkinSturmkrieg extends SkinVector {

	var $skinname = 'sturmkrieg', $stylename = 'sturmkrieg';

	/**
	 * @param $out OutputPage object
	 */
	function setupSkinUserCss( OutputPage $out ){
		parent::setupSkinUserCss( $out );
		$out->addModuleStyles( "skins.sturmkrieg" );
	}

}

This post was posted by Lieutenant S. Reznov, but signed as Inquisitor Ehrenstein.

Reply to "Problem with modified Vector skin"
Dantman (talkcontribs)

Thanks for the feedback! I just released 0.1.1 of Extension:Realnames. It should address everything you mentioned (save 1.18 integration and possible slowdowns on RC and History -- waiting for feedback for those).

This post was posted by Dantman, but signed as Quadir.

Reply to "Realnames"
Dantman (talkcontribs)

Hallo Dantman - super Extension! Dazu habe ich zwei Fragen:

  1. Wie kann ich den Donate Button OHNE Hauptmenupunkt direkt im Sidebar platzieren? (D.h.: Statt "Donate"->Donate Button nur "Donate Button" - also auf Stufe "Main page")
  2. Wie kann ich die Reihenfolge ändern? Ich möchte den Donate Button nämlich ganz oben anzeigen lassen...

Im SidebarDonateBox.php vermute ich, dass man $bar['Donate'] = $egSidebarDonateBoxContent; anpassen müsste, nur leider kenne ich mich mit PHP (noch) nicht so gut aus...

P.S.: Ich verwende MW 1.16 mit dem Vector Skin.

Viele Grüsse

This post was posted by Dantman, but signed as Mrnett1974.

Reply to "Extension SidebarDonateBox (2)"
Dantman (talkcontribs)

I was wondering if you knew how to fix an error in SpecialThemeDesigner.php line #75 echo Html::closeElement('body'); ?
I can not read all the error message as it is displayed behind the skins dropdown. Here is the link to my wiki's Special pages . Also the extension is not showing up on the version page here . You can leave a reply (if you would) Here or my main account Here.
Thank you

This post was posted by Dantman, but signed as Mlpearc.

Reply to "RESOLVED:Extension:Theme Designer"
Dantman (talkcontribs)

Why is mine doing this?

This post was posted by Dantman, but signed as 192.197.54.28.

Reply to "WikiVid SQL"
Dantman (talkcontribs)

Hallo Daniel,

ich krieg den Link http://wiki-tools.com/wiki/Wiki_Category_Tag_Cloud nicht geöffnet.

Kannst Du mal nachschauen, was da krumm ist?

This post was posted by Dantman, but signed as EnterpriseWiki.

Dantman (talkcontribs)

Hallo Martin, sofern ich es richtig verstanden habe, ist das Wiki endgültig aufgegeben worden. Der aktuelle Code kann hier gefunden werden. Gruß

This post was posted by Dantman, but signed as Marbot.

Reply to "Download-Link von Extension:WikiCategoryTagCloud"
Dantman (talkcontribs)

Hi I saw you were possibly going to make a similar extension to CreateRedirect. Are you still planning on doing that? I have a few suggestions.

This post was posted by Dantman, but signed as Bluesoju.

Reply to "CreateRedirect"