[ABD] tas2580 Wiki

Any abandoned Extensions will be moved to this forum.

WARNING: Extensions in this forum are not currently being supported or maintained by the original Extension author. Proceed at your own risk.
Forum rules
IMPORTANT: Extension Development Forum rules

WARNING: Extensions in this forum are not currently being supported nor updated by the original Extension author. Proceed at your own risk.
User avatar
nero
Registered User
Posts: 321
Joined: Fri Mar 13, 2015 8:18 am

Re: [DEV] tas2580 Wiki

Post by nero »

Demo: No route found for "GET /wiki"
User avatar
tas2580
Registered User
Posts: 295
Joined: Wed May 30, 2007 1:56 am
Location: Stuttgart, Germany
Contact:

Re: [DEV] tas2580 Wiki

Post by tas2580 »

Big update to 0.2.0:
  • There can be a active version set for articles.
  • To each article, sources can be added.
  • Notifications on article changes.
  • Full article can be deleted.
monmusu
Registered User
Posts: 4
Joined: Sun Jan 31, 2016 5:57 pm
Contact:

Re: [DEV] tas2580 Wiki

Post by monmusu »

Good afternoon,

I have been trying to translate the missing parts of the en language files, doing so by machine translation and rewording them to they more or less make sense in English, but when I do so I get server error 500 and have to disable the extension before I can access my board. I don't know a lot about the language files or php, but am I doing something wrong?

common.php

Code: Select all

<?php
/**
*
* @package phpBB Extension - Wiki
 * @copyright (c) 2015 tas2580 (https://tas2580.net)
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
*
*/

if (!defined('IN_PHPBB'))
{
    exit;
}

if (empty($lang) || !is_array($lang))
{
    $lang = array();
}
// DEVELOPERS PLEASE NOTE
//
// All language files should use UTF-8 as their encoding and the files must not contain a BOM.
//
// Placeholders can now contain order information, e.g. instead of
// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
// translators to re-order the output of data while ensuring it remains correct
//
// You do not need this where single placeholders are used, e.g. 'Message %d' is fine
// equally where a string contains only two placeholders which are used to wrap text
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
//
// Some characters you may want to copy&paste:
// ’ » “ ” …
//
$lang = array_merge($lang, array(
    'NO_ARTICLE'                    => 'The selected article does not exist.',
    'NO_ARTICLE_REDIRECT'            => '<strong>This article has been replaced!</strong><br><br> The selected article no longer exists.<br> The article has been replaced with a new one <a href="%1$s">%1$s</a>.<br><br>',
    'LAST_EDIT'                        => 'Last modified',
    'EDIT_WIKI'                        => 'Edit article',
    'VERSIONS_WIKI'                    => 'View versions',
    'WIKI'                            => 'Wiki',
    'BACK_TO_ARTICLE'                => 'Back to articke',
    'BACK_TO_WIKI'                    => 'Back to Wiki',
    'EDIT_ARTICLE_SUCCESS'            => 'The article has been successfully edited',
    'VERSIONS_OF_ARTICLE'            => 'Version history',
    'VERSION_COMPARE_HEADLINE'        => 'Diff of version <a href="%3$s">%1$d</a> to <a href="%4$s">%2$d</a>',
    'COMPARE'                        => 'Compare',
    'COMPARE_EXPLAIN'                => 'Here will be listed all versions of the article. Choose from two versions to compare them.',
    'VERSION'                        => 'Version',
    'TITLE'                            => 'Title',
    'REASON_EDIT'                    => 'Reason for change',
    'VIEW_DISCUSION'                => 'Discussion',
    'TOPIC_ID'                        => 'Discussion topic ID',
    'CONFIRM_DELETE_VERSION'        => 'Are you sure you want to delete the version?',
    'DELETE_VERSION_SUCCESS'        => 'The version has been deleted successfully',
    'WIKI_FOOTER'                    => 'Wiki by <a href="%1$s">%2$s</a>'
    'EDIT_ARTICLE_SUCCESS_INACTIVE'    => 'The article has been successfully processed, but he has yet to be released and made public',
    'TOPIC_ID_EXPLAIN'                => 'Give the ID of the thread to serving as a discussion on the article.',
    'NO_DELETE_ACTIVE_VERSION'        => 'You can not delete the active version of an article!',
    'SOURCES'                        => 'Sources',
    'SOURCES_EXPLAIN'                => 'Give URLs as sources for the article. Write each URL on its own line.',
    'INVALID_SOURCE_URL'            => 'One of the sources is not a valid URL.',
    'ACTIVATE_VERSION_SUCCESS'        => 'This article version was successfully set as active.',
    'CONFIRM_ACTIVATE_VERSION'        => 'Are you sure you want to put the selected version as the active version of the product?',
    'ARTICLE_HAS_NEW'                => 'If you like a more recent version is available.',
    'SET_ACTIVE'                    => 'Set Active',
    'IS_ACTIVE'                        => 'Active Version',
    'DELETE_ARTICLE'                => 'Delete Article',
    'DELETE_VERSION'                => 'Delete Version',
    'ARTICLE_DESCRIPTION'            => 'Article Description',
    'ARTICLE_DESCRIPTION_EXPLAIN'    => 'Give a brief description (max. 255 characters) for the article.',
    'SET_REDIRECT'                    => 'Redirect Article',
    'SET_REDIRECT_EXPLAIN'            => 'Enter article to forward this article onto.',
    'CONFIRM_DELETE_ARTICLE'        => 'Are you sure you want to delete <strong>including all article versions</strong> irrecovably?',
    'DELETE_ARTICLE_SUCCESS'        => 'The article has been deleted successfully',
    'NO_ARTICLE_DIFF'                => 'There were no changes made to the article',
    'NO_SOURCE_DIFF'                => 'There were no changes made to the sources.',
    'SET_STICKY'                    => 'Set article as sticky',
    'SET_INACTIV'                    => 'Set article as inactive',
    'CONFIRM_DEACTIVATE_ARTICLE'    => 'Are you sure you want to make the entire article inactive?',
    'DEACTIVATE_ARTICLE_SUCCESS'    => 'The article has been set to inactive!',
    'TOTAL_ITEMS'        =>  array(
            1 => '1 Entry',
            2 => '%s Entries',
        ),
    'ARTICLE_VIEWS_TEXT'            => 'The article has been viewed <strong>%d</strong> times.'    
));
info_ucp_notifications.php

Code: Select all

<?php
/**
*
* @package phpBB Extension - Wiki
 * @copyright (c) 2015 tas2580 (https://tas2580.net)
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
*
*/

if (!defined('IN_PHPBB'))
{
    exit;
}

if (empty($lang) || !is_array($lang))
{
    $lang = array();
}
// DEVELOPERS PLEASE NOTE
//
// All language files should use UTF-8 as their encoding and the files must not contain a BOM.
//
// Placeholders can now contain order information, e.g. instead of
// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
// translators to re-order the output of data while ensuring it remains correct
//
// You do not need this where single placeholders are used, e.g. 'Message %d' is fine
// equally where a string contains only two placeholders which are used to wrap text
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
//
// Some characters you may want to copy&paste:
// ’ » “ ” …
//
$lang = array_merge($lang, array(
    'WIKI_ARTICLE_UPDATE'                    => 'Someone wrote an article in the wiki that needs to be released.',
));
link.php

Code: Select all

<?php
/**
*
* @package phpBB Extension - Wiki
 * @copyright (c) 2015 tas2580 (https://tas2580.net)
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
*
*/

if (!defined('IN_PHPBB'))
{
	exit;
}

if (empty($lang) || !is_array($lang))
{
	$lang = array();
}
// DEVELOPERS PLEASE NOTE
//
// All language files should use UTF-8 as their encoding and the files must not contain a BOM.
//
// Placeholders can now contain order information, e.g. instead of
// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
// translators to re-order the output of data while ensuring it remains correct
//
// You do not need this where single placeholders are used, e.g. 'Message %d' is fine
// equally where a string contains only two placeholders which are used to wrap text
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
//
// Some characters you may want to copy&paste:
// ’ » “ ” …
//
$lang = array_merge($lang, array(
	'WIKI'					=> 'Wiki',
	'WIKI_NEW_ARTICLE_UPDATE'	=> 'A new version of the article <strong>%1$s</strong> in Wiki is awaiting activation.',

));
overview.php

Code: Select all

<?php
/**
 *
 * @package phpBB Extension - Wiki
 * @copyright (c) 2015 tas2580 (https://tas2580.net)
 * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
 *
 */

if (!defined('IN_PHPBB'))
{
    exit;
}

if (empty($lang) || !is_array($lang))
{
    $lang = array();
}
// DEVELOPERS PLEASE NOTE
//
// All language files should use UTF-8 as their encoding and the files must not contain a BOM.
//
// Placeholders can now contain order information, e.g. instead of
// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
// translators to re-order the output of data while ensuring it remains correct
//
// You do not need this where single placeholders are used, e.g. 'Message %d' is fine
// equally where a string contains only two placeholders which are used to wrap text
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
//
// Some characters you may want to copy&paste:
// ’ » “ ” …
//
$lang = array_merge($lang, array(
    'OVERVIEW'                    => 'overview',
));
permissions_wiki.php

Code: Select all

<?php
/**
*
* @package phpBB Extension - Wiki
 * @copyright (c) 2015 tas2580 (https://tas2580.net)
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
*
*/
/**
* DO NOT CHANGE
*/
if (!defined('IN_PHPBB'))
{
    exit;
}
if (empty($lang) || !is_array($lang))
{
    $lang = array();
}
// DEVELOPERS PLEASE NOTE
//
// All language files should use UTF-8 as their encoding and the files must not contain a BOM.
//
// Placeholders can now contain order information, e.g. instead of
// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
// translators to re-order the output of data while ensuring it remains correct
//
// You do not need this where single placeholders are used, e.g. 'Message %d' is fine
// equally where a string contains only two placeholders which are used to wrap text
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
//
// Some characters you may want to copy&paste:
// ’ » “ ” …
//
$lang = array_merge($lang, array(
    'ACL_U_WIKI_VIEW'        => 'Can view articles in the wiki',
    'ACL_U_WIKI_EDIT'        => 'Can edit and create articles in the wiki',
    'ACL_U_WIKI_VERSIONS'    => 'Can view versions of an article',
    'ACL_U_WIKI_DELETE'    => 'Can delete versions of an article',
    'ACL_U_WIKI_EDIT_TOPIC'    => 'Can change the discussion topic for an article',
    'ACL_CAT_WIKI'            => 'Wiki',
    'ACL_M_WIKI_DELETE_ARTICLE'        => 'Can delete a complete article',
    'ACL_M_WIKI_VIEW_INACTIVE'        => 'Can view inactive articles',
    'ACL_U_WIKI_SET_ACTIVE'            => 'Can change the active version of an article',
    'ACL_U_WIKI_SET_STICKY'            => 'Can set article as sticky',
    'ACL_U_WIKI_SET_REDIRECT'        => 'Can redirect articles',
));

mail_articke_edit.txt

Code: Select all

Subject: „{SITENAME}“ — New article in wiki

Hello,

{NOTIFICATION_SUBJECT}

To the article: {U_LINK}

For Board
{U_INDEX}

{EMAIL_SIG}
I've only added the missing files and translated the missing lines, I've not touched anything outside of the language folder.

I would be very grateful for your help, but as I was editing it myself without asking first, I won't be offended if you don't want to.

Thanks for your time

Monmusu
MystEra
Registered User
Posts: 38
Joined: Sun Jun 28, 2009 8:44 pm

Re: [DEV] tas2580 Wiki

Post by MystEra »

Will it be possible to have Wiki-Entries showing up in a tooltip- or linklike fashion in postings? Maybe through a bb-code or something like that?
User avatar
Darkness Seeker
Registered User
Posts: 27
Joined: Sun Jun 07, 2015 7:18 pm

Re: [DEV] tas2580 Wiki

Post by Darkness Seeker »

Interesting Addon!
Good job, subscribed and looking forward this project.

But I have a doubt that I couldn't resist asking here: trying to set up the wiki, I created an account in your Demo Forum, to check by first hand the code you used in your first page of the wiki:

But when I tried to copy that, in form of trial, I noticed that a few things were change, of course simply by the use of different style packages, but what really got me thinking was the absence of the Content Box:

So I came here to ask: it's something that will come with a future version of the extension, or is it part of your style? In case is the second option, could you pass the BBCodes or code needed to generate them?
lindstrom
Registered User
Posts: 1
Joined: Tue May 23, 2017 2:45 pm

Re: [DEV] tas2580 Wiki

Post by lindstrom »

Compatible with PhpBB 3.2?
Paul
Infrastructure Team Leader
Infrastructure Team Leader
Posts: 28654
Joined: Sat Dec 04, 2004 3:44 pm
Location: The netherlands.
Name: Paul Sohier
Contact:

Re: [DEV] tas2580 Wiki

Post by Paul »

This topic has been marked as [ABD] - Abandoned as the extension author has not been active recently. If the extension author wishes to continue development, please PM anyone on the Extensions Team to request this topic be unlocked.

Notice!
We do not recommend that a user of the phpBB software install this extension, or any other extension that is marked as “abandoned” or “in development”, on a live forum. Doing so may cause your forum to not perform in the manner it should.


Thank you,
The phpBB Extensions Team
Locked

Return to “Abandoned Extensions”