> Message: 6
> Date: Tue, 17 Nov 2009 19:58:32 -0600
> From: Walter Mazza <wjmazza(a)gmail.com>
> Subject: [Mediawiki-l] Move TOC
> To: MediaWiki announcements and site admin list
> <mediawiki-l(a)lists.wikimedia.org>
> Message-ID:
> <35ca058b0911171758p3da48004he1e9d1bce42e0cff(a)mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> Is it change the location of the TOC 1) specific to a skin, 2) despite where
> the user places __TOC__, 3) without using JavaScript, 4) without changing
> the core code of MediaWiki, and 5) output it somewhere other then the
> bodytext section.
>
> Basically, I would like to have the rendered HTML output to be something
> like this:
>
> <div id="bodyContent">
> <!-- Page Content goes here -->
> </div>
> <div id="sidebar">
> <!-- TOC goes here -->
> </div>
>
> I see that in "includes/parser/parser.php" that Parser -> formatHeadings
> takes care of creating the TOC but I do not want to change the actual core
> code of MediaWiki (as this will affect other skins).
>
> Any thoughts? Ideas?
>
> Thanks all :)
I'm not sure I understood... are you talking about moving the TOC as,
for instance,
in this page?
http://www.usnb.it/wiki/index.php?title=Pagina_principale
(the TOC is placed on top right side)
This can be achieved by a template with a div and __TOC__ magic word
G.
--
Giuseppe Briotti
g.briotti(a)gmail.com
"Alme Sol, curru nitido diem qui
promis et celas aliusque et idem
nasceris, possis nihil urbe Roma
visere maius."
(Orazio)
Hello,
On our setup only users with confirmed email can edit. We've just
upgraded from 1.12.1 to 1.15.1
From: Special:UserRights i see that no users are in the 'emailconfirmed'
group, even the ones that should have been put there (created before and
after upgrade).
Though everything works fine:
* New users that do not confirm their emails can't edit
* Once email confirm they can edit
* Old users with confirm email can edit
Should i do something about that? Or let as it is since it works as
expected?
Is it a known bug? I can provide more info if necessary.
Thanks
hka
Dear all,
I am a new user of mediawiki. It is really good. But I can met a
upload problem, which I tried my best effort on it, but still cannot be
solved. Could anyone give me a hand? Thank you very much!
*Description*:
environment:
windows xp, apahce2.2.14, php 5.3.0, mysql 5.1
*phenomenon*:
When I click the "Upload file" to upload a local file,for example
"Winter.jpg", I get such error "Could not rename file
"C:\WINDOWS\Temp\php*.tmp" to "public/Winter.jpg". on the
http://localhost/mediawiki/index.php/Special:Upload special page. Every time
I try, the * in the error info are different characters. And a new empty dir
called "archive" in the uploads dir in the mediawiki dir, which I set in the
var $wgUploadDirectory, is added. And no file called php*.tmp is found in
C:\WINDOWS\Temp\
*doubts:*
I googled, almost all thread say it is because the rights to the
upload directory is not enough. I have following doults:
1
I set the upload dir in the localsettings.php to be the child dir "uploads"
in mediawiki in the web root other than some 'public' in the error info. So
I guess is there somewhere the wiki assume the destionation of upload files?
And how to alter it? Won't just the setting of $wgUploadDirectory in the
localsettings.php effect?
2
I check the upload dir in the sequrity page in the property, there are 4
roles: administrator, creator owner, system, users. And all the right they
have is identical to the conf dir in the mediawiki dir, which the config
info have already written into. But the conf dir has an extra role called
"wy", which have the administror's rights and is the login account I use. So
I added the one to the uploads dir, but I cannnot change its right to
include "wirte"---I checked the box in front of the write and clicked
"apply", but when I check it again, I find nothing is changed.
This have made me mad, spending lots of time on it! Could anyone give me a
light?
Thank you very much!
Best wishes,
------------------------
Yi Wang,
A couple of questions about MediaWiki customizations....
Is there an "easy" way to customize the edit article text in MediaWiki?
I've found MediaWiki:Newarticletext and this allow me to change the text
shown when someone wants to edit a new article... but I've not yet found
any secret trick to changing the text shown when someone edits an
existing article (I want to add some text above the edit box).
C.
--
Clayton Cornell ccornell(a)openoffice.org
OpenOffice.org Documentation Project co-lead
StarOffice - Sun Microsystems, Inc. - Hamburg, Germany
Welcome to mediawiki-l. This mailing list exists for discussion and questions
about the MediaWiki software[0]. Important MediaWiki-related announcements
(such as new versions) are also posted to this list.
Other resources.
If you only wish to receive announcements, you should subscribe to
mediawiki-announce[1] instead.
MediaWiki development discussion, and all Wikimedia technical questions, should
be directed to the wikitech-l[2] mailing list.
Several other MediaWiki-related lists exist:
- mediawiki-api[5] for API discussions,
- mediawiki-enterprise[6] for discussion of MediaWiki in the enterprise,
- mediawiki-cvs[7] for notification of commits to the Subversion repository,
- mediawiki-i18n[8] for discussion of MediaWiki internationalisation support,
- wikibugs-l[9] for notification of changes to the bug tracker.
List administrivia (unsubscribing, list archives).
To unsubscribe from this mailing list, visit [12]. Archives of previous postings
can be found at [3].
This list is also gatewayed to the Gmane NNTP server[4], which you can use to
read and post to the list.
Posting to the list.
Before posting to this list, please read the MediaWiki FAQ[10]. Many common
questions are answered here. You may also search the list archives to see if
your question has been asked before.
Please try to ask your question in a way that enables people to answer you.
Provide all relevant details, explain your problem clearly, etc. You may
wish to read [13], which explains how to ask questions well.
To post to the list, send mail to <mediawiki-l(a)lists.wikimedia.org>. This is a
public list, so you should not include confidential information in mails you
send.
When replying to an existing thread, use the "Reply" or "Followup" feature of
your mail client, so that clients that understand threading can sort your
message properly. When quoting other messages, please use the "inline" quoting
style[11], for clarity.
When creating a new thread, do not reply to an existing message and change the
subject. This will confuse peoples' mail readers, and will result in fewer
people reading your mail. Instead, compose a new message for your post.
Messages posted to the list have the "Reply-To" header set to the mailing list,
which means that by default, replies will go to the entire list. If you are
posting a reply which is only interesting to the original poster, and not the
list in general, you should change the reply to only go to that person. This
avoids cluttering the list with irrelevant traffic.
About this message.
This message is posted to the list once per week by <river(a)wikimedia.org>.
Please contact me if you have any questions or concerns about this mailing.
References.
[0] http://www.mediawiki.org/
[1] http://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
[2] http://lists.wikimedia.org/mailman/listinfo/wikitech-l
[3] http://lists.wikimedia.org/pipermail/mediawiki-l/
[4] http://dir.gmane.org/gmane.org.wikimedia.mediawiki
[5] http://lists.wikimedia.org/mailman/listinfo/mediawiki-api
[6] http://lists.wikimedia.org/mailman/listinfo/mediawiki-enterprise
[7] http://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs
[8] http://lists.wikimedia.org/mailman/listinfo/mediawiki-i18n
[9] http://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[10] http://www.mediawiki.org/wiki/FAQ
[11] http://en.wikipedia.org/wiki/Posting_style#Inline_replying
[12] http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
[13] http://www.catb.org/~esr/faqs/smart-questions.html
I would like to use Parser Functions together with the current logged
in user to have conditional output from within <sql2wiki> tags, so
that logged-in users get to see things that anonymous users can't see.
Ideally, I'd like to get the mw_user.user_id integer, as I'm using
that as a primary key into an extended user information table.
I did crawl around meta.wikimedia.org (including Help:Variable, Help:Magic
, etc.) looking for this, to no avail.
Can someone point me in the right direction? Thanks!
:::: Political language -- and with variations this is true of all
political parties, from Conservatives to Anarchists -- is designed to
make lies sound truthful and murder respectable, and to give an
appearance of solidity to pure wind. -- George Orwell ::::
:::: Jan Steinman http://www.EcoReality.org ::::
Is it change the location of the TOC 1) specific to a skin, 2) despite where
the user places __TOC__, 3) without using JavaScript, 4) without changing
the core code of MediaWiki, and 5) output it somewhere other then the
bodytext section.
Basically, I would like to have the rendered HTML output to be something
like this:
<div id="bodyContent">
<!-- Page Content goes here -->
</div>
<div id="sidebar">
<!-- TOC goes here -->
</div>
I see that in "includes/parser/parser.php" that Parser -> formatHeadings
takes care of creating the TOC but I do not want to change the actual core
code of MediaWiki (as this will affect other skins).
Any thoughts? Ideas?
Thanks all :)
On Tuesday 17 November 2009 15:09:26 Siebrand Mazeland wrote:
> Have a look at the Translate extension. We are doing tests at the moment
> with the Freenode #kde-www community for similar things.
>
You are welcome to join us on #kde-www any time you like. Sharing experience
and knowledge is mutual benefit.
Anne
--
New to KDE4? - get help from http://userbase.kde.org
Just found a cool new feature? Add it to UserBase
I live in Israel. We use mediawiki (version 1.15.1) for our
department's documenation, and have been happy with it. Although
we're in Israel, our wiki's primary language is English because:
[1] many of us are native English speakers
[2] it's a natural language for writing about computers, especially
when you often include commands, code, etc.
However, now we have more native Hebrew speakers, and so we'd like
more Hebrew documentation.
The problem is that while each user can change the language of the
interface, and we have a template for right-to-left text, the
_overall_direction_ of the wiki is still left-to-right. One symptom
is that lists (# & *) don't align properly.
Is there a way for a user to easily switch the overall direction of
the wiki? Or at least to set the wiki's overall direction on a
page-by-page basis?
If not, we might install a 2nd wiki whose primary language would be Hebrew :-(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Haim (Howard) Roman
Computer Center, Jerusalem College of Technology
Phone: 052-8-592-599 (6022 from within Machon Lev)
Hi there,
My MediaWiki site http://myhostname/documentation is working for the documentation of my software product "Mysoft" version 1.
In the future, when Mysoft version 2 is available, the http://myhostname/documentation would be for Mysoft version 2, and http://myhostname/Mysoft-v1 would be pointing to old version.
In this way, the single MW site would have multiple copies/URLs for different Mysoft versions like below:
http://myhostname/documentation -> newest version,
http://myhostname/Mysoft-v2 -> for Mysoft version 2,
http://myhostname/Mysoft-v1 -> for Mysoft version 1.
Is it possible, and how if yes?
Any idea would be appreciated,
Ross
__________________________________________________________________
Be smarter than spam. See how smart SpamGuard is at giving junk email the boot with the All-new Yahoo! Mail. Click on Options in Mail and switch to New Mail today or register for free at http://mail.yahoo.ca