Hi
I have been using MediaWiki for a couple of years now and have recently gone
more in depth with it for various projects. One of them is gamewiki.net and
there I am currently having a problem.
http://gamewiki.net/Template:Infobox_Game
This little template is giving me a few headaches and I hope some
experienced people can give me a few hints and pointers, as I have searched
and read everything I could find on templates and advanced templates and so
far have not found a solution for this little problem of mine.
Right now, I have a field "platform" that describes if the game is avaialbe
on windows only, on linux, or on Xbox, or on multiple ones. To auto include
categories etc, I chose to create templates like {{Platform Xbox}} and
{{Platform Windows}}. I could make that into a smaller one, like
{{Platform|Windows}} and then have a switch in the platform template, but
that is still not very elegant. What I wanted to achieve is something like
calling the Infobox template with "platform = Windows, Linux, Xbox" and then
extract from that what I need, maybe translate it internally into a
{{Platform|Windows}} template. The goal is to make it easy to use to users.
The same trouble I face with developers and publishers. Sometimes a game has
more than one developer (be it for a porting project or simply cooperation).
I could just make "developer1 = company A" and "developer2 = company B" but
that is again a pretty ugly solution which would be a lot cleaner if the way
mentioned above could be used somehow.
That said, the problems compound here in this box. For one, there are
different release dates for different platforms. Say Assassins Creed was
released last year for the consoles and this year for Windows. Worse even,
the games then get released a few days, or even months apart for different
regions. Anyone has an idea how I could handle that gracefully?
I don't shy away from extensions or even making my own, but I am currently
at a loss how I should attack this problem.
Thanks a lot in advance to anyone giving some insight into this problem.
Greetings,
Chris
>
> Have the accounts in question fulfilled the emailconfirmed requirement?
> That is, have they gone through the procedure that verifies that their
> ownership of their email addresses? If you want a group for every user
> who's logged in, MediaWiki comes with one called 'user'.
I need more complex user rights system , autopromote isn't working with all conditions ( APCOND_EMAILCONFIRMED,APCOND_EDITCOUNT, APCOND_AGE, APCOND_INGROUPS) email validation is disabled so APCOND_EMAILCONFIRMED should be always true.
Made a little progress .... but not enough (not that I understand completely why it works).
Changed #column-content to:
remove floating
Position: absolute
top: 10px
left: -120px
(that moved Explorer)
Changed #content
margin left: 120px
(that moved Firefox back)
Result was that the search bar didn't show in Firefox:
Changed in Monobook.php:
<div id="p-search" class="portlet"> in <div id="p-search" class="p-search">
and it was back again.
But 2 things remained:
Most important: at some moment the tabs disappeared.....
And I can't get the footer positioned:
relative of the length of the content; position: absolute or static, or relative does not heave any effect (and z-index doesn't work in Firefox).
sigh.....
even more desperate...
Rein
In explorer 6 the Chick skin shows the sidebar of monobook.
I used the unchanged monobook.php and mean.css (except the backgroundcolor).
Is it possible it is not tested in Explorer 6?
In my humble opinion you can not use this skin even if you accept the malfunction, because the searchfunction penetrates the main page (the search button even overwrites the text of the mainpage)
Rein
I though I had it working good, till I likes ad Explorer.
Explorer 7 can't loose the -empty- left bar. I don't manage to move the content to the left.
I changed #column-content and #content, changing to absolute, and static, and even the flow, but not the good effect.
I can't change portlet because it effects the personal bar as well.
In Explorer 6 it is even worse:
here the search bar itself is gone, and the buttons appear left.
With the skin Chick not working (see other discussion) I'm quite desperate.
Rein
Mediawiki opens allway in the topframe even if you have an url to the rightframe.
I changed that with help of the archive.
That's working everywhere, besides on my own computer: in Firefox.
(Explerer 7 is allright - but I tried that after the change, not before.
I cleared the cache of Firefox, the tempfiles of Windows (you never know).
I added on advise of Chris in an other discussien the local settings to:
$wgEnableSidebarCache = false;
$wgCachePages = false;
(is that what you meant, Chris?)
Still firefox opens without the sidebar of the site it is placed in - that is: only on my own computer.
Of course I can live with that, but it's quite a bother.
Rein
I have followed the instructions in the AuthDrupal-0.4 to integrate mediawiki and drupal,but it didn't work.
I logined into the drupal,when turn to the mediawiki main page ,the mediawiki still ask me to login.
The authDrupal extension url is:http://www.mediawiki.org/w/index.php?title=Extension:AuthDrupal
thanks.
--
Flyang
Flyang2002(a)163.com
海内存知已,天涯若比邻
The original code (not the code they want to replace but the code to be replaces) in the Sidebarpage: "Wikitext in side bar" has a bug.
I discoverd it because I replaced the code, after problems in Explorer 6.
It gave the message that there was a problem in line 159.
Luckely I had an other back-up file.
Rein
I'm working on a revamping of my TableEdit extension, and I'm stuck on
a weird problem with $_SESSION and Firefox (mac). It looks like the
session superglobal isn't being updated properly...using print_r to
examine $_SERVER shows the right values at the end of one the script,
but it's as if it's not really being saved to the session, and older
information is being used when the next pageload happens. ... but the
code works in Safari. The problem is reproducible on a two different
computers - my server and my laptop (both macs).
I'm stuck... any suggestions on what I should be looking at? I had
sessions working with Firefox in other code and don't know what I'm
doing differently... and I really don't understand why this should be
browser dependent.
MW 1.12
php 5.24 and 5.25
=====================================
Jim Hu
Associate Professor
Dept. of Biochemistry and Biophysics
2128 TAMU
Texas A&M Univ.
College Station, TX 77843-2128
979-862-4054
I'm having a bit of a fight with the <onlyinclude> <includeonly> and
<noinclude> tags and transclusion.
I would like to have a template that passes a category on once only:
Page A -> Page B -> Template
Page A transcludes Page B
Page B transcludes Template
I would like a category to be applied to Page B (from the template)
but not to Template or Page A.
I can apply the category to Page B and not Template with the following
on the template:
<includeonly>[[Category:Web Citation]]</includeonly>
But that then gets passed on to Page A if I transclude Page B.
I'm sure there's a way, I'm just stumped!
GadgetDoctor