Home
This is a page for meta. Hopefully it wouldn't randomly show up from the random article link. This page is meant to be a place for me to jot down meta notes. Well, yes, notes about meta stuff, such as this wiki's existence, installed plugins, and other stuffs.
Text, opening, the final frontier. This page is also used to test new features added to the site. Also check the table below for recent changes in the group Meta:
Page | Summary |
---|---|
Donation | How to support. |
Data Panel Templates | The page contains Templates for Data Panels or other standardized templates. |
Alternately, check the PageList page.
(:htoc:)
Attachable
This recipe is interesting, as it allows an easier management of uploads.
L427 InterMap (InterWiki)
I found that we can do PmWiki:InterMap, so this would make things a little bit more convenient. We can define paths for all of our wikis for our needs.
Interesting Wiki Usage
I find this site to be very interesting! It is a pmwiki powered site but it looks so beautiful in presenting a book. Yes, a book! I should learn it more and perhaps we could use it for presenting the book I am writing!
Math Plugin
` x_(1,2)=(-b+-sqrt(b^2 - 4a c))/(2a) `
Equation recipe added. I want to see how it appears.
Perfect. See here for more.
Extract from that page:
Example:
Code | Result |
---|---|
{$ +-sqrt(n) $} | ` +-sqrt(n) ` |
{$ sum_(i=1)^n i^3=((n(n+1))/2)^2 $} | ` sum_(i=1)^n i^3=((n(n+1))/2)^2 ` |
{$ lim_(N->oo) sum_(i=0)^N $} | ` lim_(N->oo) sum_(i=0)^N ` |
{$ [[a,b],[c,d]] $} | ` [[a,b],[c,d]] ` |
{$ ((a),(b)) $} | ` ((a),(b)) ` |
{$ {(2x,+,17y,=,23),(x,-,y,=,5):} $} | ` {(2x,+,17y,=,23),(x,-,y,=,5):} ` |
{$ int_0^1 f(x)dx $} | ` int_0^1 f(x)dx ` |
{$ f'(x) = dy/dx $} | ` f'(x) = dy/dx ` |
{$ ubrace(1+2+3+4)_("4 terms") $} | ` ubrace(1+2+3+4)_("4 terms") ` |
{$ obrace(1+2+3+4)^("4 terms") $} | ` obrace(1+2+3+4)^("4 terms") ` |
Gallery
I was thinking of a way to replace /web/img, or at least an alternative. Consider to use this for an image gallery. Plus point, it has a visual editor.
Already, I added the mini recipe to this site. I am yet to resolve the issue with ape though. Hendrik 07 May, 2021, at 03:57 PM WIB
Actually, I also added the maxi recipe to this site. Hendrik 07 May, 2021, at 04:26 PM WIB
The next thing to do is to include mini edit for its visual editor component. Hendrik 24 May, 2021, at 02:41 PM WIB
Rating System
This recipe is compellingly easy.
Collapsibles
Do you want the SCP Wiki's style collapsibles? Now you can do it here. Apparently it is also a core pmwiki feature. Also there's this Block Markup in vanilla pmwiki.
Vector talk page behavior
Apparently I was facing the same issue as the one complaining here.
They fixed it by adding the following line to vector.php
:
function RenderTalkSelector($pagename) { global $ScriptUrl; ### Line added.
It simply works.
Vector Category link behavior
I have to take this section out of vector.php
to test if it's the one causing problem. L427
global $McatLabelS, $McatLabelP; $McatLabelS = '<a href="{$ScriptUrl}/Category/Category">Category</a>:'; $McatLabelP = '<a href="{$ScriptUrl}/Category/Category">Categories</a>:';
Apparently it does cause a problem. Instead of the one prescribed above, the category link just changed into:
https://xenomancy.id/wiki/Xe-2/%3Ca%20class='urllink'%20href='https://xenomancy.id/wiki/Category/Category'%20title=''%20rel='nofollow'%3Ehttps://xenomancy.id/wiki/Category/Category%3C/a%3E
Instead of prescribed:
{$ScriptUrl}/Category/Category
APE Test Section
Perhaps I should consider this. Changing skin template accordingly. Those that aren't listed below means they've included it by default.
- dropdown
- enlighten
Weird, vector also complies with this requirements.
There should be a video.
Hendrik 02 July, 2021, at 11:12 AM WIB
TableDirectives
(Table 1)
Navigation Links |
This line is to be displayed. | |
|
Not adding a new row from cell directive, but, let's see. | |
What happened when I add a cell while adding a new row? |
I got these from this page. I am yet to discover how they're structured, but I think it should be pretty much doable. The following table is butchered because it is set in a manner that the first row didn't have a content by the second column.
What I am going to do is to set up "This line is to be displayed" by the second column of the first row. Amazing, it's more butchered. I think it's because the second row has colspan of 2, while the first one is just set to just one. So when I add a cell, it is added to the first cell instead.
Hence the mess.
Then another table with two rows by the end of it. I think I started to figure how it's ordered. We must consider first how they're structured.
The first heading, of the table can be set to span n
column.
For example if I set it to three column, we use (:cellnr colspan=3:)
directive.
We can also add align=center
for cosmetic purposes.
Then the first column can be set by adding new row directive.
(Table 2)
Navigation Links | ||
Tables on the first row, first cell. |
Table directives on the first row, second cell. |
I think it will be far more complicated with more columns. |
Where will this be? This will be on the second row, first cell. |
I think I get the hang of it? So this must be present by the second row, second cell. |
It must involves some counting. It's arranged from left to right, top to bottom. But we can have multiple paragraphs in a table. |
playing with tables.
Can we play with them? Let's create a table with heading, and aligned to left, and cell spacing of 1. It has the first row spanning three columns, the second row spans two columns, the third one spans just one.
(Table 3)
This must span three column, and is centered. | ||
This spans two column, and is not aligned. |
This aligns right. | |
WOuld it recognize a justified text? I'd like to learn more if it is. |
Oh it does. |
This should be in the third cell. |
|
I just want this to be done quick. |
The first cell is included with |
You know what's weird? We can have a toc here. (:htoc:) This text has headings.Curiously it's edited in a separate section. And followed with some sort of text down below. But we also included another heading.Perfect, what else could we improve upon? Also note that the toc didn't show anything. It's because the page's toc already handled the rest of the heading listing. Here comes the lists.Not to be confused with The List.
Accompanied with:
| ||
This one should be on the left. |
This will be for the second cell. |
I want to write in |
This one will span two columns. |
This should be the rightmost cell of this row. | |
The final one will spans three columns. |
Never forget to close the table, or it won't show. Apparently this text will just be shown next to the table. Good, we're about to reverse the column order of the first three rows.
Table that spans multiple rows
Satu nr 3row |
Dua |
Tiga |
Empat nr |
Lima | |
Enam nr |
Tujuh | |
Delapan nr 3row |
Sembilan |
Sepuluh |
Sebelas nr |
Dua Belas | |
Tiga Belas nr |
Empat belas |
Form for creating a page with a template
(:input form "{$ScriptUrl}":)(:input hidden action edit:) (:input hidden template Main.Template:) Masukkan nomor surat baru: (mohon ganti semua "/" menjadi "-") (:input text pagename size=32:) (:input submit create "Create!":) (:input end:) |
Trying up password in non-siteadmin page
I was thinking on what's the best way to deliver a password without sending plaintext password to site admin before an admin would submit it to the authuser page?
heol: $2y$10$9SmxrclHjwbPPog9Pf0dhe9W9uTK0.4xKZhIWuF.OgH6fK/OQTPza
I hope it showed well, while I'd try this too: heol: $2y$10$ETq/IFPnKEv/bK3U8yI37.ZfVPS/JxCtt8qoxIn1C/OZwwOQqi2z6
Site Logo
I'm considering to change the site logo.
Instead of the current logo, that didn't fit well with the entire theme of this site, we can use an alternative with inverted color scheme.
Underneath it, we could put a smaller slogan for Xenomancy
, with its signature font.
I just forgot which font was that.
I mean, look at Proctorzone, its logo is just simple yet elegant, even though it's rarely seen from desktop.
- Hendrik April 23, 2021, at 07:08 PM
Get Rid of Main
I implemented Get Rid Of Main, including the following line to my local config file:
code
## The above line is commented as I want to try the direction from: ## https://www.pmwiki.org/wiki/Cookbook/GetRidOfMain ## So this one could be isolated and deleted if it fails (horribly) ## Start of GetRidOfMain ======================================================= ## add default group (Main) to page search path $PagePathFmt = array( '{$Group}.$1', # page in current group '{$DefaultGroup}.$1', # page in default group (Main) '$1.$1', # group home page '$1.{$DefaultName}', # group home page ); SDV($DefaultPage, 'Main.HomePage'); $pagename = MakePageName($DefaultPage, $pagename); ## reformat page urls to omit default group (Main) $EnablePathInfo = 1; $FmtPV['$PageUrl'] = 'PUE(($group==$GLOBALS["DefaultGroup"]) ? (($name==$GLOBALS["DefaultName"]) ? "$ScriptUrl/" : "$ScriptUrl/$name") : "$ScriptUrl/$group/$name")'; $FmtP["!\\\$ScriptUrl/$DefaultGroup/!"] = '$ScriptUrl/'; ## End of GetRidOfMain =========================================================
Then adding the following line to the .htaccess
file in the same directory as pmwiki.php
file:
code
## Start of GetRidOfMain ======================================================= #Send single name pages to pmwiki.php?n=Main.$1 RewriteRule ^([A-Z0-9\xa0-\xff][^\.\/]*(\?.*)?)$ pmwiki.php?n=Main.$1 [QSA,L] ## End of GetRidOfMain ========================================================= # Send requests to pmwiki.php, appending the query string part. RewriteRule ^([A-Z0-9\xa0-\xff].*)$ pmwiki.php?n=$1 [QSA,L]
And it works like magic! Hendrik 24 May, 2021, at 02:25 PM WIB
At around 02 June, 2021, I came to realize that in pmwiki-responsive skin, there's this link to the group home at the top left corner. However it failed to bring me to the group's home. Instead it brought me to a page in main wikigroup with the supposed wikigroup name as its page name. Obviously, it doesn't exist.
Then, for some of the wikigroups, I created a page under main wikigroup with their wikigroup name as their pagenames, and create a redirect directive on each of them to their correct homepage. I believe there's a better solution for this, but for now, this is how we're doing it.
Hendrik 08 June, 2021, at 10:30 AM WIB
Gitlab Group Page
So the chapters are still edited from gitlab. For example, Overtime might appears to be its own page now, but the fact is, the source uses markdown directive, while the content is derived from gitlab. It makes updating the page quite tedious.
One of the solution is to use a new group called Gitlab, that would be the placeholder for gitlab imports. The page would contain chapter contents that correspond to gitlab chapter pages. Gitlab notes are in markdown, so I could wrap them with markdown directive with the group footer and header. Perfect.
Special Executive Components
It's an idea to catalogue a number of gadgets under the possession of the Securion Enterprises Cooperative. We've already had our working example at pz-root:AVC/, where we can put entries with formatted looks and ease. Along with it is its automated, random numbering system.
What I can't be sure is on whether or not we should have a separate wikigroup, or to have it appended in GOI/SEC pages. The former option would allow wikigroup to handle it, like using full name SEC/SEC-XXXX format. The latter option would mean we have to do something with pagelisting to handle GOI/SEC-XXXX format.
It's obvious that the former option is more suitable.
Hendrik 03 June, 2021, at 09:50 AM WIB
Footnote, AddFootnote, and Toggle
I added the Footnote, AddFootnote, and Toggle recipes to the wiki and its farmed wiki.1
Hendrik 06 June, 2021, at 11:46 PM WIB
AuthUser Extension
This site appears to have the AuthUser extensions enabled.
Apparently I use PmWiki's default authuser module. Therefore, I should also have a page dedicated to introduce new users a chance to participate. We should have a way to submit application for membership.
I think the idea is to list "username: (:encrypt password:)
" in a single line of its own on the AuthUser page.
However only admins can edit the page, at the moment (and I also intend it that way).
Therefore we should have an application page where people could submit a quick intro of who they are, and why do they want to join.
Then they use the submission page to type their own line of username: (:encrypt password:)
where username
is their preferred username, and password
is their own password.
Naturally it would be encrypted as the page is saved, and it would not be a security concern for the user.
No actual password string is transferred from the potential user to the admin in that way, and when we add it to the AuthUser page, they can use it to log in and edit texts as they need.
Hendrik 02 September, 2022, at 04:22 PM WIB
1 Therefore this should be possible to be formatted as a footnote. ⇑