Difference between revisions of "User:MyraMidnight/ideas"

From Krafties
Jump to navigation Jump to search
 
(27 intermediate revisions by the same user not shown)
Line 1: Line 1:
==Multilingual wiki, ideas==
+
==Testing Changelog==
I believe the simpest way to create a multilingual krafties wiki is to '''[[mediawikiwiki:help:subpages|enable subpages]]''' on the main namespace (which is disabled by default, only works for user or talk pages). It does not require any extentions to be added, simply adjustments to the wiki settings (which admin has to do through FTP access I believe).
+
{{changelog
*Either needs to specify what namespaces are allowed to have subpages, or simply enable it for all namespaces.
+
|item=necessitypack
<pre># Enable subpages in all namespaces
+
|version=4.0
$wgNamespacesWithSubpages = array_fill(
+
|blog=http://krafties.com/blog/?p=606}}
0, 200, true
 
);
 
</pre>
 
*Please view [[mediawikiwiki:Manual:$wgNamespacesWithSubpages|Namespaces with Subpages]] for more information.
 
  
===Other useful extensions===
+
==Testing Message Box==
Just something I have spotted that would be nice
+
Trying to make message boxes like on other wikis without Lua script extension ([[Mediawikiwiki:Extension:Scribunto|Extension:Scribunto]]).
*[[mediawikiwiki:Extension:RSS|Extension:RSS]], Just an idea that would maybe allow a RSS feed of the news/blog to be displayed on the [[Main Page]] of the wiki
 
  
====[[mediawikiwiki:MediaWiki_1.18#Bundled_extensions|Bundled extentions]]====  
+
*[[Template:Mbox|Mbox]]
That means they are actually included with any version above 1.18 (but sometimes need to be enabled manually), no need to download them
+
*[[Template:Message box|Message box]]
#[[mediawikiwiki:Extension:ParserFunctions|Extension:ParserFunctions]], Its a extension that allows for more complex template making without the need to create multiple ones to function as one whole. Even if I would just use the "#if" functions and simple things, it changes alot.
+
 
#[[mediawikiwiki:Extension:WikiEditor|Extension:WikiEditor]] a more advanced editor for the wiki
+
{{ambox|protect}}
#[[mediawikiwiki:Extension:Renameuser|Extension:Renameuser]], a tool to rename users
+
Number of pages in 'Templates' Category: {{PAGESINCATEGORY:Templates}}
 +
 
 +
*{{#switch: {{SUBPAGENAME}}
 +
  | sandbox
 +
  | testcases = {{BASEPAGENAME}}
 +
  | #default = {{PAGENAME}}
 +
  }}
 +
*{{#switch: {{SUBJECTSPACE}}
 +
  | {{ns:0}}
 +
  | {{ns:File}}
 +
  | {{ns:MediaWiki}}
 +
  | {{ns:Category}} = {{TALKSPACE}}
 +
  | #default = {{SUBJECTSPACE}}
 +
  }}
 +
*[[Special:Prefixindex/{{#if:{{{page|}}}|{{{page}}}|{{FULLPAGENAME}}}}/|{{{1|all subpages of this page}}}]]
 +
 
 +
<!--- snip of documentation/core ---->
 +
{{documentation/core
 +
| heading = {{{heading|¬}}}  <!--Empty but defined means no header-->
 +
| heading-style = {{{heading-style|}}}
 +
| content = {{{content|}}}
 +
| link box = {{{link box|}}}  <!--So "link box=off" works-->
 +
 
 +
| docpage =  
 +
  {{#if: {{{1|}}}
 +
  | {{{1|}}}
 +
  | {{{docspace|{{NAMESPACE}}}}}:{{{template page|{{PAGENAME}}}}}/doc
 +
  }}
 +
| doc exist =
 +
  {{#ifexist:  
 +
    {{#if: {{{1|}}}
 +
    | {{{1|}}}  <!--Other docname fed-->
 +
    | {{{docspace|{{NAMESPACE}}}}}:{{{template page|{{PAGENAME}}}}}/doc
 +
    }}
 +
  | yes
 +
  }}
 +
| docname fed =
 +
  {{#if: {{{1|}}}
 +
  | yes
 +
  }}
 +
 
 +
| sandbox =
 +
  {{{docspace|{{NAMESPACE}}}}}:{{{template page|{{PAGENAME}}}}}/sandbox
 +
| testcases =
 +
  {{{docspace|{{NAMESPACE}}}}}:{{{template page|{{PAGENAME}}}}}/testcases
 +
 
 +
| template page =
 +
  {{NAMESPACE}}:{{{template page|{{PAGENAME}}}}}
 +
 
 +
}}
 +
 
 +
====Message Box Experiements ====
 +
{{Mbox}}
 +
 
 +
==Experiment with floating div==
 +
Try resizing the window
 +
 
 +
<div style="width:100%;height:400px;float:left;border:1px solid #000;background:cornflowerblue">Header</div>
 +
<div style="min-width:400px;max-width:900px;min-height:400px;float:left;border:1px solid #000;background:cornflowerblue">box1{{clear}}
 +
{{Navigation}}</div>
 +
<div style="width:400px;min-height:400px;float:right;border:1px solid #000;background:cornflowerblue">box2</div>
 +
<div style="width:100%;height:400px;float:left;border:1px solid #000;background:cornflowerblue">Footer</div>

Latest revision as of 05:43, 11 May 2017

Testing Changelog[edit]

Necessity pack v4.0

Testing Message Box[edit]

Trying to make message boxes like on other wikis without Lua script extension (Extension:Scribunto).


Information icon4.png

Number of pages in 'Templates' Category: 28

subpage?

Message Box Experiements[edit]

{{{text}}}

Experiment with floating div[edit]

Try resizing the window

Header
box1
box2
Footer