119 Commits

Author SHA1 Message Date
alfsb
b457f42b9a Remove backported revcheck compatibility (#176)
includes `chmonly` and some `reserved.xml`  as tracked files for translation. Changes counting on translators table.
2024-11-14 07:32:43 -03:00
alfsb
bee795d4d5 Single source revcheck code/data (#174)
Rewrite of `doc-base`'s `revcheck.php`, removing code duplication.

* DTO for revcheck data.
* Preparation for revcheck data exporting.
* Backport loose and fixed [skip-revcheck] modes
* Additional revcheck data.
* Revcheck deduplication: clean up, header.
* Revcheck deduplication: translators, file summary.
* Revcheck deduplication: old/wip files.
* Move backport code and docs to a separate file.
* Revcheck deduplication: backport couting behaviour.
* Revcheck deduplication: more backport couting woes.
* Revcheck deduplication: notinen, revtag, unstranslated.
* Revcheck deduplication: ignore, regex, xml.
* Revcheck deduplication: adds/dels, clean up.
* Revcheck deduplicatoin: genrevdb.php.
* Revcheck deduplicatoin: genrevdb.php.
* More backport and small fixes.
* Review changes/fixes.
* Better log messages.
* Remove unrelated filter.
---------
Co-authored-by: André L F S Bacci <ae@php.net>
2024-11-11 09:02:11 -03:00
André L F S Bacci
84532c32eb Some translation.xml omit the vcs attribute. 2024-10-24 19:05:18 -03:00
Jim Winstead
f9c436ab83 It's https://doc.php.net now, not just http: (#171) 2024-10-24 14:34:50 -07:00
Jim Winstead
d085a579fe Consolidate documentation about documentation into docs directory (#159) 2024-10-21 17:53:32 -07:00
Gina Peter Banyard
afad5dfa6f Update licenses to PHP 3.01 (#109) 2023-12-05 02:21:44 +00:00
alfsb
bc270efc54 Add 'Days' column and cleanups (#97)
* Remove unused TranslateCritical.
* Normalize header colors on translator's table.
* There is no CSS class 'blue'.
* Remove unused styles.
* Another undeclared style.
* Simplify ws.
* Show how many days since last en/ commit.
* Don't color empty days.
2023-08-13 17:25:55 -03:00
Nilgün Belma Bugüner
2ebaa3dc5d fixed "RevTagProblem" problem 2022-01-24 13:43:53 +03:00
Nilgün Belma Bugüner
5bf1d5bdb5 fixed additions and deletions counts 2022-01-24 00:41:04 +03:00
Nilgün Belma Bugüner
8f757b4fe2 some improvements 2022-01-15 13:24:53 +03:00
Nilgün Belma Bugüner
6b08dc88d4 If the new translation is a "wip", an error should not occur. 2021-11-17 21:30:28 +03:00
Nilgün Belma Bugüner
b4030f2e43 Ignore timezones.xml
thanks, Sergey Panteleev
2021-11-16 21:20:55 +03:00
Nilgün Belma Bugüner
090ff07aa0 [skip-revcheck] should not make outdated files look uptodate. 2021-11-10 16:32:49 +03:00
Nilgün Belma Bugüner
03bc5fa406 optimization 2021-10-30 14:31:20 +03:00
André L F S Bacci
f315a3bc95 [skip-revcheck] to skip only commits, not files. 2021-10-29 11:37:27 -03:00
André L F S Bacci
edb47bf4db Git repo names are lower case (pt_BR -> pt_br) 2021-10-11 19:28:48 -03:00
André L F S Bacci
56a99a2768 Add file hash in misstags table. 2021-10-03 10:08:23 -03:00
Nilgün Belma Bugüner
cd7f4fcc08 There shouldn't be a line like this. 2021-09-02 17:13:58 +03:00
Nilgün Belma Bugüner
8dbd1e7122 case of [skip-revcheck] in the commit message
and doc.php.net diffs
2021-09-02 16:27:02 +03:00
Nilgün Belma Bugüner
74194ed130 final touches;
close PR pls, saundefined, thanks.
2021-05-15 20:15:55 +03:00
Nilgün Belma Bugüner
010a8aa301 added "Missing revision numbers" 2021-05-15 14:00:42 +03:00
Nilgün Belma Bugüner
44d487522d added missing sections. 2021-04-26 20:47:57 +03:00
alfsb
b13848324b Closes GH-23 2021-04-25 19:18:35 +03:00
alfsb
cf0af303ff Provides easy access to diff from GitHub, local and git.php.net
Change the modified file section to provide:

- Individual file diff from GitHub web interface (may not work with very old commits)
- Local git repository (always work)
- Individual file diff from git.php.net, text and html (may not work with very recent commits)
2021-04-25 19:04:12 +03:00
Yoshinari Takaoka
63c105c844 changed PHP version info and Copyright year.
Unconsciously, we use array syntax sugar [], or global namespace backslash, so this script requires as of PHP 5.3.0.
2021-03-27 04:52:30 +09:00
Yoshinari Takaoka
a624cf5c68 ported Translator's table.
In original revcheck.php, we can select [files|status] by maintainar, but its functionality is left as TODO.
2021-03-27 04:48:16 +09:00
Nilgün Belma Bugüner
8f25cb8061 add feedback to copy 2021-03-24 13:31:15 +03:00
André L F S Bacci
e3391f7154 Show both text and HTML diff links. 2021-03-23 14:47:21 -03:00
Yoshinari Takaoka
ea0216d7a6 replaced diff link from blobdiff to blobdiff_plain.
gitweb's blobdiff page itself is very difficult to copy overall patch text. We can use blobdiff_plain to save raw diff file from blowser by Ctrl+S, and apply it to every locales tree.

Original revcheck.php behaved the same way, I think.

360600baac/scripts/revcheck.php
2021-03-23 23:35:29 +09:00
Yoshinari Takaoka
e4d657eb07 added "Copy ${en->hash} to Clipboard" feature.
When we used SVN, we could copy EN-Revision id to translated xml easily because its revision id was integer number.

Now we migrated to git, and cannot copy too long revision "hash" from revcheck easily. "Copy" hash id button enables us to work with hash between revcheck and xml files.

Its implementation uses clipboard.js ( https://clipboardjs.com/ ).
2021-03-23 02:50:48 +09:00
Nilgün Belma Bugüner
820d55ac23 fixed typos 2021-03-21 13:59:24 +03:00
Yoshinari Takaoka
79932f7dd9 added "Not in EN Tree" section. 2021-03-20 06:34:33 +09:00
André L F S Bacci
92a4f3c052 revcheck.php rewrite to use git hashes. 2021-03-19 14:01:21 -03:00
Yoshinari Takaoka
360600baac changed previous revision fix because we overwrite global $missing_tags every time get_file_status() call.
git-svn-id: https://svn.php.net/repository/phpdoc/doc-base/trunk@349019 c90b9560-bf6c-de11-be94-00142212c4b1
2020-01-25 21:40:10 +00:00
Yoshinari Takaoka
3122f3962e fixed E_WARNING when we have no EN-Revision tag files.
PHP Warning:  count(): Parameter must be an array or an object that implements Countable in /path/to/doc-base/scripts/revcheck.php on line 992



git-svn-id: https://svn.php.net/repository/phpdoc/doc-base/trunk@349018 c90b9560-bf6c-de11-be94-00142212c4b1
2020-01-25 21:16:56 +00:00
Shein Alexey
49ead72f68 Reverted accidental file commit.
git-svn-id: https://svn.php.net/repository/phpdoc/doc-base/trunk@316523 c90b9560-bf6c-de11-be94-00142212c4b1
2011-09-12 10:03:51 +00:00
Shein Alexey
6a34f77ec6 Set svn:executable property.
git-svn-id: https://svn.php.net/repository/phpdoc/doc-base/trunk@316520 c90b9560-bf6c-de11-be94-00142212c4b1
2011-09-12 09:54:52 +00:00
Yannick Torres
59e0f24768 CVS => VCS
git-svn-id: https://svn.php.net/repository/phpdoc/doc-base/trunk@308406 c90b9560-bf6c-de11-be94-00142212c4b1
2011-02-16 22:27:57 +00:00
Yannick Torres
85edc181e8 exclude .new extension to exclude new file from the editor
git-svn-id: https://svn.php.net/repository/phpdoc/doc-base/trunk@308402 c90b9560-bf6c-de11-be94-00142212c4b1
2011-02-16 21:01:08 +00:00
Richard Quadling
cac07fdaa4 (C) 2010 -> (C) 2011
git-svn-id: https://svn.php.net/repository/phpdoc/doc-base/trunk@307070 c90b9560-bf6c-de11-be94-00142212c4b1
2011-01-04 11:45:55 +00:00
Shein Alexey
88c065c4b1 Changed calculation length of translated file from filesize to mb_strlen.
git-svn-id: https://svn.php.net/repository/phpdoc/doc-base/trunk@305188 c90b9560-bf6c-de11-be94-00142212c4b1
2010-11-08 05:42:49 +00:00
Shein Alexey
ee0994b676 Fixed root directory output in "Files" section.
git-svn-id: https://svn.php.net/repository/phpdoc/doc-base/trunk@304948 c90b9560-bf6c-de11-be94-00142212c4b1
2010-10-27 10:30:18 +00:00
Philip Olson
abce93f5ae Fixed E_NOTICE and added --show-uptodate option. Patch by Shein Alexey. Info here: http://news.php.net/php.doc/969382207
git-svn-id: https://svn.php.net/repository/phpdoc/doc-base/trunk@304322 c90b9560-bf6c-de11-be94-00142212c4b1
2010-10-11 19:16:51 +00:00
Richard Quadling
01c67810de 2009 to 2010 (C).
Added $Id$

git-svn-id: https://svn.php.net/repository/phpdoc/doc-base/trunk@293138 c90b9560-bf6c-de11-be94-00142212c4b1
2010-01-05 10:21:11 +00:00
Hannes Magnusson
4e0f494dff Use the paths as the doc.php.net is setup (using the magical phpdoc-all externals module)
git-svn-id: https://svn.php.net/repository/phpdoc/doc-base/trunk@290445 c90b9560-bf6c-de11-be94-00142212c4b1
2009-11-09 19:55:34 +00:00
Nilgün Belma Bugüner
69a1ad2101 fixed DOCDIR.
git-svn-id: https://svn.php.net/repository/phpdoc/doc-base/trunk@284079 c90b9560-bf6c-de11-be94-00142212c4b1
2009-07-14 16:04:17 +00:00
Nilgün Belma Bugüner
66a5593aa0 CVS->SVN migration
git-svn-id: https://svn.php.net/repository/phpdoc/doc-base/trunk@283844 c90b9560-bf6c-de11-be94-00142212c4b1
2009-07-11 10:12:31 +00:00
Carola 'Sammy' Kummert
d6ff9d4661 add basic "Status: working" support, patch by hholzgra
git-svn-id: https://svn.php.net/repository/phpdoc/doc-base/trunk@274126 c90b9560-bf6c-de11-be94-00142212c4b1
2009-01-21 16:55:46 +00:00
Philip Olson
3f029b8e46 Bump year (Yeah! Another year of PHP documentation!)
git-svn-id: https://svn.php.net/repository/phpdoc/doc-base/trunk@272350 c90b9560-bf6c-de11-be94-00142212c4b1
2008-12-31 06:40:12 +00:00
Yannick Torres
65445d557b fix new viewvc link
git-svn-id: https://svn.php.net/repository/phpdoc/doc-base/trunk@270173 c90b9560-bf6c-de11-be94-00142212c4b1
2008-11-30 22:08:14 +00:00