PortlandWiki:Technical Queue: Difference between revisions

From PortlandWiki
Jump to navigation Jump to search
m (See Dave's list of share buttons.)
(→‎Spam & Vandalism “Protection”: Bad Behavior extension - failed installation attempt.)
 
(23 intermediate revisions by 3 users not shown)
Line 4: Line 4:


== To do ==
== To do ==
=== Spam & Vandalism “Protection” ===
At our PortlandWiki meetup on Thursday, July 12th, 2012 [[User:Kotra|Kotra]] expressed the desire to once again open up PortlandWiki for anonymous editing. Because vandalism remains such a threat, Kotra agreed to review [[User:WikiMaster/Projects#Spam_.2F_Vandalism|Dave's anti-vandalism notes]], and [[User:WikiMaster|Dave]] agreed to install the following extensions (which are found installed on [[wikipedia:Wikimedia Foundation|Wikimedia Foundation]] wikis):
* [[mediawikiwiki:Extension:AbuseFilter|Extension:AbuseFilter]]
: Installed by [[User:WikiMaster|WikiMaster]] ([[User talk:WikiMaster|talk]]) on 15:49, 17 July 2012 (PDT).
:: Removed by [[User:WikiMaster|WikiMaster]] ([[User talk:WikiMaster|talk]]) on 17:16, 17 July 2012 (PDT).
::: Reinstalled by [[User:WikiMaster|WikiMaster]] ([[User talk:WikiMaster|talk]]) (who remembered to set permissions this time) on 17:23, 17 July 2012 (PDT). Still getting the error. Are residual database artifacts causing this error message?:
Fatal error: Call to undefined method MWInit::methodExists() in (path to wiki)/extensions/AbuseFilter/AbuseFilter.hooks.php on line 144
: The interesting thing is that the edits still "take" despite the error message. But it's a pain in the neck. Folks who occasionally contribute to this wiki might think they broke the wiki.
:: Removed by [[User:WikiMaster|WikiMaster]] ([[User talk:WikiMaster|talk]]) after persistent error messages (shown above).
* [[mediawikiwiki:Extension:Bad Behavior|Extension:Bad Behavior]]
: Installation attempted by [[User:WikiMaster|WikiMaster]] ([[User talk:WikiMaster|talk]]) on 10:53, 21 July 2012 (PDT). Immediately removed after receiving errors shown below (despite trying "fix" shown [[mediawikiwiki:Extension talk:Bad Behavior#BB_broken_with_MW_1.9.1|here]]):
;error one
Warning: require_once($IP/extensions/bad-behavior/bad-behavior-mediawiki.php) [function.require-once]: failed to open stream: No such file or directory in (path to wiki)/portlandwiki.org/LocalSettings.php on line 607
;error two
Fatal error: require_once() [function.require]: Failed opening required '$IP/extensions/bad-behavior/bad-behavior-mediawiki.php' (include_path='.:/usr/local/lib/php:/usr/local/php5/lib/pear') in (path to wiki)/portlandwiki.org/LocalSettings.php on line 607
* [[mediawikiwiki:Extension:AntiBot|Extension:AntiBot]]
: Installed by [[User:WikiMaster|WikiMaster]] ([[User talk:WikiMaster|talk]]) on 15:49, 17 July 2012 (PDT).
* [[mediawikiwiki:Extension:AntiSpoof|Extension:AntiSpoof]]
: Installed by [[User:WikiMaster|WikiMaster]] ([[User talk:WikiMaster|talk]]) on 15:49, 17 July 2012 (PDT).
* <s>[[mediawikiwiki:Extension:CentralAuth|Extension:CentralAuth]]</s>
: {{warning}} CentralAuth was designed specifically for Wikimedia projects which already had millions of accounts that needed to be merged into a global table.
:: Installed and then removed by [[User:WikiMaster|WikiMaster]] ([[User talk:WikiMaster|talk]]) on July 17, 2012.
* [[mediawikiwiki:Extension:SimpleAntiSpam|Extension:SimpleAntiSpam]]
: Installed by [[User:WikiMaster|WikiMaster]] ([[User talk:WikiMaster|talk]]) on 15:49, 17 July 2012 (PDT).
* [[mediawikiwiki:Extension:TitleBlacklist|Extension:TitleBlacklist]] (Not installed yet.)
* [[mediawikiwiki:Extension:TorBlock|Extension:TorBlock]] (Not installed yet.)
=== general tasks ===
* +share buttons: Facebook, Twitter, etc
* +share buttons: Facebook, Twitter, etc
: See [[User:WikiMaster/SocialProfile#Share_Buttons_.2F_Social_Bookmarking_.28Facebook.2C_Twitter.2C_Etc..29|User:WikiMaster/SocialProfile#Share Buttons / Social Bookmarking (Facebook, Twitter, Etc.)]] for [[User:WikiMaster|Dave]]'s list of social media share button extensions.
: See [[User:WikiMaster/SocialProfile#Share_Buttons_.2F_Social_Bookmarking_.28Facebook.2C_Twitter.2C_Etc..29|User:WikiMaster/SocialProfile#Share Buttons / Social Bookmarking (Facebook, Twitter, Etc.)]] for [[User:WikiMaster|Dave]]'s list of social media share button extensions.
* +forms
* +forms
** finish Occupy Events form
** finish [[Form:Occupy Portland Event|Occupy Events form]]
**: ''in progress by kotra''
**: ''ON HOLD'' (kotra was lead)
** create Relevant Article form (example syntax in HTML comment, click "improve" to view)
** create Relevant Article form (example syntax in HTML comment, click "improve" to view)
<!-- EXAMPLE SYNTAX
<!-- EXAMPLE SYNTAX
* [http://google.com Article Headline]
* [http://google.com Article Headline]
: Brief summary (one or two sentences)
: Brief summary (one or two sentences)
; [http://google.com read more]
; [http://google.com read more >>>]
-->
-->
**: ''in progress by kotra and Dave''
**: ''in progress by kotra and Dave''
* add the pencil icon to the improve link
* add the pencil icon to the improve link
*: ''in progress by kotra''
*: ''in progress by kotra''
* skin/interface updates
** a "My panel" box/panel that includes buttons for "My uploads", "My edits", "My new messages", etc
* Investigate social profile for ways an admin can edit another user's profile


== Completed ==
== Completed ==
* liquidthreads back up after mediawiki update
: (Awesome work putting [[mediawikiwiki:Extension:LiquidThreads|LiquidThreads]] back together, [[User:Kotra|Kotra]]!)
* [[User:WikiMaster|Dave]] uninstalled [[mediawikiwiki:Extension:Advanced Meta|Advanced Meta]] after it began generating significant database errors after upgrading to MW1.18.2.
: Replaced with:
:- [[mediawikiwiki:Extension:CustomTitle|CustomTitle]]
:- [[mediawikiwiki:Extension:Description2|Description2]]
* fix wikieditor inline image extension MsUpload
** remove debug messages
** anything else to get it working
** fixed by kotra. Full details: http://www.mediawiki.org/wiki/Extension_talk:MsUpload#linked_file_bugfix.2C_other_minor_tweaks_14723
* [[User:WikiMaster|Dave]] uninstalled the [[mediawikiwiki:Extension:Semantic MediaWiki|Semantic MediaWiki]] extensions, including [[mediawikiwiki:Extension:Semantic Forms|Semantic Forms]]. Reasoning described here:
: http://www.mediawiki.org/wiki/Extension_talk:Semantic_Forms#Fatal_error:_Cannot_redeclare_class_SFUploadWindow_in_.2F.7Bpath_to_wiki.7D.2Fextensions.2FSemanticForms.2Fspecials.2FSF_UploadWindow.php_on_line_1102
: (The above link will have to be updated after it gets archived, probably after the end of the month.)
* [[User:WikiMaster|Dave]] updated and/or re-tested the [[Special:Version|installed extensions]] on PortlandWiki.
== PortlandWiki Migration Project: [[occupymediawiki:|OccupyMediawiki]] ==
On May 23, [[User:WikiMaster|Dave]] contacted [[occupymediawiki:User:Amgine|Amgine]], administrator for [[occupymediawiki:|OccupyMediawiki]] about migrating PortlandWiki from DreamHost to [[occupymediawiki:|OccupyMediawiki]]'s server.
; Motivation
OccupyMediawiki hosts what they call a [[occupymediawiki:Wiki family|wiki family]] on their server of wikis that either support or have connections to the Occupy movement. PortlandWiki is a civic wiki for Portland with a significant [[Occupy Portland]] component, including an Occupy offshoot, the [[Community Assembly]]. For this reason, on Monday, May 28th, 2012 the OccupyMediawiki team approved PortlandWiki to host on their server without charge.
For [[User:WikiMaster|Dave]], one of the biggest attractions of migrating to the OccupyMediawiki "family" is to have a chance to collaborate with other civic- and social justice-minded wiki folk. A big plus is to also have the opportunity to work with MediaWiki geeks who have strong connections with the larger MW geek community. In other words, we'll have folks we can consult with whenever things go technically awry. We'll also have a chance to share wiki design and best practices with our wiki colleagues who maintain similar wikis.
; Specifics - (Info between quote marks copied directly from email responses.)
* OccupyMediawiki hosts the MediaWiki platform, including support applications and a large selection of MW extensions.
* OccupyMediawiki's "servers are located in the Netherlands, and are semi-custom to minimize stored user data and to harden against a variety of internet threats."
* [[occupymediawiki:User:Amgine|Amgine]] is "in the process of trying to rewrite our single-source tools to deal with Mediawiki's move to Git."
: "(PortlandWiki has a range of extensions in use with which I am only somewhat familiar, but I know many of their developers. I'm sure we can get everything up and running. Of course if PortlandWiki moves to our service I'll try to push you to use SMW-maps with Open Street Map tiles over your current proprietary Google maps and other more-open solutions... Not a freevangelist, but I don't like people being spied on.)"
* We won't have shell access:
: "The OccupyMediawiki group doesn't give shell access. The point of the group is to do all the ops, allowing the wiki community to focus on building/maintaining the content. Related to this, we only provide mediawiki. We'll work with you to integrate other software, various session security systems, etc, but OMg does not (at the moment) host fora, social media, etc. Think of it as wikia without the advertising for social change groups."
* We also won't have FTP access:
: "(actually, for security reasons there is no FTP server.) However, we have 16+/7/365 support coverage, and are generally extremely responsive. We can be reached on irc at irc://irc.arxnet.org/Wiki-support. And we also are supporting several groups with customised skins which they maintain."
* But it's likely that we'll be able to maintain MySQL database access:
: "Yes; it might require a day or so to get set up. (Actually, since it would require another MySQL account from the hosting corporation I shouldn't be so certain, but I'm pretty sure this can happen.)"
Sounds like a good opportunity!  ~~ [[MarkDilley]]


[[Category:PortlandWiki to do lists]]
[[Category:PortlandWiki to do lists]]

Latest revision as of 09:53, 21 July 2012

This is a list of worthwhile changes to the PW interface, infrastructure, and server. Most of these tasks require developer access to the PortlandWiki server files. If you are starting to work on one of them, please add "in progress by YOURNAME" to it! If you've finished it, move it to the Completed section! If you have any questions about any of them, message User:kotra or User:WikiMaster: one of them will probably know what it's all about.

For general and non-technical tasks, see PW:To do.

To do

Spam & Vandalism “Protection”

At our PortlandWiki meetup on Thursday, July 12th, 2012 Kotra expressed the desire to once again open up PortlandWiki for anonymous editing. Because vandalism remains such a threat, Kotra agreed to review Dave's anti-vandalism notes, and Dave agreed to install the following extensions (which are found installed on Wikimedia Foundation wikis):

Installed by WikiMaster (talk) on 15:49, 17 July 2012 (PDT).
Removed by WikiMaster (talk) on 17:16, 17 July 2012 (PDT).
Reinstalled by WikiMaster (talk) (who remembered to set permissions this time) on 17:23, 17 July 2012 (PDT). Still getting the error. Are residual database artifacts causing this error message?:
Fatal error: Call to undefined method MWInit::methodExists() in (path to wiki)/extensions/AbuseFilter/AbuseFilter.hooks.php on line 144
The interesting thing is that the edits still "take" despite the error message. But it's a pain in the neck. Folks who occasionally contribute to this wiki might think they broke the wiki.
Removed by WikiMaster (talk) after persistent error messages (shown above).
Installation attempted by WikiMaster (talk) on 10:53, 21 July 2012 (PDT). Immediately removed after receiving errors shown below (despite trying "fix" shown here):
error one
Warning: require_once($IP/extensions/bad-behavior/bad-behavior-mediawiki.php) [function.require-once]: failed to open stream: No such file or directory in (path to wiki)/portlandwiki.org/LocalSettings.php on line 607
error two
Fatal error: require_once() [function.require]: Failed opening required '$IP/extensions/bad-behavior/bad-behavior-mediawiki.php' (include_path='.:/usr/local/lib/php:/usr/local/php5/lib/pear') in (path to wiki)/portlandwiki.org/LocalSettings.php on line 607
Installed by WikiMaster (talk) on 15:49, 17 July 2012 (PDT).
Installed by WikiMaster (talk) on 15:49, 17 July 2012 (PDT).
Warning Warning: CentralAuth was designed specifically for Wikimedia projects which already had millions of accounts that needed to be merged into a global table.
Installed and then removed by WikiMaster (talk) on July 17, 2012.
Installed by WikiMaster (talk) on 15:49, 17 July 2012 (PDT).

general tasks

  • +share buttons: Facebook, Twitter, etc
See User:WikiMaster/SocialProfile#Share Buttons / Social Bookmarking (Facebook, Twitter, Etc.) for Dave's list of social media share button extensions.
  • +forms
    • finish Occupy Events form
      ON HOLD (kotra was lead)
    • create Relevant Article form (example syntax in HTML comment, click "improve" to view)
      in progress by kotra and Dave
  • add the pencil icon to the improve link
    in progress by kotra
  • skin/interface updates
    • a "My panel" box/panel that includes buttons for "My uploads", "My edits", "My new messages", etc
  • Investigate social profile for ways an admin can edit another user's profile

Completed

  • liquidthreads back up after mediawiki update
(Awesome work putting LiquidThreads back together, Kotra!)
  • Dave uninstalled Advanced Meta after it began generating significant database errors after upgrading to MW1.18.2.
Replaced with:
- CustomTitle
- Description2
http://www.mediawiki.org/wiki/Extension_talk:Semantic_Forms#Fatal_error:_Cannot_redeclare_class_SFUploadWindow_in_.2F.7Bpath_to_wiki.7D.2Fextensions.2FSemanticForms.2Fspecials.2FSF_UploadWindow.php_on_line_1102
(The above link will have to be updated after it gets archived, probably after the end of the month.)

PortlandWiki Migration Project: OccupyMediawiki

On May 23, Dave contacted Amgine, administrator for OccupyMediawiki about migrating PortlandWiki from DreamHost to OccupyMediawiki's server.

Motivation

OccupyMediawiki hosts what they call a wiki family on their server of wikis that either support or have connections to the Occupy movement. PortlandWiki is a civic wiki for Portland with a significant Occupy Portland component, including an Occupy offshoot, the Community Assembly. For this reason, on Monday, May 28th, 2012 the OccupyMediawiki team approved PortlandWiki to host on their server without charge.

For Dave, one of the biggest attractions of migrating to the OccupyMediawiki "family" is to have a chance to collaborate with other civic- and social justice-minded wiki folk. A big plus is to also have the opportunity to work with MediaWiki geeks who have strong connections with the larger MW geek community. In other words, we'll have folks we can consult with whenever things go technically awry. We'll also have a chance to share wiki design and best practices with our wiki colleagues who maintain similar wikis.

Specifics - (Info between quote marks copied directly from email responses.)
  • OccupyMediawiki hosts the MediaWiki platform, including support applications and a large selection of MW extensions.
  • OccupyMediawiki's "servers are located in the Netherlands, and are semi-custom to minimize stored user data and to harden against a variety of internet threats."
  • Amgine is "in the process of trying to rewrite our single-source tools to deal with Mediawiki's move to Git."
"(PortlandWiki has a range of extensions in use with which I am only somewhat familiar, but I know many of their developers. I'm sure we can get everything up and running. Of course if PortlandWiki moves to our service I'll try to push you to use SMW-maps with Open Street Map tiles over your current proprietary Google maps and other more-open solutions... Not a freevangelist, but I don't like people being spied on.)"
  • We won't have shell access:
"The OccupyMediawiki group doesn't give shell access. The point of the group is to do all the ops, allowing the wiki community to focus on building/maintaining the content. Related to this, we only provide mediawiki. We'll work with you to integrate other software, various session security systems, etc, but OMg does not (at the moment) host fora, social media, etc. Think of it as wikia without the advertising for social change groups."
  • We also won't have FTP access:
"(actually, for security reasons there is no FTP server.) However, we have 16+/7/365 support coverage, and are generally extremely responsive. We can be reached on irc at irc://irc.arxnet.org/Wiki-support. And we also are supporting several groups with customised skins which they maintain."
  • But it's likely that we'll be able to maintain MySQL database access:
"Yes; it might require a day or so to get set up. (Actually, since it would require another MySQL account from the hosting corporation I shouldn't be so certain, but I'm pretty sure this can happen.)"

Sounds like a good opportunity! ~~ MarkDilley