I distinctly remember there was a way to add a title to a special page
simply by entering in a URL, then adding the title to the wiki edit
field, and then saving. The new "writing a new special page" how-to is
very confusing - and it wants me to write PHP to get the title to show
up. There was an easier way...
I can't find this how-to anywhere- though I'm sure it used to exist. FX
can you walk me through how you've added a wiki page title to a special
page?
Thanks!
-----Original Message-----
From: mediawiki-l-bounces(a)Wikimedia.org
[mailto:mediawiki-l-bounces@Wikimedia.org] On Behalf Of Rick DeNatale
Sent: Thursday, May 19, 2005 2:33 PM
To: MediaWiki announcements and site admin list
Subject: Re: [Mediawiki-l] Re: How to create a new Special page
On 5/13/05, FxParlant <f-x.p(a)laposte.net> wrote:
> Hello;
> There is a paragraph on how to create a special page in the FAQ
>
>
>
http://meta.wikimedia.org/wiki/Meta:FAQ#How_do_I_add_my_own_dynamic_cont
ent_to_MediaWiki.3F
>
> It's not so difficult. At the end,it says you have to create a simple
> page and write the name of your special page in it. If you forget this
> the title of your special page will have < and > around. I
haven't
> got a clue why creating a page with the name in it solves this, but it
works
That page seems to have changed, it now just has a pointer to an
article about writing an extension which really doesn't seem to build
a special page.
I just figured out how to build a new special page which is like the
Uncategorized pages page, but looks at the Image namespace. I wrote it
up at http://meta.wikimedia.org/wiki/Writing_a_new_special_page
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)Wikimedia.org
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
Has the parser just been changed with regards to tildes (~~~~) inside
HTML comments? It appears they used to be ignored, and are now
suddenly being replaced en masse the next time someone edits the page
(and can't be easily reverted - it just changes the sig to the
reverter's instead). See
http://en.wikipedia.org/wiki/Wikipedia:Articles_for_creation/2006-06-02-ear…
for an example.
$wgDBtransactions gets set to true if using InnoDB tables. Is there
an advantage to using InnoDB tables?
The disadvantage is that with MySQL there is a file, ibdata1, that
seems to grow endlessly if InnoDB tables are used. See
http://bugs.mysql.com/bug.php?id=1341
We're wondering if we should just convert everything to MyISAM. Any
thoughts?
=====================================
Jim Hu
Associate Professor
Dept. of Biochemistry and Biophysics
2128 TAMU
Texas A&M Univ.
College Station, TX 77843-2128
979-862-4054
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi all,
I've created some custom namespaced on one of my wikis, Botwiki
(previously known as pywikipedia).
I've put these lines in my LocalSettings.php file:
- ---
#Custom namespaces
$wgExtraNamespaces =
array(100 => "Manual",
101 => "Manual talk",
102 => "Python",
103 => "Python talk",
104 => "Php",
105 => "Php talk",
106 => "Perl",
107 => "Perl talk",
108 => "AWB",
109 => "AWB talk",
110 => "IRC",
111 => "IRC talk",
112 => "Other",
113 => "Other talk"
);
$wgContentNamespaces[] = 100;
$wgContentNamespaces[] = 102;
$wgContentNamespaces[] = 104;
$wgContentNamespaces[] = 106;
$wgContentNamespaces[] = 108;
$wgContentNamespaces[] = 110;
$wgContentNamespaces[] = 112;
- ---
However, I have a big problem: when I go to a page in one of these new
namespaces (not the discussion, the main ones), for example
http://botwiki.sno.cc/wiki/Perl:Copyright_Violation_Bot , I found the
red link to the discussion page. It's right, as there is no discussion
page for that article. But if you click on it, it brings you to
http://botwiki.sno.cc/w/index.php?title=Perl_talk:Copyright_Violation_Bot&a…
correct, of course. But have a look of the article and discussion tabs:
they are both red! The first, "article", leads to
http://botwiki.sno.cc/w/index.php?title=Perl_talk:Copyright_Violation_Bot&a…
when it should lead to
http://botwiki.sno.cc/wiki/Perl:Copyright_Violation_Bot and the second,
"discussion", leads to
http://botwiki.sno.cc/w/index.php?title=Talk:Perl_talk:Copyright_Violation_…
, when it should lead to
http://botwiki.sno.cc/w/index.php?title=Perl_talk:Copyright_Violation_Bot&a…
.
It's the first time I deal with custom namespaces :-( but I have some
ideas of what it can be. Can the problem be with the
$wgContentNamespaces settings? So it detects everything as ns0? (don't
think so).
Or can it be the fact that I haven't used an underscore in the
$wgExtraNamespaces definition?
Snowolf
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGWhk7sdafW5NQMtERAuX+AKDQ7QLNjXv9cu+ZbSLXidMzgi/vNgCaA7VT
+VTgR3iI/BI7FVDqcyRZVJ0=
=a4yP
-----END PGP SIGNATURE-----
I want to moving all pages in a certain namespace (about 60 pages) into
the the "main" namespace. I couldn't find how to do this, so I tried
exporting the pages and importing them and I ran into all sorts of
problems. Is there a way to do what I want without using the import and
export features (and without having to move each of them manually)?
Thanks.
Hi,
is there an extension or similiar to automatically display the author of an
article (not the history button)?
Thanks, Helmut
--
No Swen today, my love has gone away
My mailbox stands for lorn, a symbol of the dawn
Hello !
Here is what I would like to do :
1. When a user logs in, I would like to put him in a Namespace called FOO by
default instead of "MAIN". Is that possible ?
2. When a logged in user wants to create a new article, I would like to
place that article in a Namespace of my choice. Is that possible ?
Any help/pointers would be appreciated to this newbie.
Regards,
elcpub
Magnus Manske schrieb:
> The better way (IMHO) is to store all used
> "page:template:parameter:value" tuples in a wiki in a separate
> database table, which could be queried by the MediaWiki API. This has
> been suggested time and again by me and others. It would then be much
> easier for a third-party API to get the relevant data for a page. The
> functionality is part of Semantic Wikimedia, but would actually scale
> as a project on its own ;-)
Indeed. Here'S my take on it: <http://brightbyte.de/page/WikiData_light>.
I have proposed this as a project to the German chapter, maybe it'll actually be
taken on...
> No need for screen scraping.
>
> Yes there is. Not for the license name (which I get using categories
> in my experimental API), but for things like name of author etc. These
> are only available as either HTML tag IDs (which I use) or raw
> wikitext.
Yes you are right, i was only thinking of the meta-info about licenses
themselves. For authorship info, you'd need screen scarping -- or stored
page:template:parameter:value tuples.
I REALLY want that. It would be extremly useful for a LOT of things. And it's
not hard to do. CC-ing mediawiki-l.
-- daniel
Hello,
I'm attempting to install mediawiki on hp-ux. I'm receiving the
following errors when using the quick install page. I do not see an
issue with the file permissions.
Any help on resolving the issue is appreciated.
-Adam
MediaWiki 1.13.3 Installation
Don't forget security updates! Keep an eye on the low-traffic
release announcements mailing list
<http://lists.wikimedia.org/mailman/listinfo/mediawiki-announce> .
Checking environment...
Please include all of the lines below when reporting installation
problems.
PHP 5.2.2 installed
Found database drivers for: SQLite
PHP server API is apache2handler; ok, using pretty URLs
(index.php/Page_Title)
Have XML / Latin1-UTF-8 conversion support.
Warning: A value for session.save_path has not been set in
PHP.ini. If the default value causes problems with saving session data,
set it to a valid path which is read/write/execute for the user your web
server is running under.
PHP's memory_limit is 128M.
Couldn't find Turck MMCache
<http://turck-mmcache.sourceforge.net> , eAccelerator
<http://eaccelerator.sourceforge.net> , APC <http://www.php.net/apc> or
XCache <http://trac.lighttpd.net/xcache/> ; cannot use these for object
caching.
GNU diff3 not found.
Couldn't find GD library or ImageMagick; image thumbnailing
disabled.
Installation directory: /opt/hpws/apache/htdocs/testwiki
Script URI path: /testwiki
Installing MediaWiki with php file extensions
Environment checked. You can install MediaWiki.
Generating configuration file...
Database type: SQLite
Loading class: DatabaseSqlite
Warning: mkdir() [function.mkdir
<http://sandbox.idx.com/testwiki/config/function.mkdir> ]: Permission
denied in
/opt/hpws/apache/htdocs/testwiki/includes/db/DatabaseSqlite.php on line
25
Attempting to connect to database "wikidb" as "wikiuser"...
Warning: mkdir() [function.mkdir
<http://sandbox.idx.com/testwiki/config/function.mkdir> ]: Permission
denied in
/opt/hpws/apache/htdocs/testwiki/includes/db/DatabaseSqlite.php on line
25
Fatal error: Call to undefined function wfPrintError() in
/opt/hpws/apache/htdocs/testwiki/includes/Exception.php on line 283