Hello again folks,
I'm still fighting a battle with lost session data.
It seems like I'm getting closer--I have my session.save_path in a custom
php.ini file pointing correctly to a directory I have full access too, and I
even see files being written there, but they are empty (0 bytes). The end
result is I'm still not able to edit pages while logged in. Mediawiki
continues to report a loss of the session data. Another php site we have on
the same server space does show session data in it's session file, so I
think it's something with the mediawiki configuration.
The files being written are in the format
"sess_lotsofrandomnumbersandletters" , and permissions are set to -re------
(600). Is that how they should look?
Complete symptoms: I can only edit files if I'm NOT logged in. I can only
upload files if I am logged in. I can only stay logged in while changing
pages if I check the "Remember me on this computer" box while logging in. In
other words, in appears that no session data is being saved on the server,
and/or being retrieved, in spite of the session files being written in the
directory specified.
What else can I be missing that would be causing a continuous loss of
session data?
This is a fresh install of version 1.10.0 running under PHP Version
5.1.0RC1, The Server API is listed as CGI, if I am stating that correctly,
and this is all running on Linux. I'm using a custom php.ini file I can teak
to override the defaults. If it helps to figure out the issue, here is a
link to pi.php file to see the environment:
http://americanpipemakers.info/mediawiki/pi.php
I'm a noob with all this. I love mediawiki, and think it's perfect for my
application, but I obviously need to get this nailed down before I can
launch the project.
Thanks for trying to help,
Scott
> Earlier: if I have a page A, and I create a
> subpage, A/B/C, but A/B does not exist,
> then A/B/C will automatically link back to
> A, but not A/B, since it doesn't exist.
>
> > Yes.
>
> The question is, what happens if I now
> create A/B after A/B/C is already
> created. Will the wiki recognize that
> A/B/C is a subpage of A/B?
>
> > Yes.
Peter Blaise asks:
Q1: you say that a subpage automatically *links* back to the page it's a
sub of? What do you mean by *links*? I see no auto anything on my
subpages or on the pages they are a subpage of (v1.10.0). Can you show
an example of what "automatically *link* back" looks like?
Q2: And why would we do this? What tools in MediaWiki help us search,
sort and select/display/print the data that is organized as subpages
such as "a", "a/b", and "a/b/c"?
I just built these pages and a few more to experiment:
a
a/b
a/b/c
a/a
a/b/a
a/b/b
a/a/a/a
a/a/a/b
b
b/a
b/a/a
b/a/b
b/b
b/b/a
b/b/b
b/b/c
... and so on, for way more pages than I probably need (I have a lot of
cleaning up to do after this test!).
On each "a" page I put the word "ardvark".
On each "b" page I put the word "bayonette".
On each "c" page I put the word "carlisle".
... and so on. These are words I knew were NOT in my wiki otherwise
(hey, misspellings can be useful during testing).
Results:
- ALL these pages, including sub pages, show up in [[special:allpages]].
- A [search] for ardvark, bayonette or carlisle finds ALL pages,
including sub pages, that contain the words searched for.
I cannot divine a MediaWiki-native way to show ONLY pages below "a" or
ONLY pages below "a/b" or any other limit or control of focus over where
the search/sort/select looks. (v1.10.0)
Q3: Does anyone know of tools within MediaWiki (or extensions) that
provide such a result? I thought someone mentioned that subpages
automatically get a listing in or to the article/page they are an
subpage of, but that's not happening (v1.10.0)
As far as I can tell, a value for me of a subpage is to allow me to have
otherwise identically named subpages under different articles with
otherwise different contents, like this list of article/pages keeping
track of, say, computer resources:
Computer1
Computer1/hardware-inventory
Computer1/service-history
Computer1/software-inventory
Computer1/user-list
Computer2
Computer2/hardware-inventory
Computer2/service-history
Computer2/software-inventory
Computer2/user-list
Computer3
Computer3/hardware-inventory
Computer3/service-history
Computer3/software-inventory
Computer3/user-list
Q4: how would I list all pages ONLY under Computer1, for instance?
(Read on, I found an answer.)
A4: I found this extension:
http://www.mediawiki.org/wiki/Extension:SubPageList2
... and found it's php file here:
http://stuff.schaelle.de/SubPageList2/SubPageList2.zip
... and put it's php file here:
..\extensions\subPage2.php
... and added the following lines using a text editor to
..\LocalSettings.php
# for SubPageList extension
require_once("extensions/SubPageList2.php");
Then I confirmed by using [[Special:Version]] and saw:
Subpage List 2 Martin Schallnahs, Rob Church
Thanks, Martin and Rob! Then, after printing and reading the
"documentation" and casting out much that failed to work as described,
I found that THIS worked when typed in as the text contents of a page
that has subpages:
<subpages
deepness=1
/>
And then I see THIS as it's contents when rendered (from my expanded
a/b/c example above), for example, let's add those lines to page "a" -
then it shows this:
A
ardvark
- A/a
- A/a/a/a
- A/a/a/a/z
- A/a/a/b
- A/b
- A/b/a
- A/b/b
- A/b/c
- A/z
... where all the "- " lines shown above are actually live blue links to
the subpages. THIS I can use to show a clickable table of contents list
of all subpages under, say, Computer1. GREAT!
Q5: How would I list all "*/hardware-inventory" pages only?
A5: I could create a category and categorize them, then the special page
[[Category:Service-history]] will display a clickable table of contents,
and the fact that they are all subpages is irrelevant:
Articles in category "Service-history"
There are 3 articles in this category.
C
Computer1/service-history
Computer2/service-history
Computer3/service-history
Good. Unless, I also have a <subpages/> command IN the "Computer1"
article page, which I want to do. Then, the <subpages/> command bets
interpreted first, ad MediaWiki thinks the "computer1" page also is in
the [[category:service-history]]:
Articles in category "Service-history"
There are 6 articles in this category.
C
Computer1
Computer1/service-history
Computer2
Computer2/service-history
Computer3
Computer3/service-history
Lesson? Plan my nesting carefully, and maybe learn to modify and
enhance the extension to make it more disciplined.
Now, oddly enough, it seems that the "subpages" extension is smarter in
a dumb way in that I just tried a sample article/page called "z" and
added to it's text contents merely <subpages /> and got a list of ONLY
other pages at the same level (immediately "under" the main namespace)
which happen to also have "z" in their titles - anywhere within the
title! But no subpages! Cool. This feature could make a strange
indexer or sorts.
But when I type THIS into the text of *any* page:
<subpages
parent=a
/>
I get this:
- A/a/a/a
- A/a/a/a/z
- A/a/a/b
- B/a/a
Not "all children of any 'a' page" as I expected, but sort of, "only all
*terminus* pages whose *immediate* parent is an 'a' page". Weird. I
was expecting "all sub pages of any 'a' parent", which SHOULD have
yielded:
- A
- A/a
- A/a/a
- A/a/a/a
- A/a/a/a/z
- A/a/a/b
- B/a/a
THIS odd behavior is why I've been so often frustrated when trying to
follow directions but have gotten different results than the original
programmer got in their environment - change ONE thing and all logic
falls away! =8^o
Q6: How to get the list above, "all subpages of any parent named 'a'",
on demand?
I also tried simplifying using the "showpath=no" argument:
<subpages
parent=a
showpath=no
/>
But that just returns:
- a
- z
- b
- a
Which is which? So, "showpath=no" seems a tough option to find value
for in my examples.
So, as hinted to above in the category exploration, the funny thing
about the <subpages /> command is, if they are called or nested, the
<subpages /> command seems to get interpreted/parsed as if it was on the
calling page, not on the page where it sits. For example, on page "a/b"
containing only the text <subpages />, when I open the page directly, it
shows a list as expected with only itself and it's own subpages, like
this:
A/b
ardvark bayonette
- A/b
- A/b/a
- A/b/b
- A/b/c
Yet, when this "a/b" page gets called, nested, found, referred to, and
or included in another article/page's list, then it gets
interpreted/parsed as if it were resting in/on the CALLING page, no
longer as if it were on it's own original the "a/b" page. Argh!
Example, if on page "a" I put something like:
<subpages
deepness=1
/>
I get a list of subpages under the current "a" page":
A
ardvark
- A/a
- A/a/a/a
- A/a/a/b
- A/b
- A/b/a
- A/b/b
- A/b/c
- A/z
BUT, if in page "a" I add the preview feature:
<subpages
deepness=1
mode=preview
/>
It shows the contest of each subpage, but when it shows the contents of
the subpage "a/b" in the list, "a/b" call for showing <subpages />
suddenly shows all subpages of the entire "main namespace" equal in
level to the calling "a" page, not to the original source of just the
subpages of "a/b"!
So, I must be careful not to nest the subpage extension command else it
will behave differently than expected when it's not nested.
Thanks for exploring.
-- Peter Blaise
Hi Ryan,
What I actually meant is that these extensions are available in the main
distribution itself instead of people are searching for it, downloading
it, copying files, changing files, etc. (I'm using your LDAP extension,
though I'm yet to experiment with the group synchronization :( )
By UI-based, access control mechanism, I meant not a UI to LDAP; but a
UI for access control within wiki.
I know the basic philosophy of wiki is not to restrict, but be as open
as possible. But still, that won't work always. In Wikipedia, even if
there's error in some article, that won't affect anyone critically. But
in a corporate wiki, the information may critical. E.g. our wiki deals
with configuration information of our s/w for banking and telecom
sector. if wrong information is there and if anyone uses that
information to configure the s/w, that may lead to error or unwanted
results.
Regards,
Jack
----------------------------------------------------------------
"If you can find something everyone agrees on, it's wrong"
-----Original Message-----
From: mediawiki-l-bounces(a)lists.wikimedia.org
[mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Lane, Ryan
Sent: Thursday, July 05, 2007 10:52 PM
To: MediaWiki announcements and site admin list
Subject: Re: [Mediawiki-l] Looking for MW Business Users
> I hope (and I can only hope) somebody will come up with
> features that make MW a natural choice in business wikis as
> well. As Dave pointed out, an inbuilt WYSWYG editor is
> everyone's dream. Other than that, I think a wiki
> administrator would like to have built in features in MW as:
>
> Different authentication mechanisms like LDAP, NTLM UI for
> creating users, groups and assigning users to groups UI for
> creating categories and assigning categories to articles
> UI-based access control mechanism based on article
> categories/user groups and usernames Review mechanism if
> needed Rating of articles
If you mean, you'd like to see support those auth methods, support is
already available for them. The LDAP one will sync groups from LDAP, and
it is possible to have the wiki create LDAP accounts (if you *really*
want that). There are also quite a few access control extensions around,
that work on categories, and even per page; the regular saying goes that
the access control plugins can't be trusted regarding read rights...
If you only wanted the UI, then PHPldapAdmin, or some other LDAP admin
gui would solve at least part of your problem.
V/r,
Ryan Lane
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
This electronic mail (including any attachment thereto) may be confidential and privileged and is intended only for the individual or entity named above. Any unauthorized use, printing, copying, disclosure or dissemination of this communication may be subject to legal restriction or sanction. Accordingly, if you are not the intended recipient, please notify the sender by replying to this email immediately and delete this email (and any attachment thereto) from your computer system...Thank You
On Thu, 05 Jul 2007 06:29:17 -0600 Alexis Moinet
<alexis.moinet(a)fpms.ac.be> wrote:
>Daniel Israel a écrit :
>> I seem to remember there being a simple way to move the sidebar
>>to the right side of the page, but I can't remember. If someone
knows
>>how to set that for the default, please let me know. Thanks.
>>
>basically : in main.css (or [[Mediawiki:Monobook.css]] or
>[[Mediawiki:Common.css]]), change the following properties
>
>#column-content {
> width: 100%;
> float: left;/*this has the side-effect to put the sidebar on the
>right side*/
>
> ...
>
>Then you probably will have to change some borders, margins,
>etc...
I could do this. But I thought the bar side switched for right to
left languages. Doesn't this mean the functionality is already
there? Is there a way to set that switch without mucking about in
all the settings?
--
Daniel M. Israel
dmi1(a)cornell.edu
Hi - we have data in an SQL database (MySQL and PostgreSQL) we would like
to display as tables.
Also, is there manual which can be downloaded? (I spend most of my time
disconnected from the Internet.)
Any help would be greatly appreciated.
-- Ken
Hello all,
We're having a little trouble with our (minor) CSS modifications of the
default Monobook skin.
The goal is to reduce the page's size to 90% and center it horizontally
(so there's a small margin or gap on each side).
While this works fine in Firefox, we just can't get it to work in IE6;
the sidebar is stuck at the window's left side, and the tabs at the top
are misaligned as well.
Speaking of tabs: There's a tiny (1px) gap between inactive tabs and the
content area in IE (in the default skin, not related to our
modifications), which becomes very visible when changing the page's
background color. Unfortunately, we have not been able to fix this either.
Does anyone have some experience with such issues?
I'd greatly appreciate some tips!
Thanks,
F.
IIRC, if I have a page A, and I create a subpage, A/B/C, but A/B
does not exist, then A/B/C will automatically link back to A, but
not A/B, since it doesn't exist.
The question is, what happens if I now create A/B _after_ A/B/C is
already created. Will the wiki recognize that A/B/C is a subpage
of A/B?
--
Daniel M. Israel
dmi1(a)cornell.edu
I hope (and I can only hope) somebody will come up with features that
make MW a natural choice in business wikis as well. As Dave pointed out,
an inbuilt WYSWYG editor is everyone's dream. Other than that, I think a
wiki administrator would like to have built in features in MW as:
Different authentication mechanisms like LDAP, NTLM
UI for creating users, groups and assigning users to groups
UI for creating categories and assigning categories to articles
UI-based access control mechanism based on article categories/user
groups and usernames
Review mechanism if needed
Rating of articles
Regards,
Jack
----------------------------------------------------------------
"Techies are like stars--they rise and set, they have the worship of the
world, but no repose"
-----Original Message-----
From: mediawiki-l-bounces(a)lists.wikimedia.org
[mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Dave
Sigafoos
Sent: Friday, June 29, 2007 12:48 AM
To: MediaWiki announcements and site admin list
Subject: Re: [Mediawiki-l] Looking for MW Business Users
My thoughts are these ..
First, none of this is looking for a replacement to MW site. This has
been a great source of information. I just recognize that there might
be a bit much chatter on the MW site about things that they don't really
care about. Anything the comes about from this type of source *must be*
shared with MW as far as I am concerned.
a location where problems that have come up trying to do 'business'
things with MW are addressed. As mentioned in my original post, these
are things that will probably never fit into the MW/WP world. As you
mentioned 'access restriction', different reporting/special pages.
Processes that 'implementors' (probably better than business?) might
need that WikiWorld wont.
The wiki is a great way of sharing information. But sometimes
businesses need a little more than just 'editing' and viewing. One
example would be the BoilerplateSelection extension I did. We have
various formatted documents (currently formatted in 'word') that we want
to use. This extension allows auto-seed depending on article name.
This works well for us (could be modified for various uses).
a location where people can 'team' to work out a specific problem. A
WYSIWYG editor might be an example. Although not everyone wants one of
these, if there are some developers who would help out on something like
this it would be great. Not all of us have all the knowledge of MW to
develop something this complex but I am sure the knowledge is out there
I am sure that there are other examples that can be thought of that
something like this might work for.
The trick would be to keep the MW core developers involved with these
ideas as their knowledge is crucial to get any of these things working.
But letting them be distant enough that they aren't 'expected' to answer
questions.
DSig
David Tod Sigafoos | SANMAR Corporation
-----Original Message-----
From: mediawiki-l-bounces(a)lists.wikimedia.org
[mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Frederik
Dohr
Sent: Thursday, June 28, 2007 7:52
To: MediaWiki announcements and site admin list
Subject: Re: [Mediawiki-l] Looking for MW Business Users
> At one time I thought I had read that there was a group of MW users
who
> were getting together to discuss more 'business' needs in wiki.
Well, I remember having been involved in this:
http://wikis.wikia.com/wiki/Wiki_sales_pitch
But that's not exactly what you're looking for.
There's also Enterprise Wikimania, hosted by Socialtext:
http://www.eu.socialtext.net/ewikimania/index.cgi
Though that's pretty much dead as far as I can tell (and it's obviously
not focused on the MediaWiki engine either)...
> Is there a better place to put up questions discussing possible
> extensions that would probably never be used in WP worlds but would be
> better aimed at usage by business.
> Is there interest in such?
I would certainly be interested in that, but I'm not sure whether or how
I could contribute...
What kind of topics - other than the obvious access restrictions - are
you thinking of?
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
This electronic mail (including any attachment thereto) may be confidential and privileged and is intended only for the individual or entity named above. Any unauthorized use, printing, copying, disclosure or dissemination of this communication may be subject to legal restriction or sanction. Accordingly, if you are not the intended recipient, please notify the sender by replying to this email immediately and delete this email (and any attachment thereto) from your computer system...Thank You
I'm using 1.10.0 and had it working fine, just installed a week or two
ago. However now I'm getting the error message of "You have not
specified a valid user name" when trying to login with any account.
I've checked the mysql database and the usernames are all still in
there. The same error occurs when I'm trying to create new users. My
LocalSettings.php is available here: http://rafb.net/p/3surPQ55.html
Any help would be appreciated.
Thanks.
Josh
Hi
I'm looking for advise to solve the following challenge.
I have many wiki pages with Google maps destination already know via a
template call. I'd like this template producing something similar to
the inputbox extension, where people will fill their zip code, and by
clicking the "go" button, a Google map will be created with their zip
code as the start address.
The Google maps extension use only Lon/Lat data, and this doesn't fit
in my requirement. There is also ricks Google maps extension that
doesn't do the job.
I'm thinking hacking the inputbox to achieve my goal, but because my
php experience is very limited, I wonder if there is an easier way to
accomplish this.
Thank for any input.