Dear all,
Sorry if this question has been asked a dozen times but I can't get the Template:Mbox to properly work and it's been about 2 days of search on the Internet (without success obviously).
1. What I did
I exported Template:Mbox using the Special:Export page. It created an XML file. I imported this XML file in my wiki using the Special:Import. It didn't complain and simply told me that everything was imported. For info, I will past the list of imported templates at the end of the email. I looked at my newly created template and saw that pictures were missing. I uploaded one or two in order to make sure that it wasn't the reason of my problem (better safe than sorry...).
I also added the content of MediaWiki:Gadget-site.css into my Mediawiki:Common.css and MediaWiki:Gadget-site.css (again, just in case...).
I restarted the Web server (Apache) in case of some caching issue.
2. What I get
I actually get no error message. The Lua scripts seem to be working because I tested it with the Module:Test on my wiki and I get the "hello" message. I see the icon, I see the text, but no box around it.
3. What config do I have
Mediawiki 1.22.3 Windows 8 Apache + MySQL + PHP
Where did I miss something?
Br,
Gregory
P.S.: list of imported templates:
- Template:Uselang - Template:Languages/Title - Template:Languages/Lang - Template:Languages - Template:LangSwitch - Template:GetFallback - Template:Ambox/doc - Template:Ambox - Module:Yesno - Module:Namespace - Module:Message - Module:Message box - Module:HtmlBuilder - Module:Documentation/config - Module:Documentation - Module:Category handler - Module:Arguments - Template:Tlx - Template:Tl - Template:Pp-template - Template:Pp-meta - Template:Para - Template:Ombox - Template:Nmbox - Template:Namespace - Template:Mbox templates - Template:Mbox/doc - Template:Documentation subpage - Template:Documentation - Template:Mbox
after that you need to go through each supporting template and make sure you have every dependent template and module. My way may not bee the best or fastest but here is what I do. I go to my wiki for Template:Ambox/doc and look through to make sure all links are blue and download any missing pages along with their doc pages. Until I have every associated file. I do that for each Template that came with the initial page.
On Mon, Mar 17, 2014 at 6:58 AM, Gregory SACRE gregory.sacre@gmail.comwrote:
Dear all,
Sorry if this question has been asked a dozen times but I can't get the Template:Mbox to properly work and it's been about 2 days of search on the Internet (without success obviously).
- What I did
I exported Template:Mbox using the Special:Export page. It created an XML file. I imported this XML file in my wiki using the Special:Import. It didn't complain and simply told me that everything was imported. For info, I will past the list of imported templates at the end of the email. I looked at my newly created template and saw that pictures were missing. I uploaded one or two in order to make sure that it wasn't the reason of my problem (better safe than sorry...).
I also added the content of MediaWiki:Gadget-site.css into my Mediawiki:Common.css and MediaWiki:Gadget-site.css (again, just in case...).
I restarted the Web server (Apache) in case of some caching issue.
- What I get
I actually get no error message. The Lua scripts seem to be working because I tested it with the Module:Test on my wiki and I get the "hello" message. I see the icon, I see the text, but no box around it.
- What config do I have
Mediawiki 1.22.3 Windows 8 Apache + MySQL + PHP
Where did I miss something?
Br,
Gregory
P.S.: list of imported templates:
Template:Uselang
Template:Languages/Title
Template:Languages/Lang
Template:Languages
Template:LangSwitch
Template:GetFallback
Template:Ambox/doc
Template:Ambox
Module:Yesno
Module:Namespace
Module:Message
Module:Message box
Module:HtmlBuilder
Module:Documentation/config
Module:Documentation
Module:Category handler
Module:Arguments
Template:Tlx
Template:Tl
Template:Pp-template
Template:Pp-meta
Template:Para
Template:Ombox
Template:Nmbox
Template:Namespace
Template:Mbox templates
Template:Mbox/doc
Template:Documentation subpage
Template:Documentation
Template:Mbox _______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Somehow, that did the trick, thanks!
I said "somehow" because I only completed the missing pictures, took the MediaWiki:Common.css from Wikipedia instead of Mediawiki and that was it.
Thanks for your help!
Greg
On Mon, Mar 17, 2014 at 1:52 PM, David Chamberlain david@alaskawiki.orgwrote:
after that you need to go through each supporting template and make sure you have every dependent template and module. My way may not bee the best or fastest but here is what I do. I go to my wiki for Template:Ambox/doc and look through to make sure all links are blue and download any missing pages along with their doc pages. Until I have every associated file. I do that for each Template that came with the initial page.
On Mon, Mar 17, 2014 at 6:58 AM, Gregory SACRE <gregory.sacre@gmail.com
wrote:
Dear all,
Sorry if this question has been asked a dozen times but I can't get the Template:Mbox to properly work and it's been about 2 days of search on
the
Internet (without success obviously).
- What I did
I exported Template:Mbox using the Special:Export page. It created an XML file. I imported this XML file in my wiki using the Special:Import. It didn't complain and simply told me that everything was imported. For info, I
will
past the list of imported templates at the end of the email. I looked at my newly created template and saw that pictures were
missing. I
uploaded one or two in order to make sure that it wasn't the reason of my problem (better safe than sorry...).
I also added the content of MediaWiki:Gadget-site.css into my Mediawiki:Common.css and MediaWiki:Gadget-site.css (again, just in case...).
I restarted the Web server (Apache) in case of some caching issue.
- What I get
I actually get no error message. The Lua scripts seem to be working
because
I tested it with the Module:Test on my wiki and I get the "hello"
message.
I see the icon, I see the text, but no box around it.
- What config do I have
Mediawiki 1.22.3 Windows 8 Apache + MySQL + PHP
Where did I miss something?
Br,
Gregory
P.S.: list of imported templates:
Template:Uselang
Template:Languages/Title
Template:Languages/Lang
Template:Languages
Template:LangSwitch
Template:GetFallback
Template:Ambox/doc
Template:Ambox
Module:Yesno
Module:Namespace
Module:Message
Module:Message box
Module:HtmlBuilder
Module:Documentation/config
Module:Documentation
Module:Category handler
Module:Arguments
Template:Tlx
Template:Tl
Template:Pp-template
Template:Pp-meta
Template:Para
Template:Ombox
Template:Nmbox
Template:Namespace
Template:Mbox templates
Template:Mbox/doc
Template:Documentation subpage
Template:Documentation
Template:Mbox _______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
-- David Chamberlain http://alaskawiki.org/ http://alaskawiki.org/index.php?title=Alaska http://about.me/david.chamberlain Mission: To be the largest and most accurate source of information about Alaska. _______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org