I am delighted to announce that my new book, "MediaWiki," has just been
published by O'Reilly:
http://oreilly.com/catalog/9780596519797/
To view the table of contents and index, see:
http://www.blazemonger.com/mwbook/tocindex.pdf (PDF file, 1 MB)
A huge THANK YOU to the mediawiki-l readers who were the technical
reviewers for the book, for their careful reading and thoughtful
suggestions:
- Brion Vibber
- Rob Church
- Jim R. Wilson
- Shannon Bohle
- JP Vossen
--
Dan Barrett, dbarrett(a)oreilly.com
Author, MEDIAWIKI: http://oreilly.com/catalog/9780596519797/
I get this error:
Fatal error: Allowed memory size of 20971520 bytes exhausted (tried to
allocate 1310721 bytes) in (...) /wiki/includes/OutputPage.php on line
729
Trying to access "Special:AllMessages" ("Especial:Tots els missatges del
sistema").
With MediaWiki 1.12
Is this something related to my server PHP configuration?
Is strange because I get this errors in my wikis with Semantic Mediawiki
(1.2.6) but not in wikis without this extension.
Greetings.
dvdgmz.
WikiLove is a new MediaWiki skin, based on Nostalgia with serif fonts
and full-width layout. It is good for use with netbooks or small
screens. It is available under GPL2+ and has no warranty.
It can be found at:
http://nsk.karastathis.org/index.php/WikiLove
When I develop it more, I would love to see it being included in the
core MediaWiki as an alternative to Nostalgia.
--
Thanks,
NSK Nikolaos S. Karastathis, http://nsk.karastathis.org/
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
Hi Peter,
>>You're looking for http://www.mediawiki.org/wiki/Manual:Short_URL, I
>>believe. This allows you to use a similar syntax for the URL as
>>Wikipedia, e.g.
>>http://www.mwusers.com/wiki/Photo_optimize_(Fireworks).
Above, the link is not my site. I was just using an example.
I have done "short URL" a year ago for gets rid of index.php in URL. Here is where I put RewriteRule in htaccess:
# Clean URLs - this must fall after other rewrites
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*) index.php?title=$1 [PT,L,QSA]
The result I get: http://www.example.com/Main_Page
When I was reading farther in Manual:Short_URL and I wondered about RewriteRule. I don't know. Is that how Wikipedia using RewriteRule in htaccess to escaped characters in URL? Please, what are the codes?
Thanks, Mikey3D
Platonides
>>Which produce
>><p><a href="/wiki/Nutley_%28NJ%29" title="Nutley (NJ)"
>>class="mw-redirect">Nutley (NJ)</a></p>
Huh? Redirect has nothing to do with to make percent-encoding to absolute URL. Am I right?
>>Browser difference?
There is no difference in browsers. I have testing Firefox, Opera and IE. So the URL has nothing to do with browsers difference.
>>Can be done, you may screw visitors with some user-agents by doing so.
Huh? What are you talking about? I want absolute URL, not percent-encoding URL. Have you ever seen percent-encoding in the <h1 class="firstHeading">Photo optimizer (Fireworks)</h1>? Nope, but only URL. That is not good. It has to be standard absolute URL Here is an example:
In Wikipedia, put "Photo optimize (Fireworks)" without quotes in the search field and you get:
http://en.wikipedia.org/wiki/Special:Search?search=Photo+optimize+%28Firewo…
Do you see funny characters above the URL? Yes! Then click the link "You searched for Photo optimize (Fireworks)" from Search results and you get:
http://en.wikipedia.org/wiki/Photo_optimize_(Fireworks)
Do you see funny characters above the URL? Nope!
It's impossible that we, who are using MediaWiki software, get absolute URL like Wikipedia do. You don't believe it. Well, here is an example:
In MWusers, put "Photo optimize (Fireworks)" without quotes in the search field and you get:
http://www.mwusers.com/wiki/index.php?search=Photo+optimize+%28Fireworks%29…
Do you see funny characters above the URL? Yes! Then click the link "You searched for Photo optimize (Fireworks)" from Search results and you get:
http://www.mwusers.com/wiki/index.php?title=Photo_optimize_%28Fireworks%29&…
Do you see funny characters above the URL? Yes! Then after created the article, you gets:
http://www.mwusers.com/wiki/index.php?title=Photo_optimize_%28Fireworks%29
Do you see funny characters above the URL? Yes!
No matter what you do, you will never get absolute URL with this characters "*", " ' ", "(", ")", ";", "@", "&", "=", "+", "$", ",", "?", "%" and " " ".
How come I could do this character "/", "-", "." and ":" of URL but not above?
What is the solution?
Thanks, Mikey3D
Hi,
How do I convert characters of URL?
I want absolute URL. I don't want percent-encoding characters of URL. Here is an example:
How come Wikipedia could do this absolute URL:
en.wikipedia.org/wiki/Nutley_(NJ)
Why cannot I get absolute URL after created:
example.com/Nutley_%28NJ%29
What is the solution?
Thanks, Mikey3D
>-----Original Message-----
>From: Daniel Barrett [mailto:dbarrett@oreilly.com]
>Sent: Wednesday, October 22, 2008 01:42 PM
>To: mediawiki-l(a)lists.wikimedia.org
>Cc: 'Daniel Barrett'
>Subject: [Mediawiki-l] ANNOUNCE: MediaWiki book published by O'Reilly
>
>
>I am delighted to announce that my new book, "MediaWiki," has just been
>published by O'Reilly:
>
> http://oreilly.com/catalog/9780596519797/
I am very much in the market for a copy once my financials fall in line :)
Dagan McGregor
Landmark Technologies
Well... it was more simple than expected...
1. the problem was the charset of the exported db obtained by the server
host via phpMyAdmin. The server default charset is utf8, the database
charset is latin1. The resulting file is utf8 (performing a conversion).
2. on localhost the phpMyAdmin reported the same server charset settings
(utf8). But... checking the charset via mysql console by "status"
command I discover that the server charset is latin1.
3. thus, to have the backward conversion from utf8 to latin1, I started
a mysql session setting the default charset:
mysql -h localhost -u root -p --default-character-set=utf8
then I used the "source" command to execute the script and it works.
Hope this will help someone...
Thanks again Platonides...
G.
--
Giuseppe Briotti
g.briotti(a)mclink.it
"Alme Sol, curru nitido diem qui
promis et celas aliusque et idem
nasceris, possis nihil urbe Roma
visere maius."
(Orazio)
Well, Mikey, probably I was not clear due to my poor english... (and
probably is due to my poor english that your post seems offensive
to me...)
I had several problem in a local box (strange url behaviour, php error)...
Thanks to platonides I fixed the php errors, simply due to a not enough
mem resources...
After several tests the url problem seems to be related to the charset
encoding in MySQL tables due to the export-import procedure. After the
db export, I've found something that sounds like an inconsistency:
The word in the page name is Capacità... I've found the same word in
a wiki link. Two word are not "written" in the same way (as example, if
I export with hex encoding I see the difference showed in my previous
post). After the import in the local db, the internal link in the page
is written in the same way BUT the page name is changed... thus the link
"ask" for a new page to be created...
This problem, IMHO, concerns the interaction between MySQL, phpMyAdmin
and the MediaWiki db structure... and, of course, something I'm missing.
G.
--
Giuseppe Briotti
g.briotti(a)mclink.it
"Alme Sol, curru nitido diem qui
promis et celas aliusque et idem
nasceris, possis nihil urbe Roma
visere maius."
(Orazio)