Difference between revisions of "User talk:David"

From MidrangeWiki
Jump to: navigation, search
m (HTML Comments in Templates)
m (HTML Comments in Templates Part 2)
Line 66: Line 66:
 
<div id="p-cactions" class="portlet">
 
<div id="p-cactions" class="portlet">
 
<h5>Views</h5>
 
<h5>Views</h5>
 +
</pre>
 +
 +
== HTML Comments in Templates Part 2 ==
 +
 +
Grr, based on some quick testing, I would say "No Dice".  It appears that the wiki-parser does not even pass those wiki source comments out to the HTML.  The <code>google_ad_section</code> lines in the HTML must be coming from somewhere else.  I was going to say [[Mediawiki:Monobook.css]] or [[MediaWiki:Monobook.js]] but there is no google in there. 
 +
 +
I'll check on http://meta.wikimedia.org and http://www.mediawiki.org about wiki-parsing and HTML, along with the [http://mail.wikipedia.org/pipermail/mediawiki-l/ mediawiki-l mailing list archives].&nbsp;&mdash;&nbsp;[[User:MrDolomite|MrDolomite]] | [[User talk:MrDolomite|Talk]] 15:38, 3 January 2007 (CST)
 +
 +
===From [[User:MrDolomite/Foo]] wiki source===
 +
<pre>
 +
*Ok this is main article text
 +
*Ok this is main article text
 +
<!-- This is a comment in the main article -->
 +
*Ok this is main article text
 +
*Ok this is main article text
 +
*Ok this is main article text
 +
*Ok this is main article text
 +
<!-- This is a comment in the main article -->
 +
*Ok this is main article text
 +
*Ok this is main article text
 +
 +
</pre>
 +
 +
===From [[User:MrDolomite/Foo]] HTML Source===
 +
<pre>
 +
<!-- start content -->
 +
<!-- google_ad_section_start -->
 +
<ul><li>Ok this is main article text
 +
</li><li>Ok this is main article text
 +
</li><li>Ok this is main article text
 +
</li><li>Ok this is main article text
 +
</li><li>Ok this is main article text
 +
</li><li>Ok this is main article text
 +
</li><li>Ok this is main article text
 +
</li><li>Ok this is main article text
 +
 +
</li></ul>
 +
 +
<!-- Saved in parser cache with key wiki-mw_:pcache:idhash:1937-0!1!0!1!en!2 and timestamp 20070103212855 -->
 +
<div class="printfooter">
 +
Retrieved from "<a href="http://wiki.midrange.com/index.php/User:MrDolomite/Foo">http://wiki.midrange.com/index.php/User:MrDolomite/Foo</a>"</div>
 +
<!-- google_ad_section_end -->
 +
<!-- end content -->
 
</pre>
 
</pre>

Revision as of 21:38, 3 January 2007

test test http://www.midrange.com http://archive.midrange.com test test test

[_pw9_]

nvnv


Interwiki mappings?

  • Heh, I know it's pretty quiet here, but I thought I would mention this before I forgot. On the page Help:Template, I noticed the redlink for m:Help:Template. Which, after digging around a bit, I think can be solved outside of MidrangeWiki using the information here. — MrDolomite | Talk 15:39, 2 August 2006 (CDT)

Listed on wikiindex

I added a listing [1] over on http://www.wikiindex.com/. — MrDolomite | Talk 16:30, 10 September 2006 (CDT)

Deletion requests

Not that we have a bunch of them yet, but I made (hopefully) simple way to request deletions. Add the template {{delete}} to whatever is to be deleted and it will show up in [[Category:Deletion requests]]. Then, whomever has the authority to do deletes (um, you :), can decide yea or nay. — MrDolomite | Talk 11:29, 13 October 2006 (CDT)

MediaWiki 1.8 upgrade

Good deal, I'll holler if anything seems odd. I upgraded my local wiki recently and haven't had any trouble, but you never know. — MrDolomite | Talk 06:35, 6 November 2006 (CST)

HTML Comments in Templates

Hmm, when I look at the HTML source of an article which uses the {{stub}} template, the google comments are showing. I'm just not sure if they are from the template code or from somewhere else. I'll do a few tests and see what happens. — MrDolomite | Talk 15:12, 3 January 2007 (CST)

		<h1 class="firstHeading">Restricted state</h1>
		<div id="bodyContent">
			<h3 id="siteSub">From MidrangeWiki</h3>

			<div id="contentSub"></div>
												<!-- start content -->
			<!-- google_ad_section_start -->
			<p><b>Restricted state</b> is a condition where all the subsystems on the iSeries server have ended and only a single user job remains active in the controlling subsystem. <a href="http://publib.boulder.ibm.com/infocenter/iseries/v5r4/topic/experience/wmrstate53.pdf" class="external autonumber" title="http://publib.boulder.ibm.com/infocenter/iseries/v5r4/topic/experience/wmrstate53.pdf" rel="nofollow">[1]</a>
</p>
<div class="editsection" style="float:right;margin-left:5px;">[<a href="/index.php?title=Restricted_state&action=edit&section=1" title="Edit section: External links">edit</a>]</div><a name="External_links"></a><h2>External links</h2>

<ul><li>(<a href="http://publib.boulder.ibm.com/infocenter/iseries/v5r4/topic/experience/wmrstate53.pdf" class="external text" title="http://publib.boulder.ibm.com/infocenter/iseries/v5r4/topic/experience/wmrstate53.pdf" rel="nofollow">PDF</a>) of <i>iSeries Restricted State Experience Report</i> from the V5R4 <a href="/index.php/IBM" title="IBM">IBM</a> <a href="/index.php/InfoCenter" title="InfoCenter">InfoCenter</a>.
</li></ul>
<p><br />
</p>
<div class="notice metadata" id="stub"><i>This article is a <a href="/index.php/Category:Stubs" title="Category:Stubs">stub</a>. You can help by <span class="plainlinks"><a href="http://wiki.midrange.com/index.php?title=Restricted_state&action=edit" class="external text" title="http://wiki.midrange.com/index.php?title=Restricted_state&action=edit" rel="nofollow">expanding it</a></span>. </i></div>

<!-- Saved in parser cache with key wiki-mw_:pcache:idhash:1956-0!1!0!1!en!2 and timestamp 20070103210539 -->
<div class="printfooter">
Retrieved from "<a href="http://wiki.midrange.com/index.php/Restricted_state">http://wiki.midrange.com/index.php/Restricted_state</a>"</div>
			<!-- google_ad_section_end -->
			<div id="catlinks"><p class='catlinks'><a href="/index.php?title=Special:Categories&article=Restricted_state" title="Special:Categories">Categories</a>: <span dir='ltr'><a href="/index.php/Category:Stubs" title="Category:Stubs">Stubs</a></span> | <span dir='ltr'><a href="/index.php/Category:Definitions" title="Category:Definitions">Definitions</a></span></p></div>			<!-- end content -->

			<div class="visualClear"></div>
		</div>
	</div>
		</div>
		<div id="column-one">
	<div id="p-cactions" class="portlet">
		<h5>Views</h5>

HTML Comments in Templates Part 2

Grr, based on some quick testing, I would say "No Dice". It appears that the wiki-parser does not even pass those wiki source comments out to the HTML. The google_ad_section lines in the HTML must be coming from somewhere else. I was going to say Mediawiki:Monobook.css or MediaWiki:Monobook.js but there is no google in there.

I'll check on http://meta.wikimedia.org and http://www.mediawiki.org about wiki-parsing and HTML, along with the mediawiki-l mailing list archives. — MrDolomite | Talk 15:38, 3 January 2007 (CST)

From User:MrDolomite/Foo wiki source

*Ok this is main article text
*Ok this is main article text
<!-- This is a comment in the main article -->
*Ok this is main article text
*Ok this is main article text
*Ok this is main article text
*Ok this is main article text
<!-- This is a comment in the main article -->
*Ok this is main article text
*Ok this is main article text

From User:MrDolomite/Foo HTML Source

												<!-- start content -->
			<!-- google_ad_section_start -->
			<ul><li>Ok this is main article text
</li><li>Ok this is main article text
</li><li>Ok this is main article text
</li><li>Ok this is main article text
</li><li>Ok this is main article text
</li><li>Ok this is main article text
</li><li>Ok this is main article text
</li><li>Ok this is main article text

</li></ul>

<!-- Saved in parser cache with key wiki-mw_:pcache:idhash:1937-0!1!0!1!en!2 and timestamp 20070103212855 -->
<div class="printfooter">
Retrieved from "<a href="http://wiki.midrange.com/index.php/User:MrDolomite/Foo">http://wiki.midrange.com/index.php/User:MrDolomite/Foo</a>"</div>
			<!-- google_ad_section_end -->
						<!-- end content -->