I am having trouble reinitializing the Special:Statistics page.
What am I doing wrong ? How can I troubleshoot ?
I am using MediaWiki v1.9.3.
I added an AdminSettings.php file to the wiki root.
Then I ran "initStats.php" from the maintenance directory, from the
Here is my output, but the numbers are not reset back to 0.
What did I miss here ?
Refresh Site Statistics
Counting total edits...2175
Counting number of articles...56
Counting total pages...67
Counting number of users...6
Counting number of admins...1
Counting number of images...6
Counting total page views...3040
Updating site statistics...done.
I am in the process of trying to wrangle our local Intranet wiki
projects into a single installation that hopefully can be completely
Interlinked. I have not been able to find any instructions or mention of
how best to accomplish this through Google or the list archives. Any
advice, pointers, or otherwise would be much appreciated.
Brandon Dudley, MLIS 1801 E. Cotati Ave
Director, Library Technology Schulz 1106
University Library Rohnert Park, CA 94928-3609
Sonoma State University 707-664-2986 (direct)
brandon.dudley(a)sonoma.edu 707-664-2026 (fax)
I enabled subpages on the main namespace:
$wgNamespacesWithSubpages = array(
NS_MAIN => true,
However, now every page title displays the entire page hierarchy.
For example, if I have a page called "mammals" and a subpage of "mammals" called "elephants," the "elephants" article will have the title: "mammals/elephants".
How do I disable it so that subpage titles do not include the entire hierarchy in its name?
Yahoo! oneSearch: Finally, mobile search that gives answers, not web links.
Looking for a deal? Find great prices on flights and hotels with Yahoo! FareChase.
I just installed MediaWiki 1.10.0 last week on a new Ubuntu 6.06 LTS
server running Apache 2.0.55, PHP 5.1.6, mySQL
Everything was working fine last week and this weekend until Sunday,
when it became impossible for any users to login, including WikiSysop.
The following error message comes up:
Login error: You have not specified a valid user name.
This happened to me before on an old box, so I got a new box and did a
new server install on it.
Any help would be greatly appreciated.
Rob thanks for the reply. My program scrubs the output to make sure
it is in the correct format before it is displayed, and so far it
works really well. If anything is saved, it uses snoopy(a php class
that mimics a web browser) to put it back in through a normal edit,
so im not directly editing the database. Is there online
documentation of the revision class?
> On 24/07/07, Adam Meyer <meyer7(a)mindspring.com> wrote:
>> I have an external program for my wiki that grabs mwt.old_text and
>> puts it in a text box. Any time there are special characters (E.G.
>> (c) ? (registered, copyright, degrees)) a capital A with an accent
>> shows up before it. Im sure that this is just the way that it is
>> store in the database, or an unicode issue, but how does mediawiki
>> pull it with out this?
> Some quick background; MediaWiki will, under the defaults, stick two
> fingers up at the collation of the database and insert UTF-8 data into
> a latin1 table, performing cleanup and normalisations and whatever
> other Unicode goodies are required at a later stage. This is for
> historical reasons, due to MySQL 4.0.x's lack of UTF-8 support, and
> the poor UTF-8 support in later versions. Brion can probably give you
> some more waffle about this.
> I'd advise not accessing the table directly, since the old_text column
> may not contain text; depending upon your configuration, it could
> contain a pointer to an external store, or a pointer to another row,
> or some compressed object, or compressed text. If at all possible, try
> to use the MediaWiki Revision class to get at this text.
> Rob Church
Is there any provision to lock editing of an article for others while
one person is editing that article?
i.e. if one person is editing an article, any other person trying to
edit that article should get a message that it's being edited by another
Edit conflict feature may be confusing for not-that-techno-savvy users
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 used DeletBatch yesterday and through more luck than judgment. If there is
a page out there documenting the use of this script I am sadly unable to
Does anyone have any insight as to:
1 once it is run it appears to sit waiting for a valid page name which
when entered it will delete. Can I use wildcards or ranges (or even better,
a range of Page_id¹s)
2 how do you escape the command? For the life of me I couldn¹t escape the
command once run.
3 Can I paste into the sessions screen a list of page names?
Apologies if this one is a tad basic but my Google skills are failing me
An extension I am making enables the use of a dynamic link (ie a link that
will change depending on which user looks at a page), however i have
encountered problems with MediaWiki caching parsed pages, however, when I
try to disable this caching by setting $wgEnableParserCache = false; in
LocalSettings.php, the extension seems to stop working, the tags are no
longer parsed. Does anyone have any ideas how to fix this?
this is my first post, forgive me if this is not the right
place & please direct me to the right one.
I am in the process of moving documentation to mediawiki and
would, basically, create three groups :
1- Admins ( can do anything )
2- Editors ( can edit anything )
3- Contributors ( can read *most* of the pages + edit all
they can see + submit new documents but Editors must approve
4- Readers ( can read the same pages as Contributors )
I have already a bunch of documents ( 900 more & less ) that
I have already *converted* to the wikimedia format . Now,
what I would like to do is to flag the documents so that
they can be classified using the 4 steps above.
I am currently using version 1.6 ( well, it is the DEV one
so I can upgrade if necessary) .
Surfing the documentation I have read about
and that version 1.10 has a new table ( page restrictions
http://www.mediawiki.org/wiki/Page_restrictions_table ) .
Is there any other way to achieve what I need ? If yes, can
you please point me somewhere ? If no, considering that I
will be tagging the pages programatically ( I wouldn't want
to manually edit 900 pages ), what would be the best
solution for my problem ?