Hello All
I have MediawWiki 1.16.5 installed on a CENTOS 5.0 box and using
postgres 9.0.3 as the database.
Unfortunately behind a secured system that I cannot give you access to.
I have a very simple question - that I cannot find the correct answer
and have produced a very simple example
Given a Wiki Markup Page as follows...........
Showing Zip Data for a test
<TABLE border="1" cellpadding="3" cellspacing="0">
<th>ZipCode</th>
<th>PostOffice</th>
<th>Latitude</th>
<th>Longitude</th>
{{#apGetLine:
zipcode
|zipcode
|84332
|zipcode
|postoffice
|lat
|lon
}}
</table>
........................................end of page
How would one take the 84332 and put it in a variable that the user is
prompted for,
or enters in a form just before the database query is done?
This is the database search key
Thank you very much
Dan A. Dansereau
I'd like to modify the wiki2latex extension to make the
<ref> insertions from the Cite extension get converted into LaTeX
format citations.
Or is it easier to do the reverse and build an extension to display
LaTeX citations?
I'd like to modify the wiki2latex extension so that it skips the
<toggledisplay>...</toggledisplay> sections. Even better would be to
have tags that allow an alternate selection of what to show on screen
and what to use in generated LaTeX output. Any suggestions on where
to start in the .php codes?
Hi,
I'm triyin upload some files with the "FLV" extension, but always I have the
same advertissement "the file-extension does not match the mime type" I have
included the flv in mime.types and mime.info.
I have two wikis, in the first all works fine, but the seconds give me the
error. Thanks
I tried the 1.17 beta as well as the latest in phase3 for 1.17 and had the
same issue. Basically, when I run it on my own server, it works fine, no
issues, but when I run it on a hosted server, where I don't have full access
to MYSQL, but instead have full access to the specific database I'm using,
the installer throws an error, failing on "Create database user". Here's the
error (substituting in database and dbuser):
---
Granting permission to user "dbuser" failed: A database query syntax error
has occurred. The last attempted database query was: "GRANT ALL PRIVILEGES
ON `database`.* TO 'dbuser''" from within function
"MysqlInstaller::setupUser". Database returned error "1044: Access denied
for user 'dbuser'@'%' to database 'database' (database)" Backtrace:
1. 0
/home/content/18/7872418/html/mediawiki-1.17/includes/db/Database.php(751):
DatabaseBase->reportQueryError('Access denied f...', 1044, 'GRANT ALL
PRIVI...', 'MysqlInstaller:...', false)
2. 1
/home/content/18/7872418/html/mediawiki-1.17/includes/installer/MysqlInstaller.php(503):
DatabaseBase->query('GRANT ALL PRIVI...', 'MysqlInstaller:...')
3. 2 [internal function]:
MysqlInstaller->setupUser(Object(MysqlInstaller))
4. 3
/home/content/18/7872418/html/mediawiki-1.17/includes/installer/Installer.php(1293):
call_user_func(Array, Object(MysqlInstaller))
5. 4
/home/content/18/7872418/html/mediawiki-1.17/includes/installer/WebInstallerPage.php(1084):
Installer->performInstallation(Array, Array)
6. 5
/home/content/18/7872418/html/mediawiki-1.17/includes/installer/WebInstaller.php(246):
WebInstaller_Install->execute()
7. 6
/home/content/18/7872418/html/mediawiki-1.17/mw-config/index.php(46):
WebInstaller->execute(Array)
8. 7
/home/content/18/7872418/html/mediawiki-1.17/mw-config/index.php(14):
wfInstallerMain()
9. 8 {main}
---
What I don't understand is if I left the checkbox selected under "Database
account for web access" for "Use the same account as for installation", why
would it be trying to create the database user? Seems like a bug.
Since this is after the tables are created, I can back up to where I
selected the database, go forward again and it thinks it's an upgrade. The
wiki seems to create fine at that point except I don't have an
administrative account or any accounts for the wiki. I could create an
account, but it's just a normal user and I don't have an admin account
available to promote it.
Anyone have any insight? Workarounds?
> Is anyone using PostgreSQL 9 and mediawiki in a production environment?
> Anything to watch out for? Thanks!
I'm not using it anywhere yet in production, but it's heavily tested on
8.4 and should be fine, as nothing radical has changed between the
versions. And for better or for worse, it's not like MediaWiki really
takes advantage of some of PGs strengths, so the interface is kept
pretty simple, which means it's a rare day indeed when a new version
of Postgres will not work against MediaWiki. If you do see anything,
raise a bug of course!
--
Greg Sabino Mullane greg(a)endpoint.com
End Point Corporation
PGP Key: 0x14964AC8
hi all, i am the admin of a mediawiki site, i opened special page and clicked the export link, i should enter the page name in order to export that page, this brings me lots of inconvienence, so i wonder if there is a method than i can export all the pages to xml file without entering all the page names? thank you!
2011-05-14
jameslordhz
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
for one of the Wikis I'm working on, we needed a way for persons to
notify other persons about changes to pages, or new pages.
The built-in MediaWiki notification system did not work, for a couple of
reasons:
- - It cannot notify someone who doesn't already know about a page (and
put it on his/her watchlist already)
- - It notifies everyone watching the page on every edit (or not, if the
notified person did not visit the page since the last notification) - so
in short, the notification time and persons to be notified cannot be
chosen arbitrarily by the page changer
So I developed the Notificator extension [1], which solves the above
problems, and provides us with the needed flexibility: "Notify <e-mail
address>" buttons can be placed on arbitrary pages, or via templates on a
whole class of pages, and anyone with access to the Wiki can click them and
trigger a notification to a pre-set e-mail address, or to an e-mail address
entered right on the page.
The main idea behind the extension is, that a user decides when to send a
notification, and not the system. It brings a "Tell <someone> about this
page/change!" button to MediaWiki.
Feel free to test it, there is a demo installation at [2].
Btw., I'm waiting for MediaWiki SVN commit access - once I get that,
I'll commit the extension to the MediaWiki extension source tree, so that it
can be translated to other languages and others can help improve it. Note
that this is my first "real" extension, so it would be great if someone with
experience could have a look at the code and send patches or suggestions
where I did things that could have been done better.
[1] http://www.mediawiki.org/wiki/Extension:Notificator
[2] http://patrick-nagel.net/wiki/Notificator_demo
Cheers,
Patrick.
- --
Key ID: 0x86E346D4 http://patrick-nagel.net/key.asc
Fingerprint: 7745 E1BE FA8B FBAD 76AB 2BFC C981 E686 86E3 46D4
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk3MlsIACgkQyYHmhobjRtS7rgCgu9XwYb7j3G19sfm/6WnsRjCz
wsQAn2qkjRIZVy+MfuJm3WPFjWJlgpTK
=PM+m
-----END PGP SIGNATURE-----