Difference between revisions of "User talk:David"
MrDolomite (talk | contribs) m (→Mediawiki 1.9.0: gah, spoke too soon, unable to upload files) |
MrDolomite (talk | contribs) m (Sub-pages in templates) |
||
Line 119: | Line 119: | ||
The upload directory (/home/wiki/html/images) is not writable by the webserver. | The upload directory (/home/wiki/html/images) is not writable by the webserver. | ||
</pre> — [[User:MrDolomite|MrDolomite]] | [[User talk:MrDolomite|Talk]] 12:37, 11 January 2007 (CST) | </pre> — [[User:MrDolomite|MrDolomite]] | [[User talk:MrDolomite|Talk]] 12:37, 11 January 2007 (CST) | ||
+ | |||
+ | == Sub-pages in templates == | ||
+ | |||
+ | Trying to use a sub-page trick to document templates and realized that sub-pages are not turned on in the template namespace. From this info [http://meta.wikimedia.org/wiki/Sub-page on meta], I think all that needs to be done adding this line to the <code>LocalSettings.php</code> file. | ||
+ | <pre> | ||
+ | # Enable subpages in the template namespace | ||
+ | $wgNamespacesWithSubpages[NS_TEMPLATE] = true; | ||
+ | </pre> | ||
+ | Thanx — [[User:MrDolomite|MrDolomite]] | [[User talk:MrDolomite|Talk]] 12:51, 11 January 2007 (CST) |
Revision as of 18:51, 11 January 2007
test test http://www.midrange.com http://archive.midrange.com test test test
Contents
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)
- From Restricted state
<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§ion=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 -->
Mediawiki 1.9.0
Cool, I'll keep my eyes open for post-upgrade goofiness. The Wikimedia family of sites have been at 1.9 for a bit and are now actually onto 10ish. — MrDolomite | Talk 12:27, 11 January 2007 (CST)
Unable to upload file
On page Special:Upload, getting this error.
The upload directory (/home/wiki/html/images) is not writable by the webserver.— MrDolomite | Talk 12:37, 11 January 2007 (CST)
Sub-pages in templates
Trying to use a sub-page trick to document templates and realized that sub-pages are not turned on in the template namespace. From this info on meta, I think all that needs to be done adding this line to the LocalSettings.php
file.
# Enable subpages in the template namespace $wgNamespacesWithSubpages[NS_TEMPLATE] = true;
Thanx — MrDolomite | Talk 12:51, 11 January 2007 (CST)