I'm writing an extension for mediawiki, where I require creating tables to store my data and access it back.
I tried searching several places to know how I can create a new table to use it for my extension.
Can somebody guide me in doing so or point me to links where I can know the details of it.
Is it a good practice to create my own table to store my extension related data to it? Is there any standard practice for it?
Thanks
Prince Gerald.
DISCLAIMER: -----------------------------------------------------------------------------------------------------------------------
The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. Before opening any mail and attachments please check them for viruses and defect.
-----------------------------------------------------------------------------------------------------------------------
Hello,
I can give more than one vote if I login from different Wikis.
Gruß Jan Luca
Yes, you can. This is already documented on meta: http://meta.wikimedia.org/wiki/Licensing_update/Bugs Please don't do this as duplicate votes will have to be removed by hand.
P.S.: Please do not open new mailing list threads by replying to another thread as this breaks thread display in almost every e-mail application.
Thanks and regards,
ChrisiPK
Jan Luca schrieb:
Hello,
I can give more than one vote if I login from different Wikis.
Gruß Jan Luca
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Oh sorry, I don't know this page.
P.S.: Thanks for this notice.
-----Ursprüngliche Nachricht----- Von: wikitech-l-bounces@lists.wikimedia.org [mailto:wikitech-l-bounces@lists.wikimedia.org] Im Auftrag von ChrisiPK Gesendet: Dienstag, 14. April 2009 12:49 An: Wikimedia developers Betreff: Re: [Wikitech-l] Licensing update
Yes, you can. This is already documented on meta: http://meta.wikimedia.org/wiki/Licensing_update/Bugs Please don't do this as duplicate votes will have to be removed by hand.
P.S.: Please do not open new mailing list threads by replying to another thread as this breaks thread display in almost every e-mail application.
Thanks and regards,
ChrisiPK
Jan Luca schrieb:
Hello,
I can give more than one vote if I login from different Wikis.
Gruß Jan Luca
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
_______________________________________________ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
ChrisiPK wrote:
Yes, you can. This is already documented on meta: http://meta.wikimedia.org/wiki/Licensing_update/Bugs Please don't do this as duplicate votes will have to be removed by hand.
It's not a bug, it's just the way it's always been, since BoardVote was invented and now in SecurePoll. Nobody has filed a feature request about it in Bugzilla, in all these years. It's up to the election administrators to communicate the policy of "one vote per person" to the voters, and to enforce that policy.
-- Tim Starling
By the way, is there a page on the Mediawiki wiki about this extension (SecurePoll)?
On 14-Apr-09, at 8:14 AM, Tim Starling wrote:
ChrisiPK wrote:
Yes, you can. This is already documented on meta: http://meta.wikimedia.org/wiki/Licensing_update/Bugs Please don't do this as duplicate votes will have to be removed by hand.
It's not a bug, it's just the way it's always been, since BoardVote was invented and now in SecurePoll. Nobody has filed a feature request about it in Bugzilla, in all these years. It's up to the election administrators to communicate the policy of "one vote per person" to the voters, and to enforce that policy.
-- Tim Starling
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Techman224 wrote:
By the way, is there a page on the Mediawiki wiki about this extension (SecurePoll)?
No. But the extension is not yet in a state where it might be useful for non-Wikimedia users, and generally that comes first, before documentation.
-- Tim Starling
Prince Gerald Albert wrote:
Is it a good practice to create my own table to store my extension related data to it? Is there any standard practice for it?
Yes. You usually provide a .sql file to create it, and mention it on install instructions. Remember to take into account the db prefix when accessing your table name.
Thanks
Prince Gerald.
2009/4/14 Platonides Platonides@gmail.com:
Prince Gerald Albert wrote:
Is it a good practice to create my own table to store my extension related data to it? Is there any standard practice for it?
Yes. You usually provide a .sql file to create it, and mention it on install instructions. Remember to take into account the db prefix when accessing your table name.
Note that there's also the LoadExtensionSchemaUpdates hook [1], which you can use to have your schema changes done as part of update.php . Of course users still have to run update.php in that case, but they have to do that on upgrade as well.
Roan Kattouw (Catrope)
[1] http://www.mediawiki.org/wiki/Manual:Hooks/LoadExtensionSchemaUpdates
wikitech-l@lists.wikimedia.org